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

Bug#787063: marked as done (klibc: FTBFS with clang instead of gcc)



Your message dated Thu, 30 Dec 2021 21:19:03 +0000
with message-id <E1n32pD-000Hb1-JP@fasolo.debian.org>
and subject line Bug#787063: fixed in klibc 2.0.10-1
has caused the Debian Bug report #787063,
regarding klibc: 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.)


-- 
787063: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787063
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: klibc
Version: 2.0.4
Severity: minor

Dear Maintainer,

Hello,

Using the rebuilding infrastructure, your package failed to build with clang instead of gcc. 

Error is like this:
http://clang.debian.net/status.php?version=3.6.0&key=FILE_NOT_FOUND

Full build log is available here:
http://clang.debian.net/logs/2015-03-25/klibc_2.0.4-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 klibc-2.0.4/debian/patches/clang_build.patch klibc-2.0.4/debian/patches/clang_build.patch
--- klibc-2.0.4/debian/patches/clang_build.patch	1970-01-01 00:00:00.000000000 +0000
+++ klibc-2.0.4/debian/patches/clang_build.patch	2015-05-24 14:33:14.000000000 +0000
@@ -0,0 +1,16 @@
+--- a/scripts/Kbuild.klibc
++++ b/scripts/Kbuild.klibc
+@@ -118,6 +118,13 @@
+ 		       -I$(KLIBCKERNELOBJ)/include -I$(srctree)/include)    \
+ 		     $(KLIBCARCHINCFLAGS)
+ 
++# when building with clang, clang's builtin header files's location is not in the search path.
++ifeq ($(shell $(KLIBCCC) -v 2>&1 | grep -c "clang version"),1)
++      CLANGVERSION    := $(shell $(KLIBCCC) --version 2>&1 | grep "clang version" | sed "s/.*version \([0-9]*\.[0-9]*\).*/\1/")
++      KLIBCCPPFLAGS   += -I/usr/include/clang/$(CLANGVERSION)/include
++endif
++	
++
+ # klibc definitions
+ KLIBCDEFS        += -D__KLIBC__=$(KLIBCMAJOR)          \
+ 		    -D__KLIBC_MINOR__=$(KLIBCMINOR)    \
diff -Nru klibc-2.0.4/debian/patches/series klibc-2.0.4/debian/patches/series
--- klibc-2.0.4/debian/patches/series	2014-10-05 00:13:46.000000000 +0000
+++ klibc-2.0.4/debian/patches/series	2015-05-24 14:29:36.000000000 +0000
@@ -9,3 +9,4 @@
 readlink-add-f-option.patch
 mount-implement-o-defaults.patch
 mips-update-archfcntl-h.patch
+clang_build.patch

--- End Message ---
--- Begin Message ---
Source: klibc
Source-Version: 2.0.10-1
Done: Ben Hutchings <benh@debian.org>

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

