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

Bug#733502: marked as done (busybox: FTBFS when built with bash as the default shell)



Your message dated Thu, 23 Jan 2014 15:19:02 +0000
with message-id <E1W6M3a-0002YQ-RZ@franck.debian.org>
and subject line Bug#733502: fixed in busybox 1:1.22.0-1
has caused the Debian Bug report #733502,
regarding busybox: FTBFS when built with bash as the default shell
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.)


-- 
733502: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733502
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox
Version: 1:1.21.0-6exp
Severity: important
Tags: upstream

Busybox fails to build when the default shell is bash and busybox is
*not* installed on the system. In this condition the
which-uses-default-path test fails as in this build log [1]:


| FAIL: which-uses-default-path
| ++ command -pv busybox
| + BUSYBOX=

Looking at the test, it does:
| BUSYBOX=$(command -pv busybox)
| SAVED_PATH=$PATH
| unset PATH
| $BUSYBOX which ls

It is launched with PATH set to ${busybox-build-dir}:$PATH 

On a POSIX compliant shell like bash, the '-p' passed to 'command' means
ignore the PATH environment variable and use the default one [1]. If
busybox is not in the standard path (which is supposed to be the case on
a clean chroot on a buildd), this command will return nothing, and a 
exit value different of 0, and the test will fail, as seen on the build
log.

When dash is used, it ignores the '-p' argument passed to 'command'
contrary to what POSIX mandates. The just built busybox is therefore 
correctly found the in the PATH, and the test succeed. I have reported
the dash issue as bug #733501. 

On the busybox side, it looks like what is really wanted here is
'command -v busybox' instead of 'command -pv busybox. That way the
testsuite passes.


[1] https://buildd.debian.org/status/fetch.php?pkg=busybox&arch=mips&ver=1%3A1.21.0-6exp&stamp=1387284512

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages busybox depends on:
ii  libc6  2.18-0experimental0

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: busybox
Source-Version: 1:1.22.0-1

