Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 12:19:17 -0300
From:      Nilton Jose Rizzo <rizzo@rizzo.eng.br>
To:        freebsd-ports@freebsd.org
Subject:   devel/libgtop build error
Message-ID:  <384861af672e89f343d759e740fd57f9e084fd1c.camel@rizzo.eng.br>

next in thread | raw e-mail | index | archive | help
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.

root@venus:/usr/ports/devel/libgtop # make -d A
<<<< CUT >>>>

*** Failed target:  do-build
*** Failed command: (cd /usr/ports/devel/libgtop/work/libgtop-2.38.0;
if ! /usr/bin/env GI_SCANNER_DISABLE_CACHE=1
XDG_CACHE_HOME=/usr/ports/devel/libgtop/work PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/usr/ports/devel/libgtop/work
XDG_CONFIG_HOME=/usr/ports/devel/libgtop/work
HOME=/usr/ports/devel/libgtop/work
PATH=/usr/ports/devel/libgtop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/
usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no
MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc"
CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing "
CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS=""
CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-
aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m
555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install
-m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m
444" gmake -f Makefile -j8 all; then if [ -n "Try to set
MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the
maintainer." ] ; then echo "===> Compilation failed unexpectedly.";
(echo "Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.") | /usr/bin/fmt 75 79 ; fi; false; fi)
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libgtop
Global:.ERROR_TARGET = do-build
Global:delete .ERROR_CMD (not found)
Applying[MAKE_PRINT_VAR_ON_ERROR] :@ to ""
Modifier pattern: "v"
Modifier pattern: "$v='${$v}'
"
Global:delete v (not found)
Result[MAKE_PRINT_VAR_ON_ERROR] of :@ is ""


FreeBSD venus 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r355777: Sun Dec 15
21:09:07 -03 2019     rizzo@venus:/usr/obj/usr/src/amd64.amd64/sys/VENU
S  amd64

root@venus:/usr/ports/devel/libgtop # svnlite info /usr/ports
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 520053
Node Kind: directory
Schedule: normal
Last Changed Author: tijl
Last Changed Rev: 520053
Last Changed Date: 2019-12-13 13:28:31 -0300 (Fri, 13 Dec 2019)


root@venus:/usr/ports/devel/libgtop # svnlite info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 355777
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 355777
Last Changed Date: 2019-12-15 15:05:18 -0300 (Sun, 15 Dec 2019)

TIA

-- 
Nilton José Rizzo





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384861af672e89f343d759e740fd57f9e084fd1c.camel>