Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553898 - dev-java/netbeans-websvccommon-8.0.2 Failed Patch: italian-patch.patch
Summary: dev-java/netbeans-websvccommon-8.0.2 Failed Patch: italian-patch.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-04 07:59 UTC by Jeff Sweeney
Modified: 2015-07-07 21:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,3.88 KB, text/x-log)
2015-07-04 08:00 UTC, Jeff Sweeney
Details
Patch output (italian-patch.patch.out,4.14 KB, text/plain)
2015-07-04 08:00 UTC, Jeff Sweeney
Details
Environment (environment,149.89 KB, text/plain)
2015-07-04 08:01 UTC, Jeff Sweeney
Details
emerge --info (info.log,5.43 KB, text/x-log)
2015-07-04 08:03 UTC, Jeff Sweeney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Sweeney 2015-07-04 07:59:12 UTC
Installing Netbeans on new system. Failure of patch:

 * ERROR: dev-java/netbeans-websvccommon-8.0.2::gentoo failed (prepare phase):
 *   Failed Patch: italian-patch.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3894:  Called epatch '/usr/portage/dev-java/netbeans-websvccommon/files/italian-patch.patch'
 *   environment, line  945:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-java/netbeans-websvccommon-8.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/netbeans-websvccommon-8.0.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-7  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.5.5"
JAVACFLAGS="-source 1.7 -target 1.7" COMPILER=""
and of course, the output of emerge --info =netbeans-websvccommon-8.0.2
 * The complete build log is located at '/var/tmp/portage/dev-java/netbeans-websvccommon-8.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/netbeans-websvccommon-8.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/netbeans-websvccommon-8.0.2/work'
 * S: '/var/tmp/portage/dev-java/netbeans-websvccommon-8.0.2/work'


Reproducible: Always

Steps to Reproduce:
1. emerge netbeans
2. failure during prepare phase of required dependancy
3.
Actual Results:  
Failed to begin build of dependancy

Expected Results:  
Dependancy built
Comment 1 Jeff Sweeney 2015-07-04 08:00:12 UTC
Created attachment 406148 [details]
Build log
Comment 2 Jeff Sweeney 2015-07-04 08:00:29 UTC
Created attachment 406150 [details]
Patch output
Comment 3 Jeff Sweeney 2015-07-04 08:01:09 UTC
Created attachment 406152 [details]
Environment
Comment 4 Jeff Sweeney 2015-07-04 08:03:01 UTC
Created attachment 406154 [details]
emerge --info
Comment 5 Jeff Sweeney 2015-07-04 08:03:39 UTC
emerge -pqv...

[ebuild  N    ] dev-java/netbeans-websvccommon-8.0.2
Comment 6 Zac Medico gentoo-dev 2015-07-06 06:37:33 UTC
The file that italian-patch.patch would patch does not even exist. There are some similar files inside lib.profiler/test/qa-functional/data/perfdata/jaxb-xjc.jar, but the ebuild removes all of the bundled jars immediately after they are unpacked in src_unpack.

My guess is that bug 435022 only affected some older version(s) that did not remove the bundled jars.
Comment 7 Jeff Sweeney 2015-07-07 19:44:42 UTC
The file that it is trying to patch appears to not actually be installed by this package - I located the (invalid) file as part of the already installed /usr/share/netbeans-ide-8.0/modules/ext/jaxb/jaxb-xjc.jar

By extracting this jar under work/xjc/src/ before the patch ran allowed the patch to complete successfully, and the package compiled and installed properly. So it looks like the error this patch is attempting to solve is being installed by a different package - specifically, it's actually being installed to the system by dev-java/netbeans-ide-8.0.2
Comment 8 Zac Medico gentoo-dev 2015-07-07 21:08:50 UTC
(In reply to Jeff Sweeney from comment #7)

Thanks, I've removed the patch and re-opened bug 435022.