Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269131 - media-libs/libpano13-2.9.14_rc1 does not build with USE=java because of missing java-version
Summary: media-libs/libpano13-2.9.14_rc1 does not build with USE=java because of missi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 13:39 UTC by Boris
Modified: 2009-05-11 21:58 UTC (History)
2 users (show)

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


Attachments
libpano13-2.9.14_rc1.ebuild.patch (libpano13-2.9.14_rc1.ebuild.patch,352 bytes, patch)
2009-05-09 13:40 UTC, Boris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris 2009-05-09 13:39:02 UTC
The ebuild for media-libs/libpano13-2.9.14_rc1 now (in contrast to it's antecessor) inherits java-pkg-opt-2, which results in the error "Unable to determine VM for building from dependencies".

libpano13 needs a 1.3 jdk according to README.windows

Reproducible: Always

Steps to Reproduce:
1. Install media-libs/libpano13-2.9.14_rc1 with USE=java
2.
3.

Actual Results:  
 * Unable to determine VM for building from dependencies:                                                                                                                 
NV_DEPEND:                                                                                                                                                                
        media-libs/jpeg                                                                                                                                                   
        media-libs/libpng                                                                                                                                                 
        media-libs/tiff                                                                                                                                                   
        sys-libs/zlib                                                                                                                                                     
        java? ( virtual/jdk )  java? ( >=dev-java/java-config-2.1.6 >=sys-apps/portage-2.1.2.7 )                                                                          
VNEED:                                                                                                                                                                    
 *                                                                                                                                                                        
 * ERROR: media-libs/libpano13-2.9.14_rc1 failed.                                                                                                                         
 * Call stack:                                                                                                                                                            
 *               ebuild.sh, line   48:  Called pkg_setup                                                                                                                  
 *               ebuild.sh, line 1264:  Called java-pkg-opt-2_pkg_setup                                                                                                   
 *   java-pkg-opt-2.eclass, line   45:  Called java-pkg_init                                                                                                              
 *     java-utils-2.eclass, line 2134:  Called java-pkg_switch-vm                                                                                                         
 *     java-utils-2.eclass, line 2557:  Called die                                                                                                                        
 * The specific snippet of code:                                                                                                                                          
 *                              die "Failed to determine VM for building."                                                                                                
 *  The die message:                                                                                                                                                      
 *   Failed to determine VM for building.                                                                                                                                 
 *                                                                                                                                                                        
 * 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/media-libs/libpano13-2.9.14_rc1/temp/build.log'.                                                                  
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libpano13-2.9.14_rc1/temp/die.env'.                                                             
 *                                                                                                                                                                        
!!! When you file a bug report, please include the following information:                                                                                                 
GENTOO_VM=None  CLASSPATH="." JAVA_HOME=""                                                                                                                                
JAVACFLAGS="" COMPILER=""                                                                                                                                                 
and of course, the output of emerge --info                                                                                                                                

>>> Failed to emerge media-libs/libpano13-2.9.14_rc1, Log file:

>>>  '/var/tmp/portage/media-libs/libpano13-2.9.14_rc1/temp/build.log'

 * Messages for package media-libs/libpano13-2.9.14_rc1:

 * Unable to determine VM for building from dependencies:
 *                                                       
 * ERROR: media-libs/libpano13-2.9.14_rc1 failed.        
 * Call stack:                                           
 *               ebuild.sh, line   48:  Called pkg_setup 
 *               ebuild.sh, line 1264:  Called java-pkg-opt-2_pkg_setup
 *   java-pkg-opt-2.eclass, line   45:  Called java-pkg_init           
 *     java-utils-2.eclass, line 2134:  Called java-pkg_switch-vm      
 *     java-utils-2.eclass, line 2557:  Called die                     
 * The specific snippet of code:                                       
 *                              die "Failed to determine VM for building."
 *  The die message:                                                      
 *   Failed to determine VM for building.                         

Expected Results:  
Compile :-)
Comment 1 Boris 2009-05-09 13:40:21 UTC
Created attachment 190763 [details, diff]
libpano13-2.9.14_rc1.ebuild.patch

Attached proposed patch (works for me)
Comment 2 Frédéric COIFFIER 2009-05-11 14:35:29 UTC
I confirm that the patch solves the problem.
Comment 3 Markus Meier gentoo-dev 2009-05-11 21:58:25 UTC
thanks for the report and patch, fixed in cvs.