Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge of ghostscript fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Leon
n00b
n00b


Joined: 04 Aug 2002
Posts: 4

PostPosted: Sun Aug 04, 2002 1:21 pm    Post subject: emerge of ghostscript fails Reply with quote

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
View user's profile Send private message
Leon
n00b
n00b


Joined: 04 Aug 2002
Posts: 4

PostPosted: Sun Aug 04, 2002 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
fogcat5
n00b
n00b


Joined: 09 Jul 2002
Posts: 1

PostPosted: Sun Aug 04, 2002 3:57 pm    Post subject: the bug says make Reply with quote

:?: the bug report says to use 'make' instead of 'emake' are you
sure about the build/ebuild?
Back to top
View user's profile Send private message
sfaok
n00b
n00b


Joined: 29 May 2002
Posts: 6

PostPosted: Sun Aug 04, 2002 4:45 pm    Post subject: Reply with quote

I just changed it from "emake" to "make", and it's compiling just fine.
Back to top
View user's profile Send private message
Leon
n00b
n00b


Joined: 04 Aug 2002
Posts: 4

PostPosted: Sun Aug 04, 2002 8:11 pm    Post subject: Re: the bug says make Reply with quote

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
View user's profile Send private message
Gigantopithicus
n00b
n00b


Joined: 05 Aug 2002
Posts: 17
Location: Chicago, IL

PostPosted: Mon Aug 05, 2002 5:47 pm    Post subject: Re: the bug says make Reply with quote

[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
View user's profile Send private message
Bear13
n00b
n00b


Joined: 23 Jul 2002
Posts: 8

PostPosted: Fri Aug 09, 2002 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum