Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496956 - games-board/mah-jong-1.14 version bump
Summary: games-board/mah-jong-1.14 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL: http://mahjong.julianbradfield.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-04 10:41 UTC by Nico Baggus
Modified: 2014-05-20 19:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2014-01-04 10:41:36 UTC
This one doesn't link anymore on recent amd64 due to 'underlinking'
A new version 1.13 is available. It suffices to copy the old .ebuild to the new version.

So i request a version bump.
Comment 1 Nico Baggus 2014-01-05 23:45:08 UTC
for the underlinking issue, LDFLAGS="-ml" is needed as prefix for emerge mah-jong
Comment 2 Nico Baggus 2014-05-15 23:16:55 UTC
well enhancement or not the current 1.21.1 doesn't build anymore.

what needs to done here?
Comment 3 Nico Baggus 2014-05-18 18:26:26 UTC
[32;01m * [39;49;00mPackage:    games-board/mah-jong-1.12.1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: games@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mj-1.12.1-src.tar.gz to /var/tmp/portage/games-board/mah-jong-1.12.1/work
>>> Source unpacked in /var/tmp/portage/games-board/mah-jong-1.12.1/work
>>> Preparing source in /var/tmp/portage/games-board/mah-jong-1.12.1/work/mj-1.12.1-src ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-board/mah-jong-1.12.1/work/mj-1.12.1-src ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-board/mah-jong-1.12.1/work/mj-1.12.1-src ...
make -j3 
perl make-enums.pl tiles.h
perl make-enums.pl player.h
perl proto-encode-msg.pl -cmsg
perl proto-encode-msg.pl -pmsg
perl make-enums.pl protocol.h
perl make-enums.pl game.h
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o lazyfixed.o lazyfixed.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o vlazyfixed.o vlazyfixed.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o player.o player.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o tiles.o tiles.c
perl makefallbacktiles ./tiles-v1 >fbtiles.c
perl proto-decode-msg.pl -cmsg
perl proto-decode-msg.pl -pmsg
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o game.o game.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o sysdep.o sysdep.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o controller.o controller.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o scoring.o scoring.c
controller.c: In function 'handle_pmsg':
controller.c:1020:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
controller.c: In function 'load_wall':
controller.c:3652:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o greedy.o greedy.c
greedy.c: In function 'main':
greedy.c:220:7: warning: format not a string literal and no format arguments [-Wformat-security]
greedy.c: In function 'eval':
greedy.c:1248:5: warning: format not a string literal and no format arguments [-Wformat-security]
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o gui.o gui.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o gui-dial.o gui-dial.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o client.o client.c
gui.c: In function 'open_connection':
gui.c:3228:4: warning: format not a string literal and no format arguments [-Wformat-security]
gui.c: In function 'read_or_update_rcfile':
gui.c:4083:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
gui.c: In function 'open_connection':
gui.c:3243:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o fbtiles.o fbtiles.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mno-tls-direct-seg-refs     `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='"/usr/share/games/mah-jong/"'  -DGTK2=1   -c -o protocol.o protocol.c
rm -f xmj
rm -f mj-server
x86_64-pc-linux-gnu-gcc -o xmj     gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o   `pkg-config --libs gtk+-2.0` -Wl,--as-needed  
rm -f mj-player
x86_64-pc-linux-gnu-gcc -o mj-server     controller.o player.o tiles.o protocol.o game.o scoring.o sysdep.o   -Wl,--as-needed  
x86_64-pc-linux-gnu-gcc -o mj-player     greedy.o client.o player.o tiles.o protocol.o game.o sysdep.o   -Wl,--as-needed  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: gui.o: undefined reference to symbol 'hypot@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'hypot@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [xmj] Error 1
emake failed
 [31;01m*[0m ERROR: games-board/mah-jong-1.12.1::gentoo failed (compile phase):
 [31;01m*[0m   died running emake, base_src_make
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   93:  Called src_compile
 [31;01m*[0m   environment, line 2580:  Called games_src_compile
 [31;01m*[0m   environment, line 1467:  Called base_src_make
 [31;01m*[0m   environment, line  403:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m           emake "$@" || die "died running emake, $FUNCNAME";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=games-board/mah-jong-1.12.1::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=games-board/mah-jong-1.12.1::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/log/portage/games-board:mah-jong-1.12.1:20140515-222535.log'.
 [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/mah-jong-1.12.1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/games-board/mah-jong-1.12.1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/games-board/mah-jong-1.12.1/work/mj-1.12.1-src'
 [31;01m*[0m S: '/var/tmp/portage/games-board/mah-jong-1.12.1/work/mj-1.12.1-src'
Comment 4 Nico Baggus 2014-05-18 18:26:51 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-AMD_A6-5357M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:    11651604 total,   7820800 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sat, 17 May 2014 20:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gamerlay voip ruby sunrise x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/var/tmp/portdist"
EMERGE_DEFAULT_OPTS="--autounmask-write --keep-going --with-bdeps=y "                                                                                                         
FCFLAGS="-O2 -pipe"                                                                                                                                                           
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/voip /var/lib/layman/ruby /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://core.noci.local/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X X509 a52 aac aalib accessibility acl acpi activefilter ads aio akode akonadi alsa amd64 ao apache2 ati audiofile audit authdaemond automount avahi bash-completion berkdb bl bluetooth bookmarks bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cli clvm cman consolekit cracklib crypt cscope css cups curl cxx dbus dga directfb djvu dri dts dv dvb dvd dvdr eap-tls encode esd exif exiscan exiscan-acl expat fam fame fastcgi fax fbcon ffmpeg flac foomaticdb fortran fpx frxp gd gdbm ggi gif gimp glib gmp gnokii gphoto2 graphviz gs gsm gstreamer gtk guile hal handbook howl-compat hpn html http httpd ical icecast iconv id3 id3tag idn ieee1394 ilbc imap imlib ipv6 irda ithreads jabber java javascript jbig jingle joystick jpeg jpeg2k justify kde kdeprefix kerberos kipi kqemu ladspa lame laptop lcms ldap libcaca libsamplerate live lm_sensors lmtp loop-aes lua lzma lzo mad mailwrapper matroska mbrola md5sum mdnsresponder-compat memcache mhash mikmod mjpeg mmap mmx mmxext mng modules motif mp2 mp3 mp4 mpeg mplayer multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netboot network nls nptl nsplugin obex ocamlopt odbc odk ogg openal openexr opengl openmp oscar oss pam pcre pda pdf phonon php pic plotutils png pnm policykit portaudio postscript ppds pth pulseaudio qt qt3support qt4 quicktime quotas radius rar rdesktop readline real rle rrdtool rtc ruby samba sasl scanner sdl semantic-desktop server session skey slang sndfile snmp span speex spell spf sqlite sqlite3 srs srtp sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 subversion svg swat symlink sysfs syslog tcpd theora threads tiff timidity tools truetype tta unicode ups urandom usb utempter v4l v4l2 vcd vde vim-syntax vnc vorbis wavpack webdav wifi win32codecs winbind wma wmf x264 xanim xattr xfs xine xinerama xml xmlreader xmlrpc xmlwriter xosd xpm xscreensaver xv xvid xvmc yaz yv12 zeroconf zip zlib zrtp" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon casio" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics joystick aiptek wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting=javascript wiki-publisher presenter-console presenter-minimizer" LINGUAS="en_GB en_US nl_NL nl en" NGINX_MODULES_HTTP="ssi replace sub scgi rewrite referrer proxy perl memcached gzip gzip_static geo geoip fastcgi dav charset browser auth_basic access" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 alpha x86_64" QEMU_USER_TARGETS="alpha i386 x86_64 arm armeb" RUBY_TARGETS="ruby20 ruby19" SANE_BACKENDS="net v4l hpaio" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev fglrx" XTABLES_ADDONS="account gradm ipp2p ipv4options length2 lscan pknock psd quota2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 5 Nico Baggus 2014-05-20 00:24:30 UTC
Querying for options:
$ eix mah-jong
[I] games-board/mah-jong
     Available versions:  1.12.1
     Installed versions:  1.12.1(01:30:35 05/16/14)
     Homepage:            http://www.stevens-bradfield.com/MahJong/
     Description:         A networked Mah Jong program, together with a computer player

This still is the only one in stable: (or any mode)
so basicaly there is NO solution for portage users unless they tweak it by hand....
mah-jong-1.12.1 is suffering from underlinking and no other ebuild is available.
using LDFLAGS this CAN be installed.

at least i lost how to handle calls in this bugzilla. 
The original problem still exists v1.12.1 didn't work and doesn't compile as is.
subject & content have been changed to enhancement to v1.14 without any visible results.
solving the 1.12.1 to 1.12.1-r1 to solve the underlinking problem was one way,
checking the source website showed a 1.13 is available a quick check if the current ebuild still worked with that showed it did...

i observe gentoo more and more becoming a fix-it yourself solution going in all but one direction, i hate to see that.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2014-05-20 00:39:43 UTC
the ebuild in portage works but your tree is out of date.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2014-05-20 00:53:55 UTC
in portage
Comment 8 Nico Baggus 2014-05-20 18:46:16 UTC
Last sync date for the tree:

Mon, 19 May 2014 18:30:01 +0000

when it didn't show 1.14, today it does show 1.14.
Comment 9 Nico Baggus 2014-05-20 18:46:56 UTC
BTW, thanks for resolving it, i'll report how the build goes.
Comment 10 Nico Baggus 2014-05-20 19:14:46 UTC
All the timestamps..

$ cat /usr/portage/metadata/timestamp
Mon May 19 18:07:02 UTC 2014

$ cat /usr/portage/metadata/timestamp.x 
1400522701 Mon 19 May 2014 06:05:01 PM UTC UTC

$ cat /usr/portage/metadata/timestamp.chk
Mon, 19 May 2014 18:30:01 +0000


The software starts after being built.
So Worksfor me.