Bug 200158 - [maintainer-update] games/stonesoup: Update games/stonesoup to 0.16.1
Summary: [maintainer-update] games/stonesoup: Update games/stonesoup to 0.16.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-12 18:24 UTC by Tobias Rehbein
Modified: 2015-05-26 16:37 UTC (History)
1 user (show)

See Also:


Attachments
Patch to update games/stonesoup (25.92 KB, patch)
2015-05-12 18:24 UTC, Tobias Rehbein
no flags Details | Diff
Patch to update games/stonesoup-sdl (430 bytes, patch)
2015-05-12 18:24 UTC, Tobias Rehbein
no flags Details | Diff
poudriere tesport log for games/stonesoup (136.80 KB, text/x-log)
2015-05-12 18:25 UTC, Tobias Rehbein
no flags Details
poudriere tesport log for games/stonesoup-sdl (278.15 KB, text/x-log)
2015-05-12 18:26 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup on FreeBSD 9.3 (154.98 KB, text/x-log)
2015-05-20 19:55 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup-sdl on FreeBSD 9.3 (299.47 KB, text/x-log)
2015-05-20 19:55 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup on FreeBSD 10.1 (135.43 KB, text/x-log)
2015-05-20 19:56 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup-sdl on FreeBSD 10.1 (275.02 KB, text/x-log)
2015-05-20 19:56 UTC, Tobias Rehbein
no flags Details
Patch to update games/stonesoup (26.25 KB, patch)
2015-05-20 19:57 UTC, Tobias Rehbein
no flags Details | Diff
Patch to update games/stonesoup-sdl (430 bytes, patch)
2015-05-20 19:57 UTC, Tobias Rehbein
no flags Details | Diff
Patch to update games/stonesoup (27.29 KB, patch)
2015-05-25 15:56 UTC, Tobias Rehbein
no flags Details | Diff
Patch to update games/stonesoup-sdl (430 bytes, patch)
2015-05-25 15:57 UTC, Tobias Rehbein
no flags Details | Diff
poudriere testport log for games/stonesoup on FreeBSD 9.3 (154.69 KB, text/x-log)
2015-05-25 15:57 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup-sdl on FreeBSD 9.3 (299.49 KB, text/x-log)
2015-05-25 15:58 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup on FreeBSD 10.1 (133.91 KB, text/x-log)
2015-05-25 15:58 UTC, Tobias Rehbein
no flags Details
poudriere testport log for games/stonesoup-sdl on FreeBSD 10.1 (274.87 KB, text/x-log)
2015-05-25 15:58 UTC, Tobias Rehbein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Rehbein 2015-05-12 18:24:11 UTC
Created attachment 156718 [details]
Patch to update games/stonesoup

Update games/stonesoup and its slave games/stonesoup-sdl to the latest version (0.16.1).

poudriere tesport logs are attached.
Comment 1 Tobias Rehbein 2015-05-12 18:24:49 UTC
Created attachment 156719 [details]
Patch to update games/stonesoup-sdl
Comment 2 Tobias Rehbein 2015-05-12 18:25:43 UTC
Created attachment 156720 [details]
poudriere tesport log for games/stonesoup
Comment 3 Tobias Rehbein 2015-05-12 18:26:26 UTC
Created attachment 156721 [details]
poudriere tesport log for games/stonesoup-sdl
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-12 23:30:40 UTC
This doesn't build on pre-10.x:

cc1plus: error: unrecognized command line option "-std=c++11"

probably needs USES=compiler:c++11-lib

Also CFLAGS+=       -std=c++0x should be removed
Comment 5 Tobias Rehbein 2015-05-20 19:54:33 UTC
Thanks for pointing this out. It took me lot longer than expected to fix this issue, but the port builds now on 10.1 and 9.3, verified by poudriere testport runs.
Comment 6 Tobias Rehbein 2015-05-20 19:55:18 UTC
Created attachment 156982 [details]
poudriere testport log for games/stonesoup on FreeBSD 9.3
Comment 7 Tobias Rehbein 2015-05-20 19:55:47 UTC
Created attachment 156983 [details]
poudriere testport log for games/stonesoup-sdl on FreeBSD 9.3
Comment 8 Tobias Rehbein 2015-05-20 19:56:17 UTC
Created attachment 156984 [details]
poudriere testport log for games/stonesoup on FreeBSD 10.1
Comment 9 Tobias Rehbein 2015-05-20 19:56:43 UTC
Created attachment 156985 [details]
poudriere testport log for games/stonesoup-sdl on FreeBSD 10.1
Comment 10 Tobias Rehbein 2015-05-20 19:57:12 UTC
Created attachment 156986 [details]
Patch to update games/stonesoup
Comment 11 Tobias Rehbein 2015-05-20 19:57:32 UTC
Created attachment 156987 [details]
Patch to update games/stonesoup-sdl
Comment 12 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-21 12:55:17 UTC
Logs contain errors both on build and install phases:

gmake[1]: gcc: Command not found
g++: not found
g++: not found

