On Tue, 31 May 2016, Paul Goyette wrote:
On Tue, 31 May 2016, Thomas Klausner wrote:
On Tue, May 31, 2016 at 07:14:20PM +0800, Paul Goyette wrote:With pkgsrc current as of 2016-05-30 at 21:47:12 UTC, and all other packages
having already been rebuilt from scratch (starting with zero installed packages), I'm getting ...checking if /usr/pkg/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether Ant is >= 1.6.0... test: initialization enough: bad number
test: initialization enough: bad number configure: error: no, you need at least Ant >= 1.6.0Error running configure at /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/autogen.sh line 269.
*** Error code 25
Stop.
make[1]: stopped in /build/pkgsrc/misc/libreoffice
*** Error code 1
Any clues? Is this just more fallout from the gmake issue?
One of your java or ant binaries isn't properly paxctml+m'd.
Yes, it turned out that apache-ant was invoking java from an unexpected location. openjdk8 places a copy of java in java/openjdk8/jre/bin/ as well as in java/openjdk8/bin/
apache-ant invokes the former, while the openjdk8 installation only marks the latter with paxctl.
I have updated openjdk8 to mark both copies and that fixes the build problem.
+------------------+--------------------------+------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +------------------+--------------------------+------------------------+