Bug 417801 - psmisc build problem
psmisc build problem
Product: Fedora
Classification: Fedora
Component: psmisc (Show other bugs)
alpha Linux
low Severity low
: ---
: ---
Assigned To: Tomas Smetana
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-12-10 04:44 EST by Oliver Falk
Modified: 2008-01-11 17:29 EST (History)
0 users

See Also:
Fixed In Version: 22.6-2.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-11 17:29:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Oliver Falk 2007-12-10 04:44:30 EST
Any chance you might have a look at this build log:


peekfd is broken. Compile error:

[oliver@gosa src]$ make peekfd
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\"    -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mieee -D_GNU_SOURCE -MT peekfd.o -MD -MP -MF .deps/peekfd.Tpo -c -o peekfd.o
peekfd.c: In function ‘main’:
peekfd.c:210: error: storage size of ‘regs’ isn’t known
peekfd.c:210: warning: unused variable ‘regs’
make: *** [peekfd.o] Error 1

Any ideas? Thx.
Comment 1 Tomas Smetana 2007-12-10 05:06:19 EST
The peekfd is highly hardware dependent -- it peeks the CPU registers.  I have
created patches that make it compile/run on all the main architectures Fedora
supports -- I didn't realize that there is someone who would try to compile that
thing on Alpha as well.  Sorry.

The easiest solution is to exclude arch for anything not {ix86|x86_64|ppc}. 
It's not that useful application anyway...
Comment 2 Oliver Falk 2007-12-10 05:18:58 EST
Well, Alpha is in the secondary arch proposal. So everythin will be built :-)

However, can you simple do a %ifarch %ix86 x86_64 ppc for peekfd in %files
section? Then other archs (like s390(x)) will not have a problem as well.
Comment 3 Tomas Smetana 2007-12-10 06:20:57 EST
There was a little change required in the Makefile.am also.  The testing package
is here:


I would be thankful if you could test whether it builds correctly and then I'll
commit the changes.
Comment 4 Oliver Falk 2007-12-10 06:46:47 EST
Nop. That doesn't do the trick, as the man-page still get's installed:
    Installed (but unpackaged) file(s) found:
Comment 5 Tomas Smetana 2007-12-10 07:03:34 EST
@#&*$$!...  OK. Uploaded a new package (same place, same name) with 

%ifnarch %ix86 x86_64 ppc
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1*

in the %install section.  That should help.
Comment 6 Oliver Falk 2007-12-10 07:16:28 EST
WorksForMe(tm). :-)
Comment 7 Fedora Update System 2007-12-10 15:45:29 EST
psmisc-22.6-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update psmisc'
Comment 8 Fedora Update System 2008-01-11 17:29:47 EST
psmisc-22.6-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.