Closed
Bug 1287326
Opened 8 years ago
Closed 8 years ago
Misleading error messages in Linux builds
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox47 unaffected, firefox48 unaffected, firefox49 unaffected, firefox50 wontfix, firefox51 fixed)
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox47 | --- | unaffected |
firefox48 | --- | unaffected |
firefox49 | --- | unaffected |
firefox50 | --- | wontfix |
firefox51 | --- | fixed |
People
(Reporter: wgianopoulos, Assigned: acomminos)
References
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(1 file)
Since the landing of bug 1286649, I can no longer build 32-bit Linux under 64-bit OS. I get the following error: DEBUG: configure: error: Could not find the following X libraries: -lX11 -lXext -lX11-xcb -lxcb-shm -lxcb
Reporter | ||
Comment 1•8 years ago
|
||
I do this by defining the environment variable "PKG_CONFIG_PATH". It would seem that the modified code does not respect this setting.
Reporter | ||
Comment 2•8 years ago
|
||
Nevermind, installing the 32-bit version of libxcb-devel fixed the issue.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•8 years ago
|
||
OF course this does still leave the questions, why does this say none of these libraries was defined when the only issue was with lX11-xcb and lXcb-shm and -lxcb. Misreporting that -lX11 and -lXext were also not found delayed figuring this up substantially.
Reporter | ||
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: Can no longer cross-compile 32-bit linux under a 64-bit linux OS → Misleading error messages in Linux builds
Reporter | ||
Updated•8 years ago
|
Status: REOPENED → NEW
Reporter | ||
Comment 4•8 years ago
|
||
This error message: DEBUG: configure: error: Could not find the following X libraries: -lX11 -lXext -lX11-xcb -lxcb-shm -lxcb implies that none of the listed libraries could be found, when in fact, it is really trying to say that one or more of the listed libraries could not be found.
Severity: blocker → normal
Hardware: x86_64 → All
Updated•8 years ago
|
Whiteboard: [gfx-noted]
Updated•8 years ago
|
Version: Trunk → 50 Branch
(In reply to Bill Gianopoulos [:WG9s] from comment #2) > Nevermind, installing the 32-bit version of libxcb-devel fixed the issue. How did you install the 32-bit version of libxcb-devel ? I am using Ubuntu and am unable to resolve the error.
Updated•8 years ago
|
status-firefox47:
--- → unaffected
status-firefox48:
--- → unaffected
status-firefox49:
--- → unaffected
Reporter | ||
Comment 7•8 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #6) > Andrew, can we improve the error message here? I am not sure it is specifically a gfx issue or if this question needs to go to build-config.
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #6) > Andrew, can we improve the error message here? We could, sure; currently we just throw all of our linker flags for missing X libraries into $MISSING_X and then spew it later during configure. We could potentially terminate early and suggest to the user packages that may provide said libraries.
Flags: needinfo?(andrew)
Updated•8 years ago
|
Component: Graphics → Build Config
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → andrew
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•8 years ago
|
||
So the core issue here of misreporting linker flags is caused by `-lX11-xcb -lxcb-shm -lxcb` being specified in the `other-libraries` AC_CHECK_LIB parameter for all X dependencies, causing the call to fail if xcb is not present, and thus reporting every X library into MISSING_X. I'll fix up the missing symbol dependencies to make more sense.
Comment hidden (mozreview-request) |
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8782543 [details] Bug 1287326 - Construct XLIBS incrementally to avoid incorrect dependency failures. https://reviewboard.mozilla.org/r/72666/#review70490
Attachment #8782543 -
Flags: review?(mh+mozilla) → review+
Comment 12•8 years ago
|
||
Pushed by acomminos@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0110fe4b2090 Construct XLIBS incrementally to avoid incorrect dependency failures. r=glandium
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0110fe4b2090
Status: ASSIGNED → RESOLVED
Closed: 8 years ago → 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Comment 14•8 years ago
|
||
I think this can ride the trains.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•