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

Bug#414302: marked as done (cbmlink: FTBFS on GNU/kFreeBSD)

Your message dated Mon, 16 Apr 2007 22:02:02 +0000
with message-id <E1HdZGs-0002kU-Cn@ries.debian.org>
and subject line Bug#414302: fixed in cbmlink 0.9.6-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cbmlink
Severity: important
Tags: patch


currently your package FTBFS on GNU/kFreeBSD with the following error:
> gcc -DCOMM_SERIAL -DCOMM_PC  -DUSE_PPDEV -Iext -Iop -Icomm -Wall -O3 -c comm/pcpar.c -o comm/pcpar.o
> comm/pcpar.c: In function 'open_port':
> comm/pcpar.c:152: warning: implicit declaration of function 'open'
> comm/pcpar.c:152: error: 'O_RDWR' undeclared (first use in this function)
> comm/pcpar.c:152: error: (Each undeclared identifier is reported only once
> comm/pcpar.c:152: error: for each function it appears in.)
> comm/pcpar.c: In function 'close_port':
> comm/pcpar.c:183: warning: implicit declaration of function 'close'
> comm/pcpar.c: In function 'write_data':
> comm/pcpar.c:195: warning: implicit declaration of function 'outbyte'
> comm/pcpar.c: In function 'read_stat':
> comm/pcpar.c:247: warning: implicit declaration of function 'inb'
> make[1]: *** [comm/pcpar.o] Error 1
> make[1]: Leaving directory `/build/buildd/cbmlink-0.9.6/src'
> make: *** [build-arch-stamp] Error 2

Full build logs are available at

Please find attached a tiny patch to fix this.


Cyril Brulebois
--- cbmlink-0.9.6/src/comm/pcpar.c	2007-03-10 20:04:54.213550000 +0100
+++ cbmlink-0.9.6/src/comm/pcpar.c	2007-03-10 20:16:31.000000000 +0100
@@ -81,7 +81,7 @@
 #ifdef USE_PPDEV
 /** the parallel port file descriptor */
 static int parfd = -1;
-# if defined __linux__ || defined __FreeBSD__
+# if defined __linux__ || defined __FreeBSD__ || defined __FreeBSD_kernel__
 #  include <unistd.h>
 #  include <sys/ioctl.h>
 #  include <fcntl.h>
@@ -128,7 +128,7 @@
 # ifdef USE_PPDEV
   if (baseaddr != (unsigned) -1) {
 # endif /* USE_PPDEV */
-# ifdef __linux__
+# if defined(__linux__) || defined(__FreeBSD_kernel__)
     if (ioperm (baseaddr, 3, 1)) {
       perror ("open_port: ioperm");
       return 0;
--- cbmlink-0.9.6/src/comm/pcpar.h	2007-03-10 20:15:49.725655000 +0100
+++ cbmlink-0.9.6/src/comm/pcpar.h	2007-03-10 20:16:51.000000000 +0100
@@ -23,7 +23,7 @@
 #ifdef COMM_PC
-# ifdef __linux__
+# if defined(__linux__) || defined(__FreeBSD_kernel__)
 #  include <unistd.h>
 #  include <sys/io.h>
 #  define outbyte(value, port) outb (value, port)

--- End Message ---
--- Begin Message ---
Source: cbmlink
Source-Version: 0.9.6-3

We believe that the bug you reported is fixed in the latest version of
cbmlink, which is due to be installed in the Debian FTP archive:

  to pool/main/c/cbmlink/cbmlink-cbmc2n_0.9.6-3_all.deb
  to pool/main/c/cbmlink/cbmlink-cbmprg_0.9.6-3_all.deb
  to pool/main/c/cbmlink/cbmlink-cbmutils_0.9.6-3_all.deb
  to pool/main/c/cbmlink/cbmlink_0.9.6-3.diff.gz
  to pool/main/c/cbmlink/cbmlink_0.9.6-3.dsc
  to pool/main/c/cbmlink/cbmlink_0.9.6-3_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 414302@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Nico Golde <nion@debian.org> (supplier of updated cbmlink 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 16 Apr 2007 23:42:57 +0200
Source: cbmlink
Binary: cbmlink-cbmc2n cbmlink cbmlink-cbmprg cbmlink-cbmutils
Architecture: source all i386
Version: 0.9.6-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Nico Golde <nion@debian.org>
 cbmlink    - Transfer data to/from Commodore 8-bit computers
 cbmlink-cbmc2n - Commodore C2N232 images for cbmlink
 cbmlink-cbmprg - Commodore binaries for cbmlink
 cbmlink-cbmutils - Commodore utility programs for cbmlink
Closes: 414302
 cbmlink (0.9.6-3) unstable; urgency=low
   * QA upload.
   * Added dpatch to build dependencies and added patch
     to fix FTFBS on kfreebsd, thanks Cyril Brulebois (Closes: #414302).
   * Bumped compat level to 5.
 0e9b2ceed1bdf7d941c8a4b57a75a96d 628 otherosfs extra cbmlink_0.9.6-3.dsc
 2cda90dada6214a52eed01b57b8d4622 5042 otherosfs extra cbmlink_0.9.6-3.diff.gz
 82f474d86eee8413ddbc640c183f58ef 26636 otherosfs extra cbmlink-cbmprg_0.9.6-3_all.deb
 5c6169f1e09c28ef839b66cd92f6d943 9102 otherosfs extra cbmlink-cbmc2n_0.9.6-3_all.deb
 6748e266f77ff677f92d317f910a39c6 6432 otherosfs extra cbmlink-cbmutils_0.9.6-3_all.deb
 43bdcc36ca633bc8944a190357e69dfc 54298 otherosfs extra cbmlink_0.9.6-3_i386.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: