[Bug 263265] The port audio/dexed fails to build: error: undefined symbol: environ

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Apr 2022 19:44:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263265

            Bug ID: 263265
           Summary: The port audio/dexed fails to build: error: undefined
                    symbol: environ
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

In order to reproduce please remove the patch
patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp and build.

It fails:
> ld: error: undefined symbol: environ
> >>> referenced by ld-temp.o
> >>>               lto.tmp:(juce::Process::openDocument(juce::String const&, juce::String const&))
> c++: error: linker command failed with exit code 1 (use -v to see invocation)


environ(7) says that only extern char **environ; is required for environ to be
available.
Therefore the above error should never occur, but it does occur.

-- 
You are receiving this mail because:
You are the assignee for the bug.