Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30166 - Portage claims that mod_php-4.3.3-r1 is new, although mod_php-4.3.3 is installed
Summary: Portage claims that mod_php-4.3.3-r1 is new, although mod_php-4.3.3 is installed
Status: RESOLVED DUPLICATE of bug 32367
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 32367
Blocks:
  Show dependency tree
 
Reported: 2003-10-02 08:11 UTC by Jonathan Hitchcock
Modified: 2011-10-30 22:20 UTC (History)
5 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 Jonathan Hitchcock 2003-10-02 08:11:36 UTC
# emerge -pv mod_php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-php/mod_php-4.3.3-r1  -apache2 +X +crypt -curl -firebird +flash -freetds +gd -gd-external +gdbm -imap -informix +ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp +spell +ssl -tiff +truetype +xml2 +berkdb 

# /usr/lib/portage/bin/pkglist | grep mod_php
dev-php/mod_php-4.3.3
# etcat -v mod_php
[ Results for search key : mod_php ]
[ Applications found : 1 ]

*  dev-php/mod_php :
        [   ] dev-php/mod_php-4.3.2 (0)
        [ ~ ] dev-php/mod_php-4.3.2-r1 (1)
        [ ~ ] dev-php/mod_php-4.3.2-r2 (0)
        [   ] dev-php/mod_php-4.3.2-r3 (0)
        [   ] dev-php/mod_php-4.3.2-r4 (0)
        [ ~ ] dev-php/mod_php-4.3.2-r5 (0)
        [M  ] dev-php/mod_php-4.3.3_rc3 (0)
        [ ~I] dev-php/mod_php-4.3.3 (0)
        [   ] dev-php/mod_php-4.3.3-r1 (0)
 # emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="http://ftp.rucus.ru.ac.za/pub/linux/gentoo http://csmsc04.ict.ru.ac.za http://zazu.ru.ac.za http://zion.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla acl amd flash gd gtk2 i8x0 ipv6 mozcalendar moznocompose moznoirc mozxmlterm pic samba snmp usagi vim-with-x wmf xosd"


Why does portage think that the mod_php it is about to install is a NEW package?
Comment 1 SpanKY gentoo-dev 2003-10-02 08:17:49 UTC
what does `qpkg -I -v php` show ?
Comment 2 Jonathan Hitchcock 2003-10-02 08:18:54 UTC
# qpkg -I -v php
dev-php/mod_php-4.3.3 *
dev-db/phpmyadmin-2.5.3-r1 *

Comment 3 Matt Taylor 2003-10-02 21:15:48 UTC
i get the same thing on a few packages

emerge -pu world shows 

[ebuild  N    ] dev-util/dialog-0.9_beta20030308-r1  
[ebuild  N    ] media-libs/tiff-3.6.0_beta2  
[ebuild  N    ] x11-libs/pango-1.2.5-r1  
[ebuild  N    ] dev-libs/atk-1.4.0  
[ebuild  N    ] sys-kernel/gentoo-sources-2.4.20-r7  
[ebuild  N    ] net-www/links-2.1_pre11  
[ebuild  N F  ] dev-java/ibm-jdk-1.4.1  
[ebuild  N    ] sys-kernel/linux-headers-2.4.19-r1  
[ebuild  N    ] sys-libs/libcap-1.10-r3  
[ebuild  N    ] net-misc/ntp-4.1.2  
[ebuild  N    ] x11-plugins/wmsysmon-0.7.6-r1  
[ebuild  N    ] app-text/ggv-2.4.0.1  
[ebuild  N    ] app-emulation/winex-3000 
[ebuild  N    ] x11-libs/libPropList-0.10.1-r3 

qpkg -I -v gives 

dev-util/dialog-0.7-r1 *
media-libs/tiff-3.5.7-r1 *
x11-libs/pango-1.2.3 *
dev-libs/atk-1.2.4 *
sys-kernel/gentoo-sources-2.4.20-r6 *
sys-kernel/gentoo-sources-2.4.19-r10 *
net-www/links-2.0 *
dev-java/ibm-jdk-1.4.0-r1 *
sys-kernel/linux-headers-2.4.18 *
net-misc/ntp-4.1.1a *
x11-plugins/wmsysmon-0.7.6 *
app-text/ggv-2.0.1 *
app-emulation/winex-20030328 *
x11-libs/libPropList-0.10.1-r2 *
Comment 4 Jonathan Hitchcock 2003-10-03 01:02:48 UTC
Okay, I'm not getting any other erroneous reports except the mod_php one,
and I'm not sure this is relevant, but now I'm also getting xinetd showing
up in my emerge world, for no apparent reason:

# emerge -upvD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] dev-lang/perl-5.8.1-r2 [5.8.1-r1] +berkdb -doc +gdbm -threads

