obpager compiles fine with gcc-4.2.4, but fails with gcc-4.3.1: >>> Compiling source in /var/tmp/portage/x11-misc/obpager-1.8/work/obpager-1.8 ... Compiling src/main.cc Compiling src/OBPager.cc src/main.cc: In function ‘int main(int, char**)’: src/main.cc:67: error: ‘atoi’ was not declared in this scope src/main.cc:77: error: ‘exit’ was not declared in this scope src/main.cc:88: error: ‘exit’ was not declared in this scope src/main.cc:103: error: ‘exit’ was not declared in this scope src/main.cc:127: error: ‘exit’ was not declared in this scope src/main.cc:134: error: ‘exit’ was not declared in this scope src/main.cc:141: error: ‘exit’ was not declared in this scope src/main.cc:163: error: ‘exit’ was not declared in this scope src/main.cc:196: error: ‘exit’ was not declared in this scope src/OBPager.cc: In member function ‘void OBPager::connectToXServer(char*)’: src/OBPager.cc:167: error: ‘getenv’ was not declared in this scope src/OBPager.cc:171: warning: deprecated conversion from string constant to ‘char*’ src/OBPager.cc: In member function ‘void OBPager::createShowWindow()’: src/OBPager.cc:304: warning: deprecated conversion from string constant to ‘char*’ src/OBPager.cc:400: error: ‘auto_ptr’ is not a member of ‘std’ src/OBPager.cc:400: error: expected primary-expression before ‘unsigned’ src/OBPager.cc:400: error: expected `;' before ‘unsigned’ src/OBPager.cc:404: error: ‘pixmaskBits’ was not declared in this scope
Created attachment 156787 [details, diff] obpager-1.8-gcc43.patch This should fix the immediate gcc-4.3 problem, but the build process looks screwy to me. Fortunately that is not within the scope of this bug. Can anyone who actually uses this package confirm that this patch creates a working obpager binary for them?
Thanks for the patch! I applied it, and now obpager compiles fine. It starts up fine as well, but it doesn't actually switch desktops... So I'll keep this open, but remove the block on gcc-4.3 tracker.
Should we remove obpager from the tree? Latest release was 4 years ago, and it doesn't work any longer...
There is no reason to keep old, broken, unmaintained software in the tree, especially when many similar alternatives exist. I say yes to removal.
# Ben de Groot <yngwin@gentoo.org> (01 Oct 2008) # Masked for brokenness. Last release 4 years ago. There are plenty # alternatives. Pending removal in 30 days. Bug 226007 x11-misc/obpager
removed.