GNOME Bugzilla – Bug 525953
libgtop 2.22.0 broken on probably all but linux platform
Last modified: 2008-04-04 18:28:58 UTC
The problem is in sysdeps/common/ subdirectory. fsusage.c and mountlist.c are not present in tarball, Makefile.am is written in broken way. For details please see http://bugs.debian.org//cgi-bin/bugreport.cgi?bug=473211 It should suffice to fix Makefile.am and rerun autoconf/automake. Petr
Created attachment 108544 [details] [review] proposed patch
Hello Petr, i don't get what is broken in the Makefile.am ? Maybe it requires more recent version of auto* ?
> Hello Petr, i don't get what is broken in the Makefile.am ? Maybe it requires > more recent version of auto* ? Please check tarball generated by "make dist". It does not contain files sysdeps/common/fsusage.c and sysdeps/common/mountlist.c event though they are in svn. The autoconf/automake does not work correctly with "+=" operator. These filesshould be also compiled on non-linux platforms, but they are not. IMHO this is also reason for #503987.
OK then, autocrap is definitely pure shit. += won't work but undefined variables are OK ... i guess someone never heard about the rule of the least surprise. I'll release 2.22.1 this weekend.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. I'm about to release 2.22.1.