Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154020 - php-ext-source-r1: broken autotools handling
Summary: php-ext-source-r1: broken autotools handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Highest major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autotools-deps
  Show dependency tree
 
Reported: 2006-11-04 04:43 UTC by Alessio Cassibba (X-Drum)
Modified: 2007-03-05 18:09 UTC (History)
2 users (show)

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 Alessio Cassibba (X-Drum) 2006-11-04 04:43:13 UTC
emerge dev-php5/pecl-zip-1.7.5
problems with autoconf

output:
>>> Emerging (1 of 1) dev-php5/pecl-zip-1.7.5 to /
 * zip-1.7.5.tgz MD5 ;-) ...                                                                                                                           [ ok ]
 * zip-1.7.5.tgz RMD160 ;-) ...                                                                                                                        [ ok ]
 * zip-1.7.5.tgz SHA1 ;-) ...                                                                                                                          [ ok ]
 * zip-1.7.5.tgz SHA256 ;-) ...                                                                                                                        [ ok ]
 * zip-1.7.5.tgz size ;-) ...                                                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking zip-1.7.5.tgz ;-) ...                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking zip-1.7.5.tgz to /var/tmp/portage/dev-php5/pecl-zip-1.7.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-php5/pecl-zip-1.7.5/work/zip-1.7.5 ...
 *
 * Using dev-lang/php-5.1.6-r8
 *
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
ac-wrapper: /usr/bin/autoconf-2.13 is missing or not executable.
            Please try emerging the correct version of autoconf.
/usr/portage/eclass/php-ext-source-r1.eclass: line 56: ./configure: No such file or directory

!!! ERROR: dev-php5/pecl-zip-1.7.5 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   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 56:   Called die

!!! Unable to configure code to compile
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge info:
Portage 2.1.2_rc1-r3 (default-bsd/fbsd/6.2/x86, gcc-4.1.1, freebsd-lib-6.2_beta3-r0, 6.2-BETA3 i386)
=================================================================
System uname: 6.2-BETA3 i386 i386
Gentoo Base System version 1.13.0_alpha5
Last Sync: Sat, 04 Nov 2006 11:30: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.20_alpha2
sys-devel/autoconf:  2.60
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.2_beta3
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i486-gentoo-freebsd6.2"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-alt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86-fbsd berkdb cli crypt cups dlloader dri elibc_FreeBSD gdbm iconv input_devices_keyboard input_devices_mouse kernel_FreeBSD libg++ ncurses nls oss pam pcre perl ppds python readline reflection session spl ssl tcpd unicode userland_BSD video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_tga video_cards_trident video_cards_tseng video_cards_vga video_cards_via video_cards_vmware xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 ebfe 2006-11-16 11:55:47 UTC
dev-php5/pecl-zip-1.0 and dev-php5/pecl-zip-1.7.5 have a missing dependency on sys-devel/autoconf-2.13; applies to all platforms/arches

dev-php5/pecl-zip does pull autoconf indirectly, but wrong version (2.60 currently).

solved by adding =sys-devel/autoconf-2.13 to DEPEND



from another user's pastebin:

#
>>> Compiling source in /var/tmp/portage/pecl-zip-1.0/work/zip-1.0 ...
#
 *
#
 * Using dev-lang/php-5.1.6-r6
#
 *
#
Configuring for:
#
PHP Api Version:         20041225
#
Zend Module Api No:      20050922
#
Zend Extension Api No:   220051025
#
ac-wrapper: /usr/bin/autoconf-2.13 is missing or not executable.
#
            Please try emerging the correct version of autoconf.
#
/usr/portage/eclass/php-ext-source-r1.eclass: line 56: ./configure: No such file or directory
#


Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 05:40:25 UTC
PHP team, your eclass is handling autotools in the wrong way. Please try to make use of autotools.eclass as your code is not behaving correctly.

Also, please use econf rather than ./configure if in any way possible.
Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2007-03-05 18:09:11 UTC
Fixed in CVS now.
Best regards, CHTEKK.