[MacPorts] #19691: Mediatomb failing to build

MacPorts noreply at macports.org
Tue May 19 03:45:34 PDT 2009


#19691: Mediatomb failing to build
------------------------------------+---------------------------------------
 Reporter:  peter.davis8@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.7.1                                
 Keywords:  mediatomb leopard       |        Port:  Mediatomb                            
------------------------------------+---------------------------------------
 Apologies in advance, new to all of this.

 I have been trying to get mediatomb to work for a few days, and
 irrespective of what options I choose for it, I get the same error. I have
 got a similar error on one or two other ports, but have not recorded
 these.
 {{{
 Fetching mediatomb
 Verifying checksum(s) for mediatomb
 Extracting mediatomb
 Applying patches to mediatomb
 Configuring mediatomb
 Building mediatomb
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mediatomb/work/mediatomb-0.11.0"
 && make all " returned error 2
 Command output: ranlib: file: libmediatomb.a(libmediatomb_a-
 sopcast_service.o) has no symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-mysql_storage.o) has no
 symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-upnp_mrreg_actions.o) has no
 symbols
 ranlib: file: libmediatomb.a(libm
 ediatomb_a-upnp_mrreg.o) has no symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-upnp_mrreg_subscriptions.o)
 has no symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-youtube_content_handler.o) has
 no symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-youtube_service.o) has no
 symbols
 ranlib: file: libmediatomb.a(libmediatomb_a-youtube_video_url.o) has no
 symbols
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc
 -I/opt/local/include -I../src -I../tombupnp/ixml/inc -I../tombupnp/threa
 dutil/inc -I../tombupnp/upnp/inc -I..    -I/opt/local/include/js
 -I/opt/local/include/taglib       -D_THREAD_SAFE    -I/opt/local/include
 -O2 -MT mediatomb-main.o -MD -MP -MF .deps/mediatomb-main.Tpo -c -o
 mediatomb-main.o `test -f '../src/main.cc' || echo './'`../src/main.cc
 mv -f .deps/mediatomb-main.Tpo .deps/mediatomb-main.Po
 /usr/bin/g++-4.0 -I../src -I../tombupnp/ixml/inc
 -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
 -I/opt/local/include/js -I/opt/local/include/taglib       -D_THREAD_
 SAFE    -I/opt/local/include  -O2  -L/opt/local/lib -o mediatomb
 mediatomb-main.o libmediatomb.a ../tombupnp/build/libtombupnp.a
 -L/opt/local/lib -liconv    -L/opt/local/lib -ltag   -ljs -lmagic
 -D_THREAD_SAFE   -lavformat -lavutil -L/opt/local/lib -lcurl
 -L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch ppc
 -arch i386 -mmacosx-version-min=10.5 -L/opt/local/lib -lz  -lcurl -ltag
 -lsqlite3 -lz   -lavformat -lavutil -lexif  -lexpat
 ld warning: in mediatomb-main.o, file is not of req
 uired architecture
 ld warning: in libmediatomb.a, file is not of required architecture
 ld warning: in ../tombupnp/build/libtombupnp.a, file is not of required
 architecture
 ld warning: in /opt/local/lib/libtag.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libjs.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libmagic.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libavformat.dylib, file is not of required
 architecture
 ld warni
 ng: in /opt/local/lib/libavutil.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libsqlite3.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libexif.dylib, file is not of required
 architecture
 Undefined symbols for architecture i386:
   "_main", referenced from:
       start in crt1.10.5.o
 ld: symbol(s) not found for architecture i386
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /var/folders/kP/kPOZMBZ32RqLBE+8ZQTOm++++TI/-Tmp-//ccQtetQB.
 out (No such file or directory)
 make[2]: *** [mediatomb] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Status 1 encountered during processing.
 Executing: /opt/local/bin/port install mediatomb
 }}}

 I have the latest Xcode from Apple, and have run selfupdate a few times in
 the vain hope it would fix it.

 I'm running leopard 10.5.6 on a 1.33GHz Powerbook G4. Not sure what else
 to include.

 Cheers

-- 
Ticket URL: <http://trac.macports.org/ticket/19691>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list