Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158488 - games-board/xboard-4.2.7-r1 does not build unless USE="Xaw3d" is specified
Summary: games-board/xboard-4.2.7-r1 does not build unless USE="Xaw3d" is specified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 12:55 UTC by Bill Krueger
Modified: 2006-12-20 21:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xboard-4.2.7-xaw3d_configure.patch (xboard-4.2.7-xaw3d_configure.patch,625 bytes, patch)
2006-12-20 17:31 UTC, Ali Polatel (RETIRED)
Details | Diff
xboard-4.2.7.ebuild (xboard-4.2.7-r1.ebuild,1.43 KB, text/plain)
2006-12-20 17:32 UTC, Ali Polatel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Krueger 2006-12-18 12:55:10 UTC
I'm trying to upgrade from xboard-4.2.7 to xboard-4.2.7-r1. I don't have USE="Xaw3d" specified and do not have x11-libs/Xaw3d emerged. When I try to emerge xboard using the latest I get:


>>> 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 ]
>>> Unpacking source...
>>> Unpacking xboard-4.2.7.tar.gz to /var/tmp/portage/games-board/xboard-4.2.7-r1/work
>>> 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 ]
>>> Source unpacked.
>>> 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=\"/usr/share/info\" -c parser.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.   -march=pentium4 -O2 -pipe -fomit-frame-pointer   -DINFODIR=\"/usr/share/info\" -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: 'dialogWidgetClass' undeclared (first use in this function)
xboard.c:6961: warning: passing argument 2 of 'XtCreateManagedWidget' 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="Xaw3d" it pulls in x11-libs/Xaw3d-1.5-r1 and emerges successfully.
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2006-12-20 17:26:51 UTC
 This is my fault .. I'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've checked the cvs of the project and there doesn'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
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2006-12-20 17:31:02 UTC
Created attachment 104478 [details, diff]
xboard-4.2.7-xaw3d_configure.patch
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2006-12-20 17:32:22 UTC
Created attachment 104479 [details]
xboard-4.2.7.ebuild
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2006-12-20 21:12:33 UTC
Thanks.  In portage.