Re: devel/libgtop build error

2019-12-16 Thread Neel Chauhan
I also have a patch. It has been accepted into GNOME's libgtop repo, but 
not the Ports tree yet. Someone should commit it.


I have been using GNOME with the patched libgtop on my desktop and 
laptop (both 13-CURRENT).


-Neel

===

https://www.neelc.org/

On 2019-12-16 10:53, Jan Beich wrote:

Nilton Jose Rizzo  writes:


Problem with compile devel/libgtop

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../..
-I../../sysdeps/freebsd -I../../include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -Winline -Wall -Wchar-
subscripts -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs

-Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fstack-
protector-strong -fno-strict-aliasing -MT procargs.lo -MD -MP -MF
.deps/procargs.Tpo -c procargs.c -o procargs.o >/dev/null 2>&1
procmap.c:101:25: warning: unused variable 'um' [-Wunused-variable]
struct ufsmount um;
^
procmap.c:282:39: error: no member named 'next' in 'struct
vm_map_entry'
first = vmspace.vm_map.header.next;
~ ^
procmap.c:285:56: error: no member named 'next' in 'struct
vm_map_entry'
(gulong) vmspace.vm_map.header.next,
 ~ ^
procmap.c:308:56: error: no member named 'next' in 'struct
vm_map_entry'
(gulong) entry.next,
 ~ ^
procmap.c:386:24: error: no member named 'next' in 'struct
vm_map_entry'
} while (entry.next != first);
 ~ ^
procmap.c:396:16: warning: cast from 'gchar *' (aka 'char *') to
  'glibtop_map_entry *' (aka 'struct _glibtop_map_entry *')
increases
  required alignment from 1 to 8 [-Wcast-align]
return (glibtop_map_entry*) g_array_free(maps, FALSE);
   ^~
2 warnings and 4 errors generated.


Probably regressed by https://svnweb.freebsd.org/changeset/base/355491
Better ask on current@ list.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to 
"freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: devel/libgtop build error

2019-12-16 Thread Jan Beich
Nilton Jose Rizzo  writes:

> Problem with compile devel/libgtop
>
> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../..
> -I../../sysdeps/freebsd -I../../include -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include
> -I/usr/local/include -I/usr/local/include -Winline -Wall -Wchar-
> subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs 
> -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fstack-
> protector-strong -fno-strict-aliasing -MT procargs.lo -MD -MP -MF
> .deps/procargs.Tpo -c procargs.c -o procargs.o >/dev/null 2>&1
> procmap.c:101:25: warning: unused variable 'um' [-Wunused-variable]
> struct ufsmount um;
> ^
> procmap.c:282:39: error: no member named 'next' in 'struct
> vm_map_entry'
> first = vmspace.vm_map.header.next;
> ~ ^
> procmap.c:285:56: error: no member named 'next' in 'struct
> vm_map_entry'
> (gulong) vmspace.vm_map.header.next,
>  ~ ^
> procmap.c:308:56: error: no member named 'next' in 'struct
> vm_map_entry'
> (gulong) entry.next,
>  ~ ^
> procmap.c:386:24: error: no member named 'next' in 'struct
> vm_map_entry'
> } while (entry.next != first);
>  ~ ^
> procmap.c:396:16: warning: cast from 'gchar *' (aka 'char *') to
>   'glibtop_map_entry *' (aka 'struct _glibtop_map_entry *')
> increases
>   required alignment from 1 to 8 [-Wcast-align]
> return (glibtop_map_entry*) g_array_free(maps, FALSE);
>^~
> 2 warnings and 4 errors generated.

Probably regressed by https://svnweb.freebsd.org/changeset/base/355491
Better ask on current@ list.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: devel/libgtop build error

2019-12-16 Thread w.schwarzenfeld

See:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242533

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"