Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-22 Thread Guillem Jover
On Thu, 2012-06-21 at 21:40:39 +0200, Arno Töll wrote:
 tag 678136 + pending
 thanks

 On 21.06.2012 21:18, Steven Chamberlain wrote:
  Actually you're right, it's fine now in up-to-date sid chroot.
 
 cool, thanks. I'll wait a bit for Robert or someone else to comment on
 the patch. Otherwise I'll upload it soon.

I guess the libbsd-overlay could be used instead to avoid having to
patch the sources.

And sorry I didn't catch this when I was supposed to check all reverse
depends.

thanks,
guillem



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120622211026.ga3...@gaara.hadrons.org



Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-22 Thread Arno Töll
Hi,

On 22.06.2012 23:10, Guillem Jover wrote:
 On Thu, 2012-06-21 at 21:40:39 +0200, Arno Töll wrote:
 I guess the libbsd-overlay could be used instead to avoid having to
 patch the sources.

True, but that part was patched already anyway, so it does not hurt at all.

 And sorry I didn't catch this when I was supposed to check all reverse
 depends.

Don't worry (as for me).

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-21 Thread Arno Töll
Hi,

On 19.06.2012 15:33, Steven Chamberlain wrote:
 Due to libbsd-dev 0.4.0 moving libutil.h into /bsd/, zfsutils can no
 longer build.  Attached patch would be a way to fix that but I wasn't
 sure if there could be a better way.

Thanks! I was able to reproduce and fix the problem with the patch you
supplied. To me this is a fine an acceptable solution to fix the FTBS.

 Then there are other issues during build which I don't have time to look
 into just yet:


This however I couldn't reproduce. Anyone else can? For me zfsutils just
build fine after appyling your patch.

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-21 Thread Arno Töll
tag 678136 + pending
thanks

Hi,

On 21.06.2012 21:18, Steven Chamberlain wrote:
 Actually you're right, it's fine now in up-to-date sid chroot.

cool, thanks. I'll wait a bit for Robert or someone else to comment on
the patch. Otherwise I'll upload it soon.


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Processed: Re: Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-21 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 678136 + pending
Bug #678136 [zfsutils] zfsutils: FTBFS with libbsd-dev = 0.4.0
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
678136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678136
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.134030988317895.transcr...@bugs.debian.org



Bug#678136: zfsutils: FTBFS with libbsd-dev = 0.4.0

2012-06-19 Thread Steven Chamberlain
Package: zfsutils
Version: 9.0-2
Severity: serious
Tags: wheezy sid
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the
past)

Hi,

Due to libbsd-dev 0.4.0 moving libutil.h into /bsd/, zfsutils can no
longer build.  Attached patch would be a way to fix that but I wasn't
sure if there could be a better way.

Then there are other issues during build which I don't have time to look
into just yet:

 cc -Wall -Wno-unknown-pragmas -g -pipe -fPIC -I. -D_GNU_SOURCE 
 -DNEED_SOLARIS_BOOLEAN -isystem /usr/include/freebsd 
 -D__va_list=__builtin_va_list -O2  -DZFS_NO_ACL -I/h[10/1964]
 n/zfsutils-9.0/cddl/lib/libzfs/../../../sbin/mount 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/lib/libumem 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys
 /cddl/compat/opensolaris 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/compat/opensolaris/include
  -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/compat/op
 ensolaris/lib/libumem 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzpool/common
  -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/
 cddl/contrib/opensolaris/common/zfs 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
  -I/home/steven/zfsutils-9.0/cddl/lib/libz
 fs/../../../sys/cddl/contrib/opensolaris/uts/common/sys 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/head
  -I/home/steven/zfsutils-9.0/cddl/lib/l
 ibzfs/../../../sys/cddl/contrib/opensolaris/uts/common 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libnvpair
  -I/home/steven/zfsutils-9.0/cd
 dl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libuutil/common 
 -I/home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/common
  -I/home/steve
 n/zfsutils-9.0/cddl/lib/libzfs/../../../lib/libmd -std=iso9899:1999 
 -fstack-protector -Wno-pointer-sign -c 
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/compat/opensol
 aris/misc/deviceid.c
 In file included from /usr/include/sys/kern/types.h:48:0,
  from /usr/include/sys/kern/param.h:67,
  from /usr/include/osreldate.h:1,
  from /usr/include/i386-kfreebsd-gnu/sys/param.h:39,
  from /usr/include/freebsd/sys/param.h:1,
  from 
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/param.h:33,
  from 
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../cddl/compat/opensolaris/misc/deviceid.c:30:
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:49:1:
  error: unknown type name ‘u_int’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:50:1:
  error: unknown type name ‘u_char’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:51:1:
  error: unknown type name ‘u_short’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:52:1:
  error: unknown type name ‘u_long’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:55:1:
  error: unknown type name ‘off_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:56:1:
  error: unknown type name ‘id_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:57:1:
  error: unknown type name ‘id_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:58:1:
  error: unknown type name ‘id_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:59:1:
  error: unknown type name ‘id_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:60:1:
  error: unknown type name ‘id_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:61:1:
  error: unknown type name ‘mode_t’
 /home/steven/zfsutils-9.0/cddl/lib/libzfs/../../../sys/cddl/compat/opensolaris/sys/types.h:63:1:
  error: unknown type name ‘u_int’

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
Index: debian/control
===
--- debian/control	(revision 4319)
+++ debian/control	(working copy)
@@ -6,7 +6,7 @@
 Dm-Upload-Allowed: yes
 Build-Depends: debhelper (= 7.0.50~),
  freebsd-buildutils (= 9.0-5~),
- libbsd-dev (= 0.1.4),
+ libbsd-dev (= 0.3.0),
  libc0.1-dev (= 2.10), kfreebsd-kernel-headers (= 0.51),
  libgeom-dev,
  zlib1g-dev
Index: debian/patches/08_libbsd.diff
===
--- debian/patches/08_libbsd.diff	(revision 4319)
+++ debian/patches/08_libbsd.diff	(working copy)
@@ -48,6 +48,17 @@