Source: antpm
Version: 1.16-9
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

hurd-i386 doesn't have /proc/cpuinfo, and thus grepping it would return
nothing, not even 0, so that debian/rules would use an unbound make -j,
putting the buildd on its knees.  Please use the attached patch to fix
this.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
<c> hiri, le cri ici, c des marrants
<c> j'ai un rep ".uglyhackdirectorywithoutacls" ds mon home
 -+- #ens-mim en stage -+-
--- debian/rules.orig   2015-10-12 10:27:25.228895185 +0200
+++ debian/rules        2015-10-12 10:27:28.876867514 +0200
@@ -11,6 +11,9 @@
 ifeq ($(NUMCPUS),0)
                NUMCPUS=1
 endif
+ifeq ($(NUMCPUS),)
+               NUMCPUS=1
+endif
 
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)

Reply via email to