Your message dated Wed, 22 Jul 2009 21:34:48 +0000
with message-id <[email protected]>
and subject line Bug#530185: fixed in scratchbox2 2.0-3
has caused the Debian Bug report #530185,
regarding scratchbox2: 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 [email protected]
immediately.)


-- 
530185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530185
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: scratchbox2
Severity: important
Version: 2.0-1
User: [email protected]
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/bin/sb2-build-qemuserver line 3 ('function' is
> useless):
> function error_not_inside_sb2()
> possible bashism in ./usr/bin/sb2-build-qemuserver line 100 (should be read
> [-r] variable):
>         read
> possible bashism in ./usr/bin/sb2-build-qemuserver line 121 (brace
> expansion):
> mkdir -p initramfs/{boot,etc,proc,sys,mnt,sbin,dev,lib,usr/bin,tmp}
> possible bashism in ./usr/bin/sb2-build-qemuserver line 156 ($UID should be
> "$(id -ru)"):
> echo "$HOME
> 127.0.0.1(rw,all_squash,anonuid=$UID,anongid=$UID,sync,insecure)"
> possible bashism in ./usr/bin/sb2-mkinitramfs line 15 (brace expansion):
> cp -a /dev/{null,tty,tty0,ram0,console,zero,loop*,ptmx} $1/dev/
> possible bashism in ./usr/share/scratchbox2/wrappers/gdb line 34 (sourced
> script with arguments):
>         . $sbox_dir/share/scratchbox2/modeconf/sb2rc.$sbox_mapmode
> "$progbase"


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: scratchbox2
Source-Version: 2.0-3

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

libsb2_2.0-3_i386.deb
  to pool/main/s/scratchbox2/libsb2_2.0-3_i386.deb
scratchbox2_2.0-3.diff.gz
  to pool/main/s/scratchbox2/scratchbox2_2.0-3.diff.gz
scratchbox2_2.0-3.dsc
  to pool/main/s/scratchbox2/scratchbox2_2.0-3.dsc
scratchbox2_2.0-3_i386.deb
  to pool/main/s/scratchbox2/scratchbox2_2.0-3_i386.deb



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.
Riku Voipio <[email protected]> (supplier of updated scratchbox2 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: Wed, 22 Jul 2009 23:32:43 +0300
Source: scratchbox2
Binary: scratchbox2 libsb2
Architecture: source i386
Version: 2.0-3
Distribution: unstable
Urgency: low
Maintainer: Riku Voipio <[email protected]>
Changed-By: Riku Voipio <[email protected]>
Description: 
 libsb2     - Scratchbox2 libraries
 scratchbox2 - Transparent cross compiling environment
Closes: 526060 530185
Changes: 
 scratchbox2 (2.0-3) unstable; urgency=low
 .
   * fix simple mode with emdebian crosscompilers
   * Add replaces to libsb2 -> sb2, closes: #526060
   * make sh script bash script, closes: #530185
Checksums-Sha1: 
 03d84f48d57373c3966399bf809401d5e56d7647 1235 scratchbox2_2.0-3.dsc
 c552d42757118333b1d7cbfa2e81fd18c63458c2 11907 scratchbox2_2.0-3.diff.gz
 606527e9134b687b205c798218b235a860320e52 99722 scratchbox2_2.0-3_i386.deb
 d8ee445ee3c09239192e2f6aa916c12faec6abed 141300 libsb2_2.0-3_i386.deb
Checksums-Sha256: 
 1a47de81a83665a0704be0b2ac5fa8bc778845b9f6f034fb173729ec3d63e782 1235 
scratchbox2_2.0-3.dsc
 8ab2a88a403e2ffb02650bd1aaff3ed92c36d583f226e5006836cf2bbf7ecb82 11907 
scratchbox2_2.0-3.diff.gz
 f670aa01d4dba0d8529b386e533c12007adac85e28dabddb0bbf96eac219b6ac 99722 
scratchbox2_2.0-3_i386.deb
 e78ee36175a6eaa7ebb1a214da034121a86495ccc26acd2c20761406c8d12932 141300 
libsb2_2.0-3_i386.deb
Files: 
 e6385cbd61804bb988c249de7083574c 1235 utils extra scratchbox2_2.0-3.dsc
 bd8a654b0005acdf7e1ceb5210a47cfc 11907 utils extra scratchbox2_2.0-3.diff.gz
 120ab0dab567df1cf8996a77142fcdc6 99722 utils extra scratchbox2_2.0-3_i386.deb
 31e26dfe4b34f906a383f374211f5c82 141300 utils extra libsb2_2.0-3_i386.deb

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

iD8DBQFKZ4GYibPvMsrqrwMRAlJIAKC2kmil16L5Lj8Sx0Gdexp+NbolCACffIok
YiAJiYIWbHbuY2pG4Co9MdU=
=vRyU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to