Your message dated Tue, 20 Aug 2013 19:33:03 +0000
with message-id <e1vbrfr-0003gj...@franck.debian.org>
and subject line Bug#720164: fixed in cpuid 20130610-2
has caused the Debian Bug report #720164,
regarding FTBFS: cpuid.c:29:25: fatal error: linux/major.h: No such file or 
directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
720164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720164
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cpuid
Version: 20130610-1
Severity: serious
Tags: patch

https://buildd.debian.org/status/fetch.php?pkg=cpuid&arch=kfreebsd-amd64&ver=20130610-1&stamp=1376897399

make[1]: Entering directory `/«PKGBUILDDIR»'
cc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector \
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g  -Wall \
 -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast \
 -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes \
 -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -DVERSION=20130610 \
 -Wl,-z,relro -o cpuid cpuid.c
cpuid.c:29:25: fatal error: linux/major.h: No such file or directory
 #include <linux/major.h>
                          ^
                          compilation terminated.
make[1]: *** [cpuid] Error 1


The patch below fixes the FTBFS on GNU/kFreeBSD.

debdiff cpuid_20130610-1.dsc cpuid_20130610-1.1.dsc
diff -Nru cpuid-20130610/debian/changelog cpuid-20130610/debian/changelog
--- cpuid-20130610/debian/changelog     2013-08-19 06:20:24.000000000 +1000
+++ cpuid-20130610/debian/changelog     2013-08-19 20:21:54.000000000 +1000
@@ -1,3 +1,11 @@
+cpuid (20130610-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix the FTBFS on GNU/kFreeBSD 
+    Add linux-major.h.patch
+
+ -- Anibal Monsalve Salazar <ani...@debian.org>  Mon, 19 Aug 2013 20:20:39 
+1000
+
 cpuid (20130610-1) unstable; urgency=low
 
   * Adopt the package (Closes: #677764)
diff -Nru cpuid-20130610/debian/patches/linux-major.h.patch 
cpuid-20130610/debian/patches/linux-major.h.patch
--- cpuid-20130610/debian/patches/linux-major.h.patch   1970-01-01 
10:00:00.000000000 +1000
+++ cpuid-20130610/debian/patches/linux-major.h.patch   2013-08-19 
20:20:06.000000000 +1000
@@ -0,0 +1,16 @@
+The patch below fixes the FTBFS on GNU/kFreeBSD.
+
+Anibal Monsalve Salazar <ani...@debian.org>
+
+--- a/cpuid.c  2013-06-11 00:14:49.000000000 +1000
++++ b/cpuid.c  2013-08-19 20:12:09.000000000 +1000
+@@ -26,7 +26,9 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
++#ifdef __linux__
+ #include <linux/major.h>
++#endif
+ #include <regex.h>
+ #include <getopt.h>
+ #include <sys/syscall.h>
diff -Nru cpuid-20130610/debian/patches/series 
cpuid-20130610/debian/patches/series
--- cpuid-20130610/debian/patches/series        2013-08-19 06:20:24.000000000 
+1000
+++ cpuid-20130610/debian/patches/series        2013-08-19 20:14:53.000000000 
+1000
@@ -1 +1,2 @@
 makefile-fix.patch
+linux-major.h.patch

--- End Message ---
--- Begin Message ---
Source: cpuid
Source-Version: 20130610-2

We believe that the bug you reported is fixed in the latest version of
cpuid, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 720...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrey Rahmatullin <w...@wrar.name> (supplier of updated cpuid package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 21 Aug 2013 00:54:11 +0600
Source: cpuid
Binary: cpuid
Architecture: source amd64
Version: 20130610-2
Distribution: unstable
Urgency: low
Maintainer: Andrey Rahmatullin <w...@wrar.name>
Changed-By: Andrey Rahmatullin <w...@wrar.name>
Description: 
 cpuid      - tool to dump x86 CPUID information about the CPU(s)
Closes: 720164
Changes: 
 cpuid (20130610-2) unstable; urgency=low
 .
   * Disable the --kernel option on non-Linux (Closes: #720164)
   * Use sched_setaffinity(2) instead of direct syscall(__NR_sched_setaffinity)
   * Build on Linux and kFreeBSD only
Checksums-Sha1: 
 79fa940560cba53ec4446b3850fbaaa3051d4360 1884 cpuid_20130610-2.dsc
 ca151e7d72c36019cb22cde0aa78e8d0281a2891 4753 cpuid_20130610-2.debian.tar.gz
 bbaf6546fe7b6993cdb00e240d6f3493b5f7ddbc 64770 cpuid_20130610-2_amd64.deb
Checksums-Sha256: 
 5016e4ac9d66297327c9908c41e2d9ac148fad15f065f985a6db31ceb403369e 1884 
cpuid_20130610-2.dsc
 605ceb4177e876248bbd40fa7ccff6058c85fe79c1e84b86dae70a55fafb6922 4753 
cpuid_20130610-2.debian.tar.gz
 55a0008ccb435cb437ed4d6dc9627ce7467093317173208e5604d40066a6390f 64770 
cpuid_20130610-2_amd64.deb
Files: 
 0ea6172d4640f15dcb0beba01efbeb7e 1884 admin optional cpuid_20130610-2.dsc
 009694da73f1453545132815c49d9295 4753 admin optional 
cpuid_20130610-2.debian.tar.gz
 7d86c740939cb8c732390c6ca25e4c25 64770 admin optional 
cpuid_20130610-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSE8GNAAoJEJWkL+g1NSX51PIP/iUjcJvFdctb9nuQKFSRRYZZ
7DVKNaS5jDCUV693U+CiyNy+pGFHy9KG2FToeECp5TcNGUMKekaeCNohTa099aTo
49cca/j6ELNOaMZqbKJaYV4u5b3nz5bU2hSXagHmHcJZ0GumWC8/WHy/dYVtfqXc
oeTnu/UaK0oYzzMe7P6HYnax3O8BivbgMyXWRb1OOUOSElQYoqAddrowONOhbphA
pKNoyGJbnxHk0VE6avxa2OobI8NACNgLFsSDA/Xq+iurxzO3HZAnke25I2EQv2bp
nMWTOq0vVP19daVMTBMmZk+siciEs4A4dViQFKOdm16fRGmZc0F6QJaktIlUX/37
V8hP5xIlM+pI5zZvaFmChJodvCL39X0IY6G9I0bM6ziIJoSWsnV9AlTJKcUDhy26
JAMp6iJEGQpI5OYQ+UaXsFzNPIeYfHBPJB+zdKvg1JHgBfJT79B/MGPvsNe3HnBp
92maRsPfpRasFD9bxpgfPYrjanMTSdsEgFr+pjKpB4gCTk8RHNEpE1jcqGYxmMma
0Qare1iO9q3RkUhZjUMNJjXVkSMZGYtlEOfkQ9ooYSzYW/STqxEmKPtTSfV4cwN8
E7wZ3COJxp5pJBstuQ/moaClrgaJNJQtBtvh6ihsK+sYPPIspX2P3D7hzF579z9s
4fCvyMdJhhTOG2DDnGd0
=uX82
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to