NetBSD Problem Report #52133

From gson@gson.org  Mon Apr  3 16:43:58 2017
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7B50F7A234
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  3 Apr 2017 16:43:58 +0000 (UTC)
Message-Id: <20170403164353.32A547446DB@guava.gson.org>
Date: Mon,  3 Apr 2017 19:43:53 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: xentools48 does not build on NetBSD 6.1.5
X-Send-Pr-Version: 3.95

>Number:         52133
>Category:       pkg
>Synopsis:       xentools48 does not build on NetBSD 6.1.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 03 16:45:00 +0000 2017
>Last-Modified:  Sun May 14 17:39:44 +0000 2017
>Originator:     Andreas Gustafsson
>Release:        NetBSD 6.1.5
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Building the sysutils/xentools48 package on NetBSD 6.1.5 fails with:

   gcc -I/usr/pkg/include/pixman-1    -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common  -DXC_WANT_COMPAT_EVTCHN_API=1 	-DXC_WANT_COMPAT_GNTTAB_API=1 	-DXC_WANT_COMPAT_MAP_FOREIGN_API=1 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/toollog/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/evtchn/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/gnttab/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/foreignmemory/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libxc/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/xenstore/include 	-I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/xenstore/compat/include 	 -Wendif-labels -Wempty-body -Wnested-externs -Wformat-securit
 y -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -I/usr/pkg/include -I/tmp/sysutils/xentools48/work/xen-4.8.0/tools/qemu-xen/tests -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include   -g -O2 -I/usr/include -I/usr/pkg/include -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes  -Wdeclaration-after-statement   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes  -Wdeclaration-after-statement   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .subdirs-all.d   -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes  -Wdeclaration-after-statement   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .subdir-all-qemu-xen-dir.d   -Wl,--warn-common -m64 -g -L/usr/lib -Wl,-R/usr/l
 ib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib          -L/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libxc 	-L/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/xenstore 	-L/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/evtchn 	-L/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/gnttab 	-L/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/foreignmemory 	-Wl,-rpath-link,/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/toollog 	-Wl,-rpath-link,/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/evtchn 	-Wl,-rpath-link,/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/gnttab 	-Wl,-rpath-link,/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/call 	-Wl,-rpath-link,/tmp/sysutils/xentools48/work/xen-4.8.0/tools/../tools/libs/foreignmemory 	-Wl,-rpath,/usr/pkg/libexec/xen/lib -o qemu-img qemu-img.o async.o thread-pool.o block.o blockjob.o main-loop.o iohandler.o qemu-timer.o aio-posix.o qemu-io-cmds.o block/raw_bsd
 .o block/qcow.o block/vdi.o block/vmdk.o block/cloop.o block/bochs.o block/vpc.o block/vvfat.o block/qcow2.o block/qcow2-refcount.o block/qcow2-cluster.o block/qcow2-snapshot.o block/qcow2-cache.o block/qed.o block/qed-gencb.o block/qed-l2-cache.o block/qed-table.o block/qed-cluster.o block/qed-check.o block/quorum.o block/parallels.o block/blkdebug.o block/blkverify.o block/blkreplay.o block/block-backend.o block/snapshot.o block/qapi.o block/raw-posix.o block/null.o block/mirror.o block/commit.o block/io.o block/throttle-groups.o block/nbd.o block/nbd-client.o block/sheepdog.o block/accounting.o block/dirty-bitmap.o block/write-threshold.o block/crypto.o nbd/server.o nbd/client.o nbd/common.o block/dmg.o crypto/init.o crypto/hash.o crypto/hash-gcrypt.o crypto/aes.o crypto/desrfb.o crypto/cipher.o crypto/tlscreds.o crypto/tlscredsanon.o crypto/tlscredsx509.o crypto/tlssession.o crypto/secret.o crypto/random-gcrypt.o crypto/pbkdf.o crypto/pbkdf-gcrypt.o crypto/ivgen.o crypto/ivgen-e
 ssiv.o crypto/ivgen-plain.o crypto/ivgen-plain64.o crypto/afsplit.o crypto/xts.o crypto/block.o crypto/block-qcow.o crypto/block-luks.o io/channel.o io/channel-buffer.o io/channel-command.o io/channel-file.o io/channel-socket.o io/channel-tls.o io/channel-watch.o io/channel-websock.o io/channel-util.o io/task.o qom/object.o qom/container.o qom/qom-qobject.o qom/object_interfaces.o  libqemuutil.a libqemustub.a  -lz -lbz2 -lm -L/usr/pkg/lib -lgthread-2.0  -pthread -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl   -lrt  -lz -lz -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error  -lutil
   contrib/ivshmem-server/ivshmem-server.o: In function `ivshmem_server_start':
   /tmp/sysutils/xentools48/work/xen-4.8.0/tools/qemu-xen/contrib/ivshmem-server/ivshmem-server.c:299: undefined reference to `shm_open'
   Makefile:354: recipe for target 'ivshmem-server' failed
   gmake[3]: *** [ivshmem-server] Error 1

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bouyer
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 04 Apr 2017 15:54:32 +0000
Responsible-Changed-Why:
Over to committer


Responsible-Changed-From-To: bouyer->pkg-manager
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Sun, 14 May 2017 17:39:44 +0000
Responsible-Changed-Why:
not a simple build error fix


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.