Discussion:
Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x
(too old to reply)
Craig Small
2013-10-09 10:40:01 UTC
Permalink
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-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Martin Grimm
2013-10-09 10:40:01 UTC
Permalink
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
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.
https://buildd.debian.org/status/fetch.php?pkg=procps&arch=s390x&ver=1%3A3.3.8-2&stamp=1370603323
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 passes 9
# 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:

***@build:procps-ng-3.3.8> debian/procps/bin/ps -V
procps-ng version 3.3.8
***@build:procps-ng-3.3.8> ./testsuite/test-schedbatch 18 &!
***@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-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...