On 6/19/12 1:30 AM, Douglas Godfrey wrote:
> PkgVersion.pm and Services.pm reference the environment variables PATH
> and JAVA_HOME.
> PATH
> = 
> /sw/lib/perl5/ExtUtils:/sw/bin:/sw/sbin:/Library/Frameworks/Python.framework/Versions/3.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:/usr/X11/bin:/usr/X11R6/bin
> JAVA_HOME = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> 

Are those the PATH and JAVA_HOME as set by e.g. your .profile?  Fink
deliberately _doesn't_ use users' environment settings to try to
minimize interference from packages installed by other means.

To view what the _package_ is seeing for environment variables, you can use

fink dumpinfo -ePATH -eJAVA_HOME commons-beanutils

> Last login: Tue Jun 19 03:44:36 on console
> /sw/bin/fink install commons-beanutils
> org.finkproject.dbus-session: Already loaded
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ /sw/bin/fink install commons-beanutils

(according to your PATH above, you shouldn't need to use '/sw/bin/fink',
but just 'fink')

> Password:
> Information about 11501 packages read in 1 seconds.
> The following package will be installed or updated:
>  commons-beanutils
> Setting runtime build-lock...
> dpkg-deb -b
> /sw/src/fink.build/root-fink-buildlock-commons-beanutils-1.8.3-1
> /sw/src/fink.build
> dpkg-deb:
> /sw/src/fink.build/fink-buildlock-commons-beanutils-1.8.3-1_2012.06.19-03.51.36_darwin-i386.deb
> にパッケージ `fink-buildlock-commons-beanutils-1.8.3-1' を構築しています
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-commons-beanutils-1.8.3-1_2012.06.19-03.51.36_darwin-i386.deb
> 未選択パッケージ fink-buildlock-commons-beanutils-1.8.3-1 を選択しています。
> (データベースを読み込んでいます... 現在 373705 個のファイルとディレクト
> リがインストールされています。)
> (.../fink-buildlock-commons-beanutils-1.8.3-1_2012.06.19-03.51.36_darwin-i386.deb
> から) fink-buildlock-commons-beanutils-1.8.3-1 を展開しています...
> fink-buildlock-commons-beanutils-1.8.3-1 (2012.06.19-03.51.36) を設定し
> ています ...
> 
> Use of uninitialized value $JAVA_HOME in concatenation (.) or string at
> /sw/lib/perl5/Fink/PkgVersion.pm line 5069.
> Use of uninitialized value in concatenation (.) or string at
> /sw/lib/perl5/Fink/Services.pm line 579.
> sudo -u fink-bld [ENV] sh -c/tmp/fink.qcdj7
> /sw/bin/tar  --no-same-owner --no-same-permissions -xf
> /sw/src/commons-beanutils-1.8.3-src.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /sw/lib/perl5/Fink/Services.pm line 579.
> sudo -u fink-bld [ENV] sh -c/tmp/fink.Lpnvi
> /tmp/fink.EiT26
> #!/bin/sh -ev
> 
> ant compile jar javadoc
> Buildfile:
> /sw/src/fink.build/commons-beanutils-1.8.3-1/commons-beanutils-1.8.3-src/build.xml
> 
> BUILD FAILED
> XML parser factory has not been configured correctly: Provider -n
> gnu.xml.aelfred2.JAXPFactory not found
> 

The above is the actual problem ^^^^^^

> Total time: 0 seconds
> ### execution of /tmp/fink.EiT26 failed, exit code 1
> ### execution of /tmp/fink.Lpnvi failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-commons-beanutils-1.8.3-1
> (データベースを読み込んでいます... 現在 373706 個のファイルとディレクト
> リがインストールされています。)
> fink-buildlock-commons-beanutils-1.8.3-1 を削除しています...
> Failed: phase compiling: commons-beanutils-1.8.3-1 failed
> 

<snip>

> 
> Also include the following system information:
> Package manager version: 0.33.1
> Distribution version: selfupdate-rsync Mon Jun 18 13:14:39 2012, 10.6, i386
> Trees: local/main stable/main unstable/crypto unstable/main
> Xcode.app: 3.2.6
> Xcode command-line tools: 3.2.6
> Max. Fink build jobs:  8
> 
> 
> 
> 
>

The missing $JAVA_HOME is a red herring.  The package builds for me on a
similar Fink setup to yours, even though it complains about $JAVA_HOME.

The problem really appears to be as above:

gnu.xml.aelfred2.JAXPFactory not found

What happens if you install gnujaxp?

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to