Package: debmake
Version: 4.1.7-1
Severity: normal

Hi, I don't know the reason for this, but os.getlogin() fails here:

Traceback (most recent call last):
  File "/usr/bin/debmake", line 28, in <module>
    debmake.main()
  File "/usr/lib/python3/dist-packages/debmake/__init__.py", line 107, in main
    para = debmake.para.para(para)
  File "/usr/lib/python3/dist-packages/debmake/para.py", line 47, in para
    debfullname = pwd.getpwnam(os.getlogin())[4].split(',')[0]
FileNotFoundError: [Errno 2] No such file or directory

It's been reported in other places as well, and it seems the underlying
OS call fails for a reason. pwd.getpwuid(os.getuid())[0], however, gives
the expected result reliably.

[0] http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-05/msg00227.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages debmake depends on:
ii  devscripts   2.14.5
ii  dpkg-dev     1.17.10
ii  python3      3.4.2-1
pn  python3:any  <none>
ii  rsync        3.0.7-2

Versions of packages debmake recommends:
ii  build-essential  11.6
ii  curl             7.21.2-4
ii  strace           4.5.18-1
ii  wget             1.15-1+b1

Versions of packages debmake suggests:
ii  autotools-dev     20120608.1
ii  ccache            3.0.1-1
ii  cmake             2.8.12.1-1.1
ii  cowbuilder        0.70
ii  dh-autoreconf     7
ii  dh-python         1.20131021-1
pn  eatmydata         <none>
pn  gem2deb           <none>
ii  git               1:1.7.10.4-1
ii  git-buildpackage  0.4.65
ii  gitk              1:1.7.10.4-1
pn  javahelper        <none>
ii  lintian           2.5.22.1
ii  mc                3:4.7.0.9-2
ii  pbuilder          0.215
ii  quilt             0.50-2
ii  rpm2cpio          4.8.1-5

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/python3/dist-packages/debmake/para.py (from 
debmake package)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to