[ebuild     U ] media-libs/alsa-lib-0.9.7 [0.9.6] 
[ebuild     U ] media-libs/tiff-3.6.0_beta2 [3.5.7-r1] 
[ebuild     U ] x11-libs/qt-3.2.1-r2 [3.2.1-r1] +cups +nas -postgres +opengl
+mysql -odbc +gif -doc 
[ebuild     UD] sys-devel/autoconf-2.57-r1 [2.57a] 
[ebuild     U ] net-fs/samba-3.0.0-r1 [2.2.8a] -kerberos +mysql -xml +acl
+cups -ldap +pam +readline +python -oav 
[ebuild     U ] media-libs/win32codecs-20031001 [0.90.1-r2] +quicktime 
[ebuild     U ] media-libs/faad2-2.0_rc1 [1.1] +xmms 
[ebuild     U ] media-gfx/imagemagick-5.5.7.11 [5.5.7-r2] +X +cups +jpeg
-lcms +mpeg +png +truetype -tiff +xml2 +wmf -jbig 
[ebuild     U ] media-sound/alsa-driver-0.9.7-r1 [0.9.7] +oss 
[ebuild     U ] x11-themes/gaim-smileys-20031002 [20030930] 
[ebuild     U ] net-misc/dhcp-3.0_p2-r2 [3.0_p2-r1] -static 
[ebuild  N    ] media-libs/a52dec-0.7.4  
[ebuild     U ] media-libs/quicktime4linux-2.0.0-r1 [2.0.0] 
[ebuild     U ] games-board/teg-0.11.0-r1 [0.11.0] -dedicated 
[ebuild  N    ] sys-apps/xinetd-2.3.12  
[ebuild     U ] media-sound/alsa-utils-0.9.7 [0.9.6-r1] 
[ebuild  N    ] dev-php/mod_php-4.3.3-r1  -apache2 +X +crypt -curl -firebird
+flash -freetds +gd -gd-external +gdbm -imap -informix  +ipv6 +java +jpeg
-ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres
+qt +snmp +spell +ssl -tiff +truetype +xml2 +berkdb


None of the other packages that it wants to build depend on xinetd (and even
if they did, it should appear before them, not after them).  It's not in
my world file, nor is it a part of system:

# cat /var/cache/edb/world | grep xinetd | wc -l
0

# emerge -upvD system

These are the packages that I would merge, in order:

Calculating system dependencies ...done!
[ebuild     U ] dev-lang/perl-5.8.1-r2 [5.8.1-r1] +berkdb -doc +gdbm -threads



Nothing depends on it:

# qpkg -q xinetd
sys-apps/xinetd-2.3.11
DEPENDED ON BY:
sys-apps/xinetd-2.3.12
DEPENDED ON BY:


So why on earth does portage want to install it?
Comment 5 Jonathan Hitchcock 2003-10-05 05:52:19 UTC
A: Because netkit-telnetd depends on virtual/inetd.  I have no idea why I
didn't already have an inetd in there, though.  It also raises the question
why I even have netkit-telnetd installed.
So, sorry, the xinetd question isn't relevant to this bug, which I still
haven't managed to solve.
Comment 6 Per Cederberg 2003-10-27 02:59:00 UTC
Just saw the same thing when upgrading from mod_php-4.3.3-r2 to 4.3.3-r3.
Running portage-2.0.49-r15.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2003-10-28 09:45:07 UTC
I can confirm similar activity with mod_php

# emerge -Up world
These are the packages that I would merge, in order:
[ebuild  N    ] dev-php/mod_php-4.3.3-r3

# emerge -p /usr/portage/dev-php/mod_php/mod_php-4.3.3-r1.ebuild
These are the packages that I would merge, in order:
[ebuild   R   ] dev-php/mod_php-4.3.3-r1

^^ I have version 4.3.3-r1 installed

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx -msse
-mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx -msse
-mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://212.219.56.152/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gdbm berkdb slang readline aalib svga ggi java sdl gpm tcpd pam libwww ssl
perl python imlib oggvorbis qt motif mysql mmx 3dnow sse opengl -arts -kde
-nls -X -gtk -gnome -alsa -gtk2"
Comment 8 TGL 2003-10-30 04:03:41 UTC
Have a look on bug #32177, it explains the why: the SLOT
recorded in the portage cache can't always be the right one, 
when it is dynamic, like the mod_php's one. The only fix I 
can think about would be to ignore the cached value for such
ebuilds. I'm working on a patch that would add a "cache" RESTRICT
flag for this purpose, but I can't promise any result (the aux_get
function is really tricky imho...)
Comment 9 TGL 2003-10-31 01:41:49 UTC
I confirm aux_get is tricky, but what I had to do there was really easy
in fact. This bug will be fixed when:
 - patch from bug #32367 is accepted
 - RESTRICT="nocache" is added to mod_php ebuilds 

Note that mod_scgi and mod_pcgi2 have the same issue, and should
also use this restrict flag.
Comment 10 Nicholas Jones (RETIRED) gentoo-dev 2003-12-23 21:55:53 UTC

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