| Summary: | gprolog-1.2.16 fails to emerge: undefined references (with gcc-3.3.4-r1) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
| Component: | Current packages | Assignee: | Gentoo Prolog project <prolog> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aaby, e.liubarskij |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Updated ebuild | ||
|
Description
Martin von Gagern
2004-12-03 05:25:48 UTC
Strange indeed. I've only been able to reproduce the problem a couple of times with -j9 and -j13. Anyways, if parallel compiling by make is the problem, then then changing emake || die "make failed" in src_compile() to MAKEOPTS="-j1" emake || die "make failed" ought to eliminate the problem. Can anyone confirm? Created attachment 50439 [details]
Updated ebuild
I can confirm. It may be interesting too to have a look at what the people at Debian have done (http://packages.debian.org/testing/devel/gprolog) and the unstable tree (ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/). Hi, it fails for me, but with a different error: wam_inst.h:255: Fehler: vorherige Deklaration von Hi, it fails for me, but with a different error: wam_inst.h:255: Fehler: vorherige Deklaration von »Create_Functor_Arity_Tagged« war hier wam_inst.c:73: Fehler: in Konflikt stehende Typen für »Create_Functor_Arity_Tagged« wam_inst.h:255: Fehler: vorherige Deklaration von »Create_Functor_Arity_Tagged« war hier wam_inst.c:90: Fehler: in Konflikt stehende Typen für »Create_Swt_Table« wam_inst.h:257: Fehler: vorherige Deklaration von »Create_Swt_Table« war hier wam_inst.c:90: Fehler: in Konflikt stehende Typen für »Create_Swt_Table« wam_inst.h:257: Fehler: vorherige Deklaration von »Create_Swt_Table« war hier wam_inst.c:110: Fehler: in Konflikt stehende Typen für »Create_Swt_Atm_Element« wam_inst.h:259: Fehler: vorherige Deklaration von »Create_Swt_Atm_Element« war hier wam_inst.c:110: Fehler: in Konflikt stehende Typen für »Create_Swt_Atm_Element« wam_inst.h:259: Fehler: vorherige Deklaration von »Create_Swt_Atm_Element« war hier wam_inst.c:128: Fehler: in Konflikt stehende Typen für »Create_Swt_Stc_Element« wam_inst.h:262: Fehler: vorherige Deklaration von »Create_Swt_Stc_Element« war hier wam_inst.c:128: Fehler: in Konflikt stehende Typen für »Create_Swt_Stc_Element« wam_inst.h:262: Fehler: vorherige Deklaration von »Create_Swt_Stc_Element« war hier wam_inst.c:181: Fehler: in Konflikt stehende Typen für »Get_Atom_Tagged« wam_inst.h:264: Fehler: vorherige Deklaration von »Get_Atom_Tagged« war hier . . . . wam_inst.h:379: Fehler: vorherige Deklaration von »Untrail« war hier In file included from wam_inst.c:1524: unify.c:38: Fehler: in Konflikt stehende Typen für »Unify« wam_inst.h:381: Fehler: vorherige Deklaration von »Unify« war hier unify.c:38: Fehler: in Konflikt stehende Typen für »Unify« wam_inst.h:381: Fehler: vorherige Deklaration von »Unify« war hier In file included from wam_inst.c:1538: unify.c:38: Fehler: in Konflikt stehende Typen für »Unify_Occurs_Check« wam_inst.h:383: Fehler: vorherige Deklaration von »Unify_Occurs_Check« war hier unify.c:38: Fehler: in Konflikt stehende Typen für »Unify_Occurs_Check« wam_inst.h:383: Fehler: vorherige Deklaration von »Unify_Occurs_Check« war hier compilation failed make[1]: *** [wam_inst.o] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/gprolog-1.2.16/work/gprolog-1.2.16/src/EnginePl' make: *** [all] Fehler 1 emerge --info: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer -frename-registers -fweb -fomit-frame-pointer -Wdisabled-optimization -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer -frename-registers -fweb -fomit-frame-pointer -Wdisabled-optimization -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks notitles sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="de_DE@euro" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext 3ds S3TC X a52 aac aalib acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdparanoia cdr cpudetection crypt css ctype curl dio divx4linux dnd dpms dvd dvdr dvdread editor emacs-w3 emboss encode exif expat fame fb fbcon ffmpeg fftw flac fortran freetype ftp gcc-libffi gd gdbm gif gimp glitz gnokii graphviz gs gtk gtk2 icq imagemagick imlib ipv6 irmc jack jack-tmpfs java javascript joystick jp2 jpeg jpeg2k kde kdeenablefinal ladcca lesstif libg++ libwww lzw mad maildir mikmod mjpeg mmx mng monkey motif mp3 mpeg mplayer mule music mysql ncurses nls no-htdocs no-old-linux noamazon noantlr nobcel nobeanutils nobsf nobsh nocardbus nocd nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nosendmail nowin nptl nvidia objc offensive ogg oggvorbis openal opengl pam pdflib perl physfs pic png posix python qemu-fast qt quicktime readline real samba scanner sdl server sharedmem slang sms snmp speex spell sqlite sse ssl stencil-buffer svg tcltk tcpd theora threads tiff timidity transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vanilla vcd videos vidix visualization vorbis win32codecs xanim xemacs xine xinerama xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS Bug #65076 contains an ebuild for gprolog-1.2.19. Does that version work? Bug 116843 contains another one ebuild for gprolog-1.2.19 (it merges for me, but with QA exec-stack notice) This bug is caused by compiling gprolog-1.2.16 with later versions of gcc. A patched version of gprolog-1.2.19 has been committed to cvs that addresses this compile failure. |