I get an build error when i'm trying to build pecl-ps with latest pslib. With pslib-0.4.1-r2 pecl-ps builds just fine. checking for PS_begin_pattern in -lps... no configure: error: wrong pslib lib version or lib not found !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/work/php5.3/config.log * ERROR: dev-php/pecl-ps-1.3.6-r1 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 3346: Called php-ext-source-r2_src_configure * environment, line 3067: Called econf '--with-php-config=/usr/lib64/php5.3/bin/php-config' * phase-helpers.sh, line 503: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=dev-php/pecl-ps-1.3.6-r1'`, * the complete build log and the output of `emerge -pqv '=dev-php/pecl-ps-1.3.6-r1'`. * The complete build log is located at '/var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/work/php5.3' * S: '/var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/work/ps-1.3.6' g64 ~ # emerge --info pslib pecl-ps --- Invalid atom in /etc/portage/package.mask: x11-base/xorg-server-1.12.99.904 Portage 2.1.11.17 (default/linux/amd64/10.0/no-multilib, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-gentoo-2.2 Timestamp of tree: Sat, 15 Sep 2012 04:15:01 +0000 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.3 sys-devel/binutils: 2.22.90 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.5 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="" SYNC="rsync://tunafix/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 kde mmx modules mudflap ncurses nls nptl opengl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="qxl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= dev-libs/pslib-0.4.1-r2 was built with the following: USE="-debug -jpeg -png -tiff" LINGUAS="-de" dev-php/pecl-ps-1.3.6-r1 was built with the following: USE="-examples" PHP_TARGETS="php5-3"
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-php/pecl-ps-1.3.6-r1/work/php5.3/config.log
Created attachment 325066 [details] config.log Ohh, sorry, forget to include that...
Attach build log of dev-libs/pslib.
Created attachment 325136 [details] pecl-ps build log (In reply to comment #3) > Attach build log of dev-libs/pslib. Do you really need the build log of pslib and not pecl-ps? pslib builds anyway, doesn't matter which version, so after every emerge the build log is gone.. I suppose you need the build log of pecl-ps.
(In reply to comment #4) > > Do you really need the build log of pslib and not pecl-ps? pslib builds > anyway, doesn't matter which version, so after every emerge the build log is > gone.. > I suppose you need the build log of pecl-ps. No, I know what I asked for and why. I really meant *pslib* build log. It doesn't matter it builds, it matters your problem with pecl-ps suggests it doesn't build correctly.
Created attachment 325330 [details] pslib 0.4.5 build log (In reply to comment #5) > (In reply to comment #4) > > > > Do you really need the build log of pslib and not pecl-ps? pslib builds > > anyway, doesn't matter which version, so after every emerge the build log is > > gone.. > > I suppose you need the build log of pecl-ps. > > No, I know what I asked for and why. > I really meant *pslib* build log. > It doesn't matter it builds, it matters your problem with pecl-ps suggests > it doesn't build correctly. Nevermind, i was just a bit curious.. ;) However, here is your build.log. I didn't know how to keep that build.log since it compiles fine. But after searching a bit in the emerge man page i found the "keeptemp" feature... :)
... Anyway, it seems to be an upstream problem. In src/Makefile.am, '-lm' needs to be appended to libps_la_LIBADD, followed by eautoreconf in the ebuild (or any other solution to this effect).
(In reply to comment #7) > ... > > Anyway, it seems to be an upstream problem. > > In src/Makefile.am, '-lm' needs to be appended to libps_la_LIBADD, followed > by eautoreconf in the ebuild (or any other solution to this effect). Patches are welcome.
*** Bug 438488 has been marked as a duplicate of this bug. ***
*** Bug 469638 has been marked as a duplicate of this bug. ***
+ 03 Jun 2013; Patrick Lauer <patrick@gentoo.org> pslib-0.4.5.ebuild: + Fix for underlinking bug #436314