Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170034 - crossdev mkdir /etc/portage/package.mask when the file doesn't already exist
Summary: crossdev mkdir /etc/portage/package.mask when the file doesn't already exist
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 22:41 UTC by Daniel Santos
Modified: 2007-03-09 18:22 UTC (History)
0 users

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 Daniel Santos 2007-03-08 22:41:33 UTC
Running crossdev-0.9.18 when you don't already have a package.mask file causes crossdev to create a directory there instead, to which it adds a file named cross-<the target you specified> that contains the masks.  emerge later spits out some complaints about this.  If this is a valid mechanism for specifying masks, it is not documented and should be added to the emerge man/info pages.

Reproducible: yes

==================================================================================
--- Invalid atom in /etc/portage/package.mask: >cross-x86_64-pc-linux-gnu/linux-headers-2.6.20-gentoo-r1
Portage 2.1.2.1-r1 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo-r1 i686)
=================================================================
System uname: 2.6.20-gentoo-r1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 07 Mar 2007 09:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext apache2 bash-completion berkdb bitmap-fonts boundschecking bzip2 cgi cli cracklib crypt cups dbus dri ftp gcj gdbm glibc-omitfp gpm h323 iconv ipv6 isdnlog java kerberos ldap libg++ lm_sensors md5sum midi mmx mmxext mtrr mudflap multislot multitarget mysql ncurses nls nptl nptlonly pam pcre perl php ppds pppd python readline reflection session spl sqllite sse ssl tcpd truetype-fonts type1-fonts unicode vim x86 xinetd xml xorg xsl zip 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 22:50:52 UTC
There's nothing wrong with the directory.


*** This bug has been marked as a duplicate of bug 170030 ***
Comment 2 Daniel Santos 2007-03-08 23:04:54 UTC
If this is normal behavior, please don't mark it as a dupe, either INVAL it or move it into the emerge docs bucket.  I'll let you decide, but it's not the same as the other bug.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 23:09:08 UTC
If you can't live with duplicate, you'll get INVALID.

> --- Invalid atom in /etc/portage/package.mask:
>cross-x86_64-pc-linux-gnu/linux-headers-2.6.20-gentoo-r1

is clearly a duplicate of the other bug.
Comment 4 Daniel Santos 2007-03-09 18:15:52 UTC
No, it is NOT a duplicate.  Bug 170030 has to do with data that is added to the package.mask.  If emerge works just fine with having a directory named /etc/portage/package.mask/ that contains files with the mask information, then this report IS invalid and should be marked as such.  Please be accurate.

In your defense, I also don't go through 100 bug reports a day.  And again, this information should be added to the emerge man/info pages.
Comment 5 Daniel Santos 2007-03-09 18:22:18 UTC
oops, double invalid.  This behavior is documented in the portage manpage, my bad.