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)

Unspecified
OpenBSD
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

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)

OpenBSD doesn't have libdl

Assignee: nobody → landry
Status: NEW → ASSIGNED

Just submitted the same patch as you wrote above

But feel free to drop mine and submit your patch since you were the first

This should use CONFIG["DL_LIBS"]

Flags: needinfo?(mh+mozilla)

(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..

Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: