Re: $USER and $LOGNAME unset in sbuild on goedel (alpha) and zandonai (s390) (and peri (hppa)?)

2011-03-28 Thread Witold Baryluk
On 03-27 12:19, Magnus Holmgren wrote:
 On lördagen den 26 mars 2011, Kurt Roeckx wrote:
  On Sat, Mar 26, 2011 at 08:29:11PM +0100, Magnus Holmgren wrote:
   Hi!
   
   Some of the tests of lsh-utils failed on hppa, alpha, and s390
   (https://buildd.debian.org/status/package.php?p=lsh-utils) after I
   enabled them, the reason being that they expect $USER or $LOGNAME to be
   set. Is there some particular reason that this is the case (shouldn't
   one expect these variables to be set?) or was the environment merely
   cleaned a bit too thoroughly?
  
  The behaviour should be the same on all buildds since they should
  all be using the same software.  I've tried it manually and
  both are set.
 
 Strange. What could be the problem then? The code looks something like this:
 
 #define USER_NAME_FROM_ENV(s) do {\
   (s) = getenv(LOGNAME);\
   if (!(s))   \
 (s) = getenv(USER); \
 } while (0)
 
 ...
 
   USER_NAME_FROM_ENV(self-user);
 
 ...
 
   if (!options-user)
   {
 argp_error(state, No user name given. Use the -l option, or set 
 LOGNAME 
 in the environment.);
 break;
   }
 
 -- 
 Magnus Holmgrenholmg...@debian.org
 Debian Developer 


Hmm, probably stupid question, but is self == options ?


It can be also some memory corruption (as always),
which only shows on little-endian machines, or something :)

Create smaller test case, with just this small snippet.

PS. I created similar sample code in C, and it works properly.

-- 
Witold Baryluk
JID: witold.baryluk // jabster.pl


signature.asc
Description: Digital signature


RFS: hercules (Non-maintainer upload)

2011-03-28 Thread liang
Dear mentors,

I am looking for a sponsor for the version 3.07-2.1 of 
my package hercules.

It builds these binary packages:
hercules   - System/370, ESA/390 and z/Architecture Emulator

The upload would fix these bugs: 585508, 615729

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/h/hercules
- Source repository: deb-src http://mentors.debian.net/debian unstable main 
contrib non-free
- dget 
http://mentors.debian.net/debian/pool/main/h/hercules/hercules_3.07-2.1.dsc

This is a Non-maintainer upload, before change it myself, 
I've tried to contact to contact with Peter De Schrijver, 
but failed. So I just make a little change and ask someone
to sponsor it.

I would be glad if someone uploaded this package for me.

-- 
Liang Guo
http://bluestone.cublog.cn



signature.asc
Description: Digital signature