Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549252

Summary: app-eselect/eselect-java-0.1.0: should not distribute run-java-tool.bash in the tarball
Product: Gentoo Linux Reporter: Benda Xu <heroxbd>
Component: Current packagesAssignee: Java team <java>
Severity: normal CC: jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 449316    

Description Benda Xu gentoo-dev 2015-05-12 09:42:43 UTC
In the eselect-java build system, src/scripts/run-java-tool.bash is supposed to be generated from src/scripts/ via (my EPREFIX=/disk/usr100/gentoo)

sed "s|\@GENTOO_PORTAGE_EPREFIX\@|/disk/usr100/gentoo|g" ./src/scripts/ >src/scripts/run-java-tool.bash

But the shipped run-java-tool.bash in the tarball hinders the correct process.  It looks like a trivial mistake to fix by removing that file from the tarball.

Reproducible: Always
Comment 1 James Le Cuirot gentoo-dev 2015-05-12 09:58:06 UTC
I was already planning to make a change to eselect-java soon so I'll look into this soon.
Comment 2 James Le Cuirot gentoo-dev 2015-08-06 22:04:06 UTC
Aha! jlec reported this today and I knew there was a bug for it somewhere but I forgot about this one. It's now fixed in -r1.