Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6107 - emerge openoffice fails: GPC files not found
Summary: emerge openoffice fails: GPC files not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-06 13:51 UTC by Ole Tange
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output from emerge openoffice (oo.txt,6.56 KB, text/plain)
2002-08-07 17:55 UTC, Ole Tange
Details
bzipped log from emerge openoffice (ooo.bz2,29.73 KB, application/octet-stream)
2002-08-22 02:15 UTC, Ole Tange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2002-08-06 13:51:35 UTC
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).
Comment 1 Klaus Kusche 2002-08-07 16:03:42 UTC
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.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 16:17:15 UTC
Check the ebuild ... gpc is downloaded and installed by the ebuild.
Comment 3 Ole Tange 2002-08-07 17:52:22 UTC
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.
Comment 4 Ole Tange 2002-08-07 17:55:18 UTC
Created attachment 2908 [details]
output from emerge openoffice
Comment 5 Klaus Kusche 2002-08-08 04:33:09 UTC
It's a newly introduced portage bug: The tar file is not unpacked!

See bug nr 5867 and a dozen duplicates of that...
Comment 6 Klaus Kusche 2002-08-08 04:52:30 UTC
Today's version of portage seems to fix the problem for me.
Comment 7 Ole Tange 2002-08-22 02:12:01 UTC
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!

Comment 8 Ole Tange 2002-08-22 02:15:56 UTC
Created attachment 3298 [details]
bzipped log from emerge openoffice
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-22 13:31:01 UTC
It is a portage bug with unpacking .Z files.  Please update your portage.