Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108456 - problem after emerging media-gfx/yafray
Summary: problem after emerging media-gfx/yafray
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 01:54 UTC by Dirk Schoenberger
Modified: 2008-02-07 20:35 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 Dirk Schoenberger 2005-10-08 01:54:52 UTC
while trying to emerge media-gfx/yafray-0.0.8 I ran into the following problem

scons: Reading SConscript files ...
Creating config file:config.h
scons: done reading SConscript files.
scons: Building targets ...
g++ -Wall -DHAVE_CONFIG_H -D_PTHREADS -O2 -pipe -fsigned-char -ffast-math -fomit-frame-
pointer -dynamic -fPIC -Isrc/yafraycore -I. -c -o src/yafraycore/bound.os src/yafraycore/bound.cc
g++ -Wall -DHAVE_CONFIG_H -D_PTHREADS -O2 -pipe -fsigned-char -ffast-math -fomit-frame-
pointer -dynamic -fPIC -Isrc/yafraycore -I. -c -o src/yafraycore/buffer.os src/yafraycore/buffer.cc
g++ -Wall -DHAVE_CONFIG_H -D_PTHREADS -O2 -pipe -fsigned-char -ffast-math -fomit-frame-
pointer -dynamic -fPIC -Isrc/yafraycore -I. -c -o src/yafraycore/yafsystem.os src/yafraycore/
yafsystem.cc
src/yafraycore/yafsystem.cc: In function 'void* yafray::osxdlopen(const char*, int)':
src/yafraycore/yafsystem.cc:149: error: cannot convert 'long unsigned int*' to 'void**' for argument '2' 
to 'int _dyld_func_lookup(const char*, void**)'
src/yafraycore/yafsystem.cc:151: error: invalid conversion from 'void*' to '__NSModule*'
src/yafraycore/yafsystem.cc: In function 'void* yafray::osxdlsym(void*, const char*)':
src/yafraycore/yafsystem.cc:190: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/
include/mach-o/dyld.h:150)
src/yafraycore/yafsystem.cc:190: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /usr/
include/mach-o/dyld.h:150)
src/yafraycore/yafsystem.cc:192: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /usr/
include/mach-o/dyld.h:158)
src/yafraycore/yafsystem.cc:192: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /usr/
include/mach-o/dyld.h:158)
src/yafraycore/yafsystem.cc:203: warning: 'NSIsSymbolNameDefinedInImage' is deprecated (declared at 
/usr/include/mach-o/dyld.h:156)
src/yafraycore/yafsystem.cc:203: warning: 'NSIsSymbolNameDefinedInImage' is deprecated (declared at 
/usr/include/mach-o/dyld.h:156)
src/yafraycore/yafsystem.cc:214: error: invalid conversion from 'void*' to '__NSModule*'
src/yafraycore/yafsystem.cc:214: error:   initializing argument 1 of '__NSSymbol* 
NSLookupSymbolInModule(__NSModule*, const char*)'
src/yafraycore/yafsystem.cc: In function 'void yafray::osxdlclose(void*)':
src/yafraycore/yafsystem.cc:238: error: invalid conversion from 'void*' to '__NSModule*'
src/yafraycore/yafsystem.cc:238: error:   initializing argument 1 of 'bool NSUnLinkModule
(__NSModule*, uint32_t)'
src/yafraycore/yafsystem.cc:240: error: invalid conversion from 'void*' to '__NSModule*'
src/yafraycore/yafsystem.cc:240: error:   initializing argument 1 of 'const char* NSNameOfModule
(__NSModule*)'
scons: *** [src/yafraycore/yafsystem.os] Error 1
scons: building terminated because of errors.



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




Portage 2.0.51.22-r3 (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]
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"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
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 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff 
vorbis userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2007-03-20 20:55:44 UTC
also verion 0.0.9 uses some idioting building tool, scons, that insists on knowing it better than I (it misses -lz in the final linking call)
Comment 2 Fabian Groffen gentoo-dev 2008-02-07 20:35:06 UTC
too bad it compiles fine, but the stupid scons still doesn't know how to add -lz to the linking command.

scons == python, and python sucks, so too bad for yafray, it can go to hell unless someone tells me how to make scons less stupid.