Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630456 - =app-misc/golly-2.7-r1 fails compile (In function `pl_check': undefined reference to `PL_markstack_ptr' )
Summary: =app-misc/golly-2.7-r1 fails compile (In function `pl_check': undefined refer...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-09 09:51 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-11-25 12:28 UTC (History)
0 users

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


Attachments
build.log (golly-2.7-r1:20170909-091220.log,58.36 KB, text/x-log)
2017-09-09 09:51 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-09 09:51:33 UTC
Created attachment 493504 [details]
build.log

Found this doing regression testing for Perl

x86_64-pc-linux-gnu-g++ -DGOLLYDIR="/usr/share/golly" -Wall -fno-strict-aliasing  -march=native -mtune=native -O2 -pipe -O2 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o golly golly-wxalgos.o golly-wxcontrol.o golly-wxedit.o golly-wxfile.o golly-wxgolly.o golly-wxhelp.o golly-wxi
nfo.o golly-wxlayer.o golly-wxmain.o golly-wxperl.o golly-wxprefs.o golly-wxpython.o golly-wxrender.o golly-wxrule.o golly-wxscript.o golly-wxselect.o golly-wxstatus.o golly-wxtimeline.o golly-wxundo.o golly-wxutils.o golly-wxview.o -L/usr/lib64 -pthread   -lwx_gtk2u_xrc-3.0 -
lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0  libgolly.a  -lz                                                                                                                                    
golly-wxperl.o: In function `pl_check':                                                                                                                                                                                                                                              
wxperl.cpp:(.text+0x3): undefined reference to `PL_markstack_ptr'                                                                                                                                                                                                                    
wxperl.cpp:(.text+0x19): undefined reference to `PL_markstack_ptr'                                                                                                                                                                                                                   
golly-wxperl.o: In function `pl_open':                                                                                                                                                                                                                                               
wxperl.cpp:(.text+0x989): undefined reference to `PL_markstack_ptr'                                                                                                                                                                                                                  
wxperl.cpp:(.text+0x994): undefined reference to `PL_markstack_ptr'                                                                                                                                                                                                                  
golly-wxperl.o: In function `pl_save':                                                                                                                                                                                                                                               
wxperl.cpp:(.text+0xb14): undefined reference to `PL_markstack_ptr'                                                                                                                                                                                                                  
golly-wxperl.o:wxperl.cpp:(.text+0xb1f): more undefined references to `PL_markstack_ptr' follow                                                                                                                                                                                      
collect2: error: ld returned 1 exit status                                                                                                                                                                                                                                           
make: *** [Makefile:1037: golly] Error 1                                                                                                                                                                                                                                             
 * ERROR: app-misc/golly-2.7-r1::gentoo failed (compile phase):                                                                                                                                                                                                                      
 *   emake failed
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-10-08 00:02:30 UTC
I don't appear to be able to reproduce this issue as stated any more with Perl 5.28

I don't understand why exactly though.

My best guess is that this failure is related to other recent bugs in eselect-wxwidgets or wxGTK, so posting my "successful" dependency graph here for futher scrutinty

I won't mark this as "closed" yet as I suspect one of the things that tripped up perl Wx stuff was accidentally not forcing the right wxGTK implementation, but compiling only working with one (eg: could be possible to trigger by installing a different wxGTK and/or eselecting a different one, especially if use of the wxwidgets eclass is wrong as it was in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08a23a6851fc365b1a538789258f4649091849 ), might be in play here too.

[ebuild  N     ] app-misc/golly-2.7-r1  PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ]  x11-libs/wxGTK-3.0.4:3.0  USE="X (-aqua) -debug -doc -gstreamer -libnotify -opengl -sdl -tiff" 0 KiB
[ebuild  N     ]   dev-libs/glib-2.52.3:2  USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ]    x11-misc/shared-mime-info-1.9  USE="{-test}" 0 KiB
[ebuild  N     ]   x11-libs/libSM-1.2.2-r2  USE="ipv6 uuid -doc -static-libs" 0 KiB
[ebuild  N     ]    x11-libs/xtrans-1.3.5  USE="-doc" 0 KiB
[ebuild  N     ]    x11-libs/libICE-1.0.9-r2  USE="ipv6 -doc -static-libs" 0 KiB
[ebuild  N     ]     dev-libs/libbsd-0.8.6  USE="-static-libs" 0 KiB
[ebuild  N     ]     x11-base/xorg-proto-2018.4  0 KiB
[ebuild  N     ]      dev-util/ninja-1.8.2  USE="-doc -emacs {-test} -vim-syntax -zsh-completion" 0 KiB
[ebuild  N     ]       dev-util/re2c-1.0.3  0 KiB
[ebuild  N     ]      dev-util/meson-0.46.1  PYTHON_TARGETS="python3_6 -python3_5" 0 KiB
[ebuild  N     ]   x11-libs/gtk+-2.24.32:2  USE="introspection (-aqua) -cups -examples {-test} -vim-syntax -xinerama" 0 KiB
[ebuild  N     ]    gnome-base/librsvg-2.40.18:2  USE="introspection -tools -vala" 0 KiB
[ebuild  N     ]     dev-libs/gobject-introspection-common-1.52.1  0 KiB
[ebuild  N     ]     dev-util/desktop-file-utils-0.23  USE="-emacs" 0 KiB
[ebuild  N     ]     dev-libs/libcroco-0.6.12-r1:0.6  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-libs/gobject-introspection-1.52.1  USE="-cairo -doctool {-test}" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5 (-python3_7)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5 (-python3_7)" 0 KiB
[ebuild  N     ]     dev-libs/vala-common-0.36.13  0 KiB
[ebuild  N     ]     x11-libs/gdk-pixbuf-2.36.12:2  USE="introspection -X -debug -jpeg -jpeg2k {-test} -tiff" 0 KiB
[ebuild  N     ]      media-libs/libpng-1.6.34:0/16  USE="-apng (-neon) -static-libs" CPU_FLAGS_X86="sse" 0 KiB
[ebuild  N     ]     x11-libs/cairo-1.14.12  USE="X glib svg (-aqua) -debug (-gles2) -opengl -static-libs -valgrind -xcb" 0 KiB
[ebuild  N     ]      x11-libs/libXext-1.3.3-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]       x11-libs/libX11-1.6.6  USE="ipv6 -doc -static-libs {-test}" 0 KiB
[ebuild  N     ]        x11-misc/util-macros-1.19.2  0 KiB
[ebuild  N     ]        media-fonts/font-util-1.3.1  0 KiB
[ebuild  N     ]        x11-libs/libxcb-1.13:0/1.12  USE="-doc (-selinux) -static-libs {-test} -xkb" 0 KiB
[ebuild  N     ]         x11-base/xcb-proto-1.13  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB
[ebuild  N     ]         dev-libs/libpthread-stubs-0.4-r1  0 KiB
[ebuild  N     ]         x11-libs/libXau-1.0.8-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]         x11-libs/libXdmcp-1.1.2-r2  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]      x11-libs/libXrender-0.9.10-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]      sys-libs/binutils-libs-2.30-r2:0/2.30  USE="nls -64-bit-bfd -multitarget -static-libs" 0 KiB
[ebuild  N     ]      dev-libs/lzo-2.10:2  USE="-examples -static-libs" 0 KiB
[ebuild  N     ]      media-libs/fontconfig-2.13.0-r4:1.0  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]       app-eselect/eselect-fontconfig-1.1  0 KiB
[ebuild  N     ]       virtual/ttf-fonts-1-r1  0 KiB
[ebuild  N     ]        media-fonts/liberation-fonts-2.00.1-r3  USE="-X -fontforge" 0 KiB
[ebuild  N     ]       media-libs/freetype-2.9.1-r3:2  USE="adobe-cff bzip2 cleartype_hinting -X -bindist -debug -doc -fontforge -harfbuzz -infinality -png -static-libs -utils" 0 KiB
[ebuild  N     ]      x11-libs/pixman-0.34.0  USE="(-altivec) (-iwmmxt) (-loongson2f) (-neon) -static-libs" CPU_FLAGS_X86="mmxext sse2 ssse3" 0 KiB
[ebuild  N     ]     x11-libs/pango-1.42.4  USE="introspection -X {-test}" 0 KiB
[ebuild  N     ]      dev-libs/fribidi-0.19.7  USE="-static-libs" 0 KiB
[ebuild  N     ]      media-libs/harfbuzz-1.8.1:0/0.9.18  USE="cairo glib graphite introspection truetype -debug -fontconfig -icu -static-libs {-test}" 0 KiB
[ebuild  N     ]       media-gfx/graphite2-1.3.10  USE="perl {-test}" 0 KiB
[ebuild  N     ]        dev-util/cmake-3.9.6  USE="ncurses -doc -emacs -qt5 -server -system-jsoncpp {-test}" 0 KiB
[ebuild  N     ]         app-crypt/rhash-1.3.6-r1  USE="nls ssl -debug -libressl -static-libs" 0 KiB
[ebuild  N     ]         app-arch/libarchive-3.3.1:0/13  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -expat -libressl -lz4 -lzo -nettle -static-libs" 0 KiB
[ebuild  N     ]        dev-perl/Locale-Maketext-Lexicon-1.0.0  USE="{-test}" 0 KiB
[ebuild  N    #]         virtual/perl-Locale-Maketext-1.290.0  0 KiB
[ebuild  N     ]     dev-util/glib-utils-2.52.3  0 KiB
[ebuild  N     ]    x11-themes/gtk-engines-adwaita-3.22.3  0 KiB
[ebuild  N     ]    x11-libs/libXcursor-1.1.15  USE="-static-libs" 0 KiB
[ebuild  N     ]     x11-libs/libXfixes-5.0.3-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]    dev-libs/atk-2.24.0  USE="introspection nls {-test}" 0 KiB
[ebuild  NS    ]    app-text/docbook-xml-dtd-4.3-r1:4.3 [4.1.2-r6:4.1.2] 0 KiB
[ebuild  N     ]    x11-libs/libXcomposite-0.4.4-r2  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]    x11-themes/adwaita-icon-theme-3.24.0  USE="-branding" 0 KiB
[ebuild  N     ]     x11-themes/hicolor-icon-theme-0.17  0 KiB
[ebuild  N     ]     x11-libs/gtk+-3.22.30:3  USE="X introspection (-aqua) -broadway -cloudprint -colord -cups -examples {-test} -vim-syntax -wayland -xinerama" 0 KiB
[ebuild  N     ]      dev-util/gdbus-codegen-2.52.3  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB
[ebuild  N     ]      media-libs/libepoxy-1.5.1  USE="X {-test}" 0 KiB
[ebuild  N     ]       media-libs/mesa-18.1.6  USE="classic dri3 egl gallium gbm llvm nptl -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="(-freedreno) -i915 -i965
 (-imx) -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB
