Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331429 - It is not possible add more than one line for the same cp in package.properties or package.license files
Summary: It is not possible add more than one line for the same cp in package.properti...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-08-06 12:40 UTC by Otavio
Modified: 2010-08-23 05:13 UTC (History)
0 users

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


Attachments
Proposed path to fix this bug (portage.patch,841 bytes, patch)
2010-08-06 12:43 UTC, Otavio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Otavio 2010-08-06 12:40:29 UTC
If i place 2 lines in package.properties for the same package, just the first one is used. The same happens with package.license

Reproducible: Always

Steps to Reproduce:
1. Add ACCEPT_PROPERTIES="-interactive" to /etc/make.conf
2. Edit the /etc/portage/package.license with the following lines
=app-cdr/nero-3.5.3.1 interactive
=app-cdr/nero-4.0.0.0-r1 interactive
3. Runs emerge -vp =app-cdr/nero-4.0.0.0-r1
4. Runs emerge -vp =app-cdr/nero-3.5.3.1
Actual Results:  
Emerging =app-cdr/nero-4.0.0.0-r1 fails and emerging =app-cdr/nero-3.5.3.1 works fine.
Note: This is not a bug of nero ebuild. It happens the same with other packages too.

Expected Results:  
Both emerges should work

Portage 2.2_rc67_p292 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34-ARCH x86_64)
=================================================================
System uname: Linux-2.6.34-ARCH-x86_64-with-gentoo-1.12.13
Timestamp of tree: Thu, 05 Aug 2010 23:00:01 +0000
app-shells/bash:     4.0_p37::gentoo
dev-lang/python:     2.6.4-r1::gentoo, 3.1.2-r3::gentoo
sys-apps/baselayout: 1.12.13::gentoo
sys-apps/sandbox:    2.2::gentoo
sys-devel/autoconf:  2.65::gentoo
sys-devel/automake:  1.9.6-r3::gentoo, 1.11.1::gentoo
sys-devel/binutils:  2.18-r3::gentoo
sys-devel/gcc:       4.3.4::gentoo
sys-devel/gcc-config: 1.4.1::gentoo

sys-devel/libtool:   2.2.6b::gentoo
virtual/os-headers:  2.6.30-r1::gentoo (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Otavio 2010-08-06 12:43:08 UTC
Created attachment 241629 [details, diff]
Proposed path to fix this bug
Comment 2 Zac Medico gentoo-dev 2010-08-07 00:30:20 UTC
This breakage was introduced by ExtendedAtomDict behavior (used for new wildcard support in atoms). It's fixed here:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ac6ee1217d2309cbc2ab4af893f57fc5b76eaeb2
Comment 3 Zac Medico gentoo-dev 2010-08-23 05:13:58 UTC
Marking as fixed since this was never in an official release.