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

Bug#560796: hplip: FTBFS on kfreebsd-*



Package: hplip
Version: 3.9.10-3
Severity: serious
Tags: patch
Justification: FTBFS
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

your package is no longer building on kfreebsd-*, which is RC since they
are release architectures. Your package hasn't even been tried (since
they are in BD-Uninstallable state) because the BD: libudev-dev is
unconditional, while it only exists on Linux architectures.

Please exclude it on non-Linux ports. Once the attached patch applied,
your package builds fine at least on kfreebsd-i386. There might be
installation issues due to udev rules or so, but that's another story.

I guess passing --enable-udev-acl-rules to ./configure could be made
conditional, only when DEB_HOST_ARCH_OS matches 'linux', too.

Mraw,
KiBi.
--- hplip-3.9.10/debian/control
+++ hplip-3.9.10/debian/control
@@ -7,7 +7,7 @@
  debhelper (>= 5.0.37.2), autotools-dev, dpatch (>= 2), autoconf, automake, libtool, cups (>= 1.4.0) | cupsddk,
  patch (>= 2.5.9-3bpo1), findutils (>= 4.2.28), 
  python-dev, python-qt4, pyqt4-dev-tools, python-support (>= 0.3),
- python-dbus (>= 0.80), python-qt4-dbus, libdbus-1-dev, libudev-dev, policykit-1
+ python-dbus (>= 0.80), python-qt4-dbus, libdbus-1-dev, libudev-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386], policykit-1
 Standards-Version: 3.8.0
 Homepage: http://hplip.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/pkg-hpijs/hplip/trunk/
--- hplip-3.9.10.orig/prnt/hpcups/ErnieFilter.cpp
+++ hplip-3.9.10/prnt/hpcups/ErnieFilter.cpp
@@ -50,7 +50,7 @@
 #include "ErnieFilter.h"
 
 
-#if defined(__APPLE__) || defined(__linux)
+#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__)
 #include <math.h>
 #endif
 

Reply to: