dmake error 138 building help

Waitman Gobble uzimac at da3m0n8t3r.com
Mon Jul 9 04:43:26 UTC 2012


Hi,

Does anyone happen to have an idea about this error 138 (dmake). I have not yet seemed to locate the cause.

I did notice that helpcontent2 is a link to clone/help/helpcontent2 -- which _may_ cause some issue(?). The only paths which appear to be symlinks in the libo dist are 
# ls -l | grep \>
lrwxr-xr-x   1 root  waitman       62 Jul  7 14:44 dictionaries -> /home/waitman/libreoffice/libo/clone/dictionaries/dictionaries
lrwxr-xr-x   1 root  waitman       54 Jul  7 14:34 helpcontent2 -> /home/waitman/libreoffice/libo/clone/help/helpcontent2

Anyhow..
it's the tail end of the build process and everything else seems to be working.


Perhaps I can try a rebuild using --without-help and see if it skips building helpcontent2, which would skip the error.. but i think having HELP available might be a good idea.



Here's my build_error.log

log for /home/waitman/libreoffice/libo/helpcontent2/util/shared
/usr/local/bin/bash: line 1:  4785 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkb3f3Ee
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/shared_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/sdatabase
/usr/local/bin/bash: line 1:  4787 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkIUmrSr
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/sdatabase_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/schart
/usr/local/bin/bash: line 1:  4791 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mktzvVJz
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/schart_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/smath
/usr/local/bin/bash: line 1:  4784 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkYDZhAh
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/smath_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/sbasic
/usr/local/bin/bash: line 1:  4799 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkCOLNyV
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/sbasic_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/sdraw
/usr/local/bin/bash: line 1:  4793 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkBxbWwA
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/sdraw_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/simpress
/usr/local/bin/bash: line 1:  4792 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkoDiW92
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/simpress_en-US.zip'
log for /home/waitman/libreoffice/libo/helpcontent2/util/scalc
/usr/local/bin/bash: line 1:  4795 Bus error: 10           (core dumped) LD_LIBRARY_PATH=/usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /usr/home/waitman/libreoffice/libo/solver/unxfbsd.pro/bin/HelpLinker @/tmp/mkHzfRbN
dmake:  Error code 138, while making '../../unxfbsd.pro/bin/scalc_en-US.zip'


It's libreoffice 3.6.0.0 w/ gcc48 
all unit tests stripped from make files


configure:

ccache --max-size 32G
export CC=gcc48
export CXX=g++48
export LDFLAGS="-L/usr/local/lib/db5 -L/usr/local/lib/gcc48 -L/usr/local/openjdk6/jre/lib/amd64 -L/usr/local/lib"
export CFLAGS="-I/usr/local/include/db5"
export CXXFLAGS="-I/usr/local/include/db5"
export CPPFLAGS="-DU_PLATFORM=U_PF_BSD -DU_TIMEZONE=0"
export CLASSPATH="/usr/local/share/java/classes"
export PATH=/usr/local/apache-ant-1.8.4/bin:/usr/local/bin:$PATH
./autogen.sh \
--without-help \
--disable-mozilla \
--disable-systray \
--disable-nsplugin \
--disable-odk \
--without-doxygen \
--with-gnu-patch=/usr/local/bin/gpatch \
--with-ant-home=/usr/local/apache-ant-1.8.4 \
--with-system-cairo \
--with-system-graphite \
--with-system-nss \
--with-system-db \
--with-system-zlib \
--with-system-cppunit \
--with-system-openssl \
--with-system-mdds \
--with-system-jpeg \
--with-system-expat \
--with-system-lcms2 \
--with-system-libwpd \
--with-system-libwpg \
--with-system-libvisio \
--with-system-libxml \
--with-system-hunspell \
--with-system-mythes \
--with-system-libexttextcat \
--with-system-lpsolve \
--with-system-vigra \
--with-system-poppler \
--with-system-apache-commons \
--with-commons-codec-jar=/usr/local/share/java/classes/commons-codec.jar \
--with-commons-lang-jar=/usr/local/share/java/classes/commons-lang.jar \
--with-commons-httpclient-jar=/usr/local/share/java/classes/commons-httpclient.jar \
--with-commons-logging-jar=/usr/local/share/java/classes/commons-logging.jar \
--with-junit=/usr/local/share/java/classes/junit.jar \
--with-system-mysql \
--with-libmysql-path=/usr/local/lib/mysql \
--with-system-mysql-cppconn \
--with-system-postgresql \
--with-libpq-path=/usr/local/lib \
--with-system-odbc \
--with-system-sane \
--with-system-curl \
--with-system-boost \
--with-system-neon \
--with-system-redland \
--with-system-gettext \
--with-system-libpng \
--with-ant-home=/usr/local/apache-ant-1.8.4 \
--with-vendor="FreeBSD" \
--with-build-version="<ns at waitman.net>" \
--with-num-cpus=8 \
--with-max-jobs=8 \
--with-x 

Thanks for any hints, pointers, suggestions.


-- 
Waitman Gobble
San Jose California USA


More information about the freebsd-office mailing list