Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105124 - dev-php4|5/pecl-extensions do install in /-dir instead of ext_dir which they supposed to do
Summary: dev-php4|5/pecl-extensions do install in /-dir instead of ext_dir which they ...
Status: RESOLVED DUPLICATE of bug 102126
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 02:19 UTC by Nicolas Vilz
Modified: 2005-10-06 05:39 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 Nicolas Vilz 2005-09-07 02:19:18 UTC
since portage doesn't recognize categories in PORT_TMPDIR, can't compare the two
ebuilds at the same moment, but PHPCONFIG is in both cases correct (php4/php5)
and EXT_DIR is in both cases empty... 

not only on the machine which installs it not correctly, but also on the machine
that does install it correctly... 



Reproducible: Always
Steps to Reproduce:
1.emerge dev-php?/pecl-zip # (for instance)
2.
3.

Actual Results:  
gatekeeper ~ # equery f dev-php4/pecl-zip
[ Searching for packages matching dev-php4/pecl-zip... ]
dev-php4/pecl-zip-1.0
* Contents of dev-php4/pecl-zip-1.0:
/etc
/etc/php
/etc/php/apache2-php4
/etc/php/apache2-php4/ext
/etc/php/apache2-php4/ext/zip.ini
/etc/php/cli-php4
/etc/php/cli-php4/ext
/etc/php/cli-php4/ext/zip.ini
/usr
/usr/share
/usr/share/doc
/usr/share/doc/pecl-zip-1.0
/usr/share/doc/pecl-zip-1.0/CREDITS.gz
/usr/share/doc/pecl-zip-1.0/package.xml.gz
/zip.so


Expected Results:  
nqintra pecl-zip-1.0 # equery f dev-php4/pecl-zip
[ Searching for packages matching dev-php4/pecl-zip... ]
dev-php4/pecl-zip-1.0
* Contents of dev-php4/pecl-zip-1.0:
/etc
/etc/php
/etc/php/apache2-php4
/etc/php/apache2-php4/ext
/etc/php/apache2-php4/ext/zip.ini
/etc/php/cli-php4
/etc/php/cli-php4/ext
/etc/php/cli-php4/ext/zip.ini
/usr
/usr/lib
/usr/lib/php4
/usr/lib/php4/lib
/usr/lib/php4/lib/php
/usr/lib/php4/lib/php/extensions
/usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429
/usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429/zip.so
/usr/share
/usr/share/doc
/usr/share/doc/pecl-zip-1.0
/usr/share/doc/pecl-zip-1.0/CREDITS.gz
/usr/share/doc/pecl-zip-1.0/package.xml.gz


