On Tuesday, September 01, 2015 4:02:52 AM Walter Dnes wrote: > How many heads will explode? I have /etc/portage/package.use/package.use > file (YES!) The only reason I made a package.use directory was because I > set up a cross-build environment, so that my ancient 32-bit Atom netbook > wouldn't have to spend 14 hours building Seamonkey. The cross-compiler > *DEMANDS* a package.use directory. > > [d531][waltdnes][~] ll /etc/portage/package.use/ > total 24 > drwxr-xr-x 2 root root 4096 Jul 30 17:05 . > drwxr-xr-x 13 root root 4096 Jul 30 17:03 .. > -rw-r--r-- 1 root root 41 Mar 25 00:04 cross---help > -rw-r--r-- 1 root root 37 Mar 25 00:01 cross--p > -rw-r--r-- 1 root root 274 May 4 12:07 cross-i686-pc-linux-gnu > -rw-r--r-- 1 root root 585 Jul 30 17:05 package.use > >
Mine looks similar. The reason it demands a directory is because it owns those files and will make changes to them during the build stages. If you want to make changes to the cross compiler use flags you need to make them on your own package.use or some other file or it will overwrite them. Also one exception to the directory naming convention is the keywords file. The file was package.accept_keywords but the directory is package.keywords. IIRC crossdev just created that one and portage used both except for autounmask that kept wanting to write to the cross-* files until I moved that file. I always tought autounmask would write to the original package.* filename (since cross-* comes before package.*) until I saw Alan's reply. -- Fernando Rodriguez