Subject: audio/arts on MacOS X (10.2.8)
To: None <>
From: John D. Baker <>
List: tech-pkg
Date: 05/05/2005 15:31:53
I've been trying to build audio/arts (dependency of multimedia/mplayer)
on MacOS X 10.2.8 and have run into what appears to be a tools problem.

First, see pkg/30127 and pkg/30129 to see what I've done to get it to
build at all.

Eventually, it fails as follows:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../artsc -I../mcop -I../mcop -I../flow -I../flow -DEXECUTE=\"/usr/pkg/bin/artsd\" -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -I../libltdl  -DQT_THREAD_SUPPORT -no-cpp-precomp -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -MT tradercheck.o -MD -MP -MF ".deps/tradercheck.Tpo" -c -o tradercheck.o; \
then mv -f ".deps/tradercheck.Tpo" ".deps/tradercheck.Po"; else rm -f ".deps/tradercheck.Tpo"; exit 1; fi
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h: In member function
   `void Arts::TraderCheck::run()':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h:65: error: `asm'
   operand requires impossible reload
gnumake[2]: *** [tradercheck.o] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2

bmake: stopped in /usr/pkgsrc/audio/arts

Has anyone encountered anything like this before, on any package?

I see a reference to this on:

but have only started investigating this problem.

Thanks for any input you can provide.

John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!