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

Bug#838205: marked as done (psutils FTCBFS: uses build architecture compiler)



Your message dated Sat, 21 Jan 2017 21:11:53 +0000
with message-id <E1cV2wz-000CPz-Hk@fasolo.debian.org>
and subject line Bug#838205: fixed in psutils 1.17.dfsg-4
has caused the Debian Bug report #838205,
regarding psutils FTCBFS: uses build architecture compiler
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 owner@bugs.debian.org
immediately.)


-- 
838205: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838205
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: psutils
Version: 1.17.dfsg-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

psutils fails to cross build from source, because it uses the build
architecture compiler. Even though cdbs passes a suitable CC environment
variable, the upstream build system chooses to override that. After
passing CC as a command line variable, the cross build succeeds. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru psutils-1.17.dfsg/debian/changelog psutils-1.17.dfsg/debian/changelog
--- psutils-1.17.dfsg/debian/changelog	2016-08-27 03:59:27.000000000 +0200
+++ psutils-1.17.dfsg/debian/changelog	2016-09-18 14:41:23.000000000 +0200
@@ -1,3 +1,10 @@
+psutils (1.17.dfsg-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass CC as a cmdline option to make.  (Closes: #-1) 
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 18 Sep 2016 14:41:00 +0200
+
 psutils (1.17.dfsg-3) unstable; urgency=medium
 
   * Orphan package
diff --minimal -Nru psutils-1.17.dfsg/debian/rules psutils-1.17.dfsg/debian/rules
--- psutils-1.17.dfsg/debian/rules	2016-08-27 03:59:27.000000000 +0200
+++ psutils-1.17.dfsg/debian/rules	2016-09-18 14:40:56.000000000 +0200
@@ -4,6 +4,10 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
 
 # Include cdbs rules files.
 include /usr/share/cdbs/1/class/makefile.mk
@@ -11,7 +15,7 @@
 
 CURDIR := $(shell pwd)
 DEB_MAKE_CLEAN_TARGET = realclean
-DEB_MAKE_BUILD_TARGET = prefix=/usr all
+DEB_MAKE_BUILD_TARGET = prefix=/usr CC=$(CC) all
 DEB_MAKE_INSTALL_TARGET = prefix=$(CURDIR)/debian/psutils/usr \
 	  MANDIR=$(CURDIR)/debian/psutils/usr/share/man/man1 \
 	  install

--- End Message ---
--- Begin Message ---
Source: psutils
Source-Version: 1.17.dfsg-4

We believe that the bug you reported is fixed in the latest version of
psutils, 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 838205@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ian Jackson <ijackson@chiark.greenend.org.uk> (supplier of updated psutils 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 21 Jan 2017 19:39:50 +0000
Source: psutils
Binary: psutils
Architecture: source
Version: 1.17.dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
Changed-By: Ian Jackson <ijackson@chiark.greenend.org.uk>
Description:
 psutils    - PostScript document handling utilities
Closes: 663258 726468 752161 777699 797528 838205
Changes:
 psutils (1.17.dfsg-4) unstable; urgency=medium
 .
   [ Antony Pavlov ]
   * psmerge: Use ps2write.  (pswrite is gone from gs.)
     Closes:#797528.
 .
   [ Bjarni Ingi Gislason ]
   * psnup(1): Fix manpage syntax error.  Closes:#663258.
   * pstops(1): Remove unneeded backslash.  Closes:#726468.
 .
   [ Helmut Grohne <helmut@subdivi.de> ]
   * Fix FTCBFS: Pass CC as a cmdline option to make.  Closes:#838205.
 .
   [ Reuben Thomas ]
   * psnup(1): Remove a confusing and unnecessary qualification
     about units.  Apropos of #695179.
 .
   [ Ian Jackson ]
   * Make myself the maintainer.  Closes:#777699.
   * Fix the upstream URL to refer to Reuben Thomas's github.
     Closes:#752161.
Checksums-Sha1:
 6a34bfd09cd032dd9e21d21ef614174487c3b170 1544 psutils_1.17.dfsg-4.dsc
 de7f08b7e822cdc0022aeeac6d76e2e177fc58bb 23392 psutils_1.17.dfsg-4.debian.tar.xz
Checksums-Sha256:
 ed248b645c93b2a1686d9dffdca6403174c50e5a6f388919ed01a29b55d2f7f2 1544 psutils_1.17.dfsg-4.dsc
 4f68c68f8b89b305068d64fab43e5a56579120137ec06c5e880c7e62775487dc 23392 psutils_1.17.dfsg-4.debian.tar.xz
Files:
 4f5e917052bf9bb77e1c272410d70239 1544 text optional psutils_1.17.dfsg-4.dsc
 4bcbd3e85ad9135c5378e4034e789831 23392 text optional psutils_1.17.dfsg-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAliDuWkACgkQ4+M5I0i1
DTn6UAf9HEPi9rbexVjnVA4aQZs/t53/cDrUTlhQzht4KWj0HOdAD/jQGpnRNg4M
Z1K5668Eez/6wjWgqoNmdkoxPTHQhiyDSAyjiUmQtSwl/VWnp4ycbEHLU1Hgq67d
J6o1g05kVvH0oI+TDi3awEwYR65jnDBMhRS3FzHxm95SnC+UXBA8I/zZZsti79Lq
ULqYADhRNgFFZ2b3PUCdaGmwi9rmrTiIxmhgCPivc/UTLjoBIqBaCU1PiaPK7F/F
WC6gsyypwxK9hD/+B+uMKjTd53EsTOWcM3LEQj45/lfnc0d+4i1WBSbDXdSQFyDR
joYv8C2l3n0rqeP4BFgS7Mw+AbQt6A==
=bgiI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: