FreeBSD-12.1p10
I require the Base component of LibreOffice (LO). This is disabled in the packaged version of LibreOffice (JAVA==NO, PGSQL==NO). To obtain this feature I tried building a local version of LO using Poudriere and enabling those options.
The build required 300+ ports and did not complete. There are two failed ports and 10 skipped. The two failed are
The directory
Now, the interesting thing in this is that while openjdk11-11.0 is available as a pre-built binary harfbuzz-2.7 is not.
I am clearly not in a position to deal with such errors.
How does one proceed?
I require the Base component of LibreOffice (LO). This is disabled in the packaged version of LibreOffice (JAVA==NO, PGSQL==NO). To obtain this feature I tried building a local version of LO using Poudriere and enabling those options.
The build required 300+ ports and did not complete. There are two failed ports and 10 skipped. The two failed are
harfbuzz-icu
and openjdk11
. harfbuzz-icu
failed for this reason:
Code:
[65/88] c++ -Isrc/libharfbuzz-subset.so.0.20702.0.p -Isrc -I../src -I. -I.. -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-exceptions -fno-rtti -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -O2 -fstack-protector-strong -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o -MF src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o.d -o src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o -c ../src/hb-subset.cc
FAILED: src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o
c++ -Isrc/libharfbuzz-subset.so.0.20702.0.p -Isrc -I../src -I. -I.. -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-exceptions -fno-rtti -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -O2 -fstack-protector-strong -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o -MF src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o.d -o src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o -c ../src/hb-subset.cc
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/hb-subset-c94cc7.cpp
c++: note: diagnostic msg: /tmp/hb-subset-c94cc7.sh
c++: note: diagnostic msg:
********************
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make: stopped in /usr/ports/print/harfbuzz-icu
=>> Cleaning up wrkdir
===> Cleaning for harfbuzz-icu-2.7.2
build of print/harfbuzz-icu | harfbuzz-icu-2.7.2 ended at Tue Oct 6 22:16:43 EDT 2020
build time: 00:06:05
!!! build failure encountered !!!
The directory
/usr/local/poudriere/jails/freebsd_12-1x64/tmp/
is empty so providing the requested files in a bug report is not possible. harfbuzz-icu
failed for this reason:
Code:
gmake[3]: *** Waiting for unfinished jobs....
c++: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
c++: warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument]
gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/make/hotspot'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1'
ERROR: Build failed for target 'images' in configuration 'bsd-x86_64-normal-server-release' (exit code 2)
gmake[3]: Entering directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1'
=== Output from failing command(s) repeated here ===
* For target jdk_modules_java.base__the.java.base_batch:
* All command lines available in /wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/build/bsd-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1'
gmake[2]: *** [/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/make/Init.gmk:305: main] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1'
gmake[1]: *** [/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/make/Init.gmk:186: images] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1'
*** Error code 1
Stop.
make: stopped in /usr/ports/java/openjdk11
=>> Cleaning up wrkdir
===> Cleaning for openjdk11-11.0.8+10.1
build of java/openjdk11 | openjdk11-11.0.8+10.1 ended at Tue Oct 6 22:16:50 EDT 2020
build time: 00:07:39
!!! build failure encountered !!!
Now, the interesting thing in this is that while openjdk11-11.0 is available as a pre-built binary harfbuzz-2.7 is not.
I am clearly not in a position to deal with such errors.
How does one proceed?