Closed
Bug 2037864
Opened 3 days ago
Closed 2 days ago
build failure on openbsd since bug 2021722 - no libdl
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
FIXED
152 Branch
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: gaston, Assigned: gaston, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
OpenBSD doesn't have libdl, which is hardcoded in https://searchfox.org/firefox-main/source/widget/gtk/vulkantest/moz.build#18
| Assignee | ||
Comment 1•3 days ago
|
||
this works locally:
--- i/widget/gtk/vulkantest/moz.build
+++ w/widget/gtk/vulkantest/moz.build
@@ -15,7 +15,8 @@ CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
CXXFLAGS += CONFIG["MOZ_PANGO_CFLAGS"]
OS_LIBS += CONFIG["MOZ_X11_LIBS"]
OS_LIBS += CONFIG["MOZ_GTK3_LIBS"]
-OS_LIBS += ["dl"]
+if CONFIG["OS_TARGET"] != "OpenBSD":
+ OS_LIBS += ["dl"]
LOCAL_INCLUDES += [
"/third_party/khronos/vulkan-headers/include",
mike, martin, good enough for you as a build system fix ?
Flags: needinfo?(stransky)
Flags: needinfo?(mh+mozilla)
| Assignee | ||
Comment 2•3 days ago
|
||
OpenBSD doesn't have libdl
Updated•3 days ago
|
Assignee: nobody → landry
Status: NEW → ASSIGNED
Comment 3•3 days ago
|
||
Comment 4•3 days ago
|
||
Just submitted the same patch as you wrote above
Comment 5•3 days ago
|
||
But feel free to drop mine and submit your patch since you were the first
| Assignee | ||
Comment 7•2 days ago
•
|
||
(In reply to Mike Hommey [:glandium] from comment #6)
This should use CONFIG["DL_LIBS"]
oh, even better, haven't spotted that possibility. updated https://phabricator.services.mozilla.com/D299111 after checking it still built on openbsd, would appreciate a quick rs & landing to autoland to unbreak my buildbot..
Pushed by stransky@redhat.com:
https://github.com/mozilla-firefox/firefox/commit/ddb0c91a585a
https://hg.mozilla.org/integration/autoland/rev/e1437dbd3ff1
fix build on OpenBSD after bug 2021722 r=stransky
Comment 9•2 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
status-firefox152:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•