NetBSD Problem Report #48766
From www@NetBSD.org Sat Apr 26 20:42:35 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9D25AA5839
for <gnats-bugs@gnats.NetBSD.org>; Sat, 26 Apr 2014 20:42:35 +0000 (UTC)
Message-Id: <20140426204234.169A1A5847@mollari.NetBSD.org>
Date: Sat, 26 Apr 2014 20:42:34 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: wine-devel from pkgsrc-2014Q1 build failure on netbsd-5/i386
X-Send-Pr-Version: www-1.0
>Number: 48766
>Category: pkg
>Synopsis: wine-devel from pkgsrc-2014Q1 build failure on netbsd-5/i386
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 26 20:45:00 +0000 2014
>Closed-Date: Sat Dec 19 00:30:30 +0000 2015
>Last-Modified: Sat Dec 19 00:30:30 +0000 2015
>Originator: John D. Baker
>Release: NetBSD/i386-5.2_STABLE, pkgsrc-2014Q1
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #15: Fri Apr 25 14:02:15 CDT 2014 sysop@verthandi.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI i386
>Description:
Building "emulators/wine-devel" (wine-1.7.11nb1) fails on netbsd-5/i386
host as follows:
[...]
cc -m32 -c -o iphlpapi_main.o iphlpapi_main.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
-fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings \
-Wpointer-arith -fno-omit-frame-pointer -I/usr/pkg/include -I/usr/include \
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/ncurses -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/ncurses
iphlpapi_main.c: In function 'get_dns_servers':
iphlpapi_main.c:1115: error: conflicting types for '__res_get_state'
/usr/include/resolv.h:284: error: previous declaration of '__res_get_state' was here
iphlpapi_main.c:1116: error: conflicting types for '__res_getservers'
/usr/include/resolv.h:506: error: previous declaration of '__res_getservers' was here
Makefile:128: recipe for target 'iphlpapi_main.o' failed
gmake[1]: *** [iphlpapi_main.o] Error 1
gmake[1]: Leaving directory '/d0/build/pkgsrc/emulators/wine-devel/work/wine-1.7.11/dlls/iphlpapi'
Makefile:7154: recipe for target 'dlls/iphlpapi' failed
gmake: *** [dlls/iphlpapi] Error 2
*** Error code 2
Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel
For comparison, "emulators/wine-devel" builds successfully on a
6.99.40/i386 system (gcc48). Looking at the Makefile suggests it
may be builable on an amd64 system, but I've not tried that yet.
I will also see how it behaves on netbsd-6 hosts when I next have
opportunity.
>How-To-Repeat:
Attempt to build "emulators/wine-devel" from pkgsrc-2014Q1 on a
netbsd-5 (5.2_STABLE) i386 host.
>Fix:
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48766: wine-devel from pkgsrc-2014Q1 build failure on
netbsd-5/i386
Date: Sat, 26 Apr 2014 17:12:48 -0500 (CDT)
On 6.1_STABLE/amd64 it fails differently:
[...]
gcc -c -o signal_x86_64.o signal_x86_64.c -I. -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC \
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
-Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op -I/usr/pkg/include \
-I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm \
-I/usr/pkg/include/ncurses -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/ncurses
signal_x86_64.c: In function 'signal_init_thread':
signal_x86_64.c:2461:3: error: #error Please define setting %gs for your architecture
Makefile:566: recipe for target 'signal_x86_64.o' failed
gmake[1]: *** [signal_x86_64.o] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/emulators/wine-devel/work/wine-1.7.11/dlls/ntdll'
Makefile:10184: recipe for target 'dlls/ntdll' failed
gmake: *** [dlls/ntdll] Error 2
*** Error code 2
Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel
Basis for separate PR? (Logging here so it won't get lost.)
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48766: wine-devel from pkgsrc-2014Q1 build failure on
netbsd-5/i386
Date: Sun, 27 Apr 2014 14:02:44 -0500 (CDT)
Build succeeds on i386-6.1_STABLE.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48766 (wine-devel from pkgsrc-2014Q1 build failure on
netbsd-5/i386)
Date: Fri, 18 Dec 2015 16:47:59 -0600 (CST)
As netbsd-5 is EOL, this PR is no-longer relevant and may be closed.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 00:30:30 +0000
State-Changed-Why:
NetBSD 5 is EOL. Thanks for the update!
>Unformatted:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.