Unable to update to libpst-0.6.38 - fails to compile. Reproducible: Always Steps to Reproduce: 1. emerge -u libpst 2. 3. Actual Results: x86_64-pc-linux-gnu-gcc -march=core2 -msse4.1 -O2 -pipe -Wl,--as-needed -o .libs/readpst readpst-readpst.o ./.libs/libpst.so ./.libs/libpst.so: undefined reference to `sem_post' ./.libs/libpst.so: undefined reference to `sem_wait' collect2: ld returned 1 exit status make[2]: *** [lspst] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libpst.so: undefined reference to `sem_post' ./.libs/libpst.so: undefined reference to `sem_wait' collect2: ld returned 1 exit status make[2]: *** [pst2ldif] Error 1 readpst-readpst.o: In function `grim_reaper': readpst.c:(.text+0x3181): undefined reference to `sem_getvalue' readpst.c:(.text+0x3237): undefined reference to `sem_getvalue' readpst-readpst.o: In function `try_fork': readpst.c:(.text+0x3270): undefined reference to `sem_wait' readpst-readpst.o: In function `process': readpst.c:(.text+0x4d95): undefined reference to `sem_post' readpst-readpst.o: In function `main': readpst.c:(.text+0x5475): undefined reference to `sem_destroy' readpst.c:(.text+0x5481): undefined reference to `sem_destroy' readpst.c:(.text+0x5514): undefined reference to `sem_init' readpst.c:(.text+0x552a): undefined reference to `sem_init' collect2: ld returned 1 exit status make[2]: *** [readpst] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-mail/libpst-0.6.38/work/libpst-0.6.38/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/libpst-0.6.38/work/libpst-0.6.38' make: *** [all] Error 2 Expected Results: Clean compile/install mr-flibble ~ # emerge --info Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 09 Jul 2009 08:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://gentoo.virginmedia.com http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://mirror.qubenet.net/mirror/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="en_GB en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="64bit X a52 aac ace acl acpi alsa amarok amd64 amr amrnb amrwb applet artworkextra aspnet aspnet2 async asyncns audacious avahi beagle berkdb binary-drivers bluetooth bonjour branding bzip2 cairo caps ccache cdda cddb cdparanoia cdr chardet cisco cjk cleartype cli consolekit corefonts cpio cpufreq cracklib crypt cuda cups custom-cflags custom-cpuopts custom-cxxflags custom-optimization dbus deskbar dga dhcp dhcpcd dirac directfb disk-partition dri dvd dvdr eds emerald empathy encode esd evo exif faac faad fat fbcon fbcondecor fbsplash ffmpeg firefox firefox3 fortran ftp fuse gconf gdbm gedit gif gimp glib glibc-omitfp glitz gmp gnome gnome-keyring gnome-print gnomecanvas gnomecd gnutls gpg gphoto2 gpm grub gsm gstreamer gtk guile gzip hal hfs hunspell icons iconv id3 id3tag inotify ipod ipv6 isdnlog jingle jpeg jpeg2k kde kde4 laptop lcms libffi libnotify lm_sensors lzma mad matroska mdnsresponder-compat midi mmap mmx mmxext mng mono mozdevelop mozdom mozilla mp3 mp4 mpeg mpeg2 mppe-mppc msn mudflap multilib musepack nautilus ncurses network network-cron networking networkmanager nfs nls nptl nptlonly nss ntfs ntp nvidia ogg ogm openexr opengl openmp pam pango pch pcre pdf perl phonon pic plasma pmu png policykit ppds pppd pptp projectm ps3 pulseaudio python qt-dbus qt-webkit qt3support qt4 query-browser rar raw rdesktop readline realmedia reflection remote resolvconf restrict-javascript rtc samba schroedinger sdl session sha512 smp sound spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification svg sysfs syslog tcpd theora threads thumbnail tiff truetype uml unicode usb userlocales v4l v4l2 vdpau vhook video vim-syntax visualization vorbis wav wavpack wifi wireshark wma wmp x264 xcb xinerama xorg xosd xrandr xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 197296 [details] Complete build log of error
The problem is likely in this configure line: AC_SEARCH_LIBS([sem_init],rt) It only tries librt. This fails with as-needed, because the sem_* functions are in libpthread (which is not explicitly linked in). Another problem is that it thinks it can use the semaphores without the library it needs to link to: checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes [...] checking for library containing sem_init... no
(In reply to comment #2) > The problem is likely in this configure line: > > AC_SEARCH_LIBS([sem_init],rt) > > It only tries librt. This fails with as-needed, because the sem_* functions are > in libpthread (which is not explicitly linked in). > > Another problem is that it thinks it can use the semaphores without the library > it needs to link to: > > checking semaphore.h usability... yes > checking semaphore.h presence... yes > checking for semaphore.h... yes > [...] > checking for library containing sem_init... no > I appreciate the diagnosis - I've had a look myself, but do not know what is required to actually fix this. Any guidance? Thanks
Oops, forgot that in the first post. I'm not an autotools master neither, so handle with care. ;) Changing the AC_SEARCH_LIBS call to try libpthread as well (don't forget to rebuild configure) should work around the build failure I guess: AC_SEARCH_LIBS([sem_init], rt pthread) The real fix would likely incorporate an AC_MSG_ERROR or AC_MSG_FAILURE message in case no library was found to have configure abort then (after all it seems to be a hard dependency).
Well, I made a patch with your suggested fix, but now another error has occured: >>> Emerging (1 of 23) net-mail/libpst-0.6.41 from local-repo * libpst-0.6.41.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libpst-0.6.41.tar.gz to /var/tmp/portage/net-mail/libpst-0.6.41/work * Applying libpst-0.6.41--as-needed.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-mail/libpst-0.6.41/work >>> Preparing source in /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41 ... * econf: updating libpst-0.6.41/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libpst-0.6.41/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-pst-debug --disable-dii --enable-python --enable-libpst-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for Win32... no checking for Win32 platform in general... no checking whether we are enabling dii utility... no checking for convert... /usr/bin/convert checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc static flag works... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for off_t... yes checking size of off_t... 8 checking for unistd.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for library containing sem_init... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... (cached) yes checking for size_t... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for chdir... yes checking for getcwd... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for regcomp... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for regexec... yes checking whether we are forcing debug dump file creation... no checking whether we are building libpst shared object... yes checking whether to link command line tools with libpst statically... no checking whether to build the libpst python interface... yes checking for python build information... checking for python2.6... python2.6 checking for main in -lpython2.6... yes checking python2.6/Python.h usability... yes checking python2.6/Python.h presence... yes checking for python2.6/Python.h... yes results of the Python check: Binary: python2.6 Library: python2.6 checking for python... /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python 2.6... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.6 checking for Python library path... -L/usr/lib64 -lpython2.6 checking for Python site-packages path... /usr/lib64/python2.6/site-packages checking python extra libraries... -lpthread -ldl -lutil checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking for exit in -lboost_python... yes configure: creating ./config.status config.status: creating Makefile config.status: creating debian/Makefile config.status: creating html/Makefile config.status: creating libpst.pc config.status: creating libpst.spec config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/pst2dii.cpp config.status: creating python/Makefile config.status: creating xml/Makefile config.status: creating xml/libpst config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41 ... make -j3 CC=x86_64-pc-linux-gnu-gcc cd . && /bin/sh /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41/missing --run aclocal-1.9 /usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal cd . && /bin/sh /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41/missing --run automake-1.9 --gnu cd . && /bin/sh /var/tmp/portage/net-mail/libpst-0.6.41/work/libpst-0.6.41/missing --run autoconf configure.in:293: error: possibly undefined macro: AC_PYTHON_DEVEL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. make: *** [configure] Error 1 make: *** Waiting for unfinished jobs.... Any thoughts this time? Thanks for your help so far.
While trying to keyword net-mail/libpst (bug 271000), I got caught by this bug. Why not adding a simple {filter,append}-flag as a workaround until a real patch is written ?
Created attachment 208798 [details, diff] adding patch to ebuild
Created attachment 208800 [details, diff] fixing as-needed issues
I've patched the most recent version, but the same patch can be applied to 0.6.38 (In reply to comment #6) > While trying to keyword net-mail/libpst (bug 271000), I got caught by this bug. > Why not adding a simple {filter,append}-flag as a workaround until a real patch > is written ? Please don't ever do that unless it is really necessary...
+ 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> libpst-0.6.41.ebuild, + +files/libpst-0.6.41-asneeded.patch: + Fix building with -Wl,--as-needed wrt #277145 by Kacper Kowalik.