Your message dated Sat, 11 Jul 2009 17:00:06 +0000
with message-id <[email protected]>
and subject line Bug#519460: fixed in sg3-utils 1.27-0.1
has caused the Debian Bug report #519460,
regarding sg3-utils: Fix kfreebsd problems
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.)
--
519460: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519460
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sg3-utils
Version: 1.24-2
Severity: important
This patch fixes two problems on kfreebsd:
1) Missing dependency of libsgutils1-dev on libcam-dev. Due to
the .la file referencing -lcam packages building against
libsgutils1-dev
See e.g.
http://buildd.debian-ports.org/fetch.php?pkg=libgpod&arch=kfreebsd-i386&ver=0.7.0-2&stamp=1236642516&file=log&as=raw
2) FTBFS on kfreebsd due to the fact that LDFLAGS from the
environment overwrite the LDFLAGS in the makefile, so the
-lcam gets missing. I've hardcoded it in the only place it is
really needed.
Gruesse,
Frank
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sg3-utils depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libsgutils1 1.24-2 Utilities for working with generic
sg3-utils recommends no packages.
sg3-utils suggests no packages.
-- no debconf information
--
Frank Lichtenheld <[email protected]> http://www.debian.org/
http://blog.djpig.de/
diff -u sg3-utils-1.24/Makefile.freebsd sg3-utils-1.24/Makefile.freebsd
--- sg3-utils-1.24/Makefile.freebsd
+++ sg3-utils-1.24/Makefile.freebsd
@@ -10,7 +10,7 @@
LD = gcc
# LIBTOOL = libtool15
LIBTOOL = libtool
-LT_EXTRA = --tag=junk
+# LT_EXTRA = --tag=junk
EXECS = sg_readcap sg_turs sg_inq sg_start sg_modes sg_logs \
sg_senddiag sg_persist sg_requests sg_ses sg_luns \
@@ -74,7 +74,7 @@
$(LIBTOOL) $(LT_EXTRA) --mode=compile $(CC) -c sg_pt_freebsd.c
libsgutils.la: sg_lib.lo sg_cmds_basic.lo sg_cmds_extra.lo sg_pt_freebsd.lo
- $(LIBTOOL) $(LT_EXTRA) --mode=link $(LD) $(LDFLAGS) -o libsgutils.la sg_lib.lo \
+ $(LIBTOOL) $(LT_EXTRA) --mode=link $(LD) $(LDFLAGS) -lcam -o libsgutils.la sg_lib.lo \
sg_cmds_basic.lo sg_cmds_extra.lo sg_pt_freebsd.lo -rpath $(LIBDIR) \
-version-info $(LIB_VINFO)
diff -u sg3-utils-1.24/debian/changelog sg3-utils-1.24/debian/changelog
--- sg3-utils-1.24/debian/changelog
+++ sg3-utils-1.24/debian/changelog
@@ -1,3 +1,11 @@
+sg3-utils (1.24-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add dependency of libsgutils-dev on libcam-dev on kfreebsd-*
+ * Fix FTBFS on kfreebsd-* due to LDFLAGS set by dpkg-buildpackage.
+
+ -- Frank Lichtenheld <[email protected]> Thu, 12 Mar 2009 20:48:13 +0100
+
sg3-utils (1.24-2) unstable; urgency=low
* Cleaned up package description (Closes: #445920).
diff -u sg3-utils-1.24/debian/control sg3-utils-1.24/debian/control
--- sg3-utils-1.24/debian/control
+++ sg3-utils-1.24/debian/control
@@ -39,7 +39,7 @@
Package: libsgutils1-dev
Section: libdevel
Architecture: any
-Depends: libsgutils1, ${shlibs:Depends}
+Depends: libsgutils1, ${shlibs:Depends}, ${kfreebsd:Depends}
Recommends: sg3-utils
Description: Utilities for working with generic SCSI devices (developer files)
This package contains the <scsi/sg_cmds.h> and <scsi/sg_lib.h> header
diff -u sg3-utils-1.24/debian/rules sg3-utils-1.24/debian/rules
--- sg3-utils-1.24/debian/rules
+++ sg3-utils-1.24/debian/rules
@@ -78,6 +78,9 @@
dh_makeshlibs -V -v
dh_installdeb -a
dh_shlibdeps -ldebian/tmp/usr/lib -L libsgutils1
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+ echo kfreebsd:Depends=libcam-dev >>debian/libsgutils1-dev.substvars
+endif
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
--- End Message ---
--- Begin Message ---
Source: sg3-utils
Source-Version: 1.27-0.1
We believe that the bug you reported is fixed in the latest version of
sg3-utils, which is due to be installed in the Debian FTP archive:
libsgutils2-2_1.27-0.1_i386.deb
to pool/main/s/sg3-utils/libsgutils2-2_1.27-0.1_i386.deb
libsgutils2-dev_1.27-0.1_i386.deb
to pool/main/s/sg3-utils/libsgutils2-dev_1.27-0.1_i386.deb
sg3-utils_1.27-0.1.diff.gz
to pool/main/s/sg3-utils/sg3-utils_1.27-0.1.diff.gz
sg3-utils_1.27-0.1.dsc
to pool/main/s/sg3-utils/sg3-utils_1.27-0.1.dsc
sg3-utils_1.27-0.1_i386.deb
to pool/main/s/sg3-utils/sg3-utils_1.27-0.1_i386.deb
sg3-utils_1.27.orig.tar.gz
to pool/main/s/sg3-utils/sg3-utils_1.27.orig.tar.gz
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.
Martin Pitt <[email protected]> (supplier of updated sg3-utils 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: SHA1
Format: 1.8
Date: Mon, 22 Jun 2009 12:04:20 +0200
Source: sg3-utils
Binary: sg3-utils libsgutils2-2 libsgutils2-dev
Architecture: source i386
Version: 1.27-0.1
Distribution: unstable
Urgency: low
Maintainer: Eric Schwartz (Skif) <[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
libsgutils2-2 - utilities for working with generic SCSI devices (shared
libraries
libsgutils2-dev - utilities for working with generic SCSI devices (developer
files)
sg3-utils - utilities for working with generic SCSI devices
Closes: 506578 519460 532546 532547
Changes:
sg3-utils (1.27-0.1) unstable; urgency=low
.
[ Martin Pitt ]
* Non-maintainer upload; this package blocks DeviceKit, and maintainer is
apparently not active any more. Also clean up and modernize the package
somewhat while we are at it.
* New upstream release (required for current devicekit-disks).
(Closes: #532546). Upstream original tarball repacked to not contain
debian/ directory.
* Rename libsgutils1{,-dev} to libsgutils2-2{,-dev}, upstream bumped SONAME.
Also call the library libgsutils2-2 to match SONAME. Add
Conflicts/Replaces for "libsgutils2" to provide a clean upgrade from the
packages as provided by Upstream and Ubuntu.
* debian/rules: Update build rules for upstream Makefile → autotools switch.
* debian/rules: Fix cleaning a clean source package.
* Demote Recommends to Suggests; the library doesn't actually call the
binaries in sg3-utils. (Closes: #532547)
* Drop debian/*.dirs, unnecessary with dh_install.
* Drop sg3-utils.preinst, not necessary to deal with kernel 2.4 any more.
* Drop libsgutils2-0.install, libsgutils2-0-dev.install, these packages
don't exist.
* Drop libsgutils2.post{inst,rm}: Basically empty, debhelper will create its
own.
* libsgutils2-dev.install: Drop *.lo.
* debian/compat: 4 -> 7. Bump debhelper build-depends accordingly.
* debian/control: Bump Standards-Version to 3.8.2.
* debian/control: Modernize package description for Linux 2.6.
(Closes: #506578)
* debian/rules: Drop -k argument from dh_clean (thanks lintian).
.
[ Frank Lichtenheld ]
* debian/control, debian/rules: Add dependency of libsgutils-dev on
libcam-dev on kfreebsd-*. (Closes: #519460)
Checksums-Sha1:
3c2d06abc3f89d25e46e57dee773cb844cd4fca3 1051 sg3-utils_1.27-0.1.dsc
7fb367a4c39cbe2e8e5e02c39b015e86e712d9f2 856193 sg3-utils_1.27.orig.tar.gz
0149aa2085f88f44e5dd84affefa65d6ff7367da 3825 sg3-utils_1.27-0.1.diff.gz
85fa8e80a8351f10b3a460ba2a33945c93ef3445 525546 sg3-utils_1.27-0.1_i386.deb
f4eb3a41b7ef442a9582df0190f21c2664a700ce 65462 libsgutils2-2_1.27-0.1_i386.deb
5f797549a0d52658ff8af089c93f58deee1b272e 84760
libsgutils2-dev_1.27-0.1_i386.deb
Checksums-Sha256:
a531e94ced4f2acccc290537b7078233205883a5c7ed6740d0b824031022b724 1051
sg3-utils_1.27-0.1.dsc
955b72d1f579e6d8f04cde5bbfba0f96965df51240ee4c84affca211d0277396 856193
sg3-utils_1.27.orig.tar.gz
648f6fc87ce7fa83bca4c1c52e0aad11216e57992f79d18b8f678d55a9e1e293 3825
sg3-utils_1.27-0.1.diff.gz
1d13c481ab60dbaa1cfd7e6506f1bb148000c0183d39a4737a9ce314345fc897 525546
sg3-utils_1.27-0.1_i386.deb
fc3ba5fff2446e7aec1dfd8373aa6cde937c36207f779e3837e27b325423304d 65462
libsgutils2-2_1.27-0.1_i386.deb
aaa8f9b54aa2f174b7e4f3afaaaf34f0c8a6f00de60eea04d6539e80a3ece56a 84760
libsgutils2-dev_1.27-0.1_i386.deb
Files:
ed4181c1aaf89fe81f1eda0e864a8a56 1051 admin optional sg3-utils_1.27-0.1.dsc
74f2dfeed6cda9b1c758378b81fd0c53 856193 admin optional
sg3-utils_1.27.orig.tar.gz
5caf422d1933756dc18c7f4ea33eaec2 3825 admin optional sg3-utils_1.27-0.1.diff.gz
5313ecec7818fc81a29f445516fa96fb 525546 admin optional
sg3-utils_1.27-0.1_i386.deb
028b0664380b6c0d212a34dab9e3be2d 65462 libs optional
libsgutils2-2_1.27-0.1_i386.deb
bc703dad63eee8c70608b197d0ea5aac 84760 libdevel optional
libsgutils2-dev_1.27-0.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpYpoMACgkQDecnbV4Fd/J9IQCgpHmVg9rvgHF6ce2xVW8MER3P
+KwAoNd4RLQPwRHuOvLfhObrbgGsGbZH
=skJS
-----END PGP SIGNATURE-----
--- End Message ---