[ebuild  N     ]        x11-libs/libdrm-2.4.93  USE="-libkms -valgrind" VIDEO_CARDS="-amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 0 KiB
[ebuild  N     ]        x11-libs/libxshmfence-1.3-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]        sys-devel/llvm-6.0.1:6  USE="libffi ncurses -debug -doc -gold -libedit {-test} -xar -xml" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -Sparc -SystemZ -XCore" 0 KiB
[ebuild  N     ]         sys-devel/llvm-common-6.0.1  0 KiB
[ebuild  N     ]        x11-libs/libXxf86vm-1.1.4-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]        app-eselect/eselect-opengl-1.3.1-r4  0 KiB
[ebuild  N     ]        x11-libs/libXdamage-1.1.4-r2  USE="-static-libs" 0 KiB
[ebuild  N     ]      app-accessibility/at-spi2-atk-2.24.1:2  USE="{-test}" 0 KiB
[ebuild  N     ]       sys-apps/dbus-1.10.24  USE="-X -debug -doc -elogind (-selinux) -static-libs -systemd {-test} -user-session" 0 KiB
[ebuild  N     ]        app-text/xmlto-0.0.26-r1  USE="-latex -text" 0 KiB
[ebuild  NS    ]         app-text/docbook-xml-dtd-4.2-r2:4.2 [4.1.2-r6:4.1.2] 0 KiB
[ebuild  NS    ]        app-text/docbook-xml-dtd-4.4-r2:4.4 [4.1.2-r6:4.1.2] 0 KiB
[ebuild  N     ]       app-accessibility/at-spi2-core-2.24.1:2  USE="introspection -X" 0 KiB
[ebuild  N     ]        x11-libs/libXtst-1.2.3-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]         x11-libs/libXi-1.7.9-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]      x11-libs/libXrandr-1.5.1-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]      dev-util/gtk-update-icon-cache-3.22.19  0 KiB
[ebuild  N     ]    x11-themes/gnome-themes-standard-3.22.3  0 KiB
[ebuild  N     ]     gnome-base/gsettings-desktop-schemas-3.24.1  USE="introspection" 0 KiB
[ebuild  N     ]   virtual/jpeg-0-r2  USE="-static-libs" 0 KiB
[ebuild  N     ]    media-libs/libjpeg-turbo-1.5.3-r2  USE="-java -static-libs" 0 KiB
[ebuild  N     ]     dev-lang/nasm-2.13.01  USE="-doc" 0 KiB
[ebuild  N     ]   app-eselect/eselect-wxwidgets-20140423  0 KiB
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-25 12:28:01 UTC
gui-wx/wxperl.cpp is full of #ifdef around a bunch of perl versions. I would guess that some of them are handled incorrectly.

Both perl-5.24 and 5.26 work for me. Perhaps not relevant anymore.