x86_64-pc-linux-gnu-gcc -o mgp -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -L/usr/lib64 mgp.o draw.o parse.o plist.o globals.o x11.o font.o background.o scanner.o grammar.o postscript.o tfont.o embed.o unimap.o mng.o m17n.o strlcpy.o strlcat.o -L./image -lmgpimage -lm -lpng16 -L/usr/lib -lpng -L/usr/lib -lmng -L/usr/lib/X11 -lImlib2 -lXext -lX11 ./image/libmgpimage.a(imlib_loader.o): In function `imLoad': imlib_loader.c:(.text+0x3e): undefined reference to `imlib_context_set_display' $ cat emerge-info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-13.0-no-multilib-unstable_20160712-150814) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- make.conf: USE="pax_kernel xtpax -cdinstall -oci8 -bindist avcodec bzip2 -cdda -custom-optimization dvb -dvd -extra freetds ftp gd gles gles2 gstreamer gtk3 ibus imlib -introspection isag kvm ldap libkms -minimal mysqli ncurses -nss obj pam -postscript pwquality rdoc sdl semantic-desktop spice sslv2 svg system-icu system-libevent system-llvm -system-sqlite tk -truetype -udisks uxa vim vlc vpx wxwidgets -xa -xcb xetex -xinetd xscreensaver xslt" package specific USE flags: mail-mta/ssmtp ssl net-misc/wget ssl app-editors/emacs -dbus -svg -ssl -gtk -gtk3 net-misc/iputils -caps -filecaps ----------------------------------------------------------------- [1] x86_64-pc-linux-gnu-4.9.3 [2] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby20 (with Rubygems) * [2] ruby21 (with Rubygems) -----------------------------------------------------------------
Created attachment 441956 [details] app-office:magicpoint-1.13a_p20121015:20160729-190810.log
Created attachment 441958 [details] emerge-history.txt
Created attachment 441960 [details] environment
(In reply to Toralf Förster from comment #0) > x86_64-pc-linux-gnu-gcc -o mgp -march=native -O2 -pipe -Wl,-O1 > -Wl,--as-needed -L/usr/lib64 mgp.o draw.o parse.o plist.o globals.o x11.o > font.o background.o scanner.o grammar.o postscript.o tfont.o embed.o > unimap.o mng.o m17n.o strlcpy.o strlcat.o -L./image -lmgpimage -lm > -lpng16 -L/usr/lib -lpng -L/usr/lib -lmng -L/usr/lib/X11 -lImlib2 -lXext > -lX11 > ./image/libmgpimage.a(imlib_loader.o): In function `imLoad': > imlib_loader.c:(.text+0x3e): undefined reference to > `imlib_context_set_display' Thanks a lot for the report. Can you please verify that media-libs/imlib2 does *not* have USE="X" set? If not set, which I suspect, can you please test that magicpoint builds correctly after you rebuild media-libs/imlib2 *with* USE="X" set? Thanks!
Created attachment 442218 [details, diff] imlib? DEPEND media-libs/imlib2[X]
(In reply to Peter Stuge from comment #4) >Can you please verify that media-libs/imlib2 does *not* have USE="X" set? confirmed - and builds fine with imlib2 being compiled with X
Created attachment 442344 [details] -r1.ebuild with fixed media-libs/imlib2[X] dependency
(In reply to Peter Stuge from comment #7) > Created attachment 442344 [details] > -r1.ebuild with fixed media-libs/imlib2[X] dependency Revbump is needed because the changed dep is also in RDEPEND, meaning that if someone has magicpoint installed and later changes imlib2 to USE="-X" they would then hit the bug. Please commit. Thanks a lot!
commit f509266f4cd94757b115bbaa36a76a6477a4e3c4 Author: Mike Gilbert <floppym@gentoo.org> Date: Tue Aug 2 22:27:18 2016 -0400 app-office/magicpoint: depend on media-libs/imlib2[X] Patch by Peter Stuge. Bug: https://bugs.gentoo.org/590034 Package-Manager: portage-2.3.0_p16 ...oint-1.13a_p20121015.ebuild => magicpoint-1.13a_p20121015-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)