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

Bug#955338: marked as done (sbcl: Please backport patch to fix build on kfreebsd-*)



Your message dated Wed, 01 Apr 2020 18:34:20 +0000
with message-id <E1jJiBw-000IVL-OU@fasolo.debian.org>
and subject line Bug#955338: fixed in sbcl 2:2.0.3-1
has caused the Debian Bug report #955338,
regarding sbcl: Please backport patch to fix build on kfreebsd-*
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.)


-- 
955338: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955338
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sbcl
Severity: normal
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd-amd64

Hi!

sbcl fails to build from source on kfreebsd-amd64 [1] the same way it did on
powerpc, so I sent a patch upstream which was merged to fix the issue the
same way as on powerpc [2].

Can you include the attached patch for the next upload to fix the build on
kfreebsd-*?

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=sbcl&arch=kfreebsd-amd64&ver=2%3A2.0.2-2&stamp=1584178866&raw=0
> [2] https://github.com/sbcl/sbcl/commit/d85d2f8c39e7fc6feca3ebf6f494c961dc5226d8

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>From d85d2f8c39e7fc6feca3ebf6f494c961dc5226d8 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Mon, 30 Mar 2020 01:04:48 +0200
Subject: [PATCH] kfreebsd: Add -no-as-needed to OS_LIBS

---
 src/runtime/Config.x86-64-gnu-kfreebsd | 2 +-
 src/runtime/Config.x86-gnu-kfreebsd    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/runtime/Config.x86-64-gnu-kfreebsd b/src/runtime/Config.x86-64-gnu-kfreebsd
index 89975c48f..6fd4cdd05 100644
--- a/src/runtime/Config.x86-64-gnu-kfreebsd
+++ b/src/runtime/Config.x86-64-gnu-kfreebsd
@@ -15,7 +15,7 @@ include Config.x86-64-bsd
 # worked fine for most things, but LOAD-FOREIGN & friends require
 # dlopen() etc., which in turn depend on dynamic linking of the
 # runtime.
-OS_LIBS += -lutil -ldl
+OS_LIBS += -lutil -ldl -Wl,-no-as-needed
 
 # use libthr (1:1 threading).  libpthread (m:n threading) does not work.
 ifdef LISP_FEATURE_SB_THREAD
diff --git a/src/runtime/Config.x86-gnu-kfreebsd b/src/runtime/Config.x86-gnu-kfreebsd
index 385209023..e49dde4a6 100644
--- a/src/runtime/Config.x86-gnu-kfreebsd
+++ b/src/runtime/Config.x86-gnu-kfreebsd
@@ -17,7 +17,7 @@ include Config.x86-bsd
 # runtime.
 LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
 
-OS_LIBS += -lutil -ldl
+OS_LIBS += -lutil -ldl -Wl,-no-as-needed
 
 # use libthr (1:1 threading).  libpthread (m:n threading) does not work.
 ifdef LISP_FEATURE_SB_THREAD
-- 
2.26.0


--- End Message ---
--- Begin Message ---
Source: sbcl
Source-Version: 2:2.0.3-1
Done: =?utf-8?q?S=C3=A9bastien_Villemot?= <sebastien@debian.org>

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

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated sbcl 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: Wed, 01 Apr 2020 18:51:36 +0200
Source: sbcl
Architecture: source
Version: 2:2.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Closes: 939453 954031 955338
Changes:
 sbcl (2:2.0.3-1) unstable; urgency=medium
 .
   * New upstream release
   * Drop powerpc-ppc64el-fix-LINKFLAGS.patch, no longer needed
   * kfreebsd-linkflags.patch: new patch by John Paul Adrian Glaubitz,
     fixes FTBFS on kfreebsd-amd64 (Closes: #955338)
   * Try to build with clisp by default on archs for which sbcl has not
     yet been bootstrapped. Thanks to John Paul Adrian Glaubitz
     (Closes: #954031)
   * hppa.patch: new patch, fixes architecture detection on hppa
   * d/rules: fix architecture detection on ppc64 (Closes: #939453)
Checksums-Sha1:
 a3e0643e13852fa814bde1a5c49ac6c7bb9a7325 2463 sbcl_2.0.3-1.dsc
 6c3495c803802bb081d76224c30039724ff9ec49 6489521 sbcl_2.0.3.orig.tar.bz2
 3883b9584e434b979d91bc403386fc2644d101bf 75748 sbcl_2.0.3-1.debian.tar.xz
 1e82453d98844118929357fdc69ee0b9898b005e 10097 sbcl_2.0.3-1_amd64.buildinfo
Checksums-Sha256:
 887a1a7a4fab992f5752db070bb3bc51d413a6745cdb5a33ab50ad650d99ef45 2463 sbcl_2.0.3-1.dsc
 b5543f123214b2023ff5fc32dfd00b6cfeabd92c8edb33ad208842c4fd642f00 6489521 sbcl_2.0.3.orig.tar.bz2
 37eb97e923d2f4e93e68a09359da33f559381b8739d33545c821d6bd5a57fee9 75748 sbcl_2.0.3-1.debian.tar.xz
 f6e80688694521911dc847d67fdccb48ceba2ff2c50805a92347eee9c3a389ff 10097 sbcl_2.0.3-1_amd64.buildinfo
Files:
 789944404a920382025690aee919d896 2463 lisp optional sbcl_2.0.3-1.dsc
 37df91288b395717498a6dfea66fc0c1 6489521 lisp optional sbcl_2.0.3.orig.tar.bz2
 23964a272b934bc51ed9fefd0e8224b9 75748 lisp optional sbcl_2.0.3-1.debian.tar.xz
 c9aa7886eef6a938ee810307e21682eb 10097 lisp optional sbcl_2.0.3-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAl6E2oUACgkQLOzpNQ7O
vkq6rg/9FH7EURjsxuYDUXnt1E+4tr4iCaiCy3nN88cpLDRR5aI7tT6quRDqcGF6
gJOimkQW3Jy7/HcmJZdkN+8maaf1dLDXKDitS1z+k46FhDPWnwi1AM/BzYgHfqsK
KdYOEHatAbd84MLj67OFdugbrwzmJ64Av3aD20Bt43H6BzfNkl5FT59iOP3aUhdv
9r4Ph/8P5NjMRGwFE5iK//XCtuPclHHLJrvCO7vfvTT0gBX0XXyUBlT/Y765nnBL
JQ0jNBYYEQNtNLj4nkYWnlBxVmhgBfZAHDE2P42Rm5uElbPRvOZRAQkO09goqoEn
D+IsaYIvqducwWQYPLYo/53Ab57cShcn+qaD3h8L7DBeIKUIlC9G4fu1NyddqLSp
mkZRtkhGqJij6jSfsEXlwqPgvqxOHsYOodiHFLuUQv1GfhD9YuktlKLJtl01NA3/
BZUOSFwxEgocPBrzPeVlmLDeg0FZmUX1BxAxWI6IBGG5Esg6l0qQ0eNbgLp5Axa2
E2y/vZpJPMxR2XEgeF7KXzw+X1ER1qiZAoJQ5eRny+kahe1GyXm002W6wVKy/hKE
vJAypwL4Jmc61H7hvzKs/wcnTGQ/RpAE9m8JeYnu9JrmmJI2+mHiDpmVu7vHOi1m
4kocHAOkRTpG14C4Ih/qEPUM3w6kRlWzogYiCCl4wZWph24/i6s=
=dNyT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: