Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/16, Uwe Klosa <[EMAIL PROTECTED]>: You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migration-overlay. Now I'm able to use java 1.5 without problems. I can't download the package javatoolkit-0.1.8.tar.bz2 from http://www.kerami-tek.com/~chewi/chewi-overlay/distfiles/javatoolkit-0.1.8.tar.bz2. I just wonder if you can send it to my mailbox and it will be very appreciated(maybe it's still in your /usr/portage/distfiles). Thanks in advance! Uwe -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eclipse portage package
On 11/25/2009 12:20 PM, Chuck Robey wrote: Mark Knecht wrote: m...@dragonfly ~/Desktop $ eix eclipse * dev-java/ant-eclipse-ecj Available versions: (3.3) 3.3.0-r1 (3.4) 3.4 (3.5) ~3.5.1 {elibc_FreeBSD} Homepage:http://www.eclipse.org/ Description: Ant Compiler Adapter for Eclipse Java Compiler This shows that 3.5.1 is available, but is masked by a ~arch keyword. This means that the ebuild for 3.5.1 is not stable yet, and is not guaranteed to work (though it most likely will). * dev-java/eclipse-ecj Available versions: (3.3) 3.3.0-r3 (3.4) 3.4-r4 (3.5) ~3.5.1 {ant elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Compiler for Java Same for eclipse-ecj... * dev-util/eclipse-sdk Available versions: (3.4) 3.4-r2 {doc elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Tools Platform But not eclipse-sdk. dragonfly ~ # emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB Total: 2 packages (2 new), Size of downloads: 1,251 kB Here, he shows what would be installed if you ran "emerge elipse-ecj". dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB [ebuild N] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB Total: 6 packages (6 new), Size of downloads: 8,111 kB This is what would happen if you temporarily told the system to allow the installation of ~arch packages. Temporarily setting ~arch is a Bad Idea! I need to get an up-to-date version of eclipse working on my gentoo box. First question is, is there a Galileo (3.5+) version of eclipse available as a portage package? I can't find it, so I'd really appreciate a pointer. The only thing I can see is a fairly old eclipse version (I think a year or more out of date). That is because the newer version is keyworded with ~arch. Emerge will not tell you that there is a newer, keyworded version available. Second question, at the eclipse website, I see a binary version of the latest Linux-eclipse (the version I'm after). If I *can't* get a portage package version of Galileo-eclipse, Don't worry, I'll show you how in a little bit! then if I install the binary package (non-portage) from the eclipse website, can I get (and how can I get) portage to consider this package as supplying any dependency which would be otherwise supplied by the latest (ganymede, 3.4+) portage version of the eclipse tool> As far as I know of, that is not possible without ugly hacks. Unless I'm completely misreading your stuff, your examples tell me how to install the (too old) portage version, which is in all cases just too old for me, so my 2 questions boil down to (1) must I?, and (2) How do I? I don't know what you mean by "must I?", but the answer to "How do I?" is right here: First, you need to create a folder called /etc/portage as root. Then, create a file called package.keywords in that directory. When you want to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in this case), you run ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj to see what packages are needed for the keyworded version. Then, you copy the the package names mentioned to package.keywords. In the example above, the command outputted: [ebuild N] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB [ebuild N] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB So you would add this: dev-python/pyxml-0.8.4-r2 dev-java/javatoolkit-0.3.0-r3 dev-java/ant-core-1.7.1-r4 app-admin/eselect-ecj-0.3 dev-java/eclipse-ecj-3.5.1 dev-java/ant-eclipse-ecj-3.5.1 to the package.keywords file (note that this will probably be different for your system, you should run the command yourself and use that output to find out what you should put in the file). I would also put a note above the lines to say why and when they were added, in case I forget. Then you can run "emerge -av eclipse-ecj" and see if it lists the new versions of everything. Marcus
Re: [gentoo-user] eclipse portage package
On Wed, 25 Nov 2009 13:14:39 -0500 Marcus Wanner wrote: > On 11/25/2009 12:20 PM, Chuck Robey wrote: > > Mark Knecht wrote: > > > >> m...@dragonfly ~/Desktop $ eix eclipse > >> * dev-java/ant-eclipse-ecj > >> Available versions: > >> (3.3) 3.3.0-r1 > >> (3.4) 3.4 > >> (3.5) ~3.5.1 > >> {elibc_FreeBSD} > >> Homepage:http://www.eclipse.org/ > >> Description: Ant Compiler Adapter for Eclipse Java > >> Compiler > >> > >> > This shows that 3.5.1 is available, but is masked by a ~arch keyword. > This means that the ebuild for 3.5.1 is not stable yet, and is not > guaranteed to work (though it most likely will). > >> * dev-java/eclipse-ecj > >> Available versions: > >> (3.3) 3.3.0-r3 > >> (3.4) 3.4-r4 > >> (3.5) ~3.5.1 > >> {ant elibc_FreeBSD java6} > >> Homepage:http://www.eclipse.org/ > >> Description: Eclipse Compiler for Java > >> > >> > Same for eclipse-ecj... > >> * dev-util/eclipse-sdk > >> Available versions: (3.4) 3.4-r2 > >> {doc elibc_FreeBSD java6} > >> Homepage:http://www.eclipse.org/ > >> Description: Eclipse Tools Platform > >> > >> > But not eclipse-sdk. > >> dragonfly ~ # emerge -pv eclipse-ecj > >> > >> These are the packages that would be merged, in order: > >> > >> Calculating dependencies... done! > >> [ebuild N] app-admin/eselect-ecj-0.3 0 kB > >> [ebuild N] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB > >> > >> Total: 2 packages (2 new), Size of downloads: 1,251 kB > >> > Here, he shows what would be installed if you ran "emerge elipse-ecj". > >> dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj > >> > >> These are the packages that would be merged, in order: > >> > >> Calculating dependencies... done! > >> [ebuild N] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 > >> kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB > >> [ebuild N] dev-java/ant-core-1.7.1-r4 USE="-doc -source" > >> 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB > >> [ebuild N] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB > >> [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB > >> > >> Total: 6 packages (6 new), Size of downloads: 8,111 kB > >> > This is what would happen if you temporarily told the system to allow > the installation of ~arch packages. Temporarily setting ~arch is a > Bad Idea! > > I need to get an up-to-date version of eclipse working on my gentoo > > box. First question is, is there a Galileo (3.5+) version of > > eclipse available as a portage package? I can't find it, so I'd > > really appreciate a pointer. The only thing I can see is a fairly > > old eclipse version (I think a year or more out of date). > That is because the newer version is keyworded with ~arch. Emerge > will not tell you that there is a newer, keyworded version available. > > Second question, at the eclipse website, I see a binary version of > > the latest Linux-eclipse (the version I'm after). If I *can't* get > > a portage package version of Galileo-eclipse, > Don't worry, I'll show you how in a little bit! > > then if I install the binary package (non-portage) > > from the eclipse website, can I get (and how can I get) portage to > > consider this package as supplying any dependency which would be > > otherwise supplied by the latest (ganymede, 3.4+) portage version > > of the eclipse tool> > As far as I know of, that is not possible without ugly hacks. > > Unless I'm completely misreading your stuff, your examples tell me > > how to install the (too old) portage version, which is in all cases > > just too old for me, so my 2 questions boil down to (1) must I?, > > and (2) How do I? > I don't know what you mean by "must I?", but the answer to "How do > I?" is right here: > First, you need to create a folder called /etc/portage as root. Then, > create a file called package.keywords in that directory. When you > want to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in > this case), you run > > ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj > > to
[gentoo-user] Seamonkey and maps
Hi, I have noticed something funny lately. I can't get google maps or yahoo maps to work. It loads the page up but there is no map. I also noticed that on a couple other sites some java stuff is not working. Instant messenger being one of them. Also my space is acting weird too. Anybody happen to know what all these may have in common? I did upgrade Seamonkey a while back but it seemed to work for a while. I have the following java packages installed: > [EMAIL PROTECTED] / # equery list java > [ Searching for package 'java' in all categories among: ] > * installed packages > [I--] [ ] dev-java/java-config-1.3.7 (0) > [I--] [ ] dev-java/java-config-2.0.31 (2) > [I--] [ ] dev-java/java-config-wrapper-0.12-r1 (0) > [I--] [ ] dev-java/java-sdk-docs-1.4.2 (1.4.2) > [I--] [ ] dev-java/java-sdk-docs-1.5.0-r1 (1.5.0) > [I--] [ ] dev-java/javatoolkit-0.2.0-r1 (0) > [EMAIL PROTECTED] / # > [EMAIL PROTECTED] / # equery list blackdown > [ Searching for package 'blackdown' in all categories among: ] > * installed packages > [I--] [ -] dev-java/blackdown-jdk-1.4.2.03-r12 (1.4.2) > [EMAIL PROTECTED] / # I'm hoping someone will have a few ideas. This is getting on my nerves. Thanks for the help. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 -- gentoo-user@gentoo.org mailing list
[gentoo-user] --depclean wants to remove much of java. Is this safe?
I converted two machines from icedtea (java6) to oracle-jdk-bin (java7). I did in effect emerge --depclean icedtea icedtea-web =virtual/jdk-1.6.0 =virtual/jdk-1.6.0 On one machine portage now claims that I basically don't need java (see the output of --depclean below). Can this be right? More importantly, I believe it is safe to do the suggested unmerges (i.e. I could always remerge them) since 1. None of these are in system 2. Portage itself doesn't use java Am I correct that letting the unmerge happen is reversible. thanks, allan oldlap ~ # emerge --ignore-default-opts --pretend --depclean * Depclean may break link level dependencies. Thus, it is * recommended to use a tool such as `revdep-rebuild` (from * app-portage/gentoolkit) in order to detect such breakage. * * Always study the list of packages to be cleaned for any obvious * mistakes. Packages that are part of the world set will always * be kept. They can be manually added to this set with * `emerge --noreplace `. Packages that are listed in * package.provided (see portage(5)) will be removed by * depclean, even if they are part of the world set. * * As a safety measure, depclean will not remove any packages * unless *all* required dependencies have been resolved. As a * consequence, it is often necessary to run `emerge --update * --newuse --deep @world` prior to depclean. Calculating dependencies... done! >>> Calculating removal order... >>> These are the packages that would be unmerged: dev-java/ant-nodeps selected: 1.8.1 protected: none omitted: none dev-libs/libgee selected: 0.6.1 protected: none omitted: 0.7.0 net-print/gutenprint selected: 5.2.7 protected: none omitted: none dev-java/xalan selected: 2.7.1 protected: none omitted: none dev-java/bcel selected: 5.2-r2 protected: none omitted: none dev-java/javacup selected: 0.11a_beta20060608 protected: none omitted: none dev-java/xerces selected: 2.9.1 protected: none omitted: none dev-java/xjavac selected: 20041208-r5 protected: none omitted: none dev-java/xml-commons-resolver selected: 1.2 protected: none omitted: none dev-java/xalan-serializer selected: 2.7.1 protected: none omitted: none dev-java/xml-commons-external selected: 1.3.04 protected: none omitted: none dev-java/ant-core selected: 1.8.1 protected: none omitted: none dev-java/javatoolkit selected: 0.3.0-r6 protected: none omitted: none virtual/jre selected: 1.7.0 protected: none omitted: none virtual/jdk selected: 1.7.0 protected: none omitted: none dev-java/oracle-jdk-bin selected: 1.7.0 protected: none omitted: none dev-java/java-config selected: 2.1.11-r3 protected: none omitted: none dev-java/java-config-wrapper selected: 0.16 protected: none omitted: none All selected packages: dev-java/java-config-2.1.11-r3 net-print/gutenprint-5.2.7 dev-java/xml-commons-external-1.3.04 dev-java/xml-commons-resolver-1.2 dev-java/javacup-0.11a_beta20060608 dev-java/ant-nodeps-1.8.1 dev-java/xerces-2.9.1 dev-java/bcel-5.2-r2 dev-java/xalan-2.7.1 dev-java/ant-core-1.8.1 dev-java/oracle-jdk-bin-1.7.0 dev-libs/libgee-0.6.1 dev-java/javatoolkit-0.3.0-r6 virtual/jre-1.7.0 dev-java/xalan-serializer-2.7.1 dev-java/xjavac-20041208-r5 virtual/jdk-1.7.0 dev-java/java-config-wrapper-0.16 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Packages installed: 966 Packages in world:143 Packages in system: 45 Required packages:948 Number to remove: 18 oldlap ~ #
[gentoo-user] strange block issue
I was told virtual/jre-1.6, a package that I do /not/ have installed, is blocking another package. How do I manage to install dev-java/jdictrayapi? Thanks for hints in advance! [EMAIL PROTECTED]:~$ sudo emerge -av dev-java/jdictrayapi These are the packages that would be merged, in order: Calculating dependencies waiting for lock on /var/db/.pkg.portage_lockfile ... done! [ebuild NS ] dev-lang/python-2.5.2-r8 USE="berkdb gdbm ipv6 ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 -wininst" 9,606 kB [ebuild N] virtual/jre-1.6.0 0 kB [ebuild U ] dev-java/javatoolkit-0.3.0-r2 [0.2.0-r1] 17 kB [ebuild N] dev-java/jdictrayapi-0.9.1-r3 USE="-doc -examples -source" 925 kB [blocks B ] =virtual/jre-1.6* (is blocking dev-java/jdictrayapi-0.9.1-r3) Total: 4 packages (1 upgrade, 2 new, 1 in new slot, 1 block), Size of downloads: 10,547 kB !!! Error: The above package list contains packages which cannot be installed !!!at the same time on the same system. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked [EMAIL PROTECTED]:~$ sudo emerge --unmerge virtual/jre --- Couldn't find 'virtual/jre' to unmerge. >>> No packages selected for removal by unmerge
Re: [gentoo-user] strange block issue
On Fri, 10 Oct 2008 12:14:10 +0800 Zhang Weiwu <[EMAIL PROTECTED]> wrote: > I was told virtual/jre-1.6, a package that I do /not/ have installed, > is blocking another package. > > How do I manage to install dev-java/jdictrayapi? Thanks for hints in > advance! > [EMAIL PROTECTED]:~$ sudo emerge -av dev-java/jdictrayapi > > These are the packages that would be merged, in order: > > Calculating dependencies waiting for lock > on /var/db/.pkg.portage_lockfile ... > done! [ebuild NS ] dev-lang/python-2.5.2-r8 USE="berkdb gdbm ipv6 > ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite > -tk -ucs2 -wininst" 9,606 kB [ebuild N] virtual/jre-1.6.0 0 kB > [ebuild U ] dev-java/javatoolkit-0.3.0-r2 [0.2.0-r1] 17 kB > [ebuild N] dev-java/jdictrayapi-0.9.1-r3 USE="-doc -examples > -source" 925 kB [blocks B ] =virtual/jre-1.6* (is blocking > dev-java/jdictrayapi-0.9.1-r3) > > Total: 4 packages (1 upgrade, 2 new, 1 in new slot, 1 block), Size of > downloads: 10,547 kB > > !!! Error: The above package list contains packages which cannot be > installed !!!at the same time on the same system. > > For more information about Blocked Packages, please refer to the > following section of the Gentoo Linux x86 Handbook (architecture is > irrelevant): > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked > > [EMAIL PROTECTED]:~$ sudo emerge --unmerge virtual/jre > > --- Couldn't find 'virtual/jre' to unmerge. > > >>> No packages selected for removal by unmerge Try masking virtual/jre-1.6 Also, it might be worth checking if the jdictrayapi has be included in the Java 6 jdk, which would account for the block. Rob. signature.asc Description: PGP signature
[gentoo-user] Java problem
Greetings, I'd like to install eclipse, to experiment with it. Emerging eclipse-sdk wants to pull in a whole lot of packages which is not a bad thing except that about 12 or 15 of the emerges fail, apparently for the same reason: * CPV: dev-java/ant-core-1.8.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 !dev-java/ant-tasks !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.3.0-r2 * ERROR: dev-java/ant-core-1.8.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building." * * If you need support, post the output of 'emerge --info =dev-java/ant-core-1.8.1', * the complete build log and the output of 'emerge -pqv =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info I do have virtual/jdk, dev-java/sun-jdk and many other dev-java and java-virtuals packages installed and OpenOffice runs. As advised by the "Gentoo Java Packaging Guide", I've created the following symlink: HOME/.gentoo/java-config-2/current-user-vm -> /etc/java-config-2/current-system-vm Where/how are variables GENTOO_VM, CLASSPATH, JAVA_HOME, JAVACFLAGS, and COMPILER supposed to be set ??? What else am I missing? Thanks. David
Re: [gentoo-user] Java problem
On Sat, 22 May 2010 17:35:24 -0400 Kenneth Prugh wrote: > On Sat, 22 May 2010 16:10:39 -0400 > David Relson wrote: > > > [...] > > What does `eselect java-vm list` say? > > Also, You might need to manually emerge dev-java/ant-junit. r...@osage ~ # eselect java-vm list Available Java Virtual Machines: [1] emul-linux-x86-java-1.6 [2] sun-jdk-1.6 system-vm [3] sun-jre-bin-1.6 For all 3 packages, version 1.6.0.20 is installed. Manually emerging ant-junit pulls in ant-core as a dependency which fails in the manner previously reported, i.e. * CPV: dev-java/ant-core-1.8.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 !dev-java/ant-tasks !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.3.0-r2 * ERROR: dev-java/ant-core-1.8.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building." * * If you need support, post the output of 'emerge --info =dev-java/ant-core-1.8.1', * the complete build log and the output of 'emerge -pqv =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info
[gentoo-user] Two apps can't find Java VM
Hello all, Checked bugzy but I cannot find anything relevant. I have two apps here, icu4j-3.8.1-r1 and xpp3-1.1.4c-r1 which are both failing upon world updates with similar messages: * checking icu4j-3_8_1-src.jar ;-) ... [ ok ] Traceback (most recent call last): File "/usr/bin/depend-java-query", line 8, in from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) !test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) and: * checking xpp3-1.1.4c_src.zip ;-) ... [ ok ] Traceback (most recent call last): File "/usr/bin/depend-java-query", line 8, in from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 app-arch/unzip test? ( dev-java/ant-junit ) >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7 >=dev-java/ant-core-1.7.0 'eselect java-vm list' reports: Available Java Virtual Machines: [1] sun-jdk-1.5 [2] sun-jdk-1.6 system-vm Which should satisfy the above tests shouldn't it? Is there something I am missing here? Please note that I am fairly clueless about Java, and have no idea what these two packages even do. I am just trying to do a 'emerge -uD world' and portage seems to want to update both of them Thanks for consideration, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972
Re: [gentoo-user] Two apps can't find Java VM
Hi Darren darren kirby wrote on 25/08/08 23:29: Hello all, Checked bugzy but I cannot find anything relevant. I have two apps here, icu4j-3.8.1-r1 and xpp3-1.1.4c-r1 which are both failing upon world updates with similar messages: * checking icu4j-3_8_1-src.jar ;-) ... [ ok ] Traceback (most recent call last): File "/usr/bin/depend-java-query", line 8, in from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) !test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) and: * checking xpp3-1.1.4c_src.zip ;-) ... [ ok ] Traceback (most recent call last): File "/usr/bin/depend-java-query", line 8, in from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 app-arch/unzip test? ( dev-java/ant-junit ) >=dev-java/java-config-2.0.33-r1 =sys-apps/portage-2.1.2.7 source? ( app-arch/zip ) =dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7 =dev-java/ant-core-1.7.0 'eselect java-vm list' reports: Available Java Virtual Machines: [1] sun-jdk-1.5 [2] sun-jdk-1.6 system-vm Which should satisfy the above tests shouldn't it? Is there something I am missing here? Please note that I am fairly clueless about Java, and have no idea what these two packages even do. I am just trying to do a 'emerge -uD world' and portage seems to want to update both of them Thanks for consideration, -d As illogical as this may sound, you probably need to run python-updater to fix this problem. Cheers, Dave
Re: [gentoo-user] Re: Java problem
Walt and Kenneth, Your help with this problem is appreciated, though the problem still persists. What versions of java do you guys have installed? What does "eselect java-vm list" show on your machines? I'm on AMD64, what architectures are you running? Looking around, /usr/bin/java is a symlink to run-java-tool which is working. For example "java -version" displays an appropriate value. Output from multiple tests of eselect, java-config, and emerge is attached. To summarize the attachment: /usr/lib/jvm reports icedtea6 and sun-jdk-1.6.0.20 "eselect java-vm list" shows sun-jdk as active "eix -e --nocolor ant-core" shows ant-core installed "eselect java-vm set system 1" successfully changes to icedtea6 "emerge -qv ant-junit" fails because ant-junit isn't found "eselect java-vm set system 2" successfully changes to sun-jdk-1.6.0.20 "emerge -qv ant-junit" fails because ant-junit isn't found notice that both icedtea6 and sun-jdk-1.6.0.20 have been tried and "emerge ant-junit" fails with both On a related note, "java-config -S" only works for user 'root'. It doesn't work for an individual user, e.g. 'relson' "eselect java-vm set" allows system-wide setting of the vm and also has a per-user option. Also, eselect includes an unnecessary (but harmless) / in the sym-link, i.e. eselect: current-system-vm -> /usr/lib/jvm//icedtea6 java-config: current-system-vm -> /usr/lib/jvm/icedtea6 On Sat, 22 May 2010 20:41:19 -0700 walt wrote: > On 05/22/2010 01:10 PM, David Relson wrote: > > > > * Unable to determine VM for building from dependencies: > > * Failed to determine VM for building. > > Well, I've seen those error messages more than once. If I were > half-a-bottle more sober, I'm sure I could remember how I fixed > the problem. > > Gentoo offers two (competing?) ways to specify the system-vm. > > #eselect java-vm > Usage: eselect java-vm > Extra actions: >list List Available Virtual Machines >set Set a new system or user vm >show Show the current vm > > #java-config > Usage: java-config [options] >-L, --list-available-vms > List available Java Virtual Machines >-S VM, --set-system-vm=VM > Set the default Java VM for the system > > I seem to recall that the important things changed by these two > gizmos are some symlinks like, for example: > > /etc/java-config-2/current-system-vm -> /usr/lib/jvm//sun-jdk-1.6/ > /usr/bin/java -> run-java-tool > > Maybe I can remember more details tomorrow. > > > /usr/lib/jvm has: lrwxrwxrwx 1 root root 17 May 22 23:44 icedtea6 -> /usr/lib/icedtea6 lrwxrwxrwx 1 root root 21 May 22 21:29 sun-jdk-1.6 -> /opt/sun-jdk-1.6.0.20 "eselect java-vm list" reports: Available Java Virtual Machines: [1] icedtea6 [2] sun-jdk-1.6 system-vm "eselect java-vm set system 1" runs without complaint, after which "eselect java-vm list" reports: Available Java Virtual Machines: [1] icedtea6 system-vm [2] sun-jdk-1.6 "eix -e --nocolor ant-core" reports: [I] dev-java/ant-core Available versions: 1.7.1-r4{tbz2} ~1.7.1-r5 ~1.8.0-r1 ~1.8.0-r2 ~1.8.1 {doc elibc_FreeBSD source} Installed versions: 1.7.1-r4{tbz2}(08:02:48 AM 03/08/2010)(-doc -elibc_FreeBSD -source) Homepage:http://ant.apache.org/ Description: Java-based build tool similar to 'make' that uses XML configuration files. "emerge -qv ant-junit" fails because ant-junit isn't found * CPV: dev-java/ant-junit-1.7.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1 >=sys-apps/portage-2.1.2.7 >=sys-apps/portage-2.1.2.7 >=dev-java/javatoolkit-0.3.0-r2 >=virtual/jdk-1.4 >=virtual/jre-1.4 ~dev-java/ant-core-1.7.1 !dev-java/ant-tasks r...@osage tmp # eselect java-vm set system 2 r...@osage tmp # eselect java-vm list Available Java Virtual Machines: [1] icedtea6 [2] sun-jdk-1.6 system-vm !!! Warning: VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL. !!! Warning: Gentoo recommends not setting these VMs as either your System or User VM. !!! Warning: Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information. r...@osage tmp # emerge -qv ant-junit * CPV: dev
Re: [gentoo-user] eclipse portage package
On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey wrote: > I was checking to see what version of eclipse seems to have a portage package, > and I was kinda shocked that the package seems a bit outdated. 3.4 is the > current portage package, but eclipse has been at 3.5 for a good while now. > Seeing as the eclipse website has a linux binary 3.5+ package, unless I've > overlooked something available from gentoo (I would be overjoyed to have made > that mistake) then I'm going to be forced to see how to coax portage to allow > me > to use that eclipse site binary package to sub for ALL eclipse packages. > > Anyone know how to get portage to make externally supplied binaries to supply > portage eclipse dependencies? All of the huge number of eclipse plugins can > be > done without using portage just fine, but the eclipse itself, that I would > really rather use a portage ebuild for installation. > > > I don't know about installing binary stuff - probably wouldn't work unless you have exactly the right libraries and what not. Anyway, I seem to see a 3.5 version masked with ~ . Note that I would unmask it in portage.keywords and not the way I'm showing it below. HTH, Mark m...@dragonfly ~/Desktop $ eix eclipse * dev-java/ant-eclipse-ecj Available versions: (3.3) 3.3.0-r1 (3.4) 3.4 (3.5) ~3.5.1 {elibc_FreeBSD} Homepage:http://www.eclipse.org/ Description: Ant Compiler Adapter for Eclipse Java Compiler * dev-java/eclipse-ecj Available versions: (3.3) 3.3.0-r3 (3.4) 3.4-r4 (3.5) ~3.5.1 {ant elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Compiler for Java * dev-util/eclipse-sdk Available versions: (3.4) 3.4-r2 {doc elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Tools Platform Found 3 matches. m...@dragonfly ~/Desktop $ dragonfly ~ # emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB Total: 2 packages (2 new), Size of downloads: 1,251 kB dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB [ebuild N] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB Total: 6 packages (6 new), Size of downloads: 8,111 kB dragonfly ~
Re: [gentoo-user] Re: Java problem
On Sun, 23 May 2010 17:32:50 +0300 Arttu V. wrote: > On 5/23/10, David Relson wrote: > > "emerge -qv ant-junit" fails because ant-junit isn't found > > Is your portage tree or the underlying filesystem broken? You use eix, > so what does "eix ant-junit" output? Are there really no versions of > ant-junit available on your system? > > Also, from your b.g.o report: > > > EMERGE_DEFAULT_OPTS="--with-bdeps y --color=n --jobs 4" > > How about trying it without the parallel emerges? > > -- > Arttu V. Hi Arttu, The portage tree is fine, AFAICT. emerge finds the ebuild, but the emerge fails. Removing "--jobs 4" doesn't change the result. ant-junit is not installed and "emerge ant-junit" fails (shown below). The important failure line seems to be: * Unable to determine VM for building from dependencies: NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1 The ant-junit ebuild seems unusual because it doesn't download anything ### output of emerge ant-junit ### Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-java/ant-junit-1.7.1 * apache-ant-1.7.1-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * ant-1.7.1-gentoo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-java/ant-junit-1.7.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1 >=sys-apps/portage-2.1.2.7 >=sys-apps/portage-2.1.2.7 >=dev-java/javatoolkit-0.3.0-r2 >=virtual/jdk-1.4 >=virtual/jre-1.4 ~dev-java/ant-core-1.7.1 !dev-java/ant-tasks * ERROR: dev-java/ant-junit-1.7.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building." * * If you need support, post the output of 'emerge --info =dev-java/ant-junit-1.7.1', * the complete build log and the output of 'emerge -pqv =dev-java/ant-junit-1.7.1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-junit-1.7.1/temp/die.env'. * S: '/var/tmp/portage/dev-java/ant-junit-1.7.1/work/apache-ant-1.7.1' >>> Failed to emerge dev-java/ant-junit-1.7.1, Log file: >>> '/var/log/portage/dev-java:ant-junit-1.7.1:20100523-144943.log'
[gentoo-user] Questions about java, Seamonkey and random hangs.
Hi Folks, I have had a problem for a while that I can not figure out. I visit the radar site for the weather and it uses java. Here is a link: http://radar.weather.gov/ridge/radar.php?rid=GWX&product=NCR&overlay=&loop=yes Keep in mind I am on dial-up here. So things take a while to download. Here is what it does though. When I go to that link, I have it bookmarked, it will start to load and then Seamonkey will not respond or hangs up until it has loaded all the images. The CPU load goes to close to 100% between Seamonkey and java. Once everything is loaded, it then responds. When I saw it doesn't respond, if I switch desktops then come back, it doesn't even redraw the screen. All I get is the borders or Seamonkey. Also, on there is a "Autoupdate" button that will automatically update the images as the radar is updated. If I turn that on, it will update a few times then it will stop working and the part that is java is blank. Here is the usage while it is loading up the images: > 29729 dale 25 0 213m 74m 24m R 78.2 7.4 4:56.09 seamonkey-bin > 27407 root 15 0 91260 54m 8392 S 9.7 5.4 11:48.22 X > 3806 dale 15 0 246m 64m 16m S 8.0 6.4 0:28.47 java_vm Sometimes java is using more than Seamonkey so it varies a little. Here is what I have installed as reported by equery: > [EMAIL PROTECTED] / # equery list java > [ Searching for package 'java' in all categories among: ] > * installed packages > [I--] [ ] dev-java/java-config-1.3.7 (0) > [I--] [ ] dev-java/java-config-2.0.31-r5 (2) > [I--] [ ] dev-java/java-config-wrapper-0.12-r1 (0) > [I--] [ ] dev-java/java-sdk-docs-1.4.2 (1.4.2) > [I--] [ ] dev-java/java-sdk-docs-1.5.0-r1 (1.5.0) > [I--] [ ~] dev-java/java-sdk-docs-1.6.0-r1 (1.6.0) > [I--] [ ] dev-java/javacup-0.10k-r1 (0) > [I--] [ ] dev-java/javatoolkit-0.2.0-r1 (0) > [I--] [ ] dev-java/libreadline-java-0.8.0-r2 (0) > [I--] [ ] dev-java/xjavac-20041208-r4 (1) > [EMAIL PROTECTED] / # and > [EMAIL PROTECTED] / # equery list seamonkey > [ Searching for package 'seamonkey' in all categories among: ] > * installed packages > [I--] [ ] www-client/seamonkey-1.1.1 (0) > [EMAIL PROTECTED] / # Can someone visit that link and see if it does the same for you? If it works for you, can you post what you are using as far as a browser and for java? Has anybody seen or heard of anything like this before? About my system, I have a AMD 2500+ CPU and 1Gb of ram. I have tried unmerging and only having one version of java installed but it does the same regardless of what version I have. I would assume it is not because there is more than one version of java installed. What ya think? Thanks in advance for help and info. If you need more info, let me know. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Java problem
On Sat, 22 May 2010 20:51:35 -0400 Kenneth Prugh wrote: > On Sat, 22 May 2010 20:43:54 -0400 > David Relson wrote: > > [...] > > r...@osage ~ # eselect java-vm list > > Available Java Virtual Machines: > > [1] emul-linux-x86-java-1.6 > > [2] sun-jdk-1.6 system-vm > > [3] sun-jre-bin-1.6 > > > > For all 3 packages, version 1.6.0.20 is installed. > > > > Manually emerging ant-junit pulls in ant-core as a dependency which > > fails in the manner previously reported, i.e. > > How about `java-check-environment`, does it report as sane? It's not happy. It says to install ant-junit (see first attachment), which fails (see second attachment). r...@osage ~ #java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many * respects. * Please refer to our upgrade guide for details: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * Checking fastjar ... [ ok ] * Checking vm_environment_files ... [ ok ] * Checking user_settings ... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm ... [ ok ] * Checking java_config_1 ... [ ok ] * Checking global_classpath ... [ ok ] * Checking virtual_provides ... [ ok ] * Checking overlays_eclasses ... [ ok ] * Checking package_env ...!!! ERROR: Package ant-junit was not found! * Broken dependencies for * Please try emerge -uD1 = [ !! ] * Some problems were found. Please follow the instructions above, and rerun java-check-environment r...@osage ~ # emerge -uD1 ant-junit * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Jobs: 0 of 2 complete, 1 runningLoad avg: 0.24, 0.10, 0.05 >>> Emerging (1 of 2) dev-java/ant-core-1.8.1 >>> Jobs: 0 of 2 complete, 1 runningLoad avg: 0.24, 0.10, 0.05 >>> Failed to emerge dev-java/ant-core-1.8.1, Log file: >>> Jobs: 0 of 2 complete, 1 runningLoad avg: 0.22, 0.10, 0.05 >>> '/var/log/portage/dev-java:ant-core-1.8.1:20100523-005423.log' >>> Jobs: 0 of 2 complete, 1 runningLoad avg: 0.22, 0.10, 0.05 >>> Jobs: 0 of 2 complete, 1 running, 1 failed Load avg: 0.22, 0.10, 0.05 >>> Jobs: 0 of 2 complete, 1 failed Load avg: 0.22, 0.10, 0.05 * CPV: dev-java/ant-core-1.8.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 !dev-java/ant-tasks !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.3.0-r2 * ERROR: dev-java/ant-core-1.8.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building." * * If you need support, post the output of 'emerge --info =dev-java/ant-core-1.8.1', * the complete build log and the output of 'emerge -pqv =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/dev-java:ant-core-1.8.1:20100523-005423.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.8.1/temp/die.env'. * S: '/var/tmp/portage/dev-java/ant-core-1.8.1/work/apache-ant-1.8.1' * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items.
Re: [gentoo-user] eclipse portage package
Mark Knecht wrote: > On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey wrote: >> I was checking to see what version of eclipse seems to have a portage >> package, >> and I was kinda shocked that the package seems a bit outdated. 3.4 is the >> current portage package, but eclipse has been at 3.5 for a good while now. >> Seeing as the eclipse website has a linux binary 3.5+ package, unless I've >> overlooked something available from gentoo (I would be overjoyed to have made >> that mistake) then I'm going to be forced to see how to coax portage to >> allow me >> to use that eclipse site binary package to sub for ALL eclipse packages. >> >> Anyone know how to get portage to make externally supplied binaries to supply >> portage eclipse dependencies? All of the huge number of eclipse plugins can >> be >> done without using portage just fine, but the eclipse itself, that I would >> really rather use a portage ebuild for installation. >> >> >> > > I don't know about installing binary stuff - probably wouldn't work > unless you have exactly the right libraries and what not. Anyway, I > seem to see a 3.5 version masked with ~ . Note that I would unmask it > in portage.keywords and not the way I'm showing it below. > > HTH, > Mark > > m...@dragonfly ~/Desktop $ eix eclipse > * dev-java/ant-eclipse-ecj > Available versions: > (3.3) 3.3.0-r1 > (3.4) 3.4 > (3.5) ~3.5.1 > {elibc_FreeBSD} > Homepage:http://www.eclipse.org/ > Description: Ant Compiler Adapter for Eclipse Java Compiler > > * dev-java/eclipse-ecj > Available versions: > (3.3) 3.3.0-r3 > (3.4) 3.4-r4 > (3.5) ~3.5.1 > {ant elibc_FreeBSD java6} > Homepage:http://www.eclipse.org/ > Description: Eclipse Compiler for Java > > * dev-util/eclipse-sdk > Available versions: (3.4) 3.4-r2 > {doc elibc_FreeBSD java6} > Homepage:http://www.eclipse.org/ > Description: Eclipse Tools Platform > > Found 3 matches. > m...@dragonfly ~/Desktop $ > > > dragonfly ~ # emerge -pv eclipse-ecj > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N] app-admin/eselect-ecj-0.3 0 kB > [ebuild N] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB > > Total: 2 packages (2 new), Size of downloads: 1,251 kB > dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB > [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB > [ebuild N] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB > [ebuild N] app-admin/eselect-ecj-0.3 0 kB > [ebuild N] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB > [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB > > Total: 6 packages (6 new), Size of downloads: 8,111 kB > dragonfly ~ > Mark, I could be responsible for this (the fact that it seems that neither of the things I really wanted to know are covered) because sometimes I am not clear in what I'm asking, so let me try again. I need to get an up-to-date version of eclipse working on my gentoo box. First question is, is there a Galileo (3.5+) version of eclipse available as a portage package? I can't find it, so I'd really appreciate a pointer. The only thing I can see is a fairly old eclipse version (I think a year or more out of date). Second question, at the eclipse website, I see a binary version of the latest Linux-eclipse (the version I'm after). If I *can't* get a portage package version of Galileo-eclipse, then if I install the binary package (non-portage) from the eclipse website, can I get (and how can I get) portage to consider this package as supplying any dependency which would be otherwise supplied by the latest (ganymede, 3.4+) portage version of the eclipse tool . Unless I'm completely misreading your stuff, your examples tell me how to install the (too old) portage version, which is in all cases just too old for me, so my 2 questions boil down to (1) must I?, and (2) How do I? Thanks for your time, Mark.
Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?
Perhaps I should try this procedure on my home gentoo box first. Here are my USE flags: X aac aim alsa ao bash-completion bdf branding bzip2 cairo cdda cddb cdparanoia cdr cpudetection djvu emacs encode exif firefox flac foomaticdb gif glut graphics gs gtk ieee1394 imagemagick imlib java javascript jbig jpeg jpeg2k kpathsea lame latex ldap libnotify libwww lm_sensors mad mmx mmxext mng motif mp3 mpeg mplayer msn openal opengl oss pdf plotutils png ppds preview-latex pstricks qt3support qt4 quicktime rtc samba science sdl sensord smp sndfile spell sse sse2 svga swat tcl tetex tiff tk truetype tta usb wavpack winbind wmp xcb xine xml yahoo -dri -isdnlog -pppd When "world" is edited, should I leave make.conf be or do I also need to remove all X-related USE flags from there? Here is my world file. I did not include anything under x11-* for brewity. I marked everything I am planning to remove with a preceding "- " Could someone look this over, please, to make sure I didn't select anything critical? I did use "equery depends" and some common sense, but I could use a sanity check! - app-admin/emacs-updater app-admin/syslog-ng - app-editors/emacs - app-emacs/emacs-common-gentoo - app-office/abiword - app-office/abiword-plugins app-portage/gentoolkit app-portage/mirrorselect app-portage/portage-utils app-portage/ufed app-shells/bash-completion - app-text/acroread - app-text/djvu - app-text/enchant - app-text/ghostscript-gpl - app-text/gnome-doc-utils - app-text/gtkspell - app-text/gv - app-text/hunspell - app-text/iso-codes - app-text/libpaper - app-text/libwpd app-text/poppler-data app-text/poppler-utils - app-text/ps2eps - app-text/psutils - app-text/rarian - app-text/rman - app-text/scrollkeeper - app-text/scrollkeeper-dtd app-text/sgml-common - app-text/t1utils - app-text/texi2html - app-text/texlive - app-text/wv - app-vim/fluxbox-syntax dev-java/javatoolkit dev-java/sun-jdk dev-lang/tcl dev-libs/dbus-glib dev-libs/libtasn1 dev-libs/mpfr dev-perl/XML-Parser dev-python/pygobject dev-python/pygtk - dev-tex/latex-beamer - dev-tex/mh - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-latexextra dev-util/pkgconfig - gnome-base/gdm - gnome-base/libgnomecanvas - media-fonts/corefonts - media-fonts/dejavu - media-fonts/encodings - media-fonts/font-adobe-100dpi - media-fonts/font-adobe-75dpi - media-fonts/font-adobe-utopia-100dpi - media-fonts/font-adobe-utopia-75dpi - media-fonts/font-adobe-utopia-type1 - media-fonts/font-alias - media-fonts/font-arabic-misc - media-fonts/font-bh-100dpi - media-fonts/font-bh-75dpi - media-fonts/font-bh-lucidatypewriter-100dpi - media-fonts/font-bh-lucidatypewriter-75dpi - media-fonts/font-bh-ttf - media-fonts/font-bh-type1 - media-fonts/font-bitstream-100dpi - media-fonts/font-bitstream-75dpi - media-fonts/font-bitstream-speedo - media-fonts/font-bitstream-type1 - media-fonts/font-cronyx-cyrillic - media-fonts/font-cursor-misc - media-fonts/font-daewoo-misc - media-fonts/font-dec-misc - media-fonts/font-ibm-type1 - media-fonts/font-isas-misc - media-fonts/font-jis-misc - media-fonts/font-micro-misc - media-fonts/font-misc-cyrillic - media-fonts/font-misc-ethiopic - media-fonts/font-misc-meltho - media-fonts/font-misc-misc - media-fonts/font-mutt-misc - media-fonts/font-schumacher-misc - media-fonts/font-screen-cyrillic - media-fonts/font-sony-misc - media-fonts/font-sun-misc - media-fonts/font-util - media-fonts/font-winitzki-cyrillic - media-fonts/font-xfree86-type1 - media-fonts/freefonts - media-fonts/gnu-gs-fonts-std - media-fonts/intlfonts - media-fonts/terminus-font - media-fonts/ttf-bitstream-vera - media-fonts/unifont - media-gfx/gimp - media-gfx/gqview - media-gfx/imagemagick - media-gfx/jpeg2ps - media-gfx/sam2p - media-gfx/transfig - media-gfx/xfig - media-gfx/xv media-libs/alsa-lib media-libs/audiofile - media-libs/babl media-libs/flac - media-libs/fontconfig - media-libs/freeglut - media-libs/freetype - media-libs/ftgl - media-libs/gd - media-libs/gegl - media-libs/giflib - media-libs/glew - media-libs/gst-plugins-base - media-libs/gst-plugins-good - media-libs/gstreamer - media-libs/imlib2 - media-libs/jasper - media-libs/jbigkit - media-libs/jpeg - media-libs/lcms media-libs/libart_lgpl media-libs/libcddb - media-libs/libexif media-libs/libid3tag media-libs/libmad - media-libs/libmng media-libs/libogg media-libs/libpng media-libs/libsdl media-libs/libsndfile media-libs/libvorbis - media-libs/mesa - media-libs/netpbm media-libs/openjpeg - media-libs/pdflib - media-libs/plotutils media-libs/raptor media-libs/svgalib -media-libs/t1lib media-libs/tiff - media-libs/vigra media-plugins/alsa-plugins media-sound/alsa-utils media-sound/asunder media-sound/audacious media-sound/cdparanoia media-sound/cdplay media-sound/wavpack - media-video/nvidia-settings net-analyzer/netselect net-fs/samba - net-im/pidgin - net-irc/xchat net-misc/dhcpcd - net-print/cups perl-core/IO-Compress - sci-mi
Re: [gentoo-user] Re: Java problem
* Multiple Inheritence (Level: 5) inherit: multilib -> /usr/portage/eclass/multilib.eclass inherit: portability -> /usr/portage/eclass/portability.eclass inherit: versionator -> /usr/portage/eclass/versionator.eclass inherit: multilib -> /usr/portage/eclass/multilib.eclass java-pkg_ant-tasks-depend: entering function, parameters: EXPORT_FUNCTIONS: src_unpack -> ant-tasks_src_unpack EXPORT_FUNCTIONS: src_compile -> ant-tasks_src_compile EXPORT_FUNCTIONS: src_install -> ant-tasks_src_install RDEPEND: not set... Setting to: dev-java/junit:0 java-pkg_init: entering function, parameters: java-pkg_init_paths_: entering function, parameters: JAVA_PKG_SHAREPATH: /usr/share/ant-junit JAVA_PKG_ENV: /var/tmp/portage/dev-java/ant-junit-1.7.1/image//usr/share/ant-junit/package.env JAVA_PKG_JARDEST: /usr/share/ant-junit/lib JAVA_PKG_LIBDEST: /usr/lib64/ant-junit JAVA_PKG_WARDEST: /usr/share/ant-junit/webapps java-pkg_switch-vm: entering function, parameters: java-pkg_needs-vm: entering function, parameters: depend-java-query: NV_DEPEND: dev-java/junit:0 >=dev-java/java-config-2.1.9-r1 >=sys-apps/portage-2.1.2.7 >=sys-apps/portage-2.1.2.7 >=dev-java/javatoolkit-0.3.0-r2 >=virtual/jdk-1.4 >=virtual/jre-1.4 ~dev-java/ant-core-1.7.1 !dev-java/ant-tasks inherit: ant-tasks -> /usr/portage/eclass/ant-tasks.eclass *** Multiple Inheritence (Level: 2) inherit: versionator -> /usr/portage/eclass/versionator.eclass inherit: java-pkg-2 -> /usr/portage/eclass/java-pkg-2.eclass *** Multiple Inheritence (Level: 3) inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass *** Multiple Inheritence (Level: 4) inherit: eutils -> /usr/portage/eclass/eutils.eclass *** Multiple Inheritence (Level: 5) inherit: multilib -> /usr/portage/eclass/multilib.eclass *** Multiple Inheritence (Level: 6) inherit: toolchain-funcs -> /usr/portage/eclass/toolchain-funcs.eclass inherit: portability -> /usr/portage/eclass/portability.eclass inherit: versionator -> /usr/portage/eclass/versionator.eclass inherit: multilib -> /usr/portage/eclass/multilib.eclass EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst inherit: java-ant-2 -> /usr/portage/eclass/java-ant-2.eclass *** Multiple Inheritence (Level: 3) inherit: java-utils-2 -> /usr/portage/eclass/java-utils-2.eclass *** Multiple Inheritence (Level: 4) inherit: eutils -> /usr/portage/eclass/eutils.eclass *** Multiple Inheritence (Level: 5) inherit: multilib -> /usr/portage/eclass/multilib.eclass inherit: portability -> /usr/portage/eclass/portability.eclass inherit: versionator -> /usr/portage/eclass/versionator.eclass inherit: multilib -> /usr/portage/eclass/multilib.eclass java-pkg_ant-tasks-depend: entering function, parameters: EXPORT_FUNCTIONS: src_unpack -> ant-tasks_src_unpack EXPORT_FUNCTIONS: src_compile -> ant-tasks_src_compile EXPORT_FUNCTIONS: src_install -> ant-tasks_src_install RDEPEND: not set... Setting to: dev-java/junit:0
[gentoo-user] Re: Determine what's keeping Python 3.7 around?
On 2020-12-06, Neil Bothwick wrote: > On Sun, 6 Dec 2020 20:01:27 - (UTC), Grant Edwards wrote: > >> I updated one of my systems a day or two ago, and Python 3.7 went away >> as expected. Today, I'm updating another system and it is rebuilding >> tons of stuff to target python 3.8 instead of 3.7, but it's keeping >> 3.7 and even wants to install a _new_ package -- and build it for >> Python 3.7: > > emerge -cpv python:3.7 will show you what is keeping 3.7 Something's wrong. That lists 43 packages. I checked the first few, and none of them require python 3.7. # emerge -cpv python:3.7 Calculating dependencies... done! dev-lang/python-3.7.9 pulled in by: app-office/gnumeric-1.12.47 requires dev-lang/python:3.7 app-office/libreoffice-6.4.7.2 requires dev-lang/python:3.7[threads(+),xml] app-portage/gemato-16.2 requires dev-lang/python:3.7[threads(+)] app-portage/gentoolkit-0.5.0-r2 requires dev-lang/python:3.7[xml(+),threads(+)] app-portage/mirrorselect-2.2.6-r1 requires dev-lang/python:3.7[xml] app-text/asciidoc-9.0.2 requires dev-lang/python:3.7 dev-embedded/libftdi-1.4 requires dev-lang/python:3.7 dev-java/java-config-2.3.1 requires dev-lang/python:3.7 dev-java/javatoolkit-0.6.3 requires dev-lang/python:3.7[xml(+)] dev-libs/gobject-introspection-1.64.1-r1 requires dev-lang/python:3.7[xml] dev-libs/libxml2-2.9.10-r3 requires dev-lang/python:3.7[xml] dev-libs/newt-0.52.21-r1 requires dev-lang/python:3.7 dev-python/PyQt5-5.15.1 requires dev-lang/python:3.7 dev-python/PyQt5-sip-4.19.24 requires dev-lang/python:3.7 dev-python/PySocks-1.7.1-r1 requires dev-lang/python:3.7 dev-python/bcrypt-3.2.0 requires dev-lang/python:3.7 dev-python/beautifulsoup-4.9.3 requires dev-lang/python:3.7 dev-python/cairocffi-1.1.0 requires dev-lang/python:3.7 dev-python/certifi-10001 requires dev-lang/python:3.7 dev-python/cffi-1.14.0-r3 requires dev-lang/python:3.7 dev-python/chardet-3.0.4-r1 requires dev-lang/python:3.7 dev-python/configobj-5.0.6 requires dev-lang/python:3.7 dev-python/cryptography-3.2 requires dev-lang/python:3.7[threads(+)] dev-python/cssselect2-0.3.0 requires dev-lang/python:3.7 dev-python/cython-0.29.21-r1 requires dev-lang/python:3.7[threads(+)] dev-python/defusedxml-0.7.0_rc1 requires dev-lang/python:3.7[xml(+)] dev-python/docutils-0.16-r1 requires dev-lang/python:3.7 dev-python/future-0.18.2-r1 requires dev-lang/python:3.7 dev-python/html5lib-1.1 requires dev-lang/python:3.7[xml(+)] dev-python/idna-2.10-r1 requires dev-lang/python:3.7 dev-python/imapclient-2.1.0 requires dev-lang/python:3.7 dev-python/importlib_metadata-2.0.0 requires dev-lang/python:3.7 dev-python/jinja-2.11.2-r1 requires dev-lang/python:3.7[threads(+)] dev-python/lxml-4.6.2 requires dev-lang/python:3.7 dev-python/mako-1.1.3-r1 requires dev-lang/python:3.7 dev-python/markdown-3.3.3 requires dev-lang/python:3.7 dev-python/markups-3.0.0-r1 requires dev-lang/python:3.7 dev-python/markupsafe-1.1.1-r1 requires dev-lang/python:3.7 dev-python/netifaces-0.10.9 requires dev-lang/python:3.7 dev-python/olefile-0.46-r1 requires dev-lang/python:3.7 dev-python/paho-mqtt-1.5.0 requires dev-lang/python:3.7 dev-python/paramiko-2.7.1 requires dev-lang/python:3.7[threads(+)] dev-python/pbkdf2-1.3-r1 requires dev-lang/python:3.7 dev-python/pillow-7.2.0 requires dev-lang/python:3.7[tk,threads(+)] dev-python/pip-20.2.4 requires dev-lang/python:3.7[ssl(+),threads(+)] dev-python/ply-3.11-r1 requires dev-lang/python:3.7 dev-python/pyalsa-1.1.6-r1 requires dev-lang/python:3.7 dev-python/pyasn1-0.4.8-r1 requires dev-lang/python:3.7 dev-python/pycairo-1.18.2 requires dev-lang/python:3.7[threads(+)] dev-python/pycparser-2.20-r1 requires dev-lang/python:3.7 dev-python/pycurl-7.43.0.6 requires dev-lang/python:3.7 dev-python/pygments-2.7.2 requires dev-lang/python:3.7 dev-python/pygobject-3.36.1-r1 requires dev-lang/python:3.7 dev-python/pynacl-1.4.0 requires dev-lang/python:3.7 dev-python/pyopenssl-19.1.0-r1 requires dev-lang/python:3.7[threads(+)] dev-python/pyphen-0.9.5 requires dev-lang/python:3.7 dev-python/pyserial-3.4 requires dev-lang/python:3.7 dev-python/python-markdown-math-0.7 requires dev-lang/python:3.7 dev-python/qrcode-6.1 requires dev-lang/python:3.7 dev-python/requests-2.24.0-r1 requires dev-lang/python:3.7[threads(+)] dev-python/setuptools-46.4.0-r3 requires dev-lang/python:3.7[xml(+)] dev-python/sip-4.19.24 requires dev-lang/python:3.7 dev-python/six-1.15.0-r1 requires dev-lang/python:3.7 dev-python/soupsieve-2.0.1 requires dev-lang/python:3.7 dev-python/ssl-fetch-0.4 requires dev-lang/python:3.7 dev-python/tinycss2-1.0.2 requires dev-lang/python:3.7 dev-python/toml-0.10.1-r1 requires dev-lang/python:3.7 de
Re: [gentoo-user] Still kde problems with monolithic->split
0.22 USE="bluetooth perl python -debug -ruby -swig -tcl" [ebuild R ] dev-libs/openobex-1.3 USE="bluetooth* usb* -debug -irda -syslog" 0 kB [ebuild R ] media-fonts/font-adobe-100dpi-1.0.0 USE="X%* nls" 0 kB [ebuild R ] media-libs/openal-0.0.8-r2 USE="alsa esd mp3 sdl vorbis -arts* -debug" 0 kB [nomerge ] x11-misc/xaos-3.4 USE="X nls png -aalib -svga -threads" [ebuild N] sci-libs/gsl-1.9-r1 2,515 kB [ebuild R ] media-libs/libmikmod-3.1.11-r4 USE="alsa esd -oss*" 0 kB [ebuild R ] dev-libs/cyrus-sasl-2.1.22-r2 USE="berkdb crypt gdbm kerberos* ldap pam ssl -authdaemond -java -mysql -ntlm_unsupported_patch -postgres -sample -srp -urandom" 0 kB [nomerge ] net-misc/netkit-talk-0.17-r4 USE="ipv6" [?] [ebuild N] sys-apps/xinetd-2.3.14 USE="perl tcpd" 295 kB [nomerge ] app-text/tetex-3.0_p1-r6 USE="X -Xaw3d -doc -motif -neXt -tk (-lesstif%)" [nomerge ] x11-libs/libXp-1.0.0 USE="-debug" [?] [ebuild R ] x11-proto/printproto-1.0.3 USE="(-debug%)" 0 kB [ebuild R ] sci-visualization/gnuplot-4.2.3-r2 USE="X pdf* readline -doc -emacs -gd -ggi -latex -plotutils -svga -wxwindows -xemacs" 0 kB [ebuild R ] dev-perl/HTML-Parser-3.56 USE="-test% (-unicode%)" 0 kB [ebuild R ] dev-libs/pwlib-1.10.10-r1 USE="alsa ipv6 ldap sdl ssl xml -debug -ieee1394 -oss* -sasl -v4l -v4l2" 0 kB [ebuild R ] sci-libs/fftw-3.1.2 USE="fortran%* (-altivec) -debug% -sse -sse2 -test" 0 kB [ebuild R ] dev-util/cvs-1.12.12-r4 USE="crypt kerberos* nls pam -doc -emacs -server" 0 kB [ebuild R ] app-backup/dar-2.3.7-r1 USE="acl* nls ssl -dar32 -dar64 -doc" 0 kB [ebuild R ] games-emulation/xmame-0.106 USE="X alsa esd opengl sdl xv -arts* -dga -expat -ggi -joystick -lirc -mmx -net -svga -xinerama" 0 kB [ebuild R ] www-client/lynx-2.8.6-r2 USE="bzip2* ipv6 nls ssl -cjk -unicode" LINGUAS="-ja" 0 kB [ebuild R ] media-video/ogle-0.9.2-r1 USE="alsa xv (-altivec) -mmx -oss*" 0 kB [nomerge ] dev-java/xmlrpc-2.0.1 USE="-doc -examples -source -test" [nomerge ] dev-java/commons-httpclient-3.1 USE="-doc -examples -source -test" [nomerge ] dev-java/commons-codec-1.3-r1 USE="-doc -source -test%" [ebuild U ]dev-java/javatoolkit-0.3.0-r2 [0.2.0-r1] 17 kB [ebuild R ] media-libs/sdl-image-1.2.6-r1 USE="gif jpeg png tiff*" 0 kB [ebuild R ] media-libs/libao-0.8.8 USE="alsa esd -arts* -doc -mmap -nas -pulseaudio" 0 kB [ebuild R ] media-sound/mpg123-1.3.1 USE="alsa esd sdl -3dnow -3dnowext (-altivec) -arts* -jack -mmx -nas -oss* -portaudio -pulseaudio -sse" 0 kB [ebuild UD] dev-libs/boost-1.34.1-r2 [1.35.0-r1] USE="-debug -doc -icu -pyste% -tools (-expat%) (-mpi%)" 0 kB [ebuild U ] media-libs/alsa-lib-1.0.17a [1.0.17-r1] USE="midi python -alisp -debug -doc" 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" 771 kB [ebuild R ] dev-libs/serdisplib-1.97.7 USE="usb*" 0 kB [ebuild R ] media-libs/ploticus-2.32 USE="X nls svg* truetype -cpulimit -flash -gd -svgz" 0 kB [ebuild R ] net-analyzer/netcat-110-r8 USE="crypt ipv6 -static (-GAPING_SECURITY_HOLE%)" 0 kB [ebuild N] virtual/pager-0 0 kB [ebuild R ] sys-devel/patch-2.5.9 USE="-static (-build%)" 0 kB [ebuild R ] media-gfx/sane-backends-1.0.19-r1 USE="ipv6 usb* -doc -gphoto2 -v4l" 8 kB [nomerge ] app-office/openoffice-2.4.1 USE="cups dbus eds firefox gnome gstreamer gtk kde ldap opengl pam -binfilter -debug -java -mono -odk -seamonkey -xulrunner" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" [ebuild R ] media-libs/vigra-1.5.0-r1 USE="jpeg png tiff* zlib -doc -fftw" 0 kB [blocks B ] kde-base/kfind:3.5 (is blocking kde-base/kdebase-3.5.9-r3) [blocks B ] http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Installing outside of Portage & cruft removal
/) || (/^dir/)) { push (@packagefile, "$2\n") if (/(\w+\s)(\S+)/); } if (/^obj/) { push (@packagefile, "$2\n") if (/(\w+\s)(.+)(\s\w+\s\d+$)/); } } } @packagefile = sort (@packagefile); $prev = "not equal to $packagefile[0]"; @packagefile = grep($_ ne $prev && ($prev = $_, 1), @packagefile); # Compares the list of the files in the system with the files controlled by # portage to get unmanaged files. print "[INFO]\tComparing to get unmanaged files ...\n"; open (CRUFT,">$destdir/$cruft") || die ("$cruft: $!"); @packagefileche...@packagefile} = (); foreach $_ (@systemfile) { push (@cruft, $_) unless exists $packagefilecheck{$_}; } @cruft = sort (@cruft); print CRUFT @cruft; print "[INFO]\tList containing cruft written to $destdir/$cruft\n"; # Compares the list of found cruft files with a list of files found in an # older search. if (-f "$destdir/$oldcruft" && -s _ && -T _) { print "[INFO]\tComparing cruft with old results ...\n"; #open (OLDCRUFT,"<$destdir/$oldcruft") || die ("$oldcruft: $!"); #my @oldcruft = ; #print "[INFO]\tUsing previous results from $destdir/$oldcruft\n"; #open (DIFFCRUFT,">$destdir/$diffcruft") || die ("$diffcruft: $!"); #diff \...@oldcruft, \...@cruft, {OUTPUT => \*DIFFCRUFT}; system "diff -u $destdir/oldcruft.txt $destdir/cruft.txt >$destdir/diffcruft.txt"; print "[INFO]\tDifferences to previous run written to $destdir/$diffcruft\n"; } else { print "[INFO]\tThe file $oldcruft does not exist in\n"; print "[INFO]\t$destdir\n[INFO]\tor has no contents.\n"; print "[INFO]\tNote: For later comparisons you can move $cruft to $oldcruft\n"; print "[INFO]\tto catch the differences in the file $diffcruft.\n"; print "[INFO]\tSkipping comparison with old results ...\n\n"; } # Write debug files. &debug() if defined $debug; # Subroutines # Print usage message. sub usage() { print "USAGE: $0 [options]\n"; print " -d|--destdir=DIR\tdirectory for analysis and debug output\n"; print "\t\t\t[$destdir]\n"; print " -c|--confdir=DIR\tdirectory containing $ignorelist\n"; print "\t\t\t[$confdir]\n"; #print " -s|--searchdir=DIR\tbase directory for searching\n"; #print "\t\t\t[$searchdir]\n"; #print " -v|--vdb_path=DIR\tpath to the portage database\n"; #print "\t\t\t[$vdb_path]\n"; print " -b|--debug\t\tgenerate debug output\n"; print " -?|-h|--help\t\tprint this lot out\n"; print $help; exit; } # Subroutine to generate debug output. sub debug() { open (SYS,">$destdir/$systemfile") || die ("$systemfile: $!"); print SYS @systemfile; print "\e[1;35m[DEBUG]\tAll files from the system excluding the ignored files written to $destdir/$systemfile\e[m\n"; open (CONTENT,">$destdir/$contentlist") || die ("$contentlist: $!"); print CONTENT @contentlist; print "\e[1;35m[DEBUG]\tPath to files containing package contents written to $destdir/$contentlist\e[m\n"; open (PACKAGE,">$destdir/$packagefile") || die ("$packagefile: $!"); print PACKAGE @packagefile; print "\e[1;35m[DEBUG]\tAll files controlled by the package manager written to $destdir/$packagefile\e[m\n"; # For reference list the files which are controlled by portage but not in the # system maybe because they are deleted or ignored by the ignorefile. print "\e[1;35m[DEBUG]\tComparing to get negcruft files ...\n"; @systemfileche...@systemfile} = (); foreach $_ (@packagefile) { push (@negcruft, $_) unless exists $systemfilecheck{$_}; } @negcruft = sort (@negcruft); open (NEGCRUFT,">$destdir/$negcruft") || die ("$negcruft: $!"); print NEGCRUFT @negcruft; print "\e[1;35m[DEBUG]\tNegative list of cruft written to $destdir/$negcruft\e[m\n"; } # Directories and files which should always be ignored. /boot /dev /home /lost+found /media /mnt /proc /root /sys /tmp /usr/src /lib/modules /usr/tmp /var # Directories and files created by the user or in pkg_post_install plus other # non cruft. /etc/portage /etc/runlevels /etc/ssl/certs /lib/rc/console /lib/rc/init.d /lib/splash/cache /usr/i686-pc-linux-gnu/bin /usr/i686-pc-linux-gnu/lib /usr/include/GL /usr/lib/openoffice/