Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62740 - Fluxbox fails to start with no errors or core dumps
Summary: Fluxbox fails to start with no errors or core dumps
Status: RESOLVED DUPLICATE of bug 62722
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Ciaran McCreesh
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 12:17 UTC by Jason Johnston
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
This is the patch file in attachment format... instead of inline (fluxbox-0.9.10.amd64_fix.patch,774 bytes, patch)
2004-09-03 13:01 UTC, Jason Johnston
Details | Diff
Fixed ebuild to use the patch (fluxbox-0.9.10.ebuild,1.80 KB, application/octet-stream)
2004-09-03 13:02 UTC, Jason Johnston
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Johnston 2004-09-03 12:17:06 UTC
Fluxbox fails to start with no errors or core dumps, but version 0.9.9 works wonderfully.  I spoke with Rathnor in #fluxbox and gave him access to my system, where he proceeded to create a patch to fix the issue.

Reproducible: Always
Steps to Reproduce:
1. emerge -u world || emerge fluxbox if you dont have it installed
2. startx with .xinitrc calling fluxbox or startfluxbox either one
3. 

Actual Results:  
X11 dies with no errors and no core dumps.

Expected Results:  
Started X11 and the fluxbox window manager.

Here is Rathnor's patch to fix the issue.

diff -I'^// \$Id' -Naur --exclude-from diff-exclude
fluxbox.real/src/FbTk/XmbFontImp.cc fluxbox.toolbar/src/FbTk/XmbFontImp.cc
--- fluxbox.real/src/FbTk/XmbFontImp.cc	2004-09-01 01:26:39.000000000 +1000
+++ fluxbox.toolbar/src/FbTk/XmbFontImp.cc	2004-09-04 03:03:16.000000000 +1000
@@ -173,9 +173,9 @@
     }
 
     getFontElement(fontname, weight, FONT_ELEMENT_SIZE,
-                   "-medium-", "-bold-", "-demibold-", "-regular-", 0);
+                   "-medium-", "-bold-", "-demibold-", "-regular-", NULL);
     getFontElement(fontname, slant, FONT_ELEMENT_SIZE,
-                   "-r-", "-i-", "-o-", "-ri-", "-ro-", 0);
+                   "-r-", "-i-", "-o-", "-ri-", "-ro-", NULL);
     getFontSize(fontname, &pixel_size);
 
     if (! strcmp(weight, "*"))
Comment 1 Jason Johnston 2004-09-03 13:01:47 UTC
Created attachment 38839 [details, diff]
This is the patch file in attachment format... instead of inline
Comment 2 Jason Johnston 2004-09-03 13:02:58 UTC
Created attachment 38841 [details]
Fixed ebuild to use the patch

This ebuild is fixed to use the attached patch.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2004-09-04 02:24:52 UTC
This is the issue that should be fixed in -r1. please re-open if i'm wrong

*** This bug has been marked as a duplicate of 62722 ***