Your message dated Sat, 15 Dec 2012 09:04:45 +0000
with message-id <e1tjnfp-0007ym...@franck.debian.org>
and subject line Bug#695566: fixed in json-c 0.10-1.2
has caused the Debian Bug report #695566,
regarding json-c: Please move libjson to /lib
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 ow...@bugs.debian.org
immediately.)
--
695566: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695566
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: json-c
Version: 0.10-1.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch
Hi Fabien,
As you may be aware, upstart now uses json-c for serializing its state on
re-exec. This means that on at least some systems, /sbin/init has a
dependency on libjson.so.0; so per the FHS, libjson ought to be in /lib
rather than in /usr/lib.
I believe that in the not-too-distant future, we will wish to follow
Fedora's lead and drop the separation between / and /usr in Debian and
Ubuntu. But for right now, this isn't possible without breaking users'
systems; so I've pushed the attached patch to the json-c package in Ubuntu.
I would appreciate it if you could apply the same patch in Debian, so users
with /usr on a separate partition will also be able to use upstart.
Thanks for considering the patch.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/control'
--- debian/control 2012-08-27 12:56:32 +0000
+++ debian/control 2012-12-10 08:29:16 +0000
@@ -1,7 +1,7 @@
Source: json-c
Priority: extra
Maintainer: fabien boucher <fabien.dot.bouc...@gmail.com>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), dh-exec
Standards-Version: 3.9.3.0
Section: libs
Homepage: http://oss.metaparadigm.com/json-c/
=== modified file 'debian/libjson0.install' (properties changed: -x to +x)
--- debian/libjson0.install 2012-05-18 17:21:25 +0000
+++ debian/libjson0.install 2012-12-10 03:23:21 +0000
@@ -1 +1,2 @@
-usr/lib/*/libjson.so.0*
+#!/usr/bin/dh-exec
+usr/lib/${DEB_HOST_MULTIARCH}/libjson.so.0* lib/${DEB_HOST_MULTIARCH}/
=== modified file 'debian/rules'
--- debian/rules 2012-08-27 12:56:32 +0000
+++ debian/rules 2012-12-10 07:12:19 +0000
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
override_dh_auto_clean:
if test -e Makefile; then \
make clean; \
@@ -14,6 +16,13 @@
rm -R tests/testSubDir; \
fi
+override_dh_auto_install:
+ dh_auto_install
+ # we install libjson into /lib, so fix the link
+ T=$$(readlink debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libjson.so); \
+ rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libjson.so; \
+ ln -s /lib/$(DEB_HOST_MULTIARCH)/$$(basename $$T) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libjson.so
+
override_dh_strip:
dh_strip --dbg-package=libjson0-dbg
--- End Message ---
--- Begin Message ---
Source: json-c
Source-Version: 0.10-1.2
We believe that the bug you reported is fixed in the latest version of
json-c, 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 695...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <vor...@debian.org> (supplier of updated json-c 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 14 Dec 2012 16:28:07 -0800
Source: json-c
Binary: libjson0 libjson0-dev libjson0-dbg
Architecture: source amd64
Version: 0.10-1.2
Distribution: unstable
Urgency: medium
Maintainer: fabien boucher <fabien.dot.bouc...@gmail.com>
Changed-By: Steve Langasek <vor...@debian.org>
Description:
libjson0 - JSON manipulation library - shared library
libjson0-dbg - JSON manipulation library - debug symbols
libjson0-dev - JSON manipulation library - development files
Closes: 695566
Changes:
json-c (0.10-1.2) unstable; urgency=medium
.
* Medium-urgency upload for RC bugfix.
* Non-maintainer upload, with approval of the maintainer.
* Install libjson to /lib instead of /usr/lib, since upstart 1.6 needs it.
Closes: #695566.
Checksums-Sha1:
48e797501714a4d20596141872ccdd9fc5d34442 1803 json-c_0.10-1.2.dsc
181276b5cece21207745b19fbca952d3f965d555 3930 json-c_0.10-1.2.debian.tar.gz
f1d6da944ce0cbec64ec217410cd99fe73f639e4 24180 libjson0_0.10-1.2_amd64.deb
03749c33f0b909dc6959231b3d2fd1bf67cc8ddd 96392 libjson0-dev_0.10-1.2_amd64.deb
fa176b2702b2888a2f0ecf2d9cb1ab43689da6db 36052 libjson0-dbg_0.10-1.2_amd64.deb
Checksums-Sha256:
0e43bda97e03663600088b0cbc0ed2aaa5179283a4f481a8881b836f418b9867 1803
json-c_0.10-1.2.dsc
b2154dc98e7913a2574f70d36b51b513640fc19961fcf54e5d8826872738d650 3930
json-c_0.10-1.2.debian.tar.gz
40c0e7d0580e5f290432a6e6f331baf1be73bf16b6827e78291fc08566fba666 24180
libjson0_0.10-1.2_amd64.deb
28ecd94b2f2f00dad29b808c09012c92135b787ec06ac457e06e9f69f8c6f9fb 96392
libjson0-dev_0.10-1.2_amd64.deb
90bb60fb27781db429eef7ce398745e6e61a5f2f317b9fca609a1a07d25dd25d 36052
libjson0-dbg_0.10-1.2_amd64.deb
Files:
e07af507c9a8c4f0c5e9d2c6e630230a 1803 libs extra json-c_0.10-1.2.dsc
b510241061297ca7a9a31b0937e99959 3930 libs extra json-c_0.10-1.2.debian.tar.gz
f5f3e13664cd3c1c65a299a4de0f3da9 24180 libs extra libjson0_0.10-1.2_amd64.deb
d66c7ffddddc45cdd2475cdb138249ce 96392 libdevel extra
libjson0-dev_0.10-1.2_amd64.deb
fefb05eff091078a3923648eb230a01c 36052 debug extra
libjson0-dbg_0.10-1.2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJQy8f6AAoJEFaNMPMhshM9oEEQALOqlYQ7/1rISAoUckMNRkSW
nZVCvrVSlTmDMEzVJNNZjSrV/N+gssMUhNXU+ataHZRED4iaCh/7lJksdjIH27KN
PCtf0W3oiiHROrI8q5mkS13KdQjfXztKnv1qMCzLQmsWliRpwNF9b9yvd+jIDfMb
e8ADZhgzVpZxRdB330fB4zdARGtPfcMgSI6n5c5WrPHL3Kye6bwDkw+dLIMF6tsi
U1Kyi4OAMacwNpoiAejV1f8wCQ38sQr+y73KSVxjuat5x2E04b9j0GTkSHtkzRvm
HdxDuHxMOVsGFthZSP438Q2gLNUA73kj6Gu7Qf9+kdhw/GwRTtwLTRyaiv9cKiHT
jdFuPa73MMDD7cjNeFeHg/giDW074+KC2OyN0iSa2sqbsRncVP4f4HqaP6s3HcZt
vrhP+0y/m+F/NIx3mvNhT/MvqAzc8yJsYSKHE5meU97ar6vxc29qxk5Za63XHQCC
q+Z5hewLNkL58KZs/okT8VDvw5b6KqllP91Rvzhg2lRcWBxRtElvMhaOopIEiwoG
L0oAPlkUbJZLqsleJKZj+HM7pUeZrnsASyQkvKeTjv8O0E3eE0j6F7I1eAbPXGJc
mL9yjo217dLqnfXysMeOWuiiMEERfLgYO/NuB85OlMvR2qXH0NqDhaXFfsoE91Uh
o4GUTvtMVTgHjLRJEz/g
=7wj+
-----END PGP SIGNATURE-----
--- End Message ---