Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36995 - eboard ebuild can't find headers
Summary: eboard ebuild can't find headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 23:00 UTC by N Addy
Modified: 2004-01-04 22:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description N Addy 2004-01-01 23:00:05 UTC
eboard-0.9.5 ebuild complains about required header(s) missing.

Reproducible: Always
Steps to Reproduce:
emerge -u eboard

Actual Results:  
>>> Source unpacked.
configuring eboard 0.9.5...
** ignoring unknown parameter --host=i686-pc-linux-gnu
** ignoring unknown parameter --mandir=/usr/share/man
** ignoring unknown parameter --infodir=/usr/share/info
** ignoring unknown parameter --datadir=/usr/share/games
** ignoring unknown parameter --sysconfdir=/etc/games
** ignoring unknown parameter --localstatedir=/var/games
** ignoring unknown parameter --enable-nls
checking sanity of install... ok
testing C++ compiler... g++ works
header verification:
  stdio.h             : no
  stdlib.h            : no
  string.h            : no
  unistd.h            : no
  time.h              : no
  stdarg.h            : no
  ctype.h             : no
  errno.h             : no
  fcntl.h             : no
  dirent.h            : no
  sys/stat.h          : no
  sys/types.h         : no
  sys/wait.h          : no
  signal.h            : no
  math.h              : no
  sys/time.h          : no
  sys/ioctl.h         : no
  sys/socket.h        : no
  netdb.h             : no
  netinet/in.h        : no
  arpa/inet.h         : no
  iostream            : no
  deque               : no
  list                : no
  vector              : no
  stack               : no
  string              : no
** at least one required header is missing.
 
!!! ERROR: games-board/eboard-0.9.5 failed.
!!! Function egamesconf, Line 47, Exitcode 2
!!! egamesconf failed


# emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.4.23-ck1)
=================================================================
System uname: 2.4.23-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups emacs encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python
quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86
xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-01-01 23:24:12 UTC
this is gonna take a little help on your part to figure out what is wrong ...
try this:
e=/usr/portage/games-board/eboard/eboard-0.9.5.ebuild
ebuild $e clean unpack
cd /var/tmp/portage/eboard-0.9.5/work/eboard-0.9.5
sed -i -e '/(STDOUT/s:.*::' -e '/(STDERR/s:.*::' configure
ebuild $e compile

and then you should see why all the header checks failed
Comment 2 N Addy 2004-01-01 23:38:36 UTC
It doesn't seem to like the CFLAGS.  I'm not having problems with other ebuilds.  Should I try -O2?

# ebuild $e compile
>>> md5 src_uri ;-) eboard-0.9.5.tar.gz
>>> md5 src_uri ;-) eboard-extras-1pl2.tar.gz
>>> md5 src_uri ;-) eboard-extras-2.tar.gz
>>> Checking eboard-0.9.5.tar.gz's mtime...
>>> Checking eboard-extras-1pl2.tar.gz's mtime...
>>> Checking eboard-extras-2.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
configuring eboard 0.9.5...
** ignoring unknown parameter --host=i686-pc-linux-gnu
** ignoring unknown parameter --mandir=/usr/share/man
** ignoring unknown parameter --infodir=/usr/share/info
** ignoring unknown parameter --datadir=/usr/share/games
** ignoring unknown parameter --sysconfdir=/etc/games
** ignoring unknown parameter --localstatedir=/var/games
** ignoring unknown parameter --enable-nls
checking sanity of install... ok
testing C++ compiler... g++ works
header verification:
  stdio.h             cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  stdlib.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  string.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  unistd.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  time.h              cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  stdarg.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  ctype.h             cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  errno.h             cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  fcntl.h             cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  dirent.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/stat.h          cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/types.h         cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/wait.h          cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  signal.h            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  math.h              cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/time.h          cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/ioctl.h         cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  sys/socket.h        cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  netdb.h             cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  netinet/in.h        cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  arpa/inet.h         cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  iostream            cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  deque               cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  list                cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  vector              cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  stack               cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
  string              cc1plus: error: bad value (i686 -O3 -pipe) for -march= switch
cc1plus: error: bad value (i686 -O3 -pipe) for -mcpu= switch
: no
** at least one required header is missing.
 
!!! ERROR: games-board/eboard-0.9.5 failed.
!!! Function egamesconf, Line 47, Exitcode 2
!!! egamesconf failed
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-02 07:00:29 UTC
same here
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-01-02 19:40:09 UTC
Just because you *can* use perl to configure software doesn't mean you *should*.

Fixed the eboard ebuild in CVS.
Comment 5 David Cozatt 2004-01-03 12:24:47 UTC
Eboard merges fine for me in an xterm but in root console stilll cannot find the headers.. I think this one should be re-opened

bus_drivr
Comment 6 David Cozatt 2004-01-03 12:27:21 UTC
Sorry about the double.Lesson: don't hit reload to see your post in mozilla :(

bus_drivr
Comment 7 SpanKY gentoo-dev 2004-01-03 12:40:56 UTC
it is fixed in cvs, sync up first
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2004-01-03 14:12:30 UTC
Confirmed, it works.
Comment 9 Gene Ruebsamen 2004-01-03 23:32:27 UTC
The new ebuild compiles fine, but now upon starting eboard, I get the following error message:

<PieceSet::PieceSet> ** file not found: basic_y.png

and eboard does not start...
Comment 10 Michiel de Bruijne 2004-01-04 00:46:03 UTC
Same over here, file was available in version 0.9.0, can someone who is able to please reopen this bugreport, thanks in advance for your support.
Comment 11 N Addy 2004-01-04 20:47:57 UTC
Reopened.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2004-01-04 21:15:05 UTC
This is a problem with your config files I think.  Try rm -rf ~/.eboard
and see if that helps.

This certainly isn't the same bug as before with the headers so I'm closing it
again.  If you still have problems with eboard not working, please open a new
bug will all the details.  Thanks.
Comment 13 SpanKY gentoo-dev 2004-01-04 22:19:25 UTC
please try `strings /usr/games/bin/eboard | grep games/`
if you see '/usr/games/share' then try re-emerging eboard
if you see '/usr/share/games' ... well i dunno, it should work ;x