Bug#764117: iodine: FTBFS on kfreebsd-*

2014-10-05 Thread gregor herrmann
Package: iodine
Version: 0.7.0-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

iodine 0.7.0-1 doesn't build on the two kfreebsd-* architectures. The
build fails with:

dh_auto_build
make[2]: Entering directory '/«PKGBUILDDIR»'
make[3]: Entering directory '/«PKGBUILDDIR»/src'
OS is GNU/KFREEBSD, arch is x86_64
CC tun.c
cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -c 
-D`echo GNU/kFreeBSD | tr a-z A-Z` -pedantic `sh osflags GNU/kFreeBSD 
cflags` -D_FORTIFY_SOURCE=2 tun.c -o tun.o
command-line:0:4: warning: ISO C99 requires whitespace after the macro name
CC dns.c
cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -c 
-D`echo GNU/kFreeBSD | tr a-z A-Z` -pedantic `sh osflags GNU/kFreeBSD 
cflags` -D_FORTIFY_SOURCE=2 dns.c -o dns.o
command-line:0:4: warning: ISO C99 requires whitespace after the macro name
In file included from dns.c:33:0:
/usr/include/arpa/nameser.h:115:8: error: unknown type name 'u_char'
  const u_char *_msg, *_eom;
^
[... and so on ...]

https://buildd.debian.org/status/fetch.php?pkg=iodinearch=kfreebsd-amd64ver=0.7.0-1stamp=1412517768
https://buildd.debian.org/status/fetch.php?pkg=iodinearch=kfreebsd-i386ver=0.7.0-1stamp=1412517892


Any help from kfreebsd savvy people more than welcome!


Cheers,
gregor



-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQJ8BAEBCgBmBQJUMVJ6XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGei8P/0dh/Ph3tAEL8P/MTI2Trygh
pftlg0FhuulSbwrov0ijCgKKtFKLpivD08fRQKVJZVoxWDSyphKRbWaeRY95AKT/
UU2aixmnMsPO9uSVb4LVht0sIsRAC2oL9tPNk/n8K6dYhFdw6K3jo8ZoFlxI1FuW
XQ6uDs85QDr6ovt+UqxMStp1R+1QR6cApyWjE9zWFoqqtlRUMK5eNRfkH2fVrZMJ
2FNPFdeEE4V25jWAgbLTOFy2l24spPXfTSbYOQWm27VLwyUYnjlkE91FYxsILk31
zY95Yu7Yrxtuv9jhApRR4IrPnauCfKFbdJeJuaKmN5mp4/kWjeepglU7CMmWrn13
auJaJThi7nO1zZ31hb8ekQx6hCdlRNVkXXr9G/dqlAv+3SHE/d/aJdVOySz64YUV
hF3xJL0JvOiE5Hi7bBtHjk99ciY+skc5bQNYyRv5T36Kf4X5c5mAcOR9VTJocNzK
qB3pQvuphTlH2xlqZuHjNL1UuXqw+AnnkNPgsdByR8y045c1LPEh7rHvv5G//42m
UKBaRqnbG2+ykWrWF/BsAoyG9xsIdmw7bTHP3cTqzw9JrVqJTBAmQQdX2TCOKpug
4ID4YZ0kv83F0M4cfnGAF302Ac24FVwhYze1leb9LsGBFR4EhwQszDN9dQOM63Oh
it9eBpZf4qn/hC6gW+Tu
=iwQm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20141005141522.30773.2815.report...@jadzia.comodo.priv.at



Re: Bug#764117: iodine: FTBFS on kfreebsd-*

2014-10-05 Thread gregor herrmann
Control: tag -1 + patch

On Sun, 05 Oct 2014 16:15:22 +0200, gregor herrmann wrote:

 dh_auto_build
 make[2]: Entering directory '/«PKGBUILDDIR»'
 make[3]: Entering directory '/«PKGBUILDDIR»/src'
 OS is GNU/KFREEBSD, arch is x86_64
 CC tun.c
 cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 
 -c -D`echo GNU/kFreeBSD | tr a-z A-Z` -pedantic `sh osflags GNU/kFreeBSD 
 cflags` -D_FORTIFY_SOURCE=2 tun.c -o tun.o
 command-line:0:4: warning: ISO C99 requires whitespace after the macro name
 CC dns.c
 cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 
 -c -D`echo GNU/kFreeBSD | tr a-z A-Z` -pedantic `sh osflags GNU/kFreeBSD 
 cflags` -D_FORTIFY_SOURCE=2 dns.c -o dns.o
 command-line:0:4: warning: ISO C99 requires whitespace after the macro name
 In file included from dns.c:33:0:
 /usr/include/arpa/nameser.h:115:8: error: unknown type name 'u_char'
   const u_char *_msg, *_eom;
 ^
 [... and so on ...]

Ok, with the following patch it builds:

#v+
% cat debian/patches/kfreebsd.patch
--- a/src/osflags
+++ b/src/osflags
@@ -38,6 +38,9 @@
[ -e /usr/include/systemd/sd-daemon.h ]  FLAGS=$FLAGS 
-DHAVE_SYSTEMD;
echo $FLAGS;
;;
+   GNU/kFreeBSD)
+   echo '-D_GNU_SOURCE'
+   ;;
esac
 ;;
 *)
#v-

