Your message dated Mon, 20 Dec 2010 05:17:09 +0000
with message-id <[email protected]>
and subject line Bug#415103: fixed in nyquist 3.03-2
has caused the Debian Bug report #415103,
regarding nyquist: FTBFS on GNU/kFreeBSD: adjustments needed
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 [email protected]
immediately.)
--
415103: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415103
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nyquist
Version: 2.29-6
Severity: important
Tags: patch
Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error:
> cc -c xlisp/xlfio.c -o xlisp/xlfio.o -DREADLINE -DCMTSTUFF -O2 -Inyqsrc
> -Itran -Ixlisp -Isys/unix -Icmt -Isnd -Ifft
> xlisp/xlfio.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'error'
> xlisp/xlfio.c: In function 'xgetstroutput':
> xlisp/xlfio.c:581: warning: return makes pointer from integer without a cast
> xlisp/xlfio.c: In function 'xformat':
> xlisp/xlfio.c:657: warning: assignment makes pointer from integer without a
> cast
> xlisp/xlfio.c: At top level:
> xlisp/xlfio.c:664: error: conflicting types for 'getstroutput'
> xlisp/xlfio.c:581: error: previous implicit declaration of 'getstroutput' was
> here
> make[1]: *** [xlisp/xlfio.o] Error 1
Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=nyquist>.
Please find attached a patch to add support for GNU/kFreeBSD and which allows
your package to build fine on this platform. Please also note that I added two
"#error" since having plaintext warning/error instead of proper information
isn't that clean (and even quite dirty, IMVHO of course).
Cheers,
--
Cyril Brulebois
--- nyquist-2.29/snd/sndconfig.h 2002-11-21 14:15:14.000000000 +0100
+++ nyquist-2.29/snd/sndconfig.h 2007-03-16 05:36:17.000000000 +0100
@@ -60,7 +60,7 @@
#elif defined(IRIX)
#include "sndirix.h"
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include "sndfreebsd.h"
#elif defined(_WIN32)
--- nyquist-2.29/snd/sndcvt.c 2002-11-21 14:15:14.000000000 +0100
+++ nyquist-2.29/snd/sndcvt.c 2007-03-16 05:36:17.000000000 +0100
@@ -9,14 +9,14 @@
#endif /* mips */
#include "snd.h"
#include "stdio.h"
-#ifdef LINUX
+#if defined(LINUX) && !defined(__FreeBSD_kernel__)
#include "sys/file.h"
#else
/* #include <unistd.h> */
#ifdef WIN32
#include <sys/stat.h>
#include "io.h"
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <sys/stat.h>
#else
#include <stat.h>
--- nyquist-2.29/xlisp/xlfio.c 2002-11-21 14:15:17.000000000 +0100
+++ nyquist-2.29/xlisp/xlfio.c 2007-03-16 05:36:17.000000000 +0100
@@ -9,13 +9,12 @@
/* do some sanity checking: */
#ifndef XL_BIG_ENDIAN
#ifndef XL_LITTLE_ENDIAN
-configuration error -- either XL_BIG_ or XL_LITTLE_ENDIAN must be defined
-in xlisp.h
+#error configuration error -- either XL_BIG_ or XL_LITTLE_ENDIAN must be defined in xlisp.h
#endif
#endif
#ifdef XL_BIG_ENDIAN
#ifdef XL_LITTLE_ENDIAN
-configuration error -- both XL_BIG_ and XL_LITTLE_ENDIAN are defined!
+#error configuration error -- both XL_BIG_ and XL_LITTLE_ENDIAN are defined!
#endif
#endif
--- nyquist-2.29/xlisp/xlisp.h 2007-03-16 05:35:24.000000000 +0100
+++ nyquist-2.29/xlisp/xlisp.h 2007-03-16 05:41:01.000000000 +0100
@@ -143,7 +143,7 @@
#endif
/* Linux on Pentium */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define XL_LITTLE_ENDIAN
--- nyquist-2.29/snd/sndio.c 2002-11-21 14:15:14.000000000 +0100
+++ nyquist-2.29/snd/sndio.c 2007-03-16 05:36:17.000000000 +0100
@@ -20,7 +20,7 @@
#ifdef WIN32
#include <sys/stat.h>
#include "io.h"
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <sys/stat.h>
#else
#include <stat.h>
--- nyquist-2.29/sys/unix/osstuff.c 2007-03-16 05:35:24.000000000 +0100
+++ nyquist-2.29/sys/unix/osstuff.c 2007-03-16 05:36:17.000000000 +0100
@@ -100,7 +100,7 @@
/* oserror - print an error message */
void oserror(char *msg) {printf("error: %s\n",msg);}
-#ifndef linux
+#if !defined(linux) && !defined(__GLIBC__)
extern long random();
#ifndef srandom /* if it isn't a macro */
extern srandom();
--- nyquist-2.29/sys/unix/term.c 2002-11-21 14:15:16.000000000 +0100
+++ nyquist-2.29/sys/unix/term.c 2007-03-16 05:36:17.000000000 +0100
@@ -4,12 +4,19 @@
/* Thanks to Dave Cook for rescuing it */
#include <termios.h>
+#if defined(linux)
#include <asm/ioctls.h>
+#endif
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+#if defined(__FreeBSD_kernel__)
+#include <sys/filio.h>
+#endif
+
+
/* This will be used for new terminal settings. */
static struct termios current;
--- End Message ---
--- Begin Message ---
Source: nyquist
Source-Version: 3.03-2
We believe that the bug you reported is fixed in the latest version of
nyquist, which is due to be installed in the Debian FTP archive:
nyquist_3.03-2.debian.tar.gz
to main/n/nyquist/nyquist_3.03-2.debian.tar.gz
nyquist_3.03-2.dsc
to main/n/nyquist/nyquist_3.03-2.dsc
nyquist_3.03-2_amd64.deb
to main/n/nyquist/nyquist_3.03-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve M. Robbins <[email protected]> (supplier of updated nyquist package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 19 Dec 2010 22:34:37 -0600
Source: nyquist
Binary: nyquist
Architecture: source amd64
Version: 3.03-2
Distribution: experimental
Urgency: low
Maintainer: Steve M. Robbins <[email protected]>
Changed-By: Steve M. Robbins <[email protected]>
Description:
nyquist - a language for music composition and sound synthesis
Closes: 415103
Changes:
nyquist (3.03-2) experimental; urgency=low
.
* patches/kfreebsd.patch: New. Fixes for kFreeBSD. Adapted from Cyril
Brulebois's kfreebsd patch. Closes: #415103.
.
* patches/endianness.patch: New. Fixes detection and error reporting of
endianness. Adapted from Cyril Brulebois's kfreebsd patch.
.
* jny:
* links:
* install: Install jNyqIDE.jar, NyquistWords.txt into
/usr/share/nyquist/jnyqide. Symlink the doc files.
.
* patches/jnyqide.patch: Exec("ny") to use PATH search mechanism rather
than hardcoding exec("./ny").
.
* jny.1: New. Basic manpage for jny.
Checksums-Sha1:
df7d310e972a830ae0f5189dbc40f494013a12d6 1213 nyquist_3.03-2.dsc
8cda4f759f05f0701aee29433cd33e782e6e2d7a 9919 nyquist_3.03-2.debian.tar.gz
d7560858f3d1ec467dbb3aff8af4a4e06d37d8d0 3759752 nyquist_3.03-2_amd64.deb
Checksums-Sha256:
d539ebbdbdc0dc9f3250ec84d2d76f69bf2308a26749544eba6597ba5a47eb63 1213
nyquist_3.03-2.dsc
0a7bad74106b19eaa83fa7d4246da630e18e0a5be6168505a3a0789ea5716529 9919
nyquist_3.03-2.debian.tar.gz
dd36e02745120d2d266340528345cbc3e36d1e7950317912d05c6d1b8b05c49e 3759752
nyquist_3.03-2_amd64.deb
Files:
18c6099afa3ea57d120cf27c6eafe70f 1213 sound optional nyquist_3.03-2.dsc
87934a95f0e859f40496f26784ce774c 9919 sound optional
nyquist_3.03-2.debian.tar.gz
e2760a905f89b347b1ab30c79371186d 3759752 sound optional
nyquist_3.03-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFNDuGU0i2bPSHbMcURAhApAKCmrLqJk63eVzkXn4r9yqcd1DvKFwCglL9r
VIIXRThQOc/bfsgr0zvmtZs=
=iElv
-----END PGP SIGNATURE-----
--- End Message ---