Debian distribution maintenance software
pp.
Ben Hutchings <benh@debian.org> (supplier of updated klibc 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: SHA512

Format: 1.8
Date: Thu, 30 Dec 2021 21:54:47 +0100
Source: klibc
Architecture: source
Version: 2.0.10-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <benh@debian.org>
Closes: 787063
Changes:
 klibc (2.0.10-1) unstable; urgency=medium
 .
   * New upstream version:
     - Build fixes for Clang (Closes: #787063):
       - Kbuild: Fix include path for Clang builds
       - sparc64: Remove redundant/unsupported compiler option -mptr64
       - s390: mmap: Change inline assembly to work with Clang
   * debian/rules: Pass through $(CC), $(CC_FOR_BUILD), and $(LD) to ease
     building with alternate toolchain
   * debian/rules: Build under debian/build
   * debian/rules: Put test output under debian/build
   * Fix warnings from dh_missing:
     - debian/not-installed: Note duplicate klibc-<hash>.so as not installed
     - debian/libklibc-dev.manpages: Install klcc.1 from debian/tmp
   * debian/*.{install,manpages}: Delete redundant debian/tmp/ prefixes
   * libklibc-dev: Add generated perl dependency for klcc
   * debian/*.lintian-overrides: Delete obsolete overrides
   * debian/libklibc.lintian-overrides: Override
     arch-dependent-file-not-in-arch-specific-directory
   * Kbuild: Use provided CFLAGS, LDFLAGS
   * debian/rules: Use -f{debug,macro}-prefix-map to keep build dir out of
     binaries
Checksums-Sha1:
 245433ad6971b33bfa564cf8ed8c2dc7b100ea67 2114 klibc_2.0.10-1.dsc
 4ae82c63fc83c49c8742c02dc372fb41bec7efe9 474068 klibc_2.0.10.orig.tar.xz
 cfb4c9aaa97774f153288d00c7a671dd71da7172 19168 klibc_2.0.10-1.debian.tar.xz
 b7b42f05772430787c19e5bb2a7c29e39e6f024c 5302 klibc_2.0.10-1_source.buildinfo
Checksums-Sha256:
 68ddeceb45e78fe2ee47430675d037ddd91ec4d418412dccf566e2abce7cacb8 2114 klibc_2.0.10-1.dsc
 662753da8889e744dfc0db6eb4021c3377ee7ef8ed66d7d57765f8c9e25939cd 474068 klibc_2.0.10.orig.tar.xz
 4de2709694d7b19fb79a44ca9b27f8033ea6136b2b3440b5e0c35c46ad9bd90d 19168 klibc_2.0.10-1.debian.tar.xz
 5be915c1a570ea6cf40045572394cdc81fabe2d80bec3b37ae54dbfd808e96ca 5302 klibc_2.0.10-1_source.buildinfo
Files:
 ddc829ec713e54fc5389d11fc7f12509 2114 libs optional klibc_2.0.10-1.dsc
 59289d3af07cecaf18888d1692d164eb 474068 libs optional klibc_2.0.10.orig.tar.xz
 5b23c4cf53433fd017ad0dc5138a3653 19168 libs optional klibc_2.0.10-1.debian.tar.xz
 823545bc27ed927aeebe8f377f31a920 5302 libs optional klibc_2.0.10-1_source.buildinfo

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

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmHOIFgACgkQ57/I7JWG
EQmsJw//VQMX8o4inr3cXX9UGufnROLo84hW4/i9VrL85YtXnxO9IttxLy4nYDWY
Fn5uosV1FRGpGuJm2/7VN3MZzRsugvIsIdTDE7U13LOcfSHkBt71EbOG7ZlGEuHY
P8nYj+z8NTgfAs4HhO2LQg1uqP48xRMZBDDznE0aBj5bYXYtJtprvYCUU/bT+5OS
la+Y5GlckxJWqzs7L0OcYpU3SidZNaIJmM7Pvjh+JWHwziXxflUrviJfa5tSpdKt
YxwjEL2nfBV1d87wGInj8V6kWNEZEwqNQgsP1hNesXrPzVZanz5J7+TNHMk9mK4P
La2wOupoAkgLTL7eS5mVDUUOfBaQ9bWwic9g1O+/Nx8zTcY9/7uLYx76lRrVXwOJ
+fqFDVjIkAuXCOksCWMyMUlReGNKLWBZhgB/ksJ03oVwmnKdO7iHtqqmmEm08tln
Y2ZOHU20xX01x15Je3SZ8jKCoctmaI7+mCGjoeVI22r7UzcRKUmyr+LpxvgzDOiN
N2XwgGhOVpSDzjdtgOpO+uVcKDmoQrWNu32tqTljF5e4wmvDnrTMMl9suXN0oU5r
ZZlLFB5lEEA3DMaBHL93jM4mbxX3u+l9la8c5ywCtanzRUjKnaheFeyzPb+oXM/+
H52q1t964oGJgRXO3P4XB/iFxhZEzlufazcS+mw4qHYMvneB/zc=
=Dm7T
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: