when trying to emerge wxperl set-wxconfig looks in the wrong place for wxGTK files that moved for v2.6 after commenting out the following line in the ebuild, wxperl compiles and installs fine. WX_GTK_VER="2.6" $diff /usr/portage/dev-perl/wxperl/wxperl-0.22.ebuild /usr/local/portage/dev-perl/wxperl/wxperl-0.22.ebuild 24c24 < WX_GTK_VER="2.6" --- > # WX_GTK_VER="2.6" Reproducible: Always Steps to Reproduce: 1. echo "dev-perl/wxperl ~x86" >> /etc/portage/package.keywords 2. emerge wxperl 3. Actual Results: emerge wxperl .... >>> emerge (1 of 1) dev-perl/wxperl-0.22 to / .... >>> Source unpacked. !!! set-wxconfig: Error: Can't find normal or debug version: !!! set-wxconfig: /usr/lib/wx/config/gtk2-unicode-release-2.6 not found !!! set-wxconfig: /usr/lib/wx/config/gtk2-unicode-debug-2.6 not found !!! You need to emerge wxGTK with uniconde in your USE Expected Results: >>> emerge (1 of 1) dev-perl/wxperl-0.22 to / ... >>> dev-perl/wxperl-0.22 merged [ebuild R ] dev-perl/wxperl-0.22 +unicode [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 -odbc +opengl +unicode -wxgtk1
Created attachment 64413 [details] updated ebuild that checks for the existance of wxGTK-2.6 with this updated ebuild wxperl installs and runs for all wxGTK versions less then 2.6.1 on x86, there's probably a better test of wxGTK-2.6 being installed, as this tests for a directory created for 2.6. But it is functional as is. the current portage ebuild doesn't compile with the stable wxGTK which is 2.4.3 see also eclass/wxlib.eclass as to why the previous version didn't work. with wxGTK-2.6.1 there is the following error during wxperl's compile which seems unrelated: i686-pc-linux-gnu-g++ -c -I. -I. -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -march=athlon-mp -O3 -pipe -fomit-frame-pointer -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE" -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA Constant.c Constant.c: In function `double constant(const char*, int)': Constant.c:1556: error: `wxSL_HORIZONTAL' undeclared (first use this function) Constant.c:1556: error: (Each undeclared identifier is reported only once for each function it appears in.) Constant.c:1557: error: `wxSL_VERTICAL' undeclared (first use this function) Constant.c:1558: error: `wxSL_AUTOTICKS' undeclared (first use this function) Constant.c:1559: error: `wxSL_LABELS' undeclared (first use this function) Constant.c:1560: error: `wxSL_LEFT' undeclared (first use this function) Constant.c:1561: error: `wxSL_RIGHT' undeclared (first use this function) ...
emerge --info System uname: 2.6.11-gentoo-r11 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X aac alsa amd apache2 apm audiofile avi berkdb bitmap-fonts cdr crypt cups curl dashboard dga dvd dvdr eds emboss encode esd f77 faad fam fbcon flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jack jpeg kde ldap libg++ libwww mad matroska mikmod mmx motif mozilla moznoirc moznomail moznoxft mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib pic png prelink python qt quicktime readline real sdk sdl softmmu spell sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xine xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Mass re-assign.
Can anyone confirm it happens with wxperl-0.27? (0.56 is in the tree, but requires wxGTK-2.6.3.2)
See above, wxGTK-2.4 is dead (Bug 145032); get back to us if you still have issues with 0.57.