Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161069 - dev-php4/pecl-zip-1.0 compile failure w/ USE=concurrentmodphp
Summary: dev-php4/pecl-zip-1.0 compile failure w/ USE=concurrentmodphp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 163392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-09 05:27 UTC by Alexander Marks
Modified: 2007-03-05 18:07 UTC (History)
2 users (show)

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


Attachments
pecl-zip emerge log (dev-php4:pecl-zip-1.0:20070109-163450.log,8.22 KB, text/plain)
2007-01-09 21:04 UTC, Alexander Marks
Details
config.log (config.log,6.10 KB, text/plain)
2007-01-13 14:31 UTC, Alli Quaknaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Marks 2007-01-09 05:27:55 UTC
I am getting an error compiling pecl-zip-1.0 for php-4.4.4-r6. I'm actually trying with the concurrentmodphp feature - although I don't think that is related to this problem. The error is as follows:

checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! ERROR: dev-php4/pecl-zip-1.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called php-ext-pecl-r1_src_compile
  php-ext-pecl-r1.eclass, line 40:   Called php-ext-source-r1_src_compile
  php-ext-source-r1.eclass, line 68:   Called die

!!! Unable to configure code to compile

Reproducible: Always

Steps to Reproduce:
1. emerge =php-4* =php-5*
Actual Results:  
compile failure

Expected Results:  
emerged php-4, php-5, and dependencies

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 08 Jan 2007 19:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 ati berkdb bitmap-fonts bzip2 cli concurrentmodphp cracklib crypt divx dlloader dri dvd dvdread elibc_glibc exif expat fortran ftp gd gdbm gif gpm gtk iconv input_devices_keyboard input_devices_mouse iontruetype ipv6 isdnlog jpeg kernel_linux libg++ mmx mmxext mp3 msn mysql ncurses nls nptl nptlonly opengl pam pcre pdo perl png ppds pppd python quicktime radeon readline real reflection session simplexml spell spl sqlite sse sse2 ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_vesa vim-with-x vorbis win32codecs xinerama xml xmlreader xmlrpc xmlwriter xorg xsl xv xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-09 10:06:30 UTC
> See `config.log' for more details.

Attach the log and reopen then; thanks.
Comment 2 Alexander Marks 2007-01-09 21:04:34 UTC
Created attachment 106261 [details]
pecl-zip emerge log

Not sure if this is the config.log referred to by the error message (no such 'config.log' is actually generated), but hope it helps
Comment 3 Alexander Marks 2007-01-09 21:06:52 UTC
reopening
Comment 4 Alli Quaknaa 2007-01-13 14:29:38 UTC
Well, the part that is interesting in config.log (not the one you posted) is:

configure:2650: checking for C compiler default output file name
configure:2677: gcc -O2 -mtune=i686 -pipe   -Wl,--version-script=//var/lib/php-pkg/dev-lang/php-4.4.4-r6/php4-ldvs -Wl,--allow-shlib-undefi
ned -L/usr/lib/apache2/modules/ -lphp4 conftest.c  >&5
configure:2680: $? = 0
configure:2718: result: a.out
configure:2735: checking whether the C compiler works
configure:2745: ./a.out
./a.out: error while loading shared libraries: libphp4.so: cannot open shared object file: No such file or directory

I hope that someone who understands the "concurrentmodphp" magic will try to fix it - I don't understand, yet want to use it. With -concurrentmodphp it works. If I link /usr/lib/apache2/modules/libphp4.so (which IS there) to /usr/lib, it compiles. Still I know it is not the work it should work and it will probably break the concurrentmodphp thing. Hope this helps.
Comment 5 Alli Quaknaa 2007-01-13 14:31:50 UTC
Created attachment 106796 [details]
config.log

config.log itselfs
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-13 14:32:13 UTC
/me notes that USE=concurrentmodphp is not supported.
Comment 7 Alexander Marks 2007-01-13 19:30:23 UTC
Does this mean this bug will not be resolved? If so, shouldn't the concurrentmodphp USE flag be removed from the stable branch?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 07:18:49 UTC
*** Bug 163392 has been marked as a duplicate of this bug. ***
Comment 9 Luca Longinotti (RETIRED) gentoo-dev 2007-03-05 18:07:28 UTC
Fixed, various fixes for concurrentmodphp went into dev-lang/php 4.4.6, 5.1.6-r11 and 5.2.1-r3, and I can confirm pecl-zip-1.8.6 emerging fine.
Best regards, CHTEKK.