Date: Mon, 16 Dec 2019 16:20:01 -0500 From: Neel Chauhan <neel@neelc.org> To: Jan Beich <jbeich@freebsd.org> Cc: Nilton Jose Rizzo <rizzo@rizzo.eng.br>, freebsd-ports@freebsd.org Subject: Re: devel/libgtop build error Message-ID: <82d0c3413e170affb4b755ea703d8104@neelc.org> In-Reply-To: <zhfs-fes4-wny@FreeBSD.org> References: <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br> <zhfs-fes4-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <rizzo@rizzo.eng.br> 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-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82d0c3413e170affb4b755ea703d8104>