NetBSD Problem Report #41585

From kre@munnari.OZ.AU  Sat Jun 13 05:16:27 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 048A263B863
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 13 Jun 2009 05:16:27 +0000 (UTC)
Message-Id: <200906130516.n5D5GJeR027874@jade.coe.psu.ac.th>
Date: Sat, 13 Jun 2009 12:16:19 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: x11/openbsd-input-ws fails to compile (NetBSD 4.0) after modular-xorg-server upgrade
X-Send-Pr-Version: 3.95

>Number:         41585
>Category:       pkg
>Synopsis:       x11/openbsd-input-ws fails to compile (NetBSD 4.0) after modular-xorg-server upgrade
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 13 05:20:00 +0000 2009
>Closed-Date:    Tue Nov 27 21:15:07 +0000 2018
>Last-Modified:  Tue Nov 27 21:15:07 +0000 2018
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	After the (relatively) recent x11/modular-xorg-server upgrade
	x11/openbsd-input-ws compilations fail (on a NetBSD 4.0 release syystem)
>How-To-Repeat:
	Attempt to build x11/openbsd-input-ws - I use pkg_comp with libkver
	and the NetBSD 4.0 release sets (and sources) - except the x* sets
	intalled, but I doubt that's relevant for this problem.

	Expect to see ...

===> Building for openbsd-input-ws-1.2nb2
/usr/bin/make  all-recursive
Making all in src
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include   -O2 -I/usr/pkg/include -I/usr/pkg/include/xorg -I/usr/pkg/include/pixman-1 -I/usr/pkg/include    -I../src -MT ws.lo -MD -MP -MF ".deps/ws.Tpo" -c -o ws.lo ws.c;  then mv -f ".deps/ws.Tpo" ".deps/ws.Plo"; else rm -f ".deps/ws.Tpo"; exit 1; fi
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I.. -I/pkg_comp/obj/pkgsrc/x11/openbsd-input-ws/4x/.buildlink/include -O2 -I/pkg_comp/obj/pkgsrc/x11/openbsd-input-ws/4x/.buildlink/include/xorg -I/pkg_comp/obj/pkgsrc/x11/openbsd-input-ws/4x/.buildlink/include/pixman-1 -I../src -MT ws.lo -MD -MP -MF .deps/ws.Tpo -c ws.c  -fPIC -DPIC -o .libs/ws.o
ws.c:86: error: 'XF86_VERSION_CURRENT' undeclared here (not in a function)
ws.c:127: warning: 'ModuleInfoRec' is deprecated
ws.c: In function 'SetupProc':
ws.c:166: warning: 'xf86AddModuleInfo' is deprecated (declared at /pkg_comp/obj/pkgsrc/x11/openbsd-input-ws/4x/.buildlink/include/xorg/xf86.h:313)
ws.c: In function 'wsProc':
ws.c:386: warning: passing argument 4 of 'InitPointerDeviceStruct' from incompatible pointer type
ws.c:386: warning: passing argument 5 of 'InitPointerDeviceStruct' makes integer from pointer without a cast
ws.c:386: error: too many arguments to function 'InitPointerDeviceStruct'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/x11/openbsd-input-ws/4x/openbsd-input-ws-1.2/src
*** Error code 1

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bjs
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 14 Jun 2009 09:10:03 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: bjs->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 28 Feb 2011 15:07:29 +0000
Responsible-Changed-Why:
Reset responsible field for retired developer.


From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/41585
Date: Wed, 16 Mar 2011 03:53:21 +0300

 This driver was renamed to xf86-input-ws (and is now in xsrc).

 -- 
 Sergey Svishchev

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 27 Nov 2018 21:15:07 +0000
State-Changed-Why:
I'll save you the feedback: xf86-input-ws does build on netbsd/pkgsrc as it is today. Let me know if you are still having issues.


>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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.