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

Bug#570035: marked as done (cdbs-edit-patch fails, because $USER is unset)



Your message dated Sat, 8 Mar 2025 15:29:14 +0100
with message-id <CADsTwjKRYbO_4Azs7pd5W1FQmTRmEduVckUEYKG8h+F04dUs7w@mail.gmail.com>
and subject line obsolete cdbs-edit-patch tool is not shipped anymore
has caused the Debian Bug report #570035,
regarding cdbs-edit-patch fails, because $USER is unset
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.)


-- 
570035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570035
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdbs
Version: 0.4.65
Severity: normal

Hi,

are you sure, USER is not a bash feature? In my zsh environment, I can't
find this variable. The same holds for dash:

% env -i PATH=$PATH dash -c 'echo $USER |wc -w'
0

Due to the unset variable the getent call prints the whole passwd and
this makes the following commands fail.

Bye, Jörg.

+ cut -f 7 -d:
+ getent passwd
+ SH=/bin/zsh-static
/bin/sh
/bin/sh
/bin/sh
/bin/sync
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/zsh-beta
/bin/false
/bin/false
/bin/false
/bin/false
/usr/sbin/nologin
/bin/false
/bin/false
/bin/false
/bin/false
+ [ /bin/zsh-static
/bin/sh
/bin/sh
/bin/sh
/bin/sync
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/zsh-beta
/bin/false
/bin/false
/bin/false
/bin/false
/usr/sbin/nologin
/bin/false
/bin/false
/bin/false
/bin/false ]
+ /bin/zsh-static /bin/sh /bin/sh /bin/sh /bin/sync /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/zsh-beta /bin/false /bin/false /bin/false /bin/false /usr/sbin/nologin /bin/false /bin/false /bin/false /bin/false
/bin/sh:4: parse error near `)'
+ rm -rf /tmp/cdbs-new-patch.VPNCwO /tmp/cdbs-old-patch-header.qeJFHN

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.33-rc7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.4.13     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20090611.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.61    scripts to make the life of a Debi
pn  doc-base                      <none>     (no description available)

-- no debconf information

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


--- End Message ---
--- Begin Message ---
version: 0.4.168

obsolete cdbs-edit-patch tool is not shipped anymore

--- End Message ---

Reply to: