Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116813 - PDEPEND="|| ( pkg1 pkg2 )" does not work with Portage 2.1_pre2
Summary: PDEPEND="|| ( pkg1 pkg2 )" does not work with Portage 2.1_pre2
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-12-26 14:25 UTC by Petteri Räty (RETIRED)
Modified: 2005-12-30 04:08 UTC (History)
0 users

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


Attachments
debugoutput.txt (debugoutput.txt,2.87 KB, text/plain)
2005-12-26 14:43 UTC, Petteri Räty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-12-26 14:25:45 UTC
To reproduce:
1. emerge -C gcc-config
2. emerge -p gcc

output in ~x86:
pena cups # emerge -pv =gcc-3*

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

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.4-r1  USE="-bootstrap -boundschecking -build -fortran gcj* -gtk -hardened -ip28 -mudflap -multislot -nls -nocxx -nopie -nossp objc -objc-gc -vanilla" 0 kB

stable:
aria betelgeuse # emerge -pv gcc

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

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/gcc-config-1.3.12-r4  0 kB
[ebuild   R   ] sys-devel/gcc-3.4.4-r1  (-altivec) -bootstrap +boundschecking -build -fortran -gcj -gtk +hardened -ip28 -mudflap -multilib -multislot -n32 -n64 +nls -nocxx -nopie -nossp -objc -objc-gc -vanilla 0 kB


Portage 2.1_pre2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15-rc5 i686)
=================================================================
System uname: 2.6.15-rc5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks fixpackages sandbox sfperms sign strict stricter verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo  http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf-8"
LINGUAS="fi"
MAKEOPTS="-j2 "
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac acl acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cdb cddb cdparanoia cdr crypt cups curl dbus divx4linux dts dvd dvdr dvdread emboss esd exif expat fam ffmpeg firefox foomaticdb freetype gif glut gmp gstreamer gtk2 hal idn java jpeg kde kdeenablefinal lcms libg++ libwww logitech-mouse mad makecheck mikmod mjpeg mmx mmx2 mng mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdflib png qt quicktime readline real rtc ruby samba spell sse sse2 ssl subversion svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid zlib elibc_glibc kernel_linux linguas_fi userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-12-26 14:43:50 UTC
Created attachment 75570 [details]
debugoutput.txt
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-12-29 19:52:07 UTC
I can't reproduce this. gcc-config wants to be installed and masking it yields the correct error message. Can you still reproduce it?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-12-29 23:10:57 UTC
By the way, how did you upgrade portage? If you just renamed the ebuild or installed from the tarball manually then the behaviour is known and fixed already. There is a patch that gets applied when installed via portage.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-12-30 02:22:14 UTC
(In reply to comment #3)
> By the way, how did you upgrade portage? If you just renamed the ebuild or
> installed from the tarball manually then the behaviour is known and fixed
> already. There is a patch that gets applied when installed via portage.
> 

Installed using the ebuild after cvs up. I just did cvs up and received no updates. The patch does seem to applied:
>>> Unpacking portage-2.1_pre2.tar.bz2 to /var/tmp/portage/portage-2.1_pre2/work
patching file pym/portage.py
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/portage-2.1_pre2/work/portage-2.1_pre2 ...

I can also try svn HEAD to see if this is fixed there.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-12-30 03:58:40 UTC
I did a diff between _pre2 + patch and trunk and there's no difference in any of the dependency stuff. Would you happen to be using package.provided?
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-12-30 04:02:58 UTC
What would be even better is shell-access (no root) on a box where this is reproducable. ;)
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-12-30 04:08:47 UTC
(In reply to comment #6)
> What would be even better is shell-access (no root) on a box where this is
> reproducable. ;)
> 

True enough. Was left in there after messing with eselect-compiler some months ago. Sorry about the extra work.