Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39368 - Blackbox fails to compile
Summary: Blackbox fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 10:52 UTC by Peter Gracar
Modified: 2018-01-03 14:54 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 Peter Gracar 2004-01-25 10:52:14 UTC
Emerging blackbox returns:
!!! ERROR: x11-wm/blackbox-0.65.0-r3 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge blackbox
2.
3.

Actual Results:  
Emerge fails with:
!!! ERROR: x11-wm/blackbox-0.65.0-r3 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)

Expected Results:  
Completed emerge

System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=sse -msse -mmmx -pipe -O3
-fomit-frame-pointer"CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse -msse -mmmx -pipe -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://128.213.5.34/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 aalib apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome
gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl svga tcpd tetex truetype x86 xml2
xmms xv zlib"
Comment 1 Brandon Hale (RETIRED) gentoo-dev 2004-01-25 10:57:04 UTC
You havent posted the actual error, which will be above the !!! lines.

Just as a thought, you really shouldnt be forcing optimization options here:
CFLAGS="-march=pentium4 -mfpmath=sse -msse -mmmx -pipe -O3
-fomit-frame-pointer"

-mfpmath=sse is just plain nasty, as it can cause math operations to return incorrect or less specific answers, and -msse -mmmx should be implied by -march, or enabled where appropriate by upstream makefiles. I also prefer -O2, but this part is unlikely to cause breakage.

Anyway, try w/ less agressive cflags, and give me the actual error.
Thanks,
--tseng
Comment 2 Peter Gracar 2004-01-25 11:03:14 UTC
Less agressive lines help nothing. Now I have CFLAGS="-march=pentium4 -pipe -O3 -fomit-frame-pointer"

The error:

In file included from BaseDisplay.hh:39,
                 from BaseDisplay.cc:85:
Timer.hh: In member function `_timer_queue<_Tp, _Sequence, _Compare>&
   _timer_queue<_Tp, _Sequence, _Compare>::operator=(const _timer_queue<_Tp,
   _Sequence, _Compare>&)':
Timer.hh:113: warning: no return statement in function returning non-void
In file included from BaseDisplay.hh:39,
                 from blackbox.hh:52,
                 from Basemenu.cc:46:
Timer.hh: In member function `_timer_queue<_Tp, _Sequence, _Compare>&
   _timer_queue<_Tp, _Sequence, _Compare>::operator=(const _timer_queue<_Tp,
   _Sequence, _Compare>&)':
Timer.hh:113: warning: no return statement in function returning non-void
make[2]: *** [Basemenu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [BaseDisplay.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: x11-wm/blackbox-0.65.0-r3 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)
Comment 3 Brandon Hale (RETIRED) gentoo-dev 2004-01-25 14:38:01 UTC
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" builds like a charm
for me. Closing the bug, as I cannot reproduce.