After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162038 - Broken RPM specfile
Broken RPM specfile
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-23 00:14 UTC by Ian Laurie
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
better ? (5.92 KB, patch)
2005-02-25 23:36 UTC, Benoît Dejean
committed Details | Review
Patch to modify Makefile.am & Changelog. (994 bytes, patch)
2006-01-01 15:26 UTC, Brian Pepple
committed Details | Review

Description Ian Laurie 2004-12-23 00:14:03 UTC
Launch gnome-system-monitor and observer the process list.

Many processess have no names, and the memory usage shows as 0, yet they are
real processes.  For example, all the nfsd daemons show up this way.
Comment 1 Benoît Dejean 2004-12-23 00:16:21 UTC
update your libgtop and gnome-system-monitor to 2.8 and try to reproduce
Comment 2 Ian Laurie 2004-12-23 02:16:31 UTC
There is no libgtop under FC3, but there is a libgtop2, I'm guessing they are
the same?  It is already at 2.8.0.

I downloaded gnome-system-monitor-2.8.0 from the 2.8.1 directory.  I then tried
to build an rpm using:

rpmbuild -ta gnome-system-monitor-2.8.0.tar.gz

and received an error:

error: File /root/gnome-system-monitor-2.3.0.tar.gz: No such file or directory

I extracted the spec file and noted the version number was wrong.  I edited it
to 2.8.0 and placed the new spec file back in the archive.  Re-issued the
rpmbuild command.  The build crashed eventually with the following error:

RPM build errors:
    File not found:
/var/tmp/gnome-system-monitor-root/usr/share/applications/gnome-system-monitor.schemas

However I noticed the binary file had already been built and was in the
/var/tmp/gnome-system-monitor-root/usr/bin directory.  I ran the binary, and
confirmed using the Help:About that it was 2.8.0, however the original bug is
the same, with many processes without names.

Not sure where to go from here?  

BTW your spec file needs fixing.
Comment 3 Ian Laurie 2004-12-23 02:24:41 UTC
OK, I just tried the whole thing again using gnome-system-monitor-2.8.1 from the
2.8.2 directory.

The spec file has the same bugs, so the rpm build failed, BUT.... the bianry
file seems to work.

In summary gnome-system-monitor-2.8.1 seems to work under FC3.
Comment 4 Ian Laurie 2005-02-22 09:02:32 UTC
I notice gnome-system-monitor-2.9.91.tar.gz still has a broken spec file.

Any plans to fix these?
Comment 5 Benoît Dejean 2005-02-22 09:16:04 UTC
may be i could steal the .spec used by Fedora ?
Comment 6 Benoît Dejean 2005-02-25 23:36:06 UTC
Created attachment 37950 [details] [review]
better ?
Comment 7 Ian Laurie 2005-02-26 00:47:45 UTC
I don't know as I have multiple failed dependancies due to libgtop2-devel and
gtk2-devel.  I am running FC3 and RHEL4 (both have a broken
gnome-system-monitor), so the version I really need is 2.8.1 as per my comment
#3.  BTW I had to change the pached spec file back to version 2.9.91 as that is
the latest version I can download.

The 2.8.1 binary works on both FC3 and RHEL4 but the rpm build fails (but after
the binary is built).

I have tried myself to get the FC3 spec file (from 2.7.0-2) to work with your
2.8.1 source but without any success.
Comment 8 Brian Pepple 2006-01-01 15:26:07 UTC
I would suggest removing this spec file from the package, instead of constantly modifing this spec to follow Fedora's packages.  Especially, since Gnome-System-Monitor is included in Fedora Core already as a default package. 

I'll attach a little patch for the modification needed to the Changelog & Makefile.am.
Comment 9 Brian Pepple 2006-01-01 15:26:41 UTC
Created attachment 56631 [details] [review]
Patch to modify Makefile.am & Changelog.