Your message dated Wed, 12 Jul 2017 21:25:15 -0400
with message-id 
<CAAfdZj_jbKCbKiibJRVn-oQsSW1Cswhp78tL=vwga2+t6hz...@mail.gmail.com>
and subject line Re: FTBFS on FreeBSD
has caused the Debian Bug report #414330,
regarding csound: FTBFS on GNU/kFreeBSD: missing OS detection
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
414330: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414330
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: csound
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -DXMGDIR=\"/usr/share/csound\" 
> -DUSE_CSOUND_YIELD -DBUILDING_LIBCSOUND -g -O2 -Wall -falign-loops=4 
> -falign-jumps=4 -ffast-math -fomit-frame-pointer -finline-functions 
> -funroll-loops -MT libcsound_la-mididevice.lo -MD -MP -MF 
> .deps/libcsound_la-mididevice.Tpo -c mididevice.c -o libcsound_la-mididevice.o
> mididevice.c: In function 'OpenMIDIDevice':
> mididevice.c:404: error: 'EXTB' undeclared (first use in this function)
> mididevice.c:404: error: (Each undeclared identifier is reported only once
> mididevice.c:404: error: for each function it appears in.)
> mididevice.c: In function 'GetMIDIData':
> mididevice.c:498: warning: unused variable 'n'
> make[3]: *** [libcsound_la-mididevice.lo] Error 1
> make[3]: Leaving directory `/build/buildd/csound-4.23f13/csound'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/build/buildd/csound-4.23f13/csound'
> make[1]: *** [all-recursive] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=csound>.

Please find attached a patch to enable the detection of GNU/kFreeBSD
(and GNU/Hurd, whose status about sound is unknown to me, but it could
at least been tested like that, it won't harm anyone), which share the
same userland: GNU. A tiny modification is needed so that the correct
header gets included.

(Note: you have to run 'autoconf' after having patched configure.ac.)

With this patch, your package builds fine on GNU/kFreeBSD.

Cheers,

-- 
Cyril Brulebois
--- csound-4.23f13/configure.ac 2007-03-11 03:38:29.895905000 +0100
+++ csound-4.23f13/configure.ac 2007-03-11 03:38:45.000000000 +0100
@@ -83,7 +83,7 @@
     opsys=netbsd
     AC_DEFINE([NETBSD], 1, [Define for the NetBSD operating system.])
     ;;
-  linux*)
+  linux*|kfreebsd*|gnu*)
     opsys=linux
     AC_DEFINE([LINUX], 1, [Define for the Linux operating system.])
     ;;
--- csound-4.23f13/csound/midisend.c    2007-03-11 03:46:57.616038000 +0100
+++ csound-4.23f13/csound/midisend.c    2007-03-11 03:47:20.000000000 +0100
@@ -52,7 +52,7 @@
                                        _seqbuf[_seqbufptr+3] = 0;\
                                        _SEQ_ADVBUF(4);}
 #else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #  include <sys/soundcard.h>
 #else
 #  include <linux/soundcard.h>

--- End Message ---
--- Begin Message ---
On Thu, May 1, 2008 at 3:56 PM, Felipe Sateler wrote:
> package csound
> tags 414330 -patch
> thanks
>
> The new csound does not use autotools. Thus there is no patch anymore, but I
> will see what I can do once all csound build-deps get build on kfreebsd (or
> hurd for that matter). Thus I'm leaving the bug open. However I think it will
> not be trivial to port there.

Almost ten years passed, and build-deps never got built on kfreesd or
hurd. Also, nobody ever asked about csound on either arch. I conclude
that nobody is actually interested, and am thus closing this bug.

-- 

Saludos,
Felipe Sateler

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to