Control: tags -1 + patch

On 22:02, Julien Cristau wrote:
> during a binNMU smartmontools failed to build, see the logs at
> https://buildd.debian.org/status/package.php?p=smartmontools
> 
> > g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' 
> > -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' 
> > -DSMARTMONTOOLS_DRIVEDBDIR='"/var/lib/smartmontools/drivedb"' 
> > -DSMARTMONTOOLS_SAVESTATES='"/var/lib/smartmontools/smartd."' 
> > -DSMARTMONTOOLS_ATTRIBUTELOG='"/var/lib/smartmontools/attrlog."'      -g 
> > -O2 -Wall -W -MT cciss.o -MD -MP -MF .deps/cciss.Tpo -c -o cciss.o cciss.cpp
> > cciss.cpp:28:29: fatal error: bsd/sys/cdefs.h: No such file or directory
> >  #  include <bsd/sys/cdefs.h>
> >                              ^
> > compilation terminated.
> > make[2]: *** [cciss.o] Error 1

This is a missing dependency on libbsd-dev, only affecting kfreebsd.
It must have been brought in indirectly before through a dependency on
one of the freebsd-libs.

This patch would be the quickest way to fix this.  Though personally I
think the code there could use some cleanup.

--- a/debian/control  2013-09-05 13:53:56.000000000 +0100
+++ b/debian/control  2014-01-29 02:08:46.246113599 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Giuseppe Iuculano <iucul...@debian.org>
 Uploaders: Florian Maier <cont...@marsmenschen.com>
-Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-i386 kfreebsd-amd64], 
automake1.10, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 
!hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 
!hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], hardening-wrapper
+Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-i386 kfreebsd-amd64], 
automake1.10, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 
!hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 
!hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], libbsd-dev 
[kfreebsd-i386 kfreebsd-amd64], hardening-wrapper
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/collab-maint/smartmontools.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/smartmontools.git

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to