Subject: pkg/36236: wm/wmx cat not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 04/28/2007 16:15:03
>Number: 36236
>Category: pkg
>Synopsis: wm/wmx cat not build
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 28 16:15:01 +0000 2007
>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: