pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
problems building openjdk{7,8}
On recent NetBSD 7.99.35 i386, I'm having issues rebuilding pkgsrc openjdk
first, openjdk7 is already installed but was built under gcc 4.8, since a recent kernel/userland rebuild
this has apparently become gcc 5.4.
I notice first:
> nb32$ /usr/pkg/java/openjdk7/bin/java -version
> /usr/pkg/java/openjdk7/jre/lib/i386/server/libjvm.so: text relocations
> Error: dl failure on line 863
> Error: failed /usr/pkg/java/openjdk7/jre/lib/i386/server/libjvm.so, because /usr/pkg/java/openjdk7/jre/lib/i386/server/libjvm.so: Cannot write-enable text segment: Permission denied
> nb32$ ldd /usr/pkg/java/openjdk7/jre/lib/i386/server/libjvm.so
> /usr/pkg/java/openjdk7/jre/lib/i386/server/libjvm.so:
> -lstdc++.7 => /usr/lib/libstdc++.so.7
> -lm.0 => /usr/lib/libm.so.0
> -lc.12 => /usr/lib/libc.so.12
> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> -lpthread.1 => /usr/lib/libpthread.so.1
WHat I see with rebuild of openjdk7:
> ...
> gmake[1]: Entering directory '/tmp/pkgsrc/lang/openjdk7/work/openjdk/jdk/make'
> INFO: ENABLE_FULL_DEBUG_SYMBOLS=0
> [: /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm: bad number
> [: /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm: bad number
> [: so:: bad number
> [: so:: bad number
> [: text: bad number
> [: text: bad number
> [: /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm: bad number
> [: /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm: bad number
> [: so:: bad number
> [: so:: bad number
> [: text: bad number
> [: text: bad number
> true
> gmake[1]: Leaving directory '/tmp/pkgsrc/lang/openjdk7/work/openjdk/jdk/make'
> ...
> /tmp/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/langtools/build/ant-tmp' ant -version >> /tmp/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/langtools/build/ant-diagnostics.log
> /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so: text relocations
> Error: dl failure on line 863
> Error: failed /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so, because /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so: Cannot write-enable text segment: Permission denied
> /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so: text relocations
> Error: dl failure on line 863
> Error: failed /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so, because /tmp/pkgsrc/lang/openjdk7/work/bootstrap/jre/lib/i386/server/libjvm.so: Cannot write-enable text segment: Permission denied
> gmake[2]: *** [Makefile:196: /tmp/pkgsrc/lang/openjdk7/work/openjdk/build/bsd-i586/langtools/build/ant-diagnostics.log] Error 6
> gmake[2]: Leaving directory '/tmp/pkgsrc/lang/openjdk7/work/openjdk/langtools/make'
> gmake[1]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2
> gmake[1]: Leaving directory '/tmp/pkgsrc/lang/openjdk7/work/openjdk'
> gmake: *** [Makefile:251: build_product_image] Error 2
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/pkgsrc/lang/openjdk7
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/openjdk7
with openjdk8 it's similar:
> ...
> checking headful support... include support for both headful and headless
> configure: Found potential Boot JDK using configure arguments
> configure: Potential Boot JDK found at /tmp/pkgsrc/lang/openjdk8/work/bootstrap is incorrect JDK version (/tmp/pkgsrc/lang/openjdk8/work/bootstrap/jre/lib/i386/server/libjvm.so: text relocations); ignoring
> configure: (Your Boot JDK must be version 7 or 8)
> configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK
> configure exiting with result code 1
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/pkgsrc/lang/openjdk8
? gulp?!
--
Richard PALO
Home |
Main Index |
Thread Index |
Old Index