pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41184: audio/pulseaudio fails to build under Linux, this causes ~250 failures



>Number:         41184
>Category:       pkg
>Synopsis:       audio/pulseaudio fails to build under Linux, this causes ~250 
>failures
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 10 11:50:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        linux
>Organization:
home
>Environment:
linux
>Description:
Packaging audio/pulseaudio fails like this

=> Checking file-check results for pulseaudio-0.9.14nb1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/pulse-0.9/modules/module-mmkbd-evdev.so
*** Error code 1

Full report is here
http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/logs//20090403.1723/audio_pulseaudio_pulseaudio-0.9.14nb1/stage_install.html

This is because this module is built only if linux/input.h header file is 
present (see autoconf.ac)

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/pulseaudio/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    21 Feb 2009 13:22:43 -0000      1.19
+++ Makefile    10 Apr 2009 11:40:58 -0000
@@ -59,7 +59,7 @@
 CONFIGURE_ENV+=                cc_cv_tls___thread=no
 .endif
 
-PLIST_VARS+=           hal oss
+PLIST_VARS+=           hal oss evdev
 
 .if ${OPSYS} == "Darwin"
 BUILDLINK_TRANSFORM+=  rm:-Wl,-version-script=./map-file
@@ -86,6 +86,11 @@
 .include "../../devel/libatomic_ops/buildlink3.mk"
 .endif
 
+# Build module-mmkbd-evdev.so under Linux
+.if ${OPSYS} == "Linux" && exists(/usr/include/linux/input.h)
+PLIST.evdev=           yes
+.endif
+
 .include "options.mk"
 
 pre-configure:
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/audio/pulseaudio/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST       5 Feb 2009 21:05:07 -0000       1.3
+++ PLIST       10 Apr 2009 11:40:58 -0000
@@ -91,6 +91,7 @@
 lib/pulse-0.9/modules/module-http-protocol-unix.so
 lib/pulse-0.9/modules/module-ladspa-sink.so
 lib/pulse-0.9/modules/module-match.so
+${PLIST.evdev}lib/pulse-0.9/modules/module-mmkbd-evdev.so
 lib/pulse-0.9/modules/module-native-protocol-fd.so
 lib/pulse-0.9/modules/module-native-protocol-tcp.so
 lib/pulse-0.9/modules/module-native-protocol-unix.so



Home | Main Index | Thread Index | Old Index