Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268346 - Stable dev-java/jmdns-1.0 fails to emerge with JAVA_PKG_STRICT and USE="source"
Summary: Stable dev-java/jmdns-1.0 fails to emerge with JAVA_PKG_STRICT and USE="source"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-05-02 21:11 UTC by Alistair Bush (RETIRED)
Modified: 2009-05-23 21:10 UTC (History)
0 users

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


Attachments
jmdns iuse patch (jmdns-1.0-iuse.patch,655 bytes, patch)
2009-05-02 21:12 UTC, Alistair Bush (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair Bush (RETIRED) gentoo-dev 2009-05-02 21:11:38 UTC
When jmdns is built with JAVA_PKG_STRICT and USE="source" it will fail with the error message at [1].

Arches while this is a stable patch I would like to you to test/confirm a small patch to the stable ebuild.

The patch just moves the contents of IUSE to JAVA_PKG_IUSE so the java eclasses can handle adding the necessary deps.

Can you please apply the patch and test.


[1]
>>> Install jmdns-1.0 into /var/tmp/portage/dev-java/jmdns-1.0/image/ category dev-java
install: cannot change ownership of `/var/tmp/portage/dev-java/jmdns-1.0/image//usr/bin/jmdns': Operation not permitted
Java QA Notice: java-pkg_dosrc called without app-arch/zip in DEPEND                                                   
 *                                                                                                                     
 * ERROR: dev-java/jmdns-1.0 failed.                                                                                   
 * Call stack:                                                                                                         
 *               ebuild.sh, line   49:  Called src_install                                                             
 *             environment, line 3984:  Called java-pkg_dosrc 'src/com' 'src/javax'                                    
 *             environment, line 2430:  Called java-pkg_announce-qa-violation 'java-pkg_dosrc' 'called' 'without' 'app-arch/zip' 'in' 'DEPEND'
 *             environment, line 2130:  Called die                                                                                            
 * The specific snippet of code:                                                                                                              
 *       [[ -z "${nodie}" ]] && is-java-strict && die "${@}"                                                                                  
 *  The die message:                                                                                                                          
 *   java-pkg_dosrc called without app-arch/zip in DEPEND                                                                                     
 *                                                                                                                                            
 * If you need support, post the topmost build error, and the call stack if relevant.                                                         
 * A complete build log is located at '/var/tmp/portage/dev-java/jmdns-1.0/temp/build.log'.                                                   
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jmdns-1.0/temp/environment'.                                          
 *                                                                                                                                            
!!! When you file a bug report, please include the following information:                                                                     
GENTOO_VM=sun-jdk-1.7  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.7.0.0_alpha57"                                                                  
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac"
and of course, the output of emerge --info
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2009-05-02 21:12:46 UTC
Created attachment 190177 [details, diff]
jmdns iuse patch

And the patch.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2009-05-15 08:45:11 UTC
x86 fine with it, but I really don't know why we as arch teams need to approve such a patch.  Please, the next time, do it without all the bureaucracy and just commit a trivial change like this.
Comment 3 Markus Meier gentoo-dev 2009-05-23 12:39:49 UTC
no problems here on amd64.
Comment 4 Alistair Bush (RETIRED) gentoo-dev 2009-05-23 21:10:50 UTC
Committed patch.