Bug#637297: FTBFS on GNU/kFreeBSD

2011-08-10 Thread Robert Millan
Package: debootstrap
Version: 1.0.34
Severity: important
Tags: patch
User: debian-...@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-keyring2010.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 +
+++ Makefile	2011-08-10 10:42:41 +
@@ -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 +
+++ debian/control	2011-08-10 10:42:41 +
@@ -3,7 +3,7 @@ Section: admin
 Priority: extra
 Maintainer: Debian Install System Team debian-b...@lists.debian.org
 Uploaders: Anthony Towns a...@debian.org, Joey Hess jo...@debian.org, Junichi Uekawa dan...@debian.org, Colin Watson cjwat...@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



Bug#637297: FTBFS on GNU/kFreeBSD

2011-08-10 Thread Samuel Thibault
Robert Millan, le Wed 10 Aug 2011 13:36:03 +0200, a écrit :
 @@ -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:

Mmm, debootstrap should actually be an Arch:any package then. ATM,
if one uploads it from kfreebsd or hurd, Linux systems won't have
devices.tar.gz.

Samuel



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



Bug#637297: FTBFS on GNU/kFreeBSD

2011-08-10 Thread Robert Millan
2011/8/10 Samuel Thibault sthiba...@debian.org:
 Mmm, debootstrap should actually be an Arch:any package then. ATM,
 if one uploads it from kfreebsd or hurd, Linux systems won't have
 devices.tar.gz.

Yes it should IMO.  Note however that my patch isn't a regression in this area.

-- 
Robert Millan



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