Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13390 closed defect (fixed)

libgtop2 (2.20) doesn't build on 10.4.11

Reported by: paulbeard@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: libgtop gnome Tiger 10.4.11 Cc: rhwood@…
Port:

Description

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../sysdeps/stub -I../../include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -lintl -MT proclist.lo -MD -MP -MF .deps/proclist.Tpo -c proclist.c  -fno-common -DPIC -o .libs/proclist.o
proclist.c:48: error: conflicting types for 'glibtop_get_proclist_s'
../../include/glibtop/proclist.h:87: error: previous declaration of 'glibtop_get_proclist_s' was here
make[3]: *** [proclist.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for libgtop): org.macports.destroot org.macports.build

Attachments (3)

logfile.txt (42.5 KB) - added by paulbeard@… 13 years ago.
logfile with -d switch thrown
libgtop-portfile.diff (1.7 KB) - added by macosforge.lbn@… 13 years ago.
Building with libgtop-2.21.1 seems to work. Here's the modified Portfile to use 2.21.1
gnome-system-monitor-portfile.diff (958 bytes) - added by macosforge.lbn@… 13 years ago.
Need to update gnome-system-monitor (add gtkmm dep) also if you try and use libgtop-2.21.1

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by paulbeard@…

Attachment: logfile.txt added

logfile with -d switch thrown

Changed 13 years ago by macosforge.lbn@…

Attachment: libgtop-portfile.diff added

Building with libgtop-2.21.1 seems to work. Here's the modified Portfile to use 2.21.1

Changed 13 years ago by macosforge.lbn@…

Need to update gnome-system-monitor (add gtkmm dep) also if you try and use libgtop-2.21.1

comment:1 Changed 13 years ago by paulbeard@…

I get errors on both patches.

[...macports.org/release/ports/gnome/libgtop]# patch -p0 < libgtop-portfile.diff patching file Portfile patch unexpectedly ends in middle of linepatch: malformed patch at line 41:

[...release/ports/gnome/gnome-system-monitor]# patch -p0 < gnome-system-monitor-portfile.diff patching file Portfile Hunk #1 FAILED at 1. patch unexpectedly ends in middle of line Hunk #2 FAILED at 10. 2 out of 2 hunks FAILED -- saving rejects to file Portfile.rej

comment:2 Changed 13 years ago by rhwood@…

Milestone: Port Bugs
Owner: changed from macports-dev@… to rhwood@…
Status: newassigned

I am reluctant to apply the patch to use the upstream unstable version of libgtop2, but will look at it this weekend. GNOME packages (for the most part) use even minor version numbers to indicate stable releases and odd minor version numbers to indicate stable releases (in x.y.z, y is the minor version number).

comment:3 Changed 13 years ago by rhwood@…

Resolution: fixed
Status: assignedclosed
Version: 1.5.2

changeset:31693 and chnageset:31694 should resolve this. Please reopen if they don't.

comment:4 in reply to:  3 Changed 13 years ago by rhwood@…

Replying to rhwood@macports.org:

chnageset:31694

That should be changeset:31694

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.