Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390747 - sci-geosciences/mapserver-6.0.1 failed to find php (on 32bit system only?) while compiling
Summary: sci-geosciences/mapserver-6.0.1 failed to find php (on 32bit system only?) wh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 18:46 UTC by Thomas Beutin
Modified: 2011-11-17 11:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2011-11-16 18:46:06 UTC
i tried to install sci-geosciences/mapserver-6.0.1 on my 32bit system:

configure: error: Missing or invalid PHP source directory in --with-php=DIR.

!!! Please attach the following file when seeking support:
!!! /mnt/scratch/portage/sci-geosciences/mapserver-6.0.1/work/mapserver-6.0.1/config.log
 * ERROR: sci-geosciences/mapserver-6.0.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 6988:  Called econf '--without-oraclespatial' '--without-sde' '--with-libiconv' '--with-jpeg' '--with-gd' '--with-gif=/usr/' '--with-wms' '--with-kml' '--with-curl-config' '--with-agg-svg-symbols' '--with-httpd=/usr/sbin/apache2' '--with-fastcgi' '--with-ogl' '--with-ftgl' '--with-proj' '--without-threads' '--with-geos' '--with-gdal' '--with-ogr' '--with-postgis' '--with-mysql' '--with-xml2-config' '--without-xslt' '--without-xml-mapfile' '--without-fribidi-config' '--with-cairo' '--with-wfs' '--with-wcs' '--with-wfsclient' '--with-wmsclient' '--with-sos' '--with-php=/usr/lib64/php5.3/include/php/'
 *     ebuild.sh, line  561:  Called die
 * The specific snippet of code:
 *   			die "econf failed"

dev-lang/php-5.3.8 is installed on /usr/lib/php5.3/include/php/ (not /usr/lib64/php5.3/include/php/)

Reproducible: Always

Steps to Reproduce:
1. emerge sci-geosciences/mapserver-6.0.1 on an 32bit system
Actual Results:  
failed on 32bit system

Expected Results:  
clean install

# eix ^php$
[I] dev-lang/php
     Available versions:  
	(5.2)	{M}5.2.17
	(5.3)	5.3.8 ~5.3.9_rc1
	(5.4)	~5.4.0_rc1
	{adabas apache2 bcmath berkdb birdstep bzip2 calendar cdb cgi cjk +cli crypt +ctype curl curlwrappers db2 dbase dbmaker debug discard-path doc embed empress empress-bcs enchant esoob exif fdftk +fileinfo +filter firebird flatfile force-cgi-redirect fpm frontbase ftp gd gd-external gdbm gmp +hash +iconv imap inifile interbase intl iodbc ipv6 +json kerberos kolab ldap ldap-sasl libedit mhash msql mssql mysql mysqli mysqlnd ncurses nls oci8 oci8-instant-client odbc pcntl +pcre pdo +phar pic +posix postgres qdbm readline recode reflection sapdb +session sharedext sharedmem +simplexml snmp soap sockets solid spell spl sqlite sqlite3 ssl suhosin sybase-ct sysvipc threads tidy +tokenizer truetype unicode wddx (+)xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib}
     Installed versions:  5.2.17(5.2)(22:11:30 08/11/11)(apache2 bcmath berkdb bzip2 calendar cdb cgi cli crypt ctype curl curlwrappers discard-path doc exif filter flatfile force-cgi-redirect ftp gd gdbm gmp hash iconv imap inifile ipv6 json kerberos ldap mhash mysql mysqli ncurses nls odbc pcntl pcre pdo pic posix postgres readline session sharedext sharedmem simplexml snmp soap sockets spell spl sqlite ssl suhosin sysvipc tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -birdstep -cjk -db2 -dbase -dbmaker -debug -embed -empress -empress-bcs -esoob -fdftk -firebird -frontbase -gd-external -interbase -iodbc -kolab -ldap-sasl -libedit -msql -mssql -oci8 -oci8-instant-client -qdbm -recode -reflection -sapdb -solid -sybase-ct -threads) 5.3.8(5.3)(21:45:21 08/11/11)(apache2 bcmath berkdb bzip2 calendar cdb cgi cli crypt ctype curl curlwrappers doc exif fileinfo filter flatfile ftp gd gdbm gmp hash iconv imap inifile ipv6 json kerberos ldap mhash mysql mysqli nls odbc pcntl pdo phar pic posix postgres readline session sharedext sharedmem simplexml snmp soap sockets spell sqlite sqlite3 ssl suhosin sysvipc tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -birdstep -cjk -db2 -dbmaker -debug -embed -empress -empress-bcs -enchant -esoob -firebird -fpm -frontbase -gd-external -interbase -intl -iodbc -kolab -ldap-sasl -libedit -mssql -mysqlnd -oci8 -oci8-instant-client -qdbm -recode -sapdb -solid -sybase-ct -threads)
     Homepage:            http://php.net/
     Description:         The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs.

