Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30671 - Cannot emerge blackbox-0.65.0-r1 due to Window.cc not including assert.h
Summary: Cannot emerge blackbox-0.65.0-r1 due to Window.cc not including assert.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 08:07 UTC by Jeff Breker
Modified: 2003-10-10 19:14 UTC (History)
0 users

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 Jeff Breker 2003-10-08 08:07:14 UTC
When compiling blackbox manually I also get this error and apparently (looking
through the blackbox site) they know about it and are fixing it/fixed it. This
is the stderr output:

util/Makefile.am:8: bad macro name `_SOURCES'
util/Makefile.am:9: bad macro name `_LDADD'
util/Makefile.am:8: invalid unused variable name: `_SOURCES'
util/Makefile.am:9: invalid unused variable name: `_LDADD'
Window.cc: In member function `bool BlackboxWindow::setInputFocus()':
Window.cc:1396: error: `assert' undeclared (first use this function)
Window.cc:1396: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
Window.cc: In member function `void
   BlackboxWindow::constrain(BlackboxWindow::Corner, unsigned int*, unsigned
   int*)':
Window.cc:3240: error: `assert' undeclared (first use this function)
make[2]: *** [Window.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
                                                                                
!!! ERROR: x11-wm/blackbox-0.65.0-r1 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)

The problem is solved by inserting '#include <assert.h>' at the top of the
Window.cc file.

Reproducible: Always
Steps to Reproduce:
1. emerge blackbox
2. wait
3. profit!!! (ok just a little humor, please disregard)

Actual Results:  
Kinda explained in the details.

Expected Results:  
It should have compiled and installed blackbox.

It is supposedly being fixed upstream... I installed with the pentium4 stage3
tarball and need to use USE="-nls" to emerge blackbox regularly.
Comment 1 Jeff Breker 2003-10-10 19:14:51 UTC
blackbox-0.65.0-r2 compiles, I am going to mark this as fixed.