<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>158488</bug_id>
          
          <creation_ts>2006-12-18 12:55 0000</creation_ts>
          <short_desc>games-board/xboard-4.2.7-r1 does not build unless USE=&quot;Xaw3d&quot; is specified</short_desc>
          <delta_ts>2006-12-20 21:12:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bill_krueger@verizon.net</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>hawking@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>bill_krueger@verizon.net</who>
            <bug_when>2006-12-18 12:55:10 0000</bug_when>
            <thetext>I&apos;m trying to upgrade from xboard-4.2.7 to xboard-4.2.7-r1. I don&apos;t have USE=&quot;Xaw3d&quot; specified and do not have x11-libs/Xaw3d emerged. When I try to emerge xboard using the latest I get:


&gt;&gt;&gt; Emerging (1 of 1) games-board/xboard-4.2.7-r1 to /
 * xboard-4.2.7.tar.gz MD5 ;-) ...                                                                         [ ok ]
 * xboard-4.2.7.tar.gz RMD160 ;-) ...                                                                      [ ok ]
 * xboard-4.2.7.tar.gz SHA1 ;-) ...                                                                        [ ok ]
 * xboard-4.2.7.tar.gz SHA256 ;-) ...                                                                      [ ok ]
 * xboard-4.2.7.tar.gz size ;-) ...                                                                        [ ok ]
 * xboard.png MD5 ;-) ...                                                                                  [ ok ]
 * xboard.png RMD160 ;-) ...                                                                               [ ok ]
 * xboard.png SHA1 ;-) ...                                                                                 [ ok ]
 * xboard.png SHA256 ;-) ...                                                                               [ ok ]
 * xboard.png size ;-) ...                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking xboard-4.2.7.tar.gz ;-) ...                                                                    [ ok ]
 * checking xboard.png ;-) ...                                                                             [ ok ]
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking xboard-4.2.7.tar.gz to /var/tmp/portage/games-board/xboard-4.2.7-r1/work
&gt;&gt;&gt; Unpacking xboard.png to /var/tmp/portage/games-board/xboard-4.2.7-r1/work
unpack xboard.png: file format not recognized. Ignoring.
 * Applying xboard-4.2.7-cmail.patch ...
  [ ok ]
 * Applying xboard-4.2.7-default-program.patch ...
  [ ok ]
 * Applying xboard-4.2.7-destdir.patch ...
  [ ok ]
&gt;&gt;&gt; Source unpacked.
&gt;&gt;&gt; Compiling source in /var/tmp/portage/games-board/xboard-4.2.7-r1/work/xboard-4.2.7 ...
 * econf: updating xboard-4.2.7/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xboard-4.2.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --without-Xaw3d --disable-zippy --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for library containing strerror... none required
checking for a BSD-compatible install... /bin/install -c
checking for lex... lex
checking for flex... (cached) lex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for remsh... no
checking for rsh... rsh
checking for nroff... nroff -man
checking for awk... /bin/awk
checking for perl... /usr/bin/perl
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking return type of signal handlers... void
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for _getpty... no
checking for grantpt... yes
checking for setitimer... yes
checking for usleep... yes
checking for gettimeofday... yes
checking for random... yes
checking for gethostname... yes
checking for setlocale... yes
checking for getpseudotty in -lseq... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking whether ptys or pipes should be used... pipes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmail
config.status: creating xboard.texinfo
config.status: creating config.h
config.status: executing default commands
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.   -march=pentium4 -O2 -pipe -fomit-frame-pointer   -DINFODIR=\&quot;/usr/share/info\&quot; -c parser.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.   -march=pentium4 -O2 -pipe -fomit-frame-pointer   -DINFODIR=\&quot;/usr/share/info\&quot; -c xboard.c
xboard.c:147:30: error: X11/Xaw3d/Dialog.h: No such file or directory
xboard.c:148:28: error: X11/Xaw3d/Form.h: No such file or directory

...snip...

xboard.c:6960: error: &apos;dialogWidgetClass&apos; undeclared (first use in this function)
xboard.c:6961: warning: passing argument 2 of &apos;XtCreateManagedWidget&apos; from incompatible pointer type
make: *** [xboard.o] Error 1

!!! ERROR: games-board/xboard-4.2.7-r1 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  xboard-4.2.7-r1.ebuild, line 39:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

----------------------------

