On 6/20/12 4:20 AM, Douglas Godfrey wrote:
> I added /sw/bin:/sw/sbin to the fink path in the fink environment and
> JAVA_HOME to the fink environment and now I get a different failure...
> 

It doesn't look different.

> Fink still does not have JAVA_HOME even though I set it in the Fink
> Environment in Fink Commander.

Fink Commander hasn't been updated in a while, due to lack of volunteers
with sufficient Obj-C experience.  I wouldn't rely on it to fix
_current_ problems.

JAVA_HOME is supposed to be set internally within fink, but since Apple
keeps changing Java around, that detection isn't working right now.

> 
> Last login: Wed Jun 20 06:55:24 on ttys000
> /sw/bin/fink fetch commons-beanutils
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ /sw/bin/fink fetch commons-beanutils
> Password:
> Information about 11504 packages read in 0 seconds.
> 
> The file "commons-beanutils-1.8.3-src.tar.gz" already exists and its
> checksum matches. 
> 
> (1)   Delete it and download again
> (2)   Assume it is a partial download and try to continue
> (3)   Don't download, use existing file
> 
> Default answer will be chosen in 120 seconds...
> How do you want to proceed? [3] 1
> curl --connect-timeout 30 -f -L -A 'fink/0.33.1' -O
> http://distfiles.master.finkmirrors.net/commons-beanutils-1.8.3-src.tar.gz
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                  Dload  Upload   Total   Spent    Left
> Speed
> 100  374k  100  374k    0     0  53721      0  0:00:07  0:00:07 --:--:--
> 162k
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ fink dumpinfo -ePATH -eJAVA_HOME
> commons-beanutils
> Information about 11504 packages read in 1 seconds.
> Use of uninitialized value $JAVA_HOME in concatenation (.) or string at
> /sw/lib/perl5/Fink/PkgVersion.pm line 5069.
> PATH=/bin:/sw/var/lib/fink/path-prefix-10.6:/sw/lib/perl5/ExtUtils:/sw/bin:
> /sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ echo "$JAVA_HOME"
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ export
> JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ echo "$JAVA_HOME"
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ fink dumpinfo -ePATH -eJAVA_HOME
> commons-beanutils
> Information about 11504 packages read in 1 seconds.
> Use of uninitialized value $JAVA_HOME in concatenation (.) or string at
> /sw/lib/perl5/Fink/PkgVersion.pm line 5069.
> PATH=/bin:/sw/var/lib/fink/path-prefix-10.6:/sw/lib/perl5/ExtUtils:/sw/bin:
> /sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
> Douglas-Godfreys-Mac-Pro:~ dgodfrey$ fink install commons-beanutils
> Password:
> Information about 11504 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.20-07.1
> 4.51_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.20-07.1
> 4.51_darwin-i386.deb
> 未選択パッケージ fink-buildlock-commons-beanutils-1.8.3-1 を選択しています。
> (データベースを読み込んでいます... 現在 389864 個のファイルとディレクトリがイ
> ンストールされています。)
> (.../fink-buildlock-commons-beanutils-1.8.3-1_2012.06.20-07.14.51_darwin-i3
> 86.deb から) fink-buildlock-commons-beanutils-1.8.3-1 を展開しています...
> fink-buildlock-commons-beanutils-1.8.3-1 (2012.06.20-07.14.51) を設定していま
> す ...
> 
> 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.Pq2bV
> /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.doaDh
> /tmp/fink.yaQFZ
> #!/bin/sh -ev
> 
> ant compile jar javadoc
> Buildfile: 
> /sw/src/fink.build/commons-beanutils-1.8.3-1/commons-beanutils-1.8.3-src/bu
> ild.xml
> 
> BUILD FAILED
> XML parser factory has not been configured correctly: Provider -n
> gnu.xml.aelfred2.JAXPFactory not found
> 

<snip>

The errors is identical with and without your changes.

>>>
>>> /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?
>>

Please don't send me any more FinkCommander screenshots or offlist
messages if you're not going to respond to my _specific_ suggestions
that I make.  It's not my package, and I don't really care what random
things you do.

I retract the above suggestion, however.  All of the monkeying around
that you're doing with the Fink environment inside FinkCommander
suggests that you aren't set up correctly--there are more things to
worry about than just PATH.

If you run /sw/bin/pathsetup.sh what message does that return?  If it
says you are already set up properly, then start a new terminal window
and work from that (or restart Fink Commander).
-- 
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