Opened 15 years ago

Closed 11 years ago

#19735 closed defect (worksforme)

multimedia/libdv +gtk fails to build

Reported by: michipili (Michael Grünewald) Owned by: filippo.natali@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: libdv

Description

The build log says `sys/soundcard.h' not found, so the build failure may come from a missing dependency (but I would not expect 3rd pary software to install files under a directory named sys). Here is the build log:

# port build libdv +gtk -sdl
--->  Fetching libdv
--->  Verifying checksum(s) for libdv
--->  Extracting libdv
--->  Configuring libdv
--->  Building libdv
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_multimedia_libdv/work/libdv-1.0.0" && make all " returned error 2
Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -O2 -Wall -g -MT dvavi.o -MD -MP -MF ".deps/dvavi.Tpo" -c -o dvavi.o dvavi.c; \
	then mv -f ".deps/dvavi.Tpo" ".deps/dvavi.Po"; else rm -f ".deps/dvavi.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --tag=CC --mode=link /usr/bin/gcc-4.0  -O2 -Wall -g  -L/opt/local/lib -flat_namespace -undefined suppress -o dvavi  dvavi.o ../libdv/libdv.la -lm 
Making all in playdv
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include/gtk-1.2 -I/usr/X11/include   -O2 -Wall -g -MT playdv.o -MD -MP -MF ".deps/playdv.Tpo" -c -o playdv.o playdv.c; \
	then mv -f ".deps/playdv.Tpo" ".deps/playdv.Po"; else rm -f ".deps/playdv.Tpo"; exit 1; fi
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include/gtk-1.2 -I/usr/X11/include   -O2 -Wall -g -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; \
	then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi
display.c: In function 'dv_display_Xv_init':
display.c:415: warning: pointer targets in passing argument 3 of 'XvQueryAdaptors' differ in signedness
display.c:578: warning: pointer targets in passing argument 4 of 'XvShmCreateImage' differ in signedness
display.c:585: warning: pointer targets in assignment differ in signedness
display.c:585: warning: pointer targets in assignment differ in signedness
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include/gtk-1.2 -I/usr/X11/include   -O2 -Wall -g -MT oss.o -MD -MP -MF ".deps/oss.Tpo" -c -o oss.o oss.c; \
	then mv -f ".deps/oss.Tpo" ".deps/oss.Po"; else rm -f ".deps/oss.Tpo"; exit 1; fi
oss.c:37:27: error: sys/soundcard.h: No such file or directory
oss.c: In function 'dv_oss_init':
oss.c:81: error: 'AFMT_S16_NE' undeclared (first use in this function)
oss.c:81: error: (Each undeclared identifier is reported only once
oss.c:81: error: for each function it appears in.)
oss.c:92: warning: pointer targets in passing argument 1 of 'open' differ in signedness
oss.c:98: error: 'SNDCTL_DSP_SETFMT' undeclared (first use in this function)
oss.c:101: error: 'SNDCTL_DSP_CHANNELS' undeclared (first use in this function)
oss.c:104: error: 'SNDCTL_DSP_SPEED' undeclared (first use in this function)
oss.c:132: warning: pointer targets in passing argument 1 of 'perror' differ in signedness
oss.c: In function 'dv_oss_play':
oss.c:177: error: 'SNDCTL_DSP_POST' undeclared (first use in this function)
make[2]: *** [oss.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (2)

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

Owner: changed from macports-tickets@… to filippo.natali@…

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Keywords: libdv failure dependency gtk1 removed
Resolution: worksforme
Status: newclosed

This appears to build on the bots and there is no gtk variant now. I'm assuming this is no longer a problem.

Note: See TracTickets for help on using tickets.