(I'm attaching the original src/osflags for reference).

Does this look ok for kFreeBSD?


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Nguyên Lê: Stranieri
#!/bin/sh

case $2 in
link)

case $1 in
SunOS | solaris)
echo '-lsocket -lnsl';
;;
BeOS)
echo '-lsocket -lbind -lbsd';
;;
Haiku)
echo '-lnetwork';
;;
windows32)
echo '-lws2_32 -liphlpapi';
;;
Linux)
FLAGS=;
[ -e /usr/include/selinux/selinux.h ]  FLAGS=$FLAGS 
-lselinux;
[ -e /usr/include/systemd/sd-daemon.h ]  
FLAGS=$FLAGS -lsystemd-daemon;
echo $FLAGS;
;;
esac
;;
cflags)
case $1 in
windows32)
echo '-DWINVER=0x0501';
;;
BeOS)
echo '-Dsocklen_t=int';
;;
Linux)
FLAGS=-D_GNU_SOURCE
[ -e /usr/include/selinux/selinux.h ]  FLAGS=$FLAGS 
-DHAVE_SETCON;
[ -e /usr/include/systemd/sd-daemon.h ]  
FLAGS=$FLAGS -DHAVE_SYSTEMD;
echo $FLAGS;
;;
esac
;;
*)
;;
esac


signature.asc
Description: Digital Signature


Re: Bug#764117: iodine: FTBFS on kfreebsd-*

2014-10-05 Thread gregor herrmann
On Sun, 05 Oct 2014 18:30:23 +0200, Petr Salinger wrote:

 Ok, with the following patch it builds:
 
 #v+
 % cat debian/patches/kfreebsd.patch
 --- a/src/osflags
 +++ b/src/osflags
 @@ -38,6 +38,9 @@
[ -e /usr/include/systemd/sd-daemon.h ]  FLAGS=$FLAGS 
  -DHAVE_SYSTEMD;
echo $FLAGS;
;;
 +   GNU/kFreeBSD)
 +   echo '-D_GNU_SOURCE'
 +   ;;
esac
 ;;
 *)
 #v-
 
 (I'm attaching the original src/osflags for reference).
 
 Does this look ok for kFreeBSD?
 
 Yes, we have the same glibc as Linux and _GNU_SOURCE is hint for glibc.
 If it suffices, perfect.

Excellent, thanks for the super fast feedback.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Peter Ratzenbeck: Flowers from Ayako


signature.asc
Description: Digital Signature


Re: [dd-list] Please use Architecture: linux-any

2014-04-13 Thread gregor herrmann
On Sun, 13 Apr 2014 08:26:40 +0200, Samuel Thibault wrote:

 gregor herrmann, le Sun 13 Apr 2014 02:25:18 +0200, a écrit :
  On Sun, 13 Apr 2014 01:34:52 +0200, Samuel Thibault wrote:
  
   Here is a refreshed list of the packages that should probably use
   Architecture: linux-any, please consider using it.
  
   Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
  libvideo-ivtv-perl
  
  % grep Architecture debian/control 
  Architecture: linux-any kfreebsd-any
  
  So hurd is excluded, should kfreebsd also go away?
 
 Well, kfreebsd currently gets
 
 ivtv.xs:5:25: fatal error: linux/types.h: No such file or directory

Right, sorry for not checking myself yesterday.
 
 but perhaps libvideo-ivtv-perl could be fixed so it can use kfreebsd's
 v4l layer.

Ack.

Anyone from the perl teamd or the kfreebsd porters interested?

Otherwise we should just drop the kfreebsd-any, I guess.


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bob Dylan: Hurricane


signature.asc
Description: Digital Signature


Re: [dd-list] Please use Architecture: linux-any

2014-04-13 Thread gregor herrmann
On Sun, 13 Apr 2014 15:33:18 +0200, gregor herrmann wrote:

Here is a refreshed list of the packages that should probably use
Architecture: linux-any, please consider using it.
   
Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
   libvideo-ivtv-perl
   
   % grep Architecture debian/control 
   Architecture: linux-any kfreebsd-any
   
   So hurd is excluded, should kfreebsd also go away?
  
  Well, kfreebsd currently gets
  
  ivtv.xs:5:25: fatal error: linux/types.h: No such file or directory
 
  but perhaps libvideo-ivtv-perl could be fixed so it can use kfreebsd's
  v4l layer.
 
 Ack.
 
 Anyone from the perl teamd or the kfreebsd porters interested?
 
 Otherwise we should just drop the kfreebsd-any, I guess.

Tony just uploaded the package with Architecture: linux-any, so:
case closed.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Jon Bon Jovi: Thank You For Loving Me


signature.asc
Description: Digital Signature


Re: [dd-list] Please use Architecture: linux-any

2014-04-12 Thread gregor herrmann
On Sun, 13 Apr 2014 01:34:52 +0200, Samuel Thibault wrote:

 Here is a refreshed list of the packages that should probably use
 Architecture: linux-any, please consider using it.

 Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
libvideo-ivtv-perl

% grep Architecture debian/control 
Architecture: linux-any kfreebsd-any

So hurd is excluded, should kfreebsd also go away?

(The git history + d/changelog don't say why I changed this in 2011,
I guess it was a similar request :))


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ludwig Hirsch: Die gottverdammte Pleite


signature.asc
Description: Digital Signature