Your message dated Sat, 06 Aug 2016 17:19:21 +0000
with message-id <[email protected]>
and subject line Bug#772431: fixed in spectrwm 3.0.2-1
has caused the Debian Bug report #772431,
regarding spectrwm: fix FTBFS with ld --as-needed
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 [email protected]
immediately.)
--
772431: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772431
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spectrwm
Version: 2.6.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu vivid ubuntu-patch
Dear Maintainer,
In Ubuntu, we use ld --as-needed by default in the toolchain, and you package
fails to build from source with that option enabled because of the way
libraries are linked.
Even though Debian doesn't use ld --as-needed by default, it is a good idea to
make this change so that (1) we don't have to maintain a delta and (2) you
don't need to change anything in case Debian makes this default in the future.
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/linking-order.diff: Change linking order to fix FTBFS with
ld --as-needed.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers vivid-updates
APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'),
(100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-25-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru spectrwm-2.6.0/debian/patches/linking-order.diff spectrwm-2.6.0/debian/patches/linking-order.diff
--- spectrwm-2.6.0/debian/patches/linking-order.diff 1969-12-31 19:00:00.000000000 -0500
+++ spectrwm-2.6.0/debian/patches/linking-order.diff 2014-12-06 03:00:00.000000000 -0500
@@ -0,0 +1,20 @@
+--- a/linux/Makefile
++++ b/linux/Makefile
+@@ -20,7 +20,7 @@
+ all: spectrwm libswmhack.so.$(LIBVERSION)
+
+ spectrwm: spectrwm.o linux.o
+- $(CC) $(MAINT_LDFLAGS) $(LDFLAGS) $(MAINT_LDLIBS) $(LDLIBS) -o $@ $+
++ $(CC) $(MAINT_LDFLAGS) $(LDFLAGS) -o $@ $+ $(MAINT_LDLIBS) $(LDLIBS)
+
+ spectrwm.o: ../spectrwm.c ../version.h tree.h util.h
+ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(MAINT_CPPFLAGS) $(CPPFLAGS) -c -o $@ $<
+@@ -29,7 +29,7 @@
+ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(MAINT_CPPFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ libswmhack.so.$(LIBVERSION): swm_hack.so
+- $(CC) $(MAINT_LDFLAGS) $(LDFLAGS) $(MAINT_LDLIBS) $(LDLIBS) -Wl,-soname,$@ -shared -fpic -o $@ $+
++ $(CC) $(MAINT_LDFLAGS) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o $@ $+ $(MAINT_LDLIBS) $(LDLIBS)
+
+ swm_hack.so: ../lib/swm_hack.c
+ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(MAINT_CPPFLAGS) $(CPPFLAGS) -fpic -DPIC -c -o $@ $<
diff -Nru spectrwm-2.6.0/debian/patches/series spectrwm-2.6.0/debian/patches/series
--- spectrwm-2.6.0/debian/patches/series 2014-09-09 16:52:40.000000000 -0400
+++ spectrwm-2.6.0/debian/patches/series 2014-12-06 02:55:42.000000000 -0500
@@ -4,3 +4,4 @@
D01-skip-compatibility-symlinks.diff
D02-change-default-programs.diff
D03-make-default-programs-optional.diff
+linking-order.diff
--- End Message ---
--- Begin Message ---
Source: spectrwm
Source-Version: 3.0.2-1
We believe that the bug you reported is fixed in the latest version of
spectrwm, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrea Bolognani <[email protected]> (supplier of updated spectrwm 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 31 Jul 2016 19:45:51 +0200
Source: spectrwm
Binary: spectrwm
Architecture: source
Version: 3.0.2-1
Distribution: unstable
Urgency: low
Maintainer: Andrea Bolognani <[email protected]>
Changed-By: Andrea Bolognani <[email protected]>
Description:
spectrwm - dynamic tiling window manager
Closes: 772431
Changes:
spectrwm (3.0.2-1) unstable; urgency=low
.
* New upstream release
- Closes: #772431 (fix FTBFS with ld --as-needed)
.
* Changes to default programs
- Use slock as the default screen locking program
- Verify all default programs on startup
.
* Changes to package relationships
- Upgrade x-terminal-emulator from Recommends: to Depends:
- Add Depends: on libxt6
- It gets dlopen()ed by libswmhack
.
* New patches
- U01-fix-man-errors.diff
- U02-improve-linking.diff
- Minimize library dependencies
- U02-enable-pie.diff
- Provide additional hardening
.
* Updated patches
- D01-adapt-libswmhack.diff
- Simplify and make downstream only
.
* Dropped patches
- U02-update-italian-man-page.diff
- Merged upstream
- D03-make-default-programs-optional.diff
- No longer needed (see above)
.
* Other
- Enable +bindnow hardening option
- Update Homepage: and others to point to GitHub
- Use HTTPS wherever possible
- Update Standards-Version to 3.9.8
- No changes needed
Checksums-Sha1:
2506cb92cad9b25c0fe80ce1fa26a474c7b7eb79 2036 spectrwm_3.0.2-1.dsc
9eb64b7d21f7cd117c9a2d1a0ccc4d176aecc6b4 147355 spectrwm_3.0.2.orig.tar.gz
bf2b1600780e13be8c5d6fac59c67c40b965e5c8 8688 spectrwm_3.0.2-1.debian.tar.xz
Checksums-Sha256:
d91d331a4dea426cc20a6c6185ab1c71cbc956b5f8b606d371af7230ef7def0a 2036
spectrwm_3.0.2-1.dsc
82ce0280039de642c41684f3096abb0388926b60c37987ca1dbc53a0913cab18 147355
spectrwm_3.0.2.orig.tar.gz
cf3803ea8010042ef2270200e4120e51ef2bded5e58181b802f64d96c06166b0 8688
spectrwm_3.0.2-1.debian.tar.xz
Files:
2c0cff1611909bae2a670140873ee4f0 2036 x11 optional spectrwm_3.0.2-1.dsc
b95af7630bfc1cae4de07286ac7e2318 147355 x11 optional spectrwm_3.0.2.orig.tar.gz
953a0670156d361408aa15cc2cf59058 8688 x11 optional
spectrwm_3.0.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXpho/AAoJEAVLu599gGRCOe4QAKYcCNm739hl/ftVvWLG1OcJ
+CFpHo4o0KBeI8ISVaSP98U8ELrhVe/sXUhZhfkPESWQc4f1Aq2qv7niNiORPD6w
bJYNxz7PNaTgbNA+0EToZbZu7MOMmQJ+lIDd7RnDmLNZSbFSJ//MIGMsQlSp8Xk0
EQjeKjbMEKR2m361LtN1vGOzP1UpJ3LJnvKO29Hm+G5siIdGLzpt+p8VjIan5Ix0
FrfUh5wrax9w/L0KT9nz+8C0ZAWckw2Zgxz08b+23eduW/5lVRlWPw2q043mQfKo
Cj4zc5isELZ8qhyJjFfC0Zh4zXA11wZHC9XkWDqakIPDWjjNr/4mKZVrKsknQXum
eR/fw/SgzdwIbZU24HJaYp96Qq4a5MRkqu9DMXfLg5Q8zDuuQ4qmADjB6h4EQBTK
0QIXGTWw4jYKbunt8JxFdKvcx0DC5iAIPWsyQIWvqxjFD5NBDFZxrtw2Sy1j7WOm
1WGT6M4YQAtbPWEmPhz29pM1171XQjTYiufS+71AxQ3V1EYSJXGLakB8EzUbS+8R
iY/KO/GHry+1vbtD7Nhulq2C359vgKp8466yvyBFvr6JAKYR1S6qbmd7WzK0x7GD
VVtz8TrHRmHBPuBj5WNDBMtBR37AqwKWyzE0Ivu+oXBDidj3UYnPmkv9HF8Whws6
HuzGQZ5+HHaD5Qmzbckf
=UyG9
-----END PGP SIGNATURE-----
--- End Message ---