We believe that the bug you reported is fixed in the latest version of
busybox, 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 733502@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <mjt@tls.msk.ru> (supplier of updated busybox 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@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 23 Jan 2014 18:39:42 +0400
Source: busybox
Binary: busybox busybox-static busybox-udeb busybox-syslogd udhcpc udhcpd
Architecture: source amd64 all
Version: 1:1.22.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Michael Tokarev <mjt@tls.msk.ru>
Description: 
 busybox    - Tiny utilities for small and embedded systems
 busybox-static - Standalone rescue shell with tons of builtin utilities
 busybox-syslogd - Provides syslogd and klogd using busybox
 busybox-udeb - Tiny utilities for the debian-installer (udeb)
 udhcpc     - Provides the busybox DHCP client implementation
 udhcpd     - Provides the busybox DHCP server implementation
Closes: 733502
Changes: 
 busybox (1:1.22.0-1) unstable; urgency=low
 .
   * new upstream release (1.22.0), removed patches which were upstreamed.
     This version actually fixes #686502 (concatenated xz streams)
     which were closed in debian but the patch has been dropped meanwhile.
   * update configs.  In particular, enable new fstrim applet
     for regular build
   * update to 1.22.1 (1.22.1.diff)
   * include stable changes from upstream up to 2014-01-23
   * testsuite-fix-last-which-change.diff (applied upstream):
     use `command -v' instead of `command -pv' (Closes: #733502)
   * added description to version.patch
Checksums-Sha1: 
 7a33d8e8bced2dd86465c3faec7cbb032ff80682 1630 busybox_1.22.0-1.dsc
 486fb55c3efa71148fe07895fd713ea3a5ae343a 2218120 busybox_1.22.0.orig.tar.bz2
 11fd684af3ea27bb59b18f650794d97307ab5c5b 48152 busybox_1.22.0-1.debian.tar.xz
 2c5dd5ed1d478cfdc83cd469ef3c462f28e6cf10 380430 busybox_1.22.0-1_amd64.deb
 704f45c4def0238ea1549a36efd1a1a75967ecc3 831540 busybox-static_1.22.0-1_amd64.deb
 f726b50320152410a0f4ec587a11c59f2e221b6a 171654 busybox-udeb_1.22.0-1_amd64.udeb
 6438728849acc60ad7e5298dcbb3ab9b7d3429b7 21974 busybox-syslogd_1.22.0-1_all.deb
 37c237ff2dae2d342d2e332c2d395a487230d889 19758 udhcpc_1.22.0-1_amd64.deb
 c45ee3e09d09090c29f2a931045567fec66fdacd 22822 udhcpd_1.22.0-1_amd64.deb
Checksums-Sha256: 
 8d02a2ba73a3ad09057c4f2784c08f9c24079b413e1ca3822291e75c938ce076 1630 busybox_1.22.0-1.dsc
 92f00cd391b7d5fa2215c8450abe2ba15f9d16c226e8855fb21b6c9a5b723a53 2218120 busybox_1.22.0.orig.tar.bz2
 4f3126d917f76553e7185c817e35eb4289c7700b2200c860a79b65a9c3d6321a 48152 busybox_1.22.0-1.debian.tar.xz
 fdb933ab81ae6c713e649a4fd7907fc329106cce741f876255279241c1865f0c 380430 busybox_1.22.0-1_amd64.deb
 451df05948f80ab7a09cc193cabb14e5b1e7b31510c3d23bd33a64b43f7bf1c3 831540 busybox-static_1.22.0-1_amd64.deb
 94d3b1c6bf662df7ef3064d594e6c149f91c139eac74c7543121023de4e2bc7f 171654 busybox-udeb_1.22.0-1_amd64.udeb
 87e29c80010efa7cd98b802efe942c4b5133ae044e867eaa274621b3fb660140 21974 busybox-syslogd_1.22.0-1_all.deb
 4f83ce2a382c7f6373a1d7b7e88dbaf1f174ee15661438be382613e6823e7a8f 19758 udhcpc_1.22.0-1_amd64.deb
 1760c8ddbe689a1bc704b76e4c21b06390411329206b00cc8347408d3525a6c3 22822 udhcpd_1.22.0-1_amd64.deb
Files: 
 b87d545fd2e298fa3863cb4997e66bd7 1630 utils optional busybox_1.22.0-1.dsc
 ac1881d1cdeb0729b22c663feaf1c663 2218120 utils optional busybox_1.22.0.orig.tar.bz2
 8b469c53a13b0360e0e0369a04bca1b6 48152 utils optional busybox_1.22.0-1.debian.tar.xz
 80b3619e854623162a82eb1519567cb4 380430 utils optional busybox_1.22.0-1_amd64.deb
 07ea6886e5881b9fe53c4f1846c97830 831540 shells extra busybox-static_1.22.0-1_amd64.deb
 37bcc2c9c5fd6b89af54e38800142c4d 171654 debian-installer extra busybox-udeb_1.22.0-1_amd64.udeb
 b218f71d798f8d599f21c2c3e71e235e 21974 utils optional busybox-syslogd_1.22.0-1_all.deb
 762af45d3b495a48de075859faeb960c 19758 net optional udhcpc_1.22.0-1_amd64.deb
 8e9227837217ca17bad73b7c576fcca5 22822 net optional udhcpd_1.22.0-1_amd64.deb

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

iJwEAQECAAYFAlLhLX4ACgkQUlPFrXTwyDilOQQAlkz3g6PkVL6SvEYUAXk0u90s
YMNWS1oeCwz6UMHw0LuIYXxlC+BVXQ1w8C3hzyivRzof4j++xCyc2U5pAAI5EPr+
ylsDhmMcyy3sftqxZYIz2jZ54/kkm81lCI/zC3UjGMEXGElvbi0hZScWdEXc+gjL
vFZRuK/grarcScHVnVw=
=TYMK
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: