Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267598 - dev-lang/swi-prolog-5.6.64 doesn't compile
Summary: dev-lang/swi-prolog-5.6.64 doesn't compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 20:51 UTC by Bastien Lacoste
Modified: 2009-10-03 20:42 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 Bastien Lacoste 2009-04-26 20:51:50 UTC
When emerging dev-lang/swi-prolog-5.6.64

[ebuild     U ] dev-lang/swi-prolog-5.6.64 [5.6.62] USE="X berkdb gmp java readline ssl zlib -debug -doc -hardened -minimal -odbc -static -test" 0 kB 

Reproducible: Always

Actual Results:  
i686-pc-linux-gnu-gcc -c -Wall -O2 -march=pentium-m -pipe -ggdb -fno-strict-aliasing -I. -I/var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/packages/xpce/src -I/usr/include  -I/usr/include -I/usr/include/freetype2   -fPIC -DHAVE_CONFIG_H x11/fshell.c -o x11/fshell.o
i686-pc-linux-gnu-gcc -c -Wall -O2 -march=pentium-m -pipe -ggdb -fno-strict-aliasing -I. -I/var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/packages/xpce/src -I/usr/include  -I/usr/include -I/usr/include/freetype2   -fPIC -DHAVE_CONFIG_H x11/xcommon.c -o x11/xcommon.o
In file included from /usr/include/X11/extensions/render.h:29,
                 from /usr/include/X11/extensions/Xrender.h:33,
                 from /usr/include/X11/Xft/Xft.h:42,
                 from x11/include.h:78,
                 from x11/xcommon.c:28:
/usr/include/X11/Xdefs.h:49: error: conflicting types for 'Bool'
./h/types.h:66: error: previous declaration of 'Bool' was here
x11/xcommon.c:168: error: conflicting types for 'X11ThreadsDisplay'
./h/wst.h:34: error: previous declaration of 'X11ThreadsDisplay' was here
x11/xcommon.c: In function 'X11ThreadsDisplay':
x11/xcommon.c:171: warning: comparison between pointer and integer
x11/xcommon.c: In function 'CtoEvent':
x11/xcommon.c:910: warning: assignment makes integer from pointer without a cast
gmake[3]: *** [x11/xcommon.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/packages/xpce/src'
gmake[2]: *** [dowsobjs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/packages/xpce/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/packages/xpce'
make: *** [objects] Error 1
 *
 * ERROR: dev-lang/swi-prolog-5.6.64 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4180:  Called die
 * The specific snippet of code:
 *           emake || die "packages emake failed";
 *  The die message:
 *   packages emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lang/swi-prolog-5.6.64/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/swi-prolog-5.6.64/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.13"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info 


Minu ekra # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0
Timestamp of tree: Sat, 25 Apr 2009 22:15:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.4-r2
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.modulix.net/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi adplug alsa audio audiofile bash-completion berkdb bindist bluetooth branding bts bzip2 cairo cdparanoia cdr chardet clflush cli cmov cracklib crypt cups cx8 dbus de dri dts dvd dvdr dvdread dvi eds emacs emboss encode esd est evo fam fat ffmpeg firefox flac fortran fpu fxsr gdbm gif gmp gnome gpm gstreamer gtk gtk+ gtk2 hal iceweasel iconv ipod ipv6 isdnlog jack java jfs jpeg lame latex ldap libnotify mad mca mce midi mikmod mmx mp3 mpc mpeg mplayer msr mtrr mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs ntl ogg opengl openmp pam pat pbe pcmcia pcre pdf perl pge png portaudio postgres ppds pppd pse pulsaudio python qt qt3 qt3support qt4 quicktime readline reflection reiserfs sasl sdl sep session sound spell spl ss sse sse2 ssl startup-notification subtitles svg sysfs tcpd tetex tiff tls tm tm2 truetype tsc unicode up usb video vme vorbis wavpack win32codecs wma x86 xfs xml xorg xslt xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel i810 i830 i915 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Keri Harris (RETIRED) gentoo-dev 2009-04-27 20:47:01 UTC
It looks like you're using a package.masked version of renderproto. That's already known to break KDE4. It's now known to also break swi-prolog.
Comment 2 Bastien Lacoste 2009-04-27 21:11:42 UTC
(In reply to comment #1)

You're right. xproto was unmasked.
I deleted this unmask entry. Now it works again.

Many thanks :)
Comment 3 Keri Harris (RETIRED) gentoo-dev 2009-10-03 20:42:15 UTC
The masked version of renderproto was removed from portage some time ago. Marking as WONTFIX.