Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#11748 closed defect (worksforme)

MPlayer port build problem

Reported by: pc_junk@… Owned by: ecronin (Eric Cronin)
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: ecronin (Eric Cronin)
Port:

Description

% port version
Version: 1.400
% sudo port build mplayer
--->  Fetching MPlayer
--->  Verifying checksum(s) for MPlayer
--->  Extracting MPlayer
--->  Applying patches to MPlayer
--->  Configuring MPlayer
--->  Building MPlayer with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_MPlayer/work/MPlayer-1.0rc1" && LD=c++ make all" returned error 2
Command output: cc -c -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I/opt/local/include/cdparanoia/interface -I/opt/local/include/cdparanoia/paranoia -I/usr/X11R6/include -I. -I..  -o sharedbook.o sharedbook.c
cc -c -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I/opt/local/include/cdparanoia/interface -I/opt/local/include/cdparanoia/paranoia -I/usr/X11R6/include -I. -I..  -o synthesis.o synthesis.c
cc -c -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I/opt/local/include/cdparanoia/interface -I/opt/local/include/cdparanoia/paranoia -I/usr/X11R6/include -I. -I..  -o window.o window.c
ar r libvorbisidec.a bitwise.o block.o codebook.o floor0.o floor1.o framing.o info.o mapping0.o mdct.o registry.o res012.o sharedbook.o synthesis.o window.o 
ar: creating archive libvorbisidec.a
ranlib libvorbisidec.a
c++ -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I/opt/local/include/cdparanoia/interface -I/opt/local/include/cdparanoia/paranoia -I/usr/X11R6/include -I.  -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o  mixer.o parser-mpcmd.o subopt-helper.o  libvo/libvo.a libao2/libao2.a input/libinput.a   libmpcodecs/libmpcodecs.a  libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a osdep/libosdep.a -L/opt/local/lib -L/opt/local/lib/samba3   libavformat/libavformat.a  libavcodec/libavcodec.a  libavutil/libavutil.a  libpostproc/libpostproc.a  -lmad     -llzo   -lpng -lz -lz -ljpeg        -lmp3lame  -lncurses             -liconv -lm    libfaad2/libfaad2.a  liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a                    
/usr/bin/ld: warning -L: directory name (/opt/local/lib/samba3) does not exist
/usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libmad.0.dylib is not prebound
/usr/bin/ld: Undefined symbols:
_CFBundleCopyBundleURL
_CFBundleCopyResourcesDirectoryURL
_CFBundleGetMainBundle
_CFRelease
_CFURLGetFileSystemRepresentation
_GetProcAddress
_LoadLibraryA
_AECountItems
_AEDisposeDesc
_AEGetNthPtr
_AEGetParamDesc
_AEInstallEventHandler
_AERemoveEventHandler
_GetCurrentProcess
_InitCursor
_NewAEEventHandlerUPP
_QuitApplicationEventLoop
_RunApplicationEventLoop
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Change History (4)

comment:1 Changed 18 years ago by pipping@…

Cc: ecronin@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to ecronin@…

comment:2 Changed 18 years ago by ecronin (Eric Cronin)

Resolved.

Reporter was missing QuickTime and OpenGL sdk's somehow, causing configure to not detect MacOS X as the build-type. Re-installing XCode and the 10.4u SDK in particular fixed the problem.

comment:3 Changed 18 years ago by jberry@…

Resolution: worksforme
Status: newclosed

Marking resolved at request of ecronin

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.