[MacPorts] #67547: sudo port install mapserver Failed

MacPorts noreply at macports.org
Thu Jun 1 14:25:56 UTC 2023


#67547: sudo port install mapserver Failed
------------------------+----------------------
  Reporter:  canonneo   |      Owner:  jea@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  mapserver  |
------------------------+----------------------
Changes (by jmroot):

 * owner:  (none) => jea@…
 * status:  new => assigned


Old description:

> mapserver
> v 6.2.4
> cofig.log:
> configure:14233: checking whether the /usr/bin/clang++ linker
> (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared
> libraries
> configure:14272: result: yes
> configure:14413: checking dynamic linker characteristics
> configure:15092: result: darwin21.6.0 dyld
> configure:15145: checking how to hardcode library paths into programs
> configure:15170: result: immediate
> configure:15210: checking whether the C++ compiler works
> configure:15232: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
> arm64 -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> -arch arm64 conftest.cpp  >&5
> configure:15232: $? = 0
> configure:15246: result:
> configure:15253: checking for flex
> configure:15269: found /usr/bin/flex
> configure:15280: result: flex
> configure:15317: flex conftest.l
> configure:15321: $? = 0
> configure:15323: checking lex output file root
> configure:15337: result: lex.yy
> configure:15342: checking lex library
> configure:15356: /usr/bin/clang -o conftest -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
> arm64 -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> -arch arm64 conftest.c   >&5
> Undefined symbols for architecture arm64:
>   "_yywrap", referenced from:
>       _yylex in conftest-ec9733.o
>       _main in conftest-ec9733.o
> ld: symbol(s) not found for architecture arm64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> configure:15356: $? = 1

New description:

 mapserver
 v 6.2.4
 cofig.log:
 {{{
 configure:14233: checking whether the /usr/bin/clang++ linker
 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries
 configure:14272: result: yes
 configure:14413: checking dynamic linker characteristics
 configure:15092: result: darwin21.6.0 dyld
 configure:15145: checking how to hardcode library paths into programs
 configure:15170: result: immediate
 configure:15210: checking whether the C++ compiler works
 configure:15232: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -arch arm64 conftest.cpp  >&5
 configure:15232: $? = 0
 configure:15246: result:
 configure:15253: checking for flex
 configure:15269: found /usr/bin/flex
 configure:15280: result: flex
 configure:15317: flex conftest.l
 configure:15321: $? = 0
 configure:15323: checking lex output file root
 configure:15337: result: lex.yy
 configure:15342: checking lex library
 configure:15356: /usr/bin/clang -o conftest -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -arch arm64 conftest.c   >&5
 Undefined symbols for architecture arm64:
   "_yywrap", referenced from:
       _yylex in conftest-ec9733.o
       _main in conftest-ec9733.o
 ld: symbol(s) not found for architecture arm64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure:15356: $? = 1
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/67547#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list