Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89972 - Error emerging ghostscript
Summary: Error emerging ghostscript
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 13:54 UTC by Dan Whitehouse
Modified: 2006-01-04 15:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Whitehouse 2005-04-21 13:54:59 UTC
src/sdcte.c: In function `s_DCTE_process':
src/sdcte.c:140: warning: cast discards qualifiers from pointer target type
src/sdcte.c:147: warning: passing arg 2 of `gs_jpeg_write_scanlines' from incompatible pointer type
src/sdcte.c:166: error: invalid operands to binary -
make: *** [obj/sdcte.o] Error 1

!!! ERROR: app-text/ghostscript-7.07.1-r8 failed.
!!! Function src_compile, Line 136, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

USE="atm alsa apache2 doc imap maildir mmx offensive gd dba php svg apache2 zlib session snmp \
     mysql \
     -arts -avi -cups -foomaticdb -gif \
     -gtk -gtk2 -imlib -jpeg -kde -gnome -motif -mpeg -opengl -pdflib -qt \
     -quicktime -sdl -svga -truetype -X -xmms -xv"

CFLAGS="-march=pentium2 -O2 -pipe"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dan Whitehouse 2005-04-23 03:49:32 UTC
I should add that I foolishly unmerged the previous version and (after forgetting this) masked the new version in an attempt to let me update my system. Compiling the r7 version failed with the same error, so the problem is not specific to r8. 

Ive got around the problem by using the USE="-doc" flag when compiling net-snmp.
This is what caused my system to want ghostscript in the first place.

Ill leave the bug open because I still feel there is something funny going on here...
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-17 04:58:43 UTC
please provide emerge info 
Comment 3 Dan Whitehouse 2005-05-17 05:43:41 UTC
kowloon root # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-
2.3.4.20041102-r1, 2.6.11.9 i686)
=================================================================
System uname: 2.6.11.9 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, 
Apr 28 2005, 11:30:54)]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aalib alsa apache2 apm atm berkdb bitmap-fonts crypt curl dba emboss 
encode fortran gd gdbm gpm imap ipv6 java libg++ libwww mad maildir mikmod mmx 
mp3 mysql ncurses nls offensive ogg oggvorbis oss pam perl php png python 
readline samba session slang snmp spell ssl svg tcpd truetype-fonts type1-fonts 
xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY

As I stated, this is no longer an issue for me. I simply emerged snmp with 
USE="-doc" my system no longer wants ghostscript now!
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-04 15:57:40 UTC
old bug, please reopen if ghostscript still fails for you.