Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x

2013-10-09 Thread Craig Small
On Wed, Oct 09, 2013 at 11:46:48AM +0200, Martin Grimm wrote:
> Sorry Craig, but I can't reproduce your problem here:
> 
> I've built procps 3.3.8-2 from sid successfully on a wheezy s390x system
> (unpacking orig source + patch and then running debuild)
Thanks. I was kind of suspecting that would happen but was hoping it
would show up something obvious and really easy to fix.

I've got the other two parts sorted so might just see if that was some
sort of strange one-off.

 - Craig
-- 
Craig Small VK2XLZ   http://enc.com.au/  csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/  csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5


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



Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x

2013-10-09 Thread Martin Grimm
Am 09.10.2013 10:17, schrieb Craig Small:
> 
> I've got most of these problems sorted out for the s390 (and the
> ia64 but you probably don't care about that).
> 
> I'm stuck at with one of the more obscure ps flags.
> FAIL: ps SCHED_BATCH scheduler
> See [1]
> 
> So.. what does this test do?
>   It compiles [2]
>   Runs the binary as test-schedbatch 18
>   Runs ps --no-header -o comm,cls,nice -a
>   Expects the output to be "test-schedbatch B 18"
> 
> Most of my programs have TS instead of B. On my amd64 I see B
> it looks like this:
> 
> COMMAND CLS  NI
> bash TS   0
> test-schedbatch   B  18
> ps   TS   0
> 
> So.. what does an s390 see?
> I tried compiling this small program and got a screenful of error
> messages so I'm stuck.
> 
> 1:
> https://buildd.debian.org/status/fetch.php?pkg=procps&arch=s390x&ver=1%3A3.3.8-2&stamp=1370603323
> 2:
> https://gitorious.org/procps/procps/source/e6a78f2745ca6c7ceed4406d3ce5397e77518b11:testsuite/ps.test/test-schedbatch.c
> 
> 


Sorry Craig, but I can't reproduce your problem here:

I've built procps 3.3.8-2 from sid successfully on a wheezy s390x system
(unpacking orig source + patch and then running debuild)

Here the snippet from the build output:
--8<-
=== ps tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for 
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./ps.test/ps_output.exp ...
Running ./ps.test/ps_personality.exp ...
Running ./ps.test/ps_sched_batch.exp ...

=== ps Summary ===

# of expected passes9
# of untested testcases 1
WARNING: Couldn't find tool init file
Test Run By mgrimm on Wed Oct  9 11:21:42 2013
Native configuration is s390x-ibm-linux-gnu
--8<-

Manual test seems fine, too:

mgrimm@build:procps-ng-3.3.8> debian/procps/bin/ps -V
procps-ng version 3.3.8
mgrimm@build:procps-ng-3.3.8> ./testsuite/test-schedbatch 18 &!
mgrimm@build:procps-ng-3.3.8> debian/procps/bin/ps --no-header -o comm,cls,nice 
-a
test-schedbatch   B  18
ps   TS   0



Greetings
Martin


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



Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x

2013-10-09 Thread Craig Small

I've got most of these problems sorted out for the s390 (and the
ia64 but you probably don't care about that).

I'm stuck at with one of the more obscure ps flags.
FAIL: ps SCHED_BATCH scheduler
See [1]

So.. what does this test do?
  It compiles [2]
  Runs the binary as test-schedbatch 18
  Runs ps --no-header -o comm,cls,nice -a
  Expects the output to be "test-schedbatch B 18"

Most of my programs have TS instead of B. On my amd64 I see B
it looks like this:

COMMAND CLS  NI
bash TS   0
test-schedbatch   B  18
ps   TS   0

So.. what does an s390 see?
I tried compiling this small program and got a screenful of error
messages so I'm stuck.

1:
https://buildd.debian.org/status/fetch.php?pkg=procps&arch=s390x&ver=1%3A3.3.8-2&stamp=1370603323
2:
https://gitorious.org/procps/procps/source/e6a78f2745ca6c7ceed4406d3ce5397e77518b11:testsuite/ps.test/test-schedbatch.c


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



Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x

2013-10-08 Thread Craig Small
On Mon, Oct 07, 2013 at 11:57:06PM +0200, Ivo De Decker wrote:
> The latest upload of procps doesn't build on ia64 and s390x, but it did
> before (preventing migration to testing):
> 
> https://buildd.debian.org/status/package.php?p=procps
I think we fixed this upstream for vmstat, I'll look at the other
failures to do something similiar.

https://gitorious.org/procps/procps/commit/b83788993bb2aeb2a6074ac8a2a08d4b9e49102b

Is there any way of testing for these sort of problems?

 - Craig
-- 
Craig Small VK2XLZ   http://enc.com.au/  csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/  csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5


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



Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x

2013-10-07 Thread Ivo De Decker
package: procps
version: 1:3.3.8-2
severity: serious

Hi,

The latest upload of procps doesn't build on ia64 and s390x, but it did
before (preventing migration to testing):

https://buildd.debian.org/status/package.php?p=procps

Cheers,

Ivo


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