Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106271 - ERROR: dev-lang/swi-prolog-lite-5.4.7 failed.
Summary: ERROR: dev-lang/swi-prolog-lite-5.4.7 failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC64 OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-09-17 06:13 UTC by Roberto Griso
Modified: 2006-04-12 10:53 UTC (History)
1 user (show)

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


Attachments
patch for 5.4.7 (patch,4.12 KB, patch)
2005-12-02 12:19 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Griso 2005-09-17 06:13:13 UTC
gcc -shared -O2 -pipe -o ../lib/powerpc-darwin/libpl.so.5.4.7
-Wl,-soname=libpl.so.5.4.7 \
                pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o
pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o
pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o
pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o
pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o
pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o pl-attvar.o
pl-gvar.o pl-btree.o pl-main.o rc/access.o rc/build.o rc/html.o rc/util.o  -ldl
-lncurses -lm -lpthread 
gcc: unrecognized option `-shared'
ar r ../lib/powerpc-darwin/libpl.a pl-atom.o pl-wam.o pl-stream.o pl-error.o
pl-arith.o pl-bag.o pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o
pl-fmt.o pl-funct.o pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o
pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o
pl-rl.o pl-setup.o pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o
pl-term.o pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o
pl-attvar.o pl-gvar.o pl-btree.o pl-main.o rc/access.o rc/build.o rc/html.o
rc/util.o 
ld: unknown flag: -soname=libpl.so.5.4.7
ar: creating archive ../lib/powerpc-darwin/libpl.a
make: *** [../lib/powerpc-darwin/libpl.so.5.4.7] Error 1
make: *** Waiting for unfinished jobs....
ranlib: file: ../lib/powerpc-darwin/libpl.a(pl-beos.o) has no symbols
ranlib ../lib/powerpc-darwin/libpl.a
make: *** Waiting for unfinished jobs....
ranlib: file: ../lib/powerpc-darwin/libpl.a(pl-beos.o) has no symbols

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0
Power Macintosh)
=================================================================
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks 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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X Xaw3d aalib altivec berkdb bzip2 cdr cups curl dga dynagraph ecc
emboss flac gd gif idea ipv6 javascript jpeg ldap lesstif libwww mad motif neXt
nls ogg opengl png ppc-macos python qt sdl slang speex sqlite ssl tetex tiff
unicode vorbis xinerama xv zlib userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-12-01 01:20:26 UTC
should try something newer, like 5.5.39

anything else is unsupported upstream
Comment 2 Fabian Groffen gentoo-dev 2005-12-02 12:19:11 UTC
Created attachment 73952 [details, diff]
patch for 5.4.7

Since UvA calls 5.4.* stable, and 5.5.* has way to many USE-flags I gave
patching 5.4.7 a try.  Officially it should be MacOSX aware, but it doesn't
even know what dylibs are.  Result is a bit large patch.  Not sure about its
sanity.  I found no evidence that 5.5.* source is better in this regard.
Comment 3 SpanKY gentoo-dev 2005-12-02 12:38:51 UTC
yes, but ive talked with their developers and they'd rather we push
5.5.x than 5.4.x

plus, unless your patch applies against the latest 5.5.x (cvs), it's
useless to send upstream
Comment 4 Fabian Groffen gentoo-dev 2005-12-02 13:47:56 UTC
hmmm... ok.  I don't feel like going through the deps of 5.5.* right now.  Will
see later if the 5.5 has the same problems and if patching nicely allows to do so.
Comment 5 Fabian Groffen gentoo-dev 2006-01-14 10:44:08 UTC
swi-prolog-lite-5.5.39 as ~ppc-macos in portage