one difference is the portage-version on both machines... on that which installs
not correctly, emerge info follows:

Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) MP Processor 1900+
Gentoo Base System version 1.12.0_pre8
Python:              dev-lang/python-2.3.5,dev-lang/python-2.4.1-r1 [2.4.1 (#1,
Jun 18 2005, 01:42:22)]
distcc: No such file or directory [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.9.6, 1.5, 1.6.3, 1.4_p6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/env /etc /share/config /shutdown /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/kde/devel/env /usr/kde/devel/share/config
/usr/kde/devel/shutdown /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/backup/gatekeeper-temp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/kde-live
/usr/local/overlays/php/experimental"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="x86 X aac aalib alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bzlib cdparanoia cdr chroot crypt cups curl dba divx4linux dvd dvdr
dvdread eds emacs emboss encode esd fam foomaticdb fortran ftp gd gdbm gif
gimpprint gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib ipv6 java
jpeg junit ldap libg++ libwww lzo mad mikmod motif mozilla mp3 mpeg mysql
ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pdflib perl php png
python qt quicktime readline samba sdl session soap spell sql ssl stroke
subversion svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode vhosts
vorbis win32codecs xine xinerama xml xml2 xmlrpc xmms xpm xprint xsl xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Config files: /etc/make.conf, /etc/portage/modules, /etc/portage/mirrors,
/etc/portage/package.mask, /etc/portage/package.unmask,
/etc/portage/package.keywords


on the other machine emerge follows:

nqintra pecl-zip-1.0 # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="x86 acl acpi acpi4linux activefilter alsa apache2 apm berkdb bitmap-fonts
crypt cscope eds emboss encode fortran gd gd-external gdbm gif gstreamer gtk2
imlib ipv6 jpeg ldap libg++ libwww maildir mp3 mpeg mysql ncurses oav ogg
oggvorbis pam pdflib perl png python samba sdl ssl tcpd tiff truetype
truetype-fonts type1-fonts vhosts vorbis xml xml2 zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Nicolas Vilz 2005-09-07 02:20:59 UTC
reference: http://bugs.gentoo.org/show_bug.cgi?id=102649
Comment 2 Nicolas Vilz 2005-09-07 02:44:48 UTC
looks like a portage-problem... two different results... two different
portage-versions
Comment 3 Nicolas Vilz 2005-09-07 02:47:02 UTC
another thing about that is, if i merge pecl-extensions for php4, they get in
/-dir, and if i merge the same pecl-extensions for php5, they also get in
/-dir... and get overwritten by the new ones..
Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2005-09-07 03:37:03 UTC
(In reply to comment #3)
> another thing about that is, if i merge pecl-extensions for php4, they get in
> /-dir, and if i merge the same pecl-extensions for php5, they also get in
> /-dir... and get overwritten by the new ones..

This is normal, if the EXT_DIR is not specified by the php-config call, like it
is on your non-working machine, both get installed to /extname.so, since the
variable that decides where to install is "${EXT_DIR}/${PHP_EXT_NAME}.so"
PHP_EXT_NAME gets always defined directly by the ebuild, EXT_DIR gets defined
when you install to the correct one by the correct php-config, wich is choosend
depending on if the extension resides in dev-php4/ or dev-php5/.
Did you try to down/upgrade to the latest stable x86 Portage on that machine
that does not work? Does it fix your problem? If yes, it's a Portage, not PHP
problem, but afaik current Portage-CVS is under heavy work, so occasionally
things could be broken...
Best regards, CHTEKK.
Comment 5 Nicolas Vilz 2005-09-07 04:29:53 UTC
(In reply to comment #4)
> Did you try to down/upgrade to the latest stable x86 Portage on that machine
> that does not work? Does it fix your problem? If yes, it's a Portage, not PHP
> problem, but afaik current Portage-CVS is under heavy work, so occasionally
> things could be broken...
> Best regards, CHTEKK.

gatekeeper pecl-zip-1.0 # equery f dev-php4/pecl-zip
[ Searching for packages matching dev-php4/pecl-zip... ]
dev-php4/pecl-zip-1.0
* Contents of dev-php4/pecl-zip-1.0:
/etc
/etc/php
/etc/php/apache2-php4
/etc/php/apache2-php4/ext
/etc/php/apache2-php4/ext/zip.ini
/etc/php/cli-php4
/etc/php/cli-php4/ext
/etc/php/cli-php4/ext/zip.ini
/usr
/usr/lib
/usr/lib/php4
/usr/lib/php4/lib
/usr/lib/php4/lib/php
/usr/lib/php4/lib/php/extensions
/usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429
/usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429/zip.so
/usr/share
/usr/share/doc
/usr/share/doc/pecl-zip-1.0
/usr/share/doc/pecl-zip-1.0/CREDITS.gz
/usr/share/doc/pecl-zip-1.0/package.xml.gz

sounds really like a portage-problem...
Comment 6 Nicolas Vilz 2005-09-07 04:31:42 UTC
after downgrading from hardmasked to stable, and after ignoring all that
auxdb-exceptions, i got a silent stable portage again...

gatekeeper ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) MP Processor 1900+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/env /etc /share/config /shutdown /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/kde/devel/env /usr/kde/devel/share/config
/usr/kde/devel/shutdown /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/kde-live
/usr/local/overlays/php/experimental"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="x86 X aac aalib alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bzlib cdparanoia cdr chroot crypt cups curl dba divx4linux dvd dvdr
dvdread eds emacs emboss encode esd fam foomaticdb fortran ftp gd gdbm gif
gimpprint gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib ipv6 java
jpeg junit ldap libg++ libwww lzo mad mikmod motif mozilla mp3 mpeg mysql
ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pdflib perl php png
python qt quicktime readline samba sdl session soap spell sql ssl stroke
subversion svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode vhosts
vorbis win32codecs xine xinerama xml xml2 xmlrpc xmms xpm xprint xsl xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-09-07 04:56:44 UTC
Re-assigning this to portage devs, PHP herd cannot really support experimental
CVS portage versions.
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-10-06 05:39:55 UTC

*** This bug has been marked as a duplicate of 102126 ***