The openoffice builds are lacking the dependency for dmake causing the package to fail to compile. This is fixed with a simple addition of: dev-util/dmake to the RDEPEND variable.
needed for compile -> DEPEND
dmake is built in part of the openoffice build system, and thus is not a required dependancy.
When trying to compile openoffice I recieve the following error: gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./unix/linux -I./unix -I./unix/linux/gnu -O -c `test -f function.c || echo './'`function.c gcc -O -o dmake infer.o make.o stat.o expand.o dmstring.o hash.o dag.o dmake.o path.o imacs.o sysintf.o parse.o getinp.o quit.o state.o dmdump.o macparse.o rulparse.o percent.o function.o unix/libunix.a sysintf.o(.text+0x69c): In function `Get_temp': : the use of `tempnam' is dangerous, better use `mkstemp' unix/libunix.a(runargv.o)(.text+0xce): In function `runargv': : `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead unix/libunix.a(runargv.o)(.text+0x6f): In function `runargv': : undefined reference to `errno' unix/libunix.a(runargv.o)(.text+0xc7): In function `runargv': : undefined reference to `errno' unix/libunix.a(runargv.o)(.text+0x128): In function `runargv': : undefined reference to `errno' collect2: ld returned 1 exit status make[2]: *** [dmake] Error 1 make[2]: Leaving directory `/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/dmake' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/dmake' make: *** [all] Error 2 * Building OpenOffice.org... build -- version: 1.41.2.1 which: no dmake in (.:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/solver/641/unxlngi4.pro/bin:/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/solenv/unxlngi4/bin:/var/tmp/portage/openoffice-1.0.2/work/oo_1.0.2_src/solenv/bin:/opt/blackdown-jdk-1.4.1/bin:/usr/bin/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin) ERROR: dmake - no such file or directory !!! ERROR: app-office/openoffice-1.0.2 failed. !!! Function src_compile, Line 393, Exitcode 1 !!! Build failed! looks like it isnt including dmake properly to me.
err sorry wrote that out wrong, looks like it isnt compiling dmake properly.
yeah, so its not supposed to depend on dmake.... and i don't really need you to get all sarcastic on me, i'm an openoffice developer, i know what i'm doing... the problem here is the int errno problem we've been seeing with glibc 2.3.2_pre i'm gonna have to run through the source tree and correct those errors...
I apologize if that came off as being sarcastic, that was not my intention at all. I am appreciative of your assistance.
Not trying to be pushy, but how long until we can expect a patch? Thank you Seth!
As for the dmake issue, you can add a #include <errno.h> to extern.h in the /dmake src tree, and it compiles.
wow, that was RUDE of sethbc. Jordan please accept my apologies for his comment.
Thanks Seemant, no problem at all, had spoken with Seth on IRC and we straightened the misunderstanding out. Thanks for the concern though, keep up the good work.
Does this problem persist in openoffice 1.0.3-r1? It should build without dmake, it does with me.
It seems fixed