When I specify USE=&quot;Xaw3d&quot; it pulls in x11-libs/Xaw3d-1.5-r1 and emerges successfully.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2006-12-20 17:26:51 0000</bug_when>
            <thetext> This is my fault .. I&apos;ve proposed this ebuild in bug 157875.So apologies first to everyone who used this ebuild.
 It seems the part dealing with --with-Xaw3d in configure.in has problems.I&apos;ve checked the cvs of the project and there doesn&apos;t seem to be an update for 2 years so I wrote a patch for configure.in to fix this.
 My patch and the new ebuild are attached.

 Sorry again,
 Ali</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2006-12-20 17:31:02 0000</bug_when>
            <thetext>Created an attachment (id=104478)
xboard-4.2.7-xaw3d_configure.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2006-12-20 17:32:22 0000</bug_when>
            <thetext>Created an attachment (id=104479)
xboard-4.2.7.ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2006-12-20 21:12:33 0000</bug_when>
            <thetext>Thanks.  In portage.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>104478</attachid>
            <date>2006-12-20 17:31 0000</date>
            <desc>xboard-4.2.7-xaw3d_configure.patch</desc>
            <filename>xboard-4.2.7-xaw3d_configure.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbmZpZ3VyZS5pbgkyMDAzLTExLTI3IDIxOjQ5OjI0LjAwMDAwMDAwMCArMDIwMAorKysg
Y29uZmlndXJlLWZpeGVkLmluCTIwMDYtMTItMjEgMDI6NDE6MzUuMDAwMDAwMDAwICswMjAwCkBA
IC0zNSwxMCArMzUsMTcgQEAKIEFDX1BBVEhfUFJPR1MoQVdLUEFUSCwgYXdrIG1hd2sgZ2F3ayBu
YXdrKQogQUNfUEFUSF9QUk9HUyhQRVJMUEFUSCwgcGVybCkKIAotQUNfQVJHX1dJVEgoWGF3M2Qs
IFsgIC0td2l0aC1YYXczZCAgICAgICAgICAgIHVzZSBYYXczZCBpbnN0ZWFkIG9mIFhhd10sCi0g
IFtBQ19ERUZJTkUoVVNFX1hBVzNEKQotICAgWEFXX0xJQlM9Ii1sWGF3M2QiXSwKLSAgWEFXX0xJ
QlM9Ii1sWGF3IikKK0FDX0FSR19XSVRIKFhhdzNkLCAKK1sgIC0td2l0aC1YYXczZCAgICAgICAg
ICAgIHVzZSBYYXczZCBpbnN0ZWFkIG9mIFhhd10sCitbIHdpdGhfeGF3M2Q9IiR3aXRodmFsIl0s
IFtlbmFibGVfeGF3M2Q9Im5vIl0pCisKK2lmIHRlc3QgIiR3aXRodmFsIiA9IHllczsgdGhlbgor
CUFDX0RFRklORShVU0VfWEFXM0QpCisJWEFXX0xJQlM9Ii1sWGF3M2QiCitlbHNlCisJWEFXX0xJ
QlM9Ii1sWGF3IgorZmkKKwogQUNfU1VCU1QoWEFXX0xJQlMpCiAKIEFDX0hFQURFUl9TVERDCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>104479</attachid>
            <date>2006-12-20 17:32 0000</date>
            <desc>xboard-4.2.7.ebuild</desc>
            <filename>xboard-4.2.7-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2dhbWVzLWJvYXJkL3hib2FyZC94Ym9hcmQtNC4y
LjctcjEuZWJ1aWxkLHYgMS4xIDIwMDYvMTIvMTIgMjI6NDA6Mjcgd29sZjMxbzIgRXhwICQKCldB
TlRfQVVUT0NPTkY9Mi4xCmluaGVyaXQgZXV0aWxzIGdhbWVzIGF1dG90b29scwoKREVTQ1JJUFRJ
T049IkdVSSBmb3IgZ251Y2hlc3MgYW5kIGZvciBpbnRlcm5ldCBjaGVzcyBzZXJ2ZXJzIgpIT01F
UEFHRT0iaHR0cDovL3d3dy50aW0tbWFubi5vcmcveGJvYXJkLmh0bWwiClNSQ19VUkk9Im1pcnJv
cjovL2dudS94Ym9hcmQvJHtQfS50YXIuZ3oKCW1pcnJvcjovL2dlbnRvby8ke1BOfS5wbmcKCWh0
dHA6Ly9kZXYuZ2VudG9vLm9yZy9+d29sZjMxbzIvc291cmNlcy9kdW1wLyR7UE59LnBuZyIKCkxJ
Q0VOU0U9IkdQTC0yIgpTTE9UPSIwIgp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