Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174461 - /etc/portage/package.mask is a directory, but should be a file!
Summary: /etc/portage/package.mask is a directory, but should be a file!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 14:00 UTC by Stefan Salewski
Modified: 2007-04-13 15:13 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 Stefan Salewski 2007-04-13 14:00:59 UTC
I am not absolutely sure if this is a bug, but i really think so.
/etc/portage/package.use and /etc/portage/package.keywords should be files.
But on my box i now have:

AMD64X2 stefan # ls -la /etc/portage/
insgesamt 48
drwxr-xr-x  6 root root  4096  3. Apr 21:27 .
drwxr-xr-x 66 root root  4096 13. Apr 13:04 ..
drwxr-xr-x  2 root root  4096  9. Nov 23:00 bin
-rw-r--r--  1 root root    10 12. Nov 23:04 categories
-rw-r--r--  1 root root     0 30. Okt 16:15 .keep
-rw-r--r--  1 root root     0  2. Apr 18:27 .keep_sys-apps_portage-0
-rw-r--r--  1 root root   480  4. Apr 19:46 package.keywords
-rw-r--r--  1 root root    67  9. Nov 22:50 package.keywords.bak
-rw-r--r--  1 root root 10689 14. Nov 19:18 package.keywords.newbak
drwxr-xr-x  2 root root  4096  3. Apr 21:27 package.mask
drwxr-xr-x  2 root root  4096  3. Apr 21:28 package.use
drwxr-xr-x  2 root root  4096  9. Nov 23:00 postsync.d

AMD64X2 stefan # cat  /etc/portage/package.mask/cross-avr 
>cross-avr/binutils-2.16.1-r3
>cross-avr/gcc-3.4.6
AMD64X2 stefan # cat  /etc/portage/package.use/cross-avr 
cross-avr/gcc -boundschecking -fortran -gtk -gcj -mudflap -objc -objc++ -objc-gc -boundschecking -fortran -gtk -gcj -mudflap -objc -objc++ -objc-gc nocxx

One week ago I tried something like:

crossdev -t avr --gcc 4.1.1

(Now I know that avr-gcc > 3.6.4 is not available.) But I think that crossdev did something wrong.

Thanks

Stefan Salewski
 


Reproducible: Didn't try

Steps to Reproduce:
1.Not absolutely sure, maybe something like
2.crossdev -t avr --gcc 4.1.1
3.

Actual Results:  
Creates directories package.mask and package.use

Expected Results:  
Should add text lines to files package.mask and package.use
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-13 15:13:55 UTC
It absolutely doesn't matter, both works just fine. See man portage.

NOTABUG.