On Sep 13, 2004, at 6:26 AM, Benjamin Reed wrote:

Trevor Harmon wrote:

Well, I ran "fink selfupdate", but I skipped "fink update-all" because I didn't want to recompile everything from source, just Ant. Instead, I ran "fink install ant". Unfortunately, Ant failed to build under Fink -- even though I can build it just fine myself from the exact same package source. I guess the next step is to contact the maintainer.

How does it fail to build? Without an error report I can't fix the package. =)

Ah, sorry, didn't know you were listening. :) Here's the output:

vp081144:~/ $ sudo fink install ant
Password:
Information about 3890 packages read in 2 seconds.
The following package will be installed or updated:
ant
bzip2 -dc /sw/src/apache-ant-1.6.2-src.tar.bz2 | /sw/bin/tar -xf - --no-same-owner --no-same-permissions
/sw/bin/tar: A lone zero block at 34226
./build.sh -Ddist.name=ant -Dchmod.fail=false dist
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml


bootstrap:

prepare:

check_for_optional_packages:

BUILD FAILED
/sw/src/ant-1.6.2-1/apache-ant-1.6.2/build.xml:1060: The following error occurred while executing this line:
/sw/src/ant-1.6.2-1/apache-ant-1.6.2/build.xml:391: java.lang.SecurityException: Prohibited package name: java.lang


Total time: 13 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED
/bin/rm -rf /sw/src/root-ant-1.6.2-1
/bin/mkdir -p /sw/src/root-ant-1.6.2-1/sw
/bin/mkdir -p /sw/src/root-ant-1.6.2-1/DEBIAN
/var/tmp/tmp.1.tVJvJK
+ mkdir -p /sw/src/root-ant-1.6.2-1/sw/lib
+ cp -R ant /sw/src/root-ant-1.6.2-1/sw/lib
cp: ant: No such file or directory
### execution of /var/tmp/tmp.1.tVJvJK failed, exit code 1
Failed: installing ant-1.6.2-1 failed


I get the same output when trying to install from FinkCommander. However, if I unpack /sw/src/apache-ant-1.6.2-src.tar.bz2 manually and compile it myself, it builds just fine. This is on Mac OS X 10.3.5 with the Java 1.4.2 Update 1 and Xcode 1.5.


Trevor



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to