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

Bug#530180: marked as done (rpm: bashism in /bin/sh script)



Your message dated Sun, 14 Jun 2009 10:51:45 +0000
with message-id <E1MFnJR-0007h3-9Z@ries.debian.org>
and subject line Bug#530180: fixed in rpm 4.7.0-1
has caused the Debian Bug report #530180,
regarding rpm: bashism in /bin/sh script
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.)


-- 
530180: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530180
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: rpm
Severity: important
Version: 4.4.2.3-1
User: debian-release@lists.debian.org
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package)
check I've found your package containing a /bin/sh script making use
of a bashism.

checkbashisms' output:
> possible bashism in ./usr/lib/rpm/trpm line 242 (brace expansion):
>	  $dbg mkdir -p $root/{dev,X/RPMS,X/SRPMS}
> possible bashism in ./usr/lib/rpm/trpm line 281 (brace expansion):
>	  $dbg rm -f $top/{rpmrc-$dist,macros-$dist-$arch,macros}
> possible bashism in ./usr/lib/rpm/brp-sparc64-linux line 13 (brace
> expansion):
> for f in `find $RPM_BUILD_ROOT{,/usr,/usr/X11R6}/lib -maxdepth 1 -type f -o
> -type l 2>/dev/null`; do


Not using bash (or a Debian Policy conformant shell interpreter which doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours.
Please be aware that although bash is currently the default /bin/sh there was
a release goal for Lenny to make dash the default /bin/sh[1], and has been
proposed for squeeze as well[2].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html

For more information supporting this goal please refer to Debian Policy,
section 10.4, at:
http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts

Hints about how to fix bashisms:
Sometimes these bugs are already fixed in Ubuntu, look at the PTS.
If not already fixed you can read:
https://wiki.ubuntu.com/DashAsBinSh

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

[1]http://release.debian.org/lenny/goals.txt
[2]http://lists.debian.org/debian-release/2009/04/msg00133.html

Thank you,
Raphael Geissert



--- End Message ---
--- Begin Message ---
Source: rpm
Source-Version: 4.7.0-1

We believe that the bug you reported is fixed in the latest version of
rpm, which is due to be installed in the Debian FTP archive:

librpm-dev_4.7.0-1_amd64.deb
  to pool/main/r/rpm/librpm-dev_4.7.0-1_amd64.deb
librpm0_4.7.0-1_amd64.deb
  to pool/main/r/rpm/librpm0_4.7.0-1_amd64.deb
librpmbuild0_4.7.0-1_amd64.deb
  to pool/main/r/rpm/librpmbuild0_4.7.0-1_amd64.deb
librpmio0_4.7.0-1_amd64.deb
  to pool/main/r/rpm/librpmio0_4.7.0-1_amd64.deb
lsb-rpm_4.7.0-1_amd64.deb
  to pool/main/r/rpm/lsb-rpm_4.7.0-1_amd64.deb
python-rpm_4.7.0-1_amd64.deb
  to pool/main/r/rpm/python-rpm_4.7.0-1_amd64.deb
rpm_4.7.0-1.diff.gz
  to pool/main/r/rpm/rpm_4.7.0-1.diff.gz
rpm_4.7.0-1.dsc
  to pool/main/r/rpm/rpm_4.7.0-1.dsc
rpm_4.7.0-1_amd64.deb
  to pool/main/r/rpm/rpm_4.7.0-1_amd64.deb
rpm_4.7.0.orig.tar.gz
  to pool/main/r/rpm/rpm_4.7.0.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 530180@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michal Čihař <nijel@debian.org> (supplier of updated rpm 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 09 Jun 2009 19:12:51 +0200
Source: rpm
Binary: rpm lsb-rpm librpm0 librpmio0 librpmbuild0 librpm-dev python-rpm
Architecture: source amd64
Version: 4.7.0-1
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <nijel@debian.org>
Changed-By: Michal Čihař <nijel@debian.org>
Description: 
 librpm-dev - RPM shared library, development kit
 librpm0    - RPM shared library
 librpmbuild0 - RPM build shared library
 librpmio0  - RPM IO shared library
 lsb-rpm    - RPM Package Manager for LSB package building
 python-rpm - Python bindings for RPM
 rpm        - package manager for RPM
Closes: 366186 400889 421262 465871 519861 529558 530180 532257
Changes: 
 rpm (4.7.0-1) unstable; urgency=low
 .
   * New maintainer (Closes: #529558).
   * New Upstream Version (Closes: #519861).
     - Add new libraries to build depends (lzma, nspr, nss, magic).
     - Works correctly with new tar (Closes: #400889).
   * Adjust patches:
     - Dropped 02-hkp-disable.diff
     - Refreshed 09-prereq.diff
     - Refreshed 13-rpm2cpio-help.diff
     - Dropped 14-work-on-debian64.diff
     - Refreshed 16-debian-warn.diff
     - Dropped 19-misc.diff
     - Refreshed 22_spelling-fixes.diff
     - Dropped 40_fix-zlib-include-in-file.patch
     - Refreshed 68_autogen-fixes.patch
     - Refreshed 70_autogen.patch
   * Bump policy to 3.8.1.
   * Switch to debhleper 7.
     - Use debian/clean instead of list in debian/rules.
     - Use debian/links instead of list in debian/rules.
     - Use dh_quilt*.
     - Use dh helper to simplify debian/rules.
   * Man pages can be in utf-8, mandb supports this since  2.5.0-1.
   * Switch to libneon27-gnutls-dev (Closes: #532257).
   * Fix build out out sources.
   * Fix upstream installation of rpm.
   * Do not create lsb-rpm man page by patch, include it directly.
   * Drop not needed source lintian override.
   * Switch to python-support.
   * Rename and split library packages to librpm0, librpmio0 and librpmbuild0.
   * Add symbol files to lib* packages.
   * Add debian/copyright.
   * Improve package descriptions.
   * Fix %{_sysconfdir} macro (Closes: #465871).
   * Fix bashisms (by using bash) (Closes: #530180).
   * Debsums are correct on this package (Closes: #421262).
   * Delete stray directories on purge (Closes: #366186).
Checksums-Sha1: 
 b74d2d49a4e7c55d039a12281d6272d3a4446b73 1571 rpm_4.7.0-1.dsc
 18a1f9a839a6aabaea07408104e2fa03adde1b7f 4322416 rpm_4.7.0.orig.tar.gz
 32b9a2aafbecfa60a97def848e6eadb5c0bf710c 450238 rpm_4.7.0-1.diff.gz
 e78762042d677feb72a8b4d55b8216ca5510613c 1281270 rpm_4.7.0-1_amd64.deb
 2d844cf41a437037914ed6295cd0bff5fe193308 897620 lsb-rpm_4.7.0-1_amd64.deb
 7036418b40f9cd35e181af3e082decbd11755add 839802 librpm0_4.7.0-1_amd64.deb
 ace77953980db86b760cf96b734dfde63b5bc8f8 698844 librpmio0_4.7.0-1_amd64.deb
 0bc624e561e2de39eecd4ca6a19b32edde09144d 700056 librpmbuild0_4.7.0-1_amd64.deb
 835de22bedfbc7112ec40bbe06d1d8933e39a65a 698900 librpm-dev_4.7.0-1_amd64.deb
 7146858807cd8ad85779e03a84c85543b07ae51d 673044 python-rpm_4.7.0-1_amd64.deb
Checksums-Sha256: 
 eedda00ae4f3671e3602ba9431ce5d958bd08bd0a328cf5d05a627ac8a3ffbe4 1571 rpm_4.7.0-1.dsc
 f41955e3b0b77725b4804f6c0e3053fa70e8a93850ee86622379adcd2c949060 4322416 rpm_4.7.0.orig.tar.gz
 92707972ec41a58426006cce81fb70c67e023ff2645cd96c32cb6bc4dbfe6183 450238 rpm_4.7.0-1.diff.gz
 ca368cbea5e6d8159c55bc92699308f948867531ed2846d962b9e215350092f9 1281270 rpm_4.7.0-1_amd64.deb
 c4e05622da57bc51945a3c9d4dc40b0512c8079a1255220a7afd6b1b0206b99a 897620 lsb-rpm_4.7.0-1_amd64.deb
 cb9b7d8e4e834fabe54b75c2cdc43bdfecb2bd8bb1f7f3da71386d50bfeebc0d 839802 librpm0_4.7.0-1_amd64.deb
 5bd48c5361b6a243a3a9c94916af9c7f07743fa6c2b0ed890b0fcaed3acfd8d6 698844 librpmio0_4.7.0-1_amd64.deb
 3d41b5f6c559c295aab581ff957caa0eb384af9bcc344e65a74f920b79edbdf2 700056 librpmbuild0_4.7.0-1_amd64.deb
 689651d582ad17b714efae813cc12a516565e0b557dd75fd4a25388e7b9dd15f 698900 librpm-dev_4.7.0-1_amd64.deb
 720cdb58b8b9ed009310528c86247e8d08331c7a77ab4c5d5f56c73558cf3fb2 673044 python-rpm_4.7.0-1_amd64.deb
Files: 
 a52d50578705a9d4de641a366b513582 1571 admin optional rpm_4.7.0-1.dsc
 73e8405be356b06d83e3abacf16ac881 4322416 admin optional rpm_4.7.0.orig.tar.gz
 f260f9c0719c62fd9a86b429a1b0fa49 450238 admin optional rpm_4.7.0-1.diff.gz
 0d1a6361154ead2b5d5ea57d1a5640e3 1281270 admin optional rpm_4.7.0-1_amd64.deb
 dc5e835c397b08163b03778420e01f62 897620 devel optional lsb-rpm_4.7.0-1_amd64.deb
 963d4f3586bf009c41448b9146376e89 839802 libs optional librpm0_4.7.0-1_amd64.deb
 5221dfba60e4b8caae3169d6cad12f9a 698844 libs optional librpmio0_4.7.0-1_amd64.deb
 6a0636a6acd8edf177f0670474f150f6 700056 libs optional librpmbuild0_4.7.0-1_amd64.deb
 02ede3cca70ce26729b1d1d09c218375 698900 libdevel extra librpm-dev_4.7.0-1_amd64.deb
 6298bc0fb54a43c98d37c491bcda2d08 673044 python extra python-rpm_4.7.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkouqGkACgkQ3DVS6DbnVgQE3gCfTj+wQgvUai3Sba7hI45AcICy
DYEAoNa6kcRLZkSoHPwARRFczWzDSriG
=CEC8
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: