> so your result is now:
>
> getpass.getuser: lamby
> pwd.getpwname(user).pw_gid: 1000
> os.getgroups(): [27, 1000]
> grp.getgrall() filtered: [27]
Yes.
> And failing tests runs:
I'm so so sorry, but it now builds fine for me with all passing
tests. Not sure what I did wrong in my last test and
> which doesn't exists in your system at all.
It exists in /etc/group:
sudo:x:27:lamby
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
Hi,
sorry, just found bug in my email, fixing :)
2016-08-13 15:33 GMT+02:00 Ondrej Novy :
> your user group is gid=1000.
>
>> os.getgroups(): [27]
>
> which your user is not part of.
>
which doesn't exists in your system at all.
--
Best regards
Ondřej Nový
Hi,
so your result is now:
getpass.getuser: lamby
pwd.getpwname(user).pw_gid: 1000
os.getgroups(): [27, 1000]
grp.getgrall() filtered: [27]
And failing tests runs:
groups = [g.gr_gid for g in grp.getgrall() if user in g.gr_mem]
groups.append(pwd.getpwnam(user).pw_gid)
self.assertEqual(set(groups
Hi Ondrej,
> your user group is gid=1000. [..] which your user is not part of.
Ah, well-spotted!
So I'm now running --group-add=$MY_GROUP so I get:
os.getgroups(): [27, 1000]
But not only am I still seeing the same FTBFS I am seeing:
grp.getgrall() filtered: [27]
(I'm not sure why there
Hi,
2016-08-01 15:10 GMT+02:00 Chris Lamb :
> $ python test.py
> getpass.getuser: lamby
> pwd.getpwname(user).pw_gid: 1000
>
your user group is gid=1000.
os.getgroups(): [27]
>
which your user is not part of.
> If that doesn't help, it may be that your package relies on the
> $USER variable
Hi,
> Can you attach output of this script from your env please?
$ python test.py
getpass.getuser: lamby
pwd.getpwname(user).pw_gid: 1000
os.getgroups(): [27]
grp.getgrall() filtered: [27]
If that doesn't help, it may be that your package relies on the
$USER variable being present.
Regards,
-
I can't reproduce it locally.
Can you attach output of this script from your env please?
#!/usr/bin/python
import getpass
import pwd
import os
import grp
user = getpass.getuser()
ugroup = pwd.getpwnam(user).pw_gid
os_groups = os.getgroups()
groups = [g.gr_gid for g in grp.getgrall() if user in
Source: swift
Version: 2.7.0-3
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer,
swift fails to build from source in unstable/amd64:
[..]
te
9 matches
Mail list logo