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

Bug#787071: marked as done (libffi: FTBFS with clang instead of gcc)



Your message dated Mon, 14 Dec 2015 18:51:09 +0000
with message-id <E1a8YDF-0003eI-6x@franck.debian.org>
and subject line Bug#787071: fixed in libffi 3.2.1-4
has caused the Debian Bug report #787071,
regarding libffi: FTBFS with clang instead of gcc
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.)


-- 
787071: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787071
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libffi
Version: 3.1
Severity: minor

Dear Maintainer,

Hello,
Using the rebuild infrastructure, your package fails to build with clang instead of gcc.

Error message is:
clang: error: unsupported argument '--gdwarf2' to option 'Wa,'

Full build log is available here:
http://clang.debian.net/logs/2015-01-23/libffi_3.1-2_unstable_clang.log

Thanks,
Joseph

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.4-2-ARCH (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libffi-3.1/debian/rules libffi-3.1/debian/rules
--- libffi-3.1/debian/rules	2014-06-04 13:28:42.000000000 +0000
+++ libffi-3.1/debian/rules	2015-05-26 02:19:36.000000000 +0000
@@ -45,7 +45,10 @@
 		--prefix=/usr \
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info \
-		CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CCASFLAGS="$(CFLAGS) -Wa,--gdwarf2" LDFLAGS="-Wl,-z,defs $(LDFLAGS)"
+		CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs $(LDFLAGS)" \
+# clang doesn't accept --gdwarf2, it should be -gdwarf-2
+		if [ `${CC} -v 2>&1 | grep -c "clang version"` -eq 1 ]; then CCASFLAGS="$(CFLAGS) -Wa,-gdwarf-2"; \
+		else CCASFLAGS="$(CFLAGS) -Wa,--gdwarf2"; fi
 	touch $@
 #		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 

--- End Message ---
--- Begin Message ---
Source: libffi
Source-Version: 3.2.1-4

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated libffi 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: Mon, 14 Dec 2015 19:05:27 +0100
Source: libffi
Binary: libffi-dev libffi6 libffi6-dbg libffi6-udeb
Architecture: source amd64
Version: 3.2.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 libffi-dev - Foreign Function Interface library (development files)
 libffi6    - Foreign Function Interface library runtime
 libffi6-dbg - Foreign Function Interface library runtime (debug symbols)
 libffi6-udeb - Foreign Function Interface library runtime (udeb)
Closes: 751907 787071 803039
Changes:
 libffi (3.2.1-4) unstable; urgency=medium
 .
   * Fix CCASFLAGS. Closes: #787071.
   * Build using dh-autoreconf. Closes: #803039.
   * Configure with --enable-pax_emutramp. Closes: #751907.
Checksums-Sha1:
 329942f05f66f41e402f3bc45047935f10fe0abf 1914 libffi_3.2.1-4.dsc
 475bdd3466e8f86c3d9f1fdba738a651e830d726 8932 libffi_3.2.1-4.debian.tar.xz
 b1e776e95474fabb01451f8d8c06a805ba3d1487 161340 libffi-dev_3.2.1-4_amd64.deb
 61ef53ba3a851e2919fd8448c37ebcd3d25d96c0 37562 libffi6-dbg_3.2.1-4_amd64.deb
 d3978904c9d2db678c81fd3405de6d3ee29158c9 15008 libffi6-udeb_3.2.1-4_amd64.udeb
 e09899920696e45c66655cb11277e4dfc5ebce67 20382 libffi6_3.2.1-4_amd64.deb
Checksums-Sha256:
 e2bdb4202f1c8be9d3cec5bf459a4a1619f494241938d982d6029e15a8b1da9e 1914 libffi_3.2.1-4.dsc
 4d7d5f9172e8a8d3e412ed47e14755e27a0657054a7786b578eb6327b0d08b2d 8932 libffi_3.2.1-4.debian.tar.xz
 c6f32efe9b9eb5d1699ce9204fb1d42841c403c2623df1c81bc216bd3a32ca40 161340 libffi-dev_3.2.1-4_amd64.deb
 3cc0108fe25bc30134f2c29c462177310b08c10a0039ee5f9a9293c17699ee01 37562 libffi6-dbg_3.2.1-4_amd64.deb
 eee213425d66bb3d961dce970d04c4e363c8dd881643a953bc6f25cacb615f76 15008 libffi6-udeb_3.2.1-4_amd64.udeb
 0e09dff6fdd6985aaf8c18a3b631d865dd75f323fde248d2f224745ec75d41a0 20382 libffi6_3.2.1-4_amd64.deb
Files:
 95b1ff560d61171f798a2f4b884b2ab2 1914 libs optional libffi_3.2.1-4.dsc
 5780e8609158ad632a068970fbdd05b9 8932 libs optional libffi_3.2.1-4.debian.tar.xz
 9611bdcc0cd3cabb21ee0f962de481a6 161340 libdevel optional libffi-dev_3.2.1-4_amd64.deb
 7d18b27d23d26885e8875172bd20a467 37562 debug extra libffi6-dbg_3.2.1-4_amd64.deb
 b1be15d5285d1508fec3b385e9201a33 15008 debian-installer optional libffi6-udeb_3.2.1-4_amd64.udeb
 e9147131cec0937fc20aa021782a9eca 20382 libs optional libffi6_3.2.1-4_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWbw4ZAAoJEL1+qmB3j6b1/4wP/2GO5wFwBRCA3cFd0sBFkzEx
zu4FOIqQQRveqYo6haVA4oTH/lBOrTFEzu0ECLf/5NciD8hVqdFCrehT7bqRdQ6O
pNm7SwPN1E749lg7xpGcIkgbJCFfw9FtU5kLEuSR8JF7Bu0o/YjFWfUgV26WNUM7
BYRMDmyq6u2Gw2+jhj7jXT2eAtV7AZSzKQggpkMiHCwQ35bndl3PZil3ch+d3+us
PBQzPmpKB7SDUL1Vj9QleI7M2Nx2+EbvukuL0PeRAzOgGgKB6F0BYVjZ3XNQV3ft
X2wdOk8WmMQD74mpYqZd1vbxr1xH1A1y+ueYJ1jfPNb6rZq/mRLfVg+p5rPQnMUJ
9quIPaLWpITAOKcV8WTKJO5gbZSTULotJHW2qLxTJs7ipqX8nMsUVcoCNM1uszah
mKLXvezMgDirgBvcEnxgMh2PvSGgEHnDwvoJklLvJMKdeLd+JxVxwp3WkEDjZcpg
vZc7AS8dVClkm1m8RsPMpSd7jwgEPKl0cw4p7/vSqtuLm/jCg8KjaQiHOxz1t+NR
mTIO+LAaP4S1uwlW9h8kL3U2dYMDk1u3KPEpDWbEWaRKdpsOzTlAikpbTzGRiegC
cDLcK+GpZ0PyQOOpOWAlE/0eqsHtqd/jPClyZXb9nrBWIoz34s6AvwOw9dNyvwID
ZU+NVGhy3T1xa0MDOgn0
=hrmp
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: