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

Bug#637297: FTBFS on GNU/kFreeBSD



Package: debootstrap
Version: 1.0.34
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

debootstrap fails to build from source on GNU/kFreeBSD.  Please consider
attached patch to fix the problem.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.utf8, LC_CTYPE=ca_AD.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debootstrap depends on:
ii  wget                          1.12-2.1   retrieves files from the web

Versions of packages debootstrap recommends:
ii  debian-archive-keyring        2010.08.28 GnuPG archive keys of the Debian a
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep

debootstrap suggests no packages.

-- no debconf information
=== modified file 'Makefile'
--- Makefile	2011-08-10 10:28:36 +0000
+++ Makefile	2011-08-10 10:42:41 +0000
@@ -3,7 +3,7 @@ VERSION := $(shell sed 's/.*(\(.*\)).*/\
 
 MAKEDEV := /sbin/MAKEDEV
 
-ifneq ($(shell uname),GNU)
+ifeq ($(shell uname),Linux)
 all: devices.tar.gz
 else
 all:
@@ -25,7 +25,7 @@ install:
 	chown root:root $(DESTDIR)/usr/sbin/debootstrap
 	chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
 
-ifneq ($(shell uname),GNU)
+ifeq ($(shell uname),Linux)
 	install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
 endif
 

=== modified file 'debian/control'
--- debian/control	2011-08-10 10:28:36 +0000
+++ debian/control	2011-08-10 10:42:41 +0000
@@ -3,7 +3,7 @@ Section: admin
 Priority: extra
 Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
 Uploaders: Anthony Towns <ajt@debian.org>, Joey Hess <joeyh@debian.org>, Junichi Uekawa <dancer@debian.org>, Colin Watson <cjwatson@debian.org>
-Build-Depends: debhelper (>= 7.0.50), makedev (>= 2.3.1-69) [!hurd-i386]
+Build-Depends: debhelper (>= 7.0.50), makedev (>= 2.3.1-69) [linux-any]
 Standards-Version: 3.9.2
 Vcs-Browser: http://git.debian.org/?p=d-i/debootstrap.git
 Vcs-Git: git://git.debian.org/d-i/debootstrap.git


Reply to: