Opened 15 years ago

Closed 15 years ago

#21792 closed defect (fixed)

libdlna Not Building MacPorts 1.8.1 On Snow Leopard (Mac OS X 0.6)

Reported by: macports@… Owned by: sfiera@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libdlna

Description

In trying to install ushare, libdlna is a required dependency. After some false starts my macports is generally working correctly, I was able to install nasm. And there are many dependencies before ushare need libdlna, which all installed fine. So I suspect this is an actual issue?

Output:

--->  Configuring libdlna
--->  Building libdlna
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdlna/work/libdlna-0.2.3" && /usr/bin/make -j8 all " returned error 2
Command output: /usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o image_jpeg.lo image_jpeg.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o image_png.lo image_png.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_aac.lo audio_aac.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_ac3.lo audio_ac3.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_amr.lo audio_amr.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_atrac3.lo audio_atrac3.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_g726.lo audio_g726.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_lpcm.lo audio_lpcm.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_mp2.lo audio_mp2.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_mp3.lo audio_mp3.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o audio_wma.lo audio_wma.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o av_mpeg1.lo av_mpeg1.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o av_mpeg2.lo av_mpeg2.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o av_mpeg4_part2.lo av_mpeg4_part2.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o av_mpeg4_part10.lo av_mpeg4_part10.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o av_wmv9.lo av_wmv9.c
/usr/bin/gcc-4.2 -c -fPIC -O2 -I/opt/local/include -arch x86_64 -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3  -o upnp_dms.lo upnp_dms.c

#############################################
#         Linking shared objects            #
#############################################
ar r libdlna.a profiles.o containers.o image_jpeg.o image_png.o audio_aac.o audio_ac3.o audio_amr.o audio_atrac3.o audio_g726.o audio_lpcm.o audio_mp2.o audio_mp3.o audio_wma.o av_mpeg1.o av_mpeg2.o av_mpeg4_part2.o av_mpeg4_part10.o av_wmv9.o upnp_dms.o
ar: creating archive libdlna.a
upnp_dms.c: In function 'dlna_dms_description_get':
upnp_dms.c:103: warning: implicit declaration of function 'malloc'
upnp_dms.c:103: warning: incompatible implicit declaration of built-in function 'malloc'
ranlib libdlna.a
/usr/bin/gcc-4.2 -dynamiclib -install_name /opt/local/lib/libdlna.dylib profiles.lo containers.lo image_jpeg.lo image_png.lo audio_aac.lo audio_ac3.lo audio_amr.lo audio_atrac3.lo audio_g726.lo audio_lpcm.lo audio_mp2.lo audio_mp3.lo audio_wma.lo av_mpeg1.lo av_mpeg2.lo av_mpeg4_part2.lo av_mpeg4_part10.lo av_wmv9.lo upnp_dms.lo -L/opt/local/lib -lavformat -lavcodec -o libdlna.dylib.0.2.3 -compatibility_version 0.2.3 -current_version 0.2.3
ln -sf libdlna.dylib.0.2.3 libdlna.dylib.0
ln -sf libdlna.dylib.0 libdlna.dylib

Error: The following dependencies failed to build: libdlna libupnp
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: libdlna ushare removed
Owner: changed from macports-tickets@… to sfiera@…
Port: libdlna added

comment:2 Changed 15 years ago by sfiera@…

Status: newassigned

What are you interested in using ushare for? Development on it stopped about two years ago, and even then it never had full support for Xbox 360s, which is what I had been interested in it for anyway. There's another UPnP server in MacPorts called mediatomb; I'd recommend trying that before continuing to bang on ushare.

Unless there's a specific reason you need them, I'm going to remove these two ports. I can get libdlna to build, but I can't give it any real support since it's old software that never quite worked for me anyway.

comment:3 Changed 15 years ago by macports@…

sfiera - Thanks, very helpful feedback! I had been using ushare for quite a while (to connect with my xbox 360 -- which worked perfectly), it broke when I upgraded to Snow Leopard. I just figured I'd stick with what had been working.

I've now installed mediatomb +mysql5 and played around... looks like xbox 360 is not supported.

Hmm...

comment:4 Changed 15 years ago by sfiera@…

Resolution: fixed
Status: assignedclosed

Alright, then ushare might be worth looking into again for me.

Fix committed in r58734.

Note: See TracTickets for help on using tickets.