When emerging openoffice I get: checking for patch... /usr/bin/patch checking GPC files... configure: error: GPC files not found !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 59, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/app-office/openoffice/openoffice-1.0.0-r2.ebuild . GPC is not the GPC you get if you emerge gpc. (I think the one is general polygon clipping, while the other is gnu pascal compiler).
Same problem here. The configure script is not checking if something is installed on your system, it is just checking if the directory external/gpc in the openoffice tree contains the files gpc.c and gpc.h. If I remember correctly, these files are not included in the original oo tree for some legal reason and must be added manually before building. The oo build document, software requirement section, specifies where to get these files.
Check the ebuild ... gpc is downloaded and installed by the ebuild.
I just did:emerge rsyncemerge openofficeAnd I still get:checking for patch... /usr/bin/patchchecking GPC files... configure: error: GPC files not found!!! ERROR: The ebuild did not complete successfully.!!! Function src_compile, Line 59, Exitcode 1!!! (no error message)!!! emerge aborting on /usr/portage/app-office/openoffice/openoffice-1.0.0-r2.ebuild .so somehow even if the gpc is mentioned in the ebuild it still does not compile.Maybe something else is wrong. I have attached the output from the emerge.
Created attachment 2908 [details] output from emerge openoffice
It's a newly introduced portage bug: The tar file is not unpacked! See bug nr 5867 and a dozen duplicates of that...
Today's version of portage seems to fix the problem for me.
The unpack problem seems fixed. But OOo still does not compile. # gcc --version 2.95.3 # grep -v # /etc/make.conf GENTOO_MIRRORS="http://mirrors.sunsite.dk/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" USE="mmx sse apm pcmcia pnp trusted gphoto2 cups slp X opengl xv kde qt qtmt arts evo sdl gd gif jpeg png tiff avi mpeg quicktime alsa dvd xmms oggvorbis flash encode ipv6 pam ssl crypt imap ldap tcpd mozilla mozirc spell truetype xml xml2 pdflib perl berkdb mysql postgres odbc innodb gdbm afs" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -O2 -pipe" CXXFLAGS="-mcpu=i686 -O2 -pipe" CC=gcc-3.1 CXX=g++-3.1 GCJ=gcj-3.1 (The whole log is attached) patching file STLport-4.5/stlport/stdexcept Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file STLport-4.5/stlport/stdexcept\ .rej patching file STLport-4.5/stlport/config/stl_gcc.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file STLport-4.5/stlport/config/s\ tl_gcc.h.rej dmake: Error code 1, while making './unxlngi4.pro/misc/build/so_patched' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /hda6/var/tmp/portage/openoffice-1.0.0\ -r2/work/oo_1.0_src/stlport dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 239, Exitcode 255 !!! Build failed!
Created attachment 3298 [details] bzipped log from emerge openoffice
It is a portage bug with unpacking .Z files. Please update your portage.