phantom ~ # 
phantom ~ # emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.12.2-r0, 3.0.7-tuxonice i686)
=================================================================
System uname: Linux-3.0.7-tuxonice-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 15 Nov 2011 06:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo wschlich sunrise science quantumsummers-dev local-overlay
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://91.121.125.139/gentoo-distfiles/ ftp://gentoo.c3sl.ufpr.br/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.mirrors.hoobly.com/"
LANG="en_IE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en en_US de_DE de"
MAKEOPTS="-j1"
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="/mnt/scratch"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/wschlich /var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/quantumsummers /usr/local/portage"
SYNC="rsync://10.6.0.1/gentoo-portage"
USE="X a52 aac accessibility acpi adns alsa apache2 archive audiofile avahi avi bash-completion bcmath bdf berkdb bluetooth branding bzip2 cairo calendar caps cdb cdda cddb cdparanoia cdr cgi cli colord consolekit cracklib crypt css ctype cups curl curlwrappers cxx dbus dga dirac divx4linux djvu dri dts dv dvb dvd dvdr dvdread dvi emboss encode ethereal exif expat fam fame ffmpeg flac flatfile font-server fontconfig foomaticdb fortran fpx ftp gcj gd gdbm gdu gif gimp gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk gtk2 hddtemp http iconv icu ieee1394 imagemagick imap imlib inifile ios iphone ipod ipv6 jack java java6 javamail javascript jbig jikes jingle jpeg jpeg2k junit kerberos kpathsea lame lapack latex lcms ldap libg++ libnotify libsamplerate libwww lm_sensors logrotate logwatch lua lzo mad matroska mcal mhash milter ming mjpeg mmap mms mmx mng modules mono motif mp2 mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mysqli mythtv nautilus ncurses neXt network networkmanager nls nptl nptlonly nsplugin ntp odbc ogg oggvorbis opengl openmp pam pango pcmcia pcntl pcre pda pdf pdflib perl php pic png pnp policykit posix postgres ppds pppd pulseaudio python qt3support qt4 quicktime radius raw rdesktop readline ruby samba sasl scanner schroedinger sdl semantic-desktop session sharedext sharedmem simplexml slp smp sndfile snmp soap sockets speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subtitles svg sysfs syslog sysvipc szip t1lib taglib tcltk tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts trusted twolame udev unicode upnp usb v4l v4l2 vaapi vcd vdpau vhosts vim-syntax vorbis vpx wavpack wddx webkit wifi win32codecs wmf wxwindows x264 x86 xcb xface xine xinerama xinetd xml xml2 xmlrpc xmms xorg xosd xpm xprint xsl xulrunner xv xvid xvmc yaz zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US de_DE de" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity java mobility nb php profiler ruby webcommon websvccommon xml" PHP_TARGETS="php5-2 php5-3" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nv nvidia v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2011-11-16 23:57:30 UTC
Well, quite obviously, an ebuild bug.

Should (probably) be using get_libdir, instead of hardcoding.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-11-17 11:33:27 UTC
+  17 Nov 2011; Justin Lecher <jlec@gentoo.org> mapserver-6.0.1.ebuild,
+  metadata.xml:
+  Do not hardcode 64bit multilib path, which is not present on 32bit, #390747
+