View previous topic :: View next topic |
Author |
Message |
Leon n00b
Joined: 04 Aug 2002 Posts: 4
|
Posted: Sun Aug 04, 2002 1:21 pm Post subject: emerge of ghostscript fails |
|
|
I get this error when emerge ghostscript
Code: |
gcc -DHAVE_MKSTEMP -march=i686 -O3 -pipe -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -I./obj -I./src -o ./obj/gdevstp.o -c ./src/gdevstp.c
In file included from src/memory_.h:24,
from src/gdevprn.h:23,
from ./src/gdevstp.c:35:
src/std.h:26: arch.h: No such file or directory
In file included from src/gdevprn.h:31,
from ./src/gdevstp.c:35:
src/gxdevmem.h:113: parse error before `bits32'
src/gxdevmem.h:113: warning: no semicolon at end of struct or union
src/gxdevmem.h:113: warning: no semicolon at end of struct or union
src/gxdevmem.h:114: warning: type defaults to `int' in declaration of `color24'
src/gxdevmem.h:114: warning: data definition has no type or storage class
src/gxdevmem.h:127: parse error before `}'
In file included from ./src/gdevstp.c:35:
src/gdevprn.h:256: sizeof applied to an incomplete type
src/gdevprn.h:256: sizeof applied to an incomplete type
make: *** [obj/gdevstp.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 37, Exitcode 2
!!! make failed
!!! emerge aborting on /usr/portage/app-text/ghostscript/ghostscript-7.05.3-r1.ebuild .
|
I checked if the file arch.h exists in /var/tmp/portage/ghostscript-7.05.3-r1/work/espgs-7.05.3/src and is doesnt exists.
However if i manualy do a "make" in /var/tmp/portage/ghostscript-7.05.3-r1/work/espgs-7.05.3/ then everything fails with another error:
Code: |
gcc -DHAVE_MKSTEMP -march=i686 -O3 -pipe -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -I./obj -I./src -o ./obj/gsiodev.o -c ./src/gsiodev.c
./src/gsiodev.c: In function `iodev_ptr_enum_ptrs':
./src/gsiodev.c:39: warning: cast discards qualifiers from pointer target type
./src/gsiodev.c: In function `os_status':
./src/gsiodev.c:221: warning: cast discards qualifiers from pointer target type
gcc -DHAVE_MKSTEMP -march=i686 -O3 -pipe -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -I./obj -I./src -o ./obj/gsistate.o -c ./src/gsistate.c
In file included from ./src/gsistate.c:19:
src/gx.h:28: gdebug.h: No such file or directory
make: *** [obj/gsistate.o] Error 1
|
Can somebody help me out |
|
Back to top |
|
|
Leon n00b
Joined: 04 Aug 2002 Posts: 4
|
Posted: Sun Aug 04, 2002 2:01 pm Post subject: |
|
|
OK.
Solved problem:
see this bugzilla bug
(it comes down to changing "ebuild" in the src_compile() routine to "build" in the ghostscript .ebuild) |
|
Back to top |
|
|
fogcat5 n00b
Joined: 09 Jul 2002 Posts: 1
|
Posted: Sun Aug 04, 2002 3:57 pm Post subject: the bug says make |
|
|
the bug report says to use 'make' instead of 'emake' are you
sure about the build/ebuild? |
|
Back to top |
|
|
sfaok n00b
Joined: 29 May 2002 Posts: 6
|
Posted: Sun Aug 04, 2002 4:45 pm Post subject: |
|
|
I just changed it from "emake" to "make", and it's compiling just fine. |
|
Back to top |
|
|
Leon n00b
Joined: 04 Aug 2002 Posts: 4
|
Posted: Sun Aug 04, 2002 8:11 pm Post subject: Re: the bug says make |
|
|
fogcat5 wrote: | the bug report says to use 'make' instead of 'emake' are you
sure about the build/ebuild? |
not sure..
it had to be from ebuild > build |
|
Back to top |
|
|
Gigantopithicus n00b
Joined: 05 Aug 2002 Posts: 17 Location: Chicago, IL
|
Posted: Mon Aug 05, 2002 5:47 pm Post subject: Re: the bug says make |
|
|
[quote="Leon"] fogcat5 wrote: | the bug report says to use 'make' instead of 'emake' are you
sure about the build/ebuild? |
Confirmed. Change emake to make. |
|
Back to top |
|
|
Bear13 n00b
Joined: 23 Jul 2002 Posts: 8
|
Posted: Fri Aug 09, 2002 10:53 pm Post subject: |
|
|
Wow, that's great, an easy fix to a problem that's been bothering me for over a week.
It really is nice to see that the fix only took the removal of one letter out of the ebuild file.... now, my question.
If this was found on the 4rth, and I emerge rsync on the 8th and 9th, Why hasn't the fix been incorperated/updated/downloaded yet? |
|
Back to top |
|
|
|