bugMIT/GNU Scheme - Bugs: bug #40152, mit-scheme-c-9.1.1 bootstrap fails...


bug #40152: mit-scheme-c-9.1.1 bootstrap fails when libxcb (and probably others) are missing

Submitter:  George Skabinsky <gska>
Submitted:  Mon 30 Sep 2013 09:48:08 PM UTC
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Thu 03 Oct 2013 10:32:15 PM UTC, comment #2: 

The problem is not that MIT Scheme uses libxcb and it is missing.  The problem is threefold:

1. The bootstrap build tries to link against X11 needlessly.
2. The build fails late during make, not early during configure, when linking against libX11 fails.
3. Using -lX11 brought in a static libX11.a, which is probably not the right thing -- although I don't know in this case.

On an ELF system and perhaps others, if you link against a static libX11.a, when libX11 normally depends on libxcb, then the normal recursive shared library dependency mechanism of ELF doesn't kick in because the libraries are static.  Instead, if you want to link with -lX11, you must also pass -lxcb and similar for every library libX11 depends on itself.

Taylor R. Campbell <riastradh>
Group Member
Thu 03 Oct 2013 07:08:03 PM UTC, comment #1: 

I cannot find any mention of a libxcb in the source code.  ?

The configure script might have enabled an X11 "plugin" (microcode module), but I'm not sure how that would get libxcb involved.  You are building on a YoYoDyne Quantum Core for the 8thDimension desktop?

Matt Birkholz <mhb>
Group Member
Mon 30 Sep 2013 09:48:08 PM UTC, original submission:  

... after a build time of over an hour.

ideally, building a command line compiler should not involve any X11 libraries at all - so i assume it's only used for some plugin or code library.

the configure script should check if those optional dependencies exist, and if not exclude the code using them from the build process.

if they're not optional, an error message at configure time is appropriate.

George Skabinsky <gska>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by riastradh (Posted a comment)
  • -email is unavailable- added by mhb (Posted a comment)
  • -email is unavailable- added by mhb
  • -email is unavailable- added by gska (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-03 mhb Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code