NetBSD Problem Report #36236

From martin@duskware.de  Sat Apr 28 16:13:31 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4091263B960
	for <gnats-bugs@gnats.netbsd.org>; Sat, 28 Apr 2007 16:13:31 +0000 (UTC)
Message-Id: <20070428100926.5EE9063B964@narn.NetBSD.org>
Date: Sat, 28 Apr 2007 10:09:26 +0000 (UTC)
From: ishit@oak.dti.ne.jp
Reply-To: ishit@oak.dti.ne.jp
To: netbsd-bugs-owner@NetBSD.org
Subject: wm/wmx cat not build
X-Send-Pr-Version: www-1.0

>Number:         36236
>Category:       pkg
>Synopsis:       wm/wmx cat not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 28 16:15:01 +0000 2007
>Closed-Date:    Fri Jan 04 21:49:53 +0000 2008
>Last-Modified:  Fri Jan 04 21:49:53 +0000 2008
>Originator:     ISIHARA Takanori
>Release:        NetBSD/amd64
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc6.home 4.99.9 NetBSD 4.99.9 (ISHITPC6) #3: Sun Feb  4 08:59:11 JST 2007  sysbuild@ishitPc6.home:/opt/sysbuild/current/obj/amd64/sys/arch/amd64/compile/ISHITPC6 amd64

>Description:
wm/wmx can not build.

% cd /usr/pkgsrc/wm/wmx
% make
...(snip)...
===> Building for wmx-6.0nb2
awk '{print;} /^# DO NOT DELETE/{exit}' Makefile>Makefile.dep
test -s Makefile.dep
mv Makefile.dep Makefile;g++ -MM -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DPREFIX=\"/usr/pkg\" *.C>>Makefile
c++ -c -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DPREFIX=\"/usr/pkg\" Border.C
c++ -c -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DPREFIX=\"/usr/pkg\" Buttons.C
Buttons.C:187:8: warning: extra tokens at end of #endif directive
Buttons.C:193:8: warning: extra tokens at end of #endif directive
Buttons.C:199:8: warning: extra tokens at end of #endif directive
c++ -c -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DPREFIX=\"/usr/pkg\" Channel.C
c++ -c -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DPREFIX=\"/usr/pkg\" Client.C
Client.C: In member function 'int Client::getAtomProperty(Atom, Atom)':
Client.C:676: error: cast from 'char*' to 'int' loses precision

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/local/ccache/bin/g++ -c -O2 -pipe -I/opt/pkgsrc/wm/wmx/work.x86_64/.buildlink/include -I/opt/pkgsrc/wm/wmx/work.x86_64/.x11-buildlink/include -DPREFIX=\"/usr/pkg\" Client.C -L/opt/pkgsrc/wm/wmx/work.x86_64/.buildlink/lib
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/wm/wmx/work.x86_64/wmx-6
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/wm/wmx
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wm/wmx

>How-To-Repeat:
cd /usr/pkgsrc/wm/wmx
make

>Fix:

>Release-Note:

>Audit-Trail:
From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36236 CVS commit: pkgsrc/wm/wmx
Date: Thu, 11 Oct 2007 21:26:11 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adam
 Date:		Thu Oct 11 21:26:11 UTC 2007

 Modified Files:
 	pkgsrc/wm/wmx: Makefile Makefile.common distinfo
 Added Files:
 	pkgsrc/wm/wmx/patches: patch-ah patch-ai

 Log Message:
 Fix PR#36236


 To generate a diff of this commit:
 cvs rdiff -r1.11 -r1.12 pkgsrc/wm/wmx/Makefile pkgsrc/wm/wmx/distinfo
 cvs rdiff -r1.19 -r1.20 pkgsrc/wm/wmx/Makefile.common
 cvs rdiff -r0 -r1.1 pkgsrc/wm/wmx/patches/patch-ah \
     pkgsrc/wm/wmx/patches/patch-ai

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: rillig@netbsd.org
State-Changed-When: Tue, 01 Jan 2008 21:25:53 +0000
State-Changed-Why:
Has the problem disappeared after the commit from October 2007?


From: ishit <ishit@oak.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: rillig@netbsd.org
Subject: Re: pkg/36236 (wm/wmx cat not build)
Date: Sat, 05 Jan 2008 03:11:23 +0900

 At Tue,  1 Jan 2008 21:25:55 +0000 (UTC), rillig@netbsd.org wrote:
 > 
 > Synopsis: wm/wmx cat not build
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: rillig@netbsd.org
 > State-Changed-When: Tue, 01 Jan 2008 21:25:53 +0000
 > State-Changed-Why:
 > Has the problem disappeared after the commit from October 2007?

   I noticed that fixed this problem at October 2007, today.

   I am Sorry.

   I tested on my netbsd box (NetBSD/amd64 4.0), looks fine.

   Thank you very much.

 -- 
 ISIHARA Takanori

State-Changed-From-To: feedback->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Fri, 04 Jan 2008 21:49:53 +0000
State-Changed-Why:
The commit from October solved the problem. Thanks for the PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.