Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29633 - BlackBox 0.65.0-r1 ebuild error -- missed include
Summary: BlackBox 0.65.0-r1 ebuild error -- missed include
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-25 21:59 UTC by Kurt Grutzmacher
Modified: 2003-10-09 10:18 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 Kurt Grutzmacher 2003-09-25 21:59:27 UTC
Attempting to emerge blackbox (0.65.0-r1) and was getting "assert not assigned"
blah blah blah.. fix was to put #include <assert.h> into src/Window.cc

--- blackbox-0.65.0-mousewheel_focus-workspace.patch.orig       2003-09-25
21:15:42.000000000 -0700
+++ blackbox-0.65.0-mousewheel_focus-workspace.patch    2003-09-25
21:28:18.000000000 -0700
@@ -311,6 +311,15 @@
 diff -urN blackbox-0.65.0/src/Window.cc blackbox-0.65.0-wheel/src/Window.cc
 --- blackbox-0.65.0/src/Window.cc      2002-09-17 10:23:35.000000000 -0500
 +++ blackbox-0.65.0-wheel/src/Window.cc        2002-09-25 02:54:17.000000000 -0500
+@@ -55,7 +55,7 @@
+ #include "Window.hh"
+ #include "Windowmenu.hh"
+ #include "Workspace.hh"
+-
++#include <assert.h>
+
+ /*
+  * Initializes the class with default values/the window's set initial values.
 @@ -2663,6 +2663,12 @@
        XRaiseWindow(blackbox->getXDisplay(),
                     windowmenu->getSendToMenu()->getWindowID());


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 totenkopf 2003-09-27 05:09:09 UTC
I believe this is related to the same assert issue.  Here is the tail of
the emerge log:

g++ -DHAVE_CONFIG_H -I. -I. -I..   -DSHAPE  -DNDEBUG  -DTIMEDCACHE -DLOCALEPA
                        \"/usr/share/locale\" -DDEFAULTMENU=\"/usr/share/commonbox/menu\"
-DDEFAULTST                         =\"/usr/share/commonbox/styles/Fury-NG\"
 -march=athlon-xp -O3 -pipe  -I/usr/                         R6/include -Wall
-W -pedantic -c Window.cc
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[2]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r1/work/blackbox
                        65.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r1/work/blackbox
                        65.0'
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)
Comment 2 Commonbox Team gentoo-dev 2003-10-09 10:18:19 UTC
-r2 includes a patch to add assert.h include