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

Bug 796242

Summary: app-portage/java-ebuilder: SRC_URI
Product: Gentoo Linux Reporter: Volkmar W. Pogatzki <gentoo>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild created by java-ebuilder showing strange SRC_URI

Description Volkmar W. Pogatzki 2021-06-15 15:53:55 UTC
Created attachment 716322 [details]
ebuild created by java-ebuilder showing strange SRC_URI

SRC_URI in the created ebuilds should not put "-> ${P}-sources.tar.gz" when the download url does not contain "sources".

Bad example in the attachment:
SRC_URI="mirror://apache/xmlgraphics/commons/source/${PV}-src.tar.gz -> ${P}-sources.tar.gz"
Comment 1 Miroslav Ć ulc gentoo-dev 2021-06-15 17:26:44 UTC
this is by design. it was chosen by the author who added support for generating packages with [binary] to switch the package to use binary version of the jar instead of the sources. so we have *-sources.* and *-binary.* file names.