Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496966 - app-text/ghostscript-gpl-9.10 fails to compile
Summary: app-text/ghostscript-gpl-9.10 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-04 13:04 UTC by Sebastien Druon
Modified: 2014-01-04 13:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,885.09 KB, text/plain)
2014-01-04 13:06 UTC, Sebastien Druon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Druon 2014-01-04 13:04:26 UTC
I had the problem when running "emerge -uv --deep system"

ghoscript-gpl looks for (and can't find) gdkconfig.h when upgrading from 9.06



Reproducible: Always

Steps to Reproduce:
1.emerge -uv ghostscript-gpl
2.
3.
Actual Results:  
should compile :)

Expected Results:  
fails with the following message :

[...]

x86_64-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_FSEEKO -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG  -DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -DHAVE_STRERROR -fPIC  -O2 -I/usr/include/gtk-2.0 -I/home/seb/.env/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -I/usr/include/gtk-2.0/ -I/home/seb/.env/include -DUSE_LIBPAPER  -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/9.10\"  -I./soobj -I./base -I./devices  -DWHICH_CMS="lcms2" -g -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -o ./sobin/gsx ./psi/dxmain.c \
-L/home/seb/.env/lib -L/home/seb/.env/lib    -L./sobin -lgs -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ./psi/dxmain.c:35:
/usr/include/gtk-2.0/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h: No such file or directory
 #include <gdkconfig.h>
                       ^
compilation terminated.
base/unix-dll.mak:97: recipe for target 'sobin/gsx' failed
make[2]: *** [sobin/gsx] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10'
base/unix-dll.mak:132: recipe for target 'so-subtarget' failed
make[1]: *** [so-subtarget] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10'
base/unix-dll.mak:119: recipe for target 'so' failed
make: *** [so] Error 2
 * ERROR: app-text/ghostscript-gpl-9.10::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.10/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10'
 * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.10/work/ghostscript-9.10'

>>> Failed to emerge app-text/ghostscript-gpl-9.10, Log file:





gremlins seb # emerge --info '=app-text/ghostscript-gpl-9.10::gentoo'

Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.8.2-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.2
KiB Mem:     8100272 total,    338664 free
KiB Swap:    1059260 total,   1059124 free
Timestamp of tree: Sat, 04 Jan 2014 10:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.3-r2, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.1, 1.14.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Broadcom skype-eula skype-4.0.0.7-copyright AdobeFlash-11.x Oracle-BCLA-JavaSE PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-I/usr/include/gtk-2.0/ -I/home/seb/.env/include"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-I/usr/include/gtk-2.0 -I/home/seb/.env/include"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-L/home/seb/.env/lib -L/home/seb/.env/lib "
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr clang cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode examples exif extra extras fam firefox flac fontconfig fortran gdbm gif gles2 gpm gtk iconv icu ieee1394 ipv6 jpeg lapack latex lcms ldap libnotify mad minizip mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session spell sqlite sse sse2 ssl startup-notification svg tcpd test-programs tiff truetype udev udisks unicode upower usb v4l v4l2 vim-syntax vorbis wifi wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Sebastien Druon 2014-01-04 13:06:09 UTC
Created attachment 366964 [details]
build.log
Comment 2 Sebastien Druon 2014-01-04 13:26:48 UTC
Hello again,

Mea culpa, mea maxima culpa.
The problem comes from my env variables ! I had

export CFLAGS="-I/usr/include/gtk-2.0/ -I/home/seb/.env/include"

in my bashrc and totally forgot about it.

Sorry for filling this bug which isn't one.

Sebastien