From owner-freebsd-ports@freebsd.org Mon Dec 16 15:53:32 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B60E91E7AE5 for ; Mon, 16 Dec 2019 15:53:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47c5R04Rn6z3y7q; Mon, 16 Dec 2019 15:53:32 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 91A0CEE4D; Mon, 16 Dec 2019 15:53:32 +0000 (UTC) From: Jan Beich To: Nilton Jose Rizzo Cc: freebsd-ports@freebsd.org Subject: Re: devel/libgtop build error References: <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br> Date: Mon, 16 Dec 2019 16:53:15 +0100 In-Reply-To: <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br> (Nilton Jose Rizzo's message of "Mon, 16 Dec 2019 12:19:17 -0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 15:53:32 -0000 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.