Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26440 - FEATURES=cvs breaks !use? fetching
Summary: FEATURES=cvs breaks !use? fetching
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 30411 38717 43131 45649 46107 46151 53844 56100 58418 (view as bug list)
Depends on: 16159
Blocks:
  Show dependency tree
 
Reported: 2003-08-11 18:07 UTC by Luke-Jr
Modified: 2004-07-26 08:18 UTC (History)
13 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 Luke-Jr 2003-08-11 18:07:41 UTC
This bug prevents emerging jabber-server-1.4.2-r3 

Reproducible: Always
Steps to Reproduce:
SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz 
        !j-noaim? ( mirror://gentoo/aim-transport-stable-20030314.tar.gz 
        http://ftp.newaol.com/aim/win95/Install_AIM.exe ) 
        !j-nomsn? ( mirror://gentoo/msn-transport-stable-20011217.tar.gz ) 
        !j-noyahoo? (http://yahoo-transport.jabberstudio.org/yahoo-t-2.1.1.tar.gz 
) 
        !j-nomuconf? ( 
http://www.jabberstudio.org/files/mu-conference/mu-conference-0.5.1.tar.gz ) 
        ldap? ( http://www.jabberstudio.org/files/xdb_ldap/xdb_ldap-1.0.tar.gz ) 
        !j-nojud? ( http://download.jabber.org/dists/1.4/final/jud-0.4.tar.gz )" 
Actual Results:  
>>> Downloading http://gentoo.oregonstate.edu/distfiles/!j-nomsn? 

Expected Results:  
download the correct files 

Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.6.0-test3 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/home/luke-jr/src/gentoo-x86" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 3dnow foomaticdb mad mmx usagi aalib acl acpi alsa apache2 apm arts 
atlas avi berkdb bonobo canna cdr cjk crypt cups curl dga directfb dvb dvd emacs 
encode esd ethereal evo fbcon firebird flash freetds gb gd gdbm ggi gif gnome 
gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib innodb informix ipv6 jack java 
jikes jpeg junit kde kerberos ladcca lcms ldap leim libg++ libgda libwww lirc maildir 
matrox mbox mcal mikmod memlimit motif mozilla mpeg mpi mule mysql nas ncurses 
nls oav oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png 
pnp postgres python qt quicktime readline ruby samba sasl scanner sdl slang slp 
snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf X Xaw3d xface 
xinerama xml xml2 xmms xv zeo zlib dedicated" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="do-not-use" 
FEATURES="sandbox buildpkg ccache noclean cvs"
Comment 1 Robert Moss (RETIRED) gentoo-dev 2003-09-04 15:03:10 UTC
I have no problems downloading any of the required files. This appears to be fixed - can someone please verify this?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-09-22 19:13:38 UTC
works here with 49-r5, can you please check that it is not only a local problem ?
Comment 3 Luke-Jr 2003-09-22 21:39:21 UTC
I do not upgrade until I have reason to (due to lack of sticky USE flags), so I have not been testing this (was assuming bug would close when fixed). I will upgrade Portage and test sometime today.
Comment 4 Luke-Jr 2003-09-22 21:43:27 UTC
This problem still exists in portage-2.0.49-r4 (latest ~x86):

luke-jr@arumekun luke-jr $ sudo emerge -v jabber-server
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/jabber-server-1.4.2-r3 to /
>>> Downloading http://distfiles.gentoo.org//distfiles/!j-nomsn?
--04:42:03--  http://distfiles.gentoo.org//distfiles/!j-nomsn?
           => `/usr/portage/distfiles/!j-nomsn'
Resolving distfiles.gentoo.org... done.
Connecting to distfiles.gentoo.org[81.223.20.162]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
04:42:04 ERROR 404: Not Found.

>>> Downloading !j-nomsn?
--04:42:04--  http://!j-nomsn/?
           => `/usr/portage/distfiles/index.html'
Resolving !j-nomsn... failed: Name or service not known.
!!! Couldn't download !j-nomsn?. Aborting.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-09-22 22:16:56 UTC
Can't reproduce that here with the current 1.4.2-r3 ebuild. The only reason I can't emerge jabber-server is a mismatching digest for Install_AIM.exe:

sven root # USE="j-nomsn j-noyahoo j-nojud j-nomuconf" emerge jabber-server
>>> Downloading http://ftp.newaol.com/aim/win95/Install_AIM.exe
--07:08:56--  http://ftp.newaol.com/aim/win95/Install_AIM.exe
           => `/usr/portage/distfiles/Install_AIM.exe'
Resolving ftp.newaol.com... done.
Connecting to ftp.newaol.com[64.12.168.18]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,120,360 [application/octet-stream]

    0K .......... .......... .......... .......... ..........  1% 72.5K   0:41
   50K .......... .......... .......... .......... ..........  3% 96.0K   0:30
...
 2950K .......... .......... .......... .......... .......... 98% 94.7K       
 3000K .......... .......... .......... .......... .......   100% 94.6K       

07:09:30 (92.19 KB/s) - `/usr/portage/distfiles/Install_AIM.exe' saved [3120360/3120360]

Calculating dependencies  ...done!
>>> emerge (1 of 1) net-im/jabber-server-1.4.2-r3 to /
>>> md5 src_uri ;-) jabber-1.4.2.tar.gz
>>> md5 src_uri ;-) aim-transport-stable-20030314.tar.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 9251a8e86206e5ce3344b3438b187ec0
>>>  your file's digest: 24e0474314dd8df96ea8b57d413691eb
!!! File does not exist: /usr/portage/distfiles//Install_AIM.exe
Comment 6 Gustavo Felisberto (RETIRED) gentoo-dev 2003-09-23 03:14:48 UTC
I deleted all jabberd related files from /usr/portage/disfiles and did a emerge -f jabber-server-1.4.2-r4.ebuild (new ebuild i submitted marked bug 29275). And had no problem downloading the files.


Portage 2.0.49-r3 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r8, 2.4.21-pfeifer-r1_pre3)
=================================================================
System uname: 2.4.21-pfeifer-r1_pre3 i686 Celeron (Mendocino)
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i586 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://felisberto.net/pub/gentoo http://gentoo.felisberto.net/ http://ftp.dei.uc.pt/pub/linux/gentoo http://gentoo.aeminium.org http://gentoo.oregonstate.edu/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://127.0.0.1/gentoo-portage/"
USE="x86 oss apm crypt imlib jpeg libg++ mikmod mmx ncurses pdflib quicktime sdl spell truetype xml2 xv berkdb gdbm gif gpm guile libwww mysql nls oggvorbis pam perl png python readline slang ssl svga tcpd tiff foomatic ppds samba usb cups imap snmp gd -opengl -apache2 -motif -mpeg -avi -alsa -arts -encode -java -esd -xmms -X -gtk -gnome -alsa -kde -qt xfs -tcltk -maildir mbox -doc ipv6 -3dnow zlib"

Comment 7 Luke-Jr 2003-09-23 03:21:24 UTC
Install_AIM is before the line with !j-nomsn, so fixing that problem will likely reveal the portage bug. Why !j-noaim doesn't trigger it, I don't know...
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2003-09-23 03:40:17 UTC
the other conditionals work as well, I was just showing the wrong digest.
Comment 9 Luke-Jr 2003-09-23 03:49:45 UTC
Just want to confirm: Everyone here is testing with jabber-server-1.4.2-r3, correct? Earlier versions did not use the conditional causing this error. IIRC, I also confirmed this bug with carpaski when I first encountered it.
Comment 10 SpanKY gentoo-dev 2003-09-23 20:41:37 UTC
jabber-server-1.4.2-r3.ebuild works correctly for me with 2.0.49-r5

root@vapier 0 jabber-server # ebuild jabber-server-1.4.2-r3.ebuild digest | grep AIM
<<< Install_AIM.exe
root@vapier 0 jabber-server # env USE="j-noaim" ebuild jabber-server-1.4.2-r3.ebuild digest | grep AIM
root@vapier 0 jabber-server # 
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2003-09-23 22:17:56 UTC
As it seems that nobody can confirm it I'm closing it. Feel free to reopen when you find someone who can reproduce it.
Comment 12 Luke-Jr 2003-09-24 13:34:52 UTC
The bug still exists, as I mentioned earlier.
Comment 13 Nicholas Jones (RETIRED) gentoo-dev 2003-09-24 17:04:46 UTC
FEATURES="cvs" <--- Read what cvs does in make.conf.
Comment 14 Luke-Jr 2003-09-24 19:26:35 UTC
"feature for developers that causes portage to enable all cvs features (commits, adds) and all USE flags in SRC_URI will be applied for digests."
This does not suggest it will break standard Portage functionality in any way. Seeing as removing it fixed the problem, I am modifying this bug to its true nature.
Comment 15 Nicholas Jones (RETIRED) gentoo-dev 2003-09-26 07:18:57 UTC
and all USE flags in SRC_URI will be applied for digests.

....

Have a better description than that? Toss me suggestions.
Comment 16 Robert Moss (RETIRED) gentoo-dev 2003-09-26 17:31:12 UTC
"Feature for developers that causes portage to enable all cvs features (commits,
adds) and all USE flags in SRC_URI will be applied for digests."

How about: "Feature for developers that causes portage to enable all CVS
features (commits, adds) - and all USE flags in SRC_URI will be applied for
digests. WARNING: Developers only!"

I don't think that developers should be hindered due to Bugzilla. This would
probably ward off non-developmental users - I hope...
Comment 17 Luke-Jr 2003-09-26 18:44:18 UTC
How about something that mentions that 'cvs' breaks SRC_URI parsing?
Comment 18 Daniel Robbins (RETIRED) gentoo-dev 2003-10-30 22:04:17 UTC
I believe this patch will fix this problem:

http://dev.gentoo.org/~drobbins/SRC_URI-fix.diff
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-07 21:13:56 UTC
Any action on this? The problem is quite annoying, as it prevents exclusive tarballs from working.
Comment 20 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:06:32 UTC
This and other related patches are in cvs.
Comment 21 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:07:02 UTC
*** Bug 30411 has been marked as a duplicate of this bug. ***
Comment 22 Don Seiler (RETIRED) gentoo-dev 2004-01-05 11:57:55 UTC
I'm using portage-2.0.49-r20 and still getting this problem with jabber-server ebuild now that I've taken over management.
Comment 23 Adrian Almenar 2004-01-05 14:59:46 UTC
AFAIK, this is resolved in 2.0.50.

This is not a problem with cvs on FEATURES, its SRC_URI that doesnt accept nested conditionals.
Comment 24 Marius Mauch (RETIRED) gentoo-dev 2004-01-20 15:51:08 UTC
*** Bug 38717 has been marked as a duplicate of this bug. ***
Comment 25 Marius Mauch (RETIRED) gentoo-dev 2004-02-06 16:19:48 UTC
This is not fixed, FEATURES=cvs still breaks fetching with negative SRC_URI conditionals.
Comment 26 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-27 15:46:42 UTC
*** Bug 43131 has been marked as a duplicate of this bug. ***
Comment 27 Nicholas Jones (RETIRED) gentoo-dev 2004-03-20 18:36:29 UTC
New code merged for 2.0.50-r2
Comment 28 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-27 09:01:56 UTC
works fine -> close :)
Comment 29 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 07:11:03 UTC
*** Bug 46107 has been marked as a duplicate of this bug. ***
Comment 30 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 07:14:07 UTC
*** Bug 45649 has been marked as a duplicate of this bug. ***
Comment 31 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 11:58:12 UTC
*** Bug 46151 has been marked as a duplicate of this bug. ***
Comment 32 L. Andrew Somerville 2004-04-16 11:36:07 UTC
I originally hacked around this bug to get XFree to install br removing all references to !bindist?

Lately I've been having problems with getting kdeartwork to install, so I tried to remerge xfree, and I'm still having the problem, even after applying the proposed fix. 

I suggest reopening it. 
Comment 33 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-25 13:30:42 UTC
*** Bug 46107 has been marked as a duplicate of this bug. ***
Comment 34 Tuan Van (RETIRED) gentoo-dev 2004-06-30 21:15:44 UTC
*** Bug 53844 has been marked as a duplicate of this bug. ***
Comment 35 Marius Mauch (RETIRED) gentoo-dev 2004-07-04 18:55:35 UTC
*** Bug 56100 has been marked as a duplicate of this bug. ***
Comment 36 Marius Mauch (RETIRED) gentoo-dev 2004-07-26 08:18:33 UTC
*** Bug 58418 has been marked as a duplicate of this bug. ***