Also, in my poudriere there's a bunch of 

util/good-depfile: not found

errors. Finally, it doesn't build on 11.x:

===>  Building for stonesoup-0.16.1
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source'
gmake[1]: gcc: Command not found
/bin/sh: g++: not found
/bin/sh: g++: not found
  * If you experience any problems building Crawl, please take a second look
  * at INSTALL.txt: the solution to your problem just might be in there!
util/art-data.pl
    * rebuilding crawl: new build flags or prefix
TRACK_CFLAGS = cc c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wformat-security -Wundef -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Iutil -I. -isystem /usr/local/include/lua51 -isystem /usr/local/include -Irltiles -isystem /usr/include/ncursesw -DWIZARD -DASSERTS -DSAVE_DIR_PATH=\"~/.stonesoup\" -DDATA_DIR_PATH=\"/usr/local/share/stonesoup/\" #EOL
OLD_CFLAGS   =  #EOL
    GEN mon-mst.h
    GEN mi-enum.h
    GEN cmd-name.h
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/util'
    YACC levcomp.tab.cc
    GEN dat/dlua/tags.lua
    GEN ../docs/aptitudes.txt
    GEN ../docs/FAQ.html
    GEN ../docs/crawl_manual.txt
    GEN config.h
    Generating art-data.h
    Generating art-enum.h
    Generating dc-unrand.txt
    Generating tiledef-unrand.cc
gmake -C rltiles all ARCH=amd64 TILES=
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/rltiles'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/util'
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/util'
    LEX levcomp.lex.cc
    * rebuilding tilegen: new build flags or prefix
    HOSTCXX tool/tile_colour.o
    HOSTCXX tool/tile.o
    HOSTCXX tool/tile_page.o
    HOSTCXX tool/tile_list_processor.o
    HOSTCXX tool/main.o
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/util'
    HOSTLINK tool/tilegen.elf
c++: error: invalid linker name in argument '-fuse-ld=gold'
Makefile:134: recipe for target 'tool/tilegen.elf' failed
gmake[2]: *** [tool/tilegen.elf] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source/rltiles'
Makefile:1628: recipe for target 'build-rltiles' failed
gmake[1]: *** [build-rltiles] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/stonesoup/work/stone_soup-0.16.1/source'
===> Compilation failed unexpectedly.
Comment 13 Tobias Rehbein 2015-05-25 15:55:59 UTC
Fixed the g++/gcc not found messages. I could not reproduce the missing good-depfile issue though.

The port should build on Current now as I removed the flag causing the error.
Comment 14 Tobias Rehbein 2015-05-25 15:56:39 UTC
Created attachment 157125 [details]
Patch to update games/stonesoup
Comment 15 Tobias Rehbein 2015-05-25 15:57:06 UTC
Created attachment 157126 [details]
Patch to update games/stonesoup-sdl
Comment 16 Tobias Rehbein 2015-05-25 15:57:41 UTC
Created attachment 157127 [details]
poudriere testport log for games/stonesoup on FreeBSD 9.3
Comment 17 Tobias Rehbein 2015-05-25 15:58:10 UTC
Created attachment 157128 [details]
poudriere testport log for games/stonesoup-sdl on FreeBSD 9.3
Comment 18 Tobias Rehbein 2015-05-25 15:58:37 UTC
Created attachment 157129 [details]
poudriere testport log for games/stonesoup on FreeBSD 10.1
Comment 19 Tobias Rehbein 2015-05-25 15:58:59 UTC
Created attachment 157130 [details]
poudriere testport log for games/stonesoup-sdl on FreeBSD 10.1
Comment 20 commit-hook freebsd_committer freebsd_triage 2015-05-26 16:36:20 UTC
A commit references this bug:

Author: amdmi3
Date: Tue May 26 16:35:44 UTC 2015
New revision: 387490
URL: https://svnweb.freebsd.org/changeset/ports/387490

Log:
  - Update to 0.16.1

  PR:		200158
  Submitted by:	tobias.rehbein@web.de (maintainer)

Changes:
  head/games/stonesoup/Makefile
  head/games/stonesoup/distinfo
  head/games/stonesoup/files/patch-AppHdr.h
  head/games/stonesoup/files/patch-Makefile
  head/games/stonesoup/files/patch-dat__des__branches__dis.des
  head/games/stonesoup/files/patch-dat__des__builder__shops.des
  head/games/stonesoup/files/patch-dat__des__variable__grated_community.des
  head/games/stonesoup/files/patch-rltiles_Makefile
  head/games/stonesoup/files/patch-rltiles__Makefile
  head/games/stonesoup/files/patch-rltiles__tool__tile.cc
  head/games/stonesoup/files/patch-rltiles__tool__tile_list_processor.cc
  head/games/stonesoup/pkg-plist
  head/games/stonesoup-sdl/Makefile
Comment 21 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-26 16:37:21 UTC
> I could not reproduce the missing good-depfile issue though.

It was caused by switch to perl20 and removal of /usr/bin/perl. Fixed by adding an extra SHEBANG_FILE.