[MacPorts] #68203: direwolf @1.6_1 -- fails to Build - libgps API version might be incompatible

MacPorts noreply at macports.org
Wed Sep 20 14:29:43 UTC 2023


#68203: direwolf @1.6_1 --  fails to Build - libgps API version might be
incompatible
-----------------------+--------------------
  Reporter:  RobK88    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  direwolf  |
-----------------------+--------------------
Description changed by RobK88:

Old description:

> I am unable to build `direwolf` on High Sierra (and on Lion).  Both fail
> with "libgps API version might be incompatible".
>
> See below and attache `main.log`
>
> {{{
> bash-3.2$ sudo port clean direwolf
> --->  Cleaning direwolf
> bash-3.2$
> bash-3.2$ sudo port -v install direwolf
>
> ,.. etc etc
>
> [ 13%] Built target ll2utm
> /Library/Developer/CommandLineTools/usr/bin/make  -f
> src/CMakeFiles/utm2ll.dir/build.make src/CMakeFiles/utm2ll.dir/depend
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build
> && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src/CMakeFiles/utm2ll.dir/DependInfo.cmake
> --color=
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/dwgpsd.c:64:2:
> error: libgps API version might be incompatible.
> #error libgps API version might be incompatible.
>  ^
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> /Library/Developer/CommandLineTools/usr/bin/make  -f
> src/CMakeFiles/utm2ll.dir/build.make src/CMakeFiles/utm2ll.dir/build
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> [ 13%] Building C object src/CMakeFiles/utm2ll.dir/utm2ll.c.o
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> && /usr/bin/clang -DAPPLICATION_NAME="\"Dire Wolf\""
> -DARCHITECTURE_x86_64=1 -DCOMPANY=\"wb2osz\" -DCOPYRIGHT="\"Copyright (c)
> 2019 John Langner, WB2OSZ. All rights reserved.\""
> -DIDENTIFIER="\"com.wb2osz.Dire Wolf\"" -DIREWOLF_VERSION=\"1.6.0\"
> -DMAJOR_VERSION=1 -DMINOR_VERSION=6 -DUSE_SSE
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
> -I/opt/local/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/external/geotranz
> -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic -Wall -Wvla
> -ffast-math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1 -DENABLE_GPSD
> -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64 -mmacosx-version-
> min=10.13 -std=gnu99 -MD -MT src/CMakeFiles/utm2ll.dir/utm2ll.c.o -MF
> CMakeFiles/utm2ll.dir/utm2ll.c.o.d -o CMakeFiles/utm2ll.dir/utm2ll.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/utm2ll.c
> 1 error generated.
> make[2]: *** [src/CMakeFiles/decode_aprs.dir/dwgpsd.c.o] Error 1
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> make[1]: *** [src/CMakeFiles/decode_aprs.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 15%] Building C object src/CMakeFiles/utm2ll.dir/textcolor.c.o
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> && /usr/bin/clang -DAPPLICATION_NAME="\"Dire Wolf\""
> -DARCHITECTURE_x86_64=1 -DCOMPANY=\"wb2osz\" -DCOPYRIGHT="\"Copyright (c)
> 2019 John Langner, WB2OSZ. All rights reserved.\""
> -DIDENTIFIER="\"com.wb2osz.Dire Wolf\"" -DIREWOLF_VERSION=\"1.6.0\"
> -DMAJOR_VERSION=1 -DMINOR_VERSION=6 -DUSE_SSE
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
> -I/opt/local/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/external/geotranz
> -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic -Wall -Wvla
> -ffast-math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1 -DENABLE_GPSD
> -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64 -mmacosx-version-
> min=10.13 -std=gnu99 -MD -MT src/CMakeFiles/utm2ll.dir/textcolor.c.o -MF
> CMakeFiles/utm2ll.dir/textcolor.c.o.d -o
> CMakeFiles/utm2ll.dir/textcolor.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/textcolor.c
> [ 16%] Linking C executable utm2ll
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
> && /opt/local/bin/cmake -E cmake_link_script
> CMakeFiles/utm2ll.dir/link.txt --verbose=ON
> /usr/bin/clang -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic
> -Wall -Wvla -ffast-math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1
> -DENABLE_GPSD -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64
> -mmacosx-version-min=10.13 -Wl,-search_paths_first
> -Wl,-headerpad_max_install_names -L/opt/local/lib
> -Wl,-headerpad_max_install_names CMakeFiles/utm2ll.dir/utm2ll.c.o
> CMakeFiles/utm2ll.dir/textcolor.c.o -o utm2ll  -Wl,-rpath,/opt/local/lib
> -lm ../external/geotranz/libgeotranz.a -lm
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> [ 16%] Built target utm2ll
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build"
> && /usr/bin/make -j2 -w all VERBOSE=ON
> Exit code: 2
> Error: Failed to build direwolf: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port direwolf failed
> }}}

New description:

 I am unable to build `direwolf` on High Sierra (and on Lion).  Both fail
 with "libgps API version might be incompatible".

 See below and attached `main.log`

 {{{
 bash-3.2$ sudo port clean direwolf
 --->  Cleaning direwolf
 bash-3.2$
 bash-3.2$ sudo port -v install direwolf

 ,.. etc etc

 [ 13%] Built target ll2utm
 /Library/Developer/CommandLineTools/usr/bin/make  -f
 src/CMakeFiles/utm2ll.dir/build.make src/CMakeFiles/utm2ll.dir/depend
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build
 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src/CMakeFiles/utm2ll.dir/DependInfo.cmake
 --color=
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/dwgpsd.c:64:2:
 error: libgps API version might be incompatible.
 #error libgps API version might be incompatible.
  ^
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 /Library/Developer/CommandLineTools/usr/bin/make  -f
 src/CMakeFiles/utm2ll.dir/build.make src/CMakeFiles/utm2ll.dir/build
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 [ 13%] Building C object src/CMakeFiles/utm2ll.dir/utm2ll.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 && /usr/bin/clang -DAPPLICATION_NAME="\"Dire Wolf\""
 -DARCHITECTURE_x86_64=1 -DCOMPANY=\"wb2osz\" -DCOPYRIGHT="\"Copyright (c)
 2019 John Langner, WB2OSZ. All rights reserved.\""
 -DIDENTIFIER="\"com.wb2osz.Dire Wolf\"" -DIREWOLF_VERSION=\"1.6.0\"
 -DMAJOR_VERSION=1 -DMINOR_VERSION=6 -DUSE_SSE
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/external/geotranz
 -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic -Wall -Wvla -ffast-
 math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1 -DENABLE_GPSD
 -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64 -mmacosx-version-
 min=10.13 -std=gnu99 -MD -MT src/CMakeFiles/utm2ll.dir/utm2ll.c.o -MF
 CMakeFiles/utm2ll.dir/utm2ll.c.o.d -o CMakeFiles/utm2ll.dir/utm2ll.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/utm2ll.c
 1 error generated.
 make[2]: *** [src/CMakeFiles/decode_aprs.dir/dwgpsd.c.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 make[1]: *** [src/CMakeFiles/decode_aprs.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 [ 15%] Building C object src/CMakeFiles/utm2ll.dir/textcolor.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 && /usr/bin/clang -DAPPLICATION_NAME="\"Dire Wolf\""
 -DARCHITECTURE_x86_64=1 -DCOMPANY=\"wb2osz\" -DCOPYRIGHT="\"Copyright (c)
 2019 John Langner, WB2OSZ. All rights reserved.\""
 -DIDENTIFIER="\"com.wb2osz.Dire Wolf\"" -DIREWOLF_VERSION=\"1.6.0\"
 -DMAJOR_VERSION=1 -DMINOR_VERSION=6 -DUSE_SSE
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/external/geotranz
 -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic -Wall -Wvla -ffast-
 math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1 -DENABLE_GPSD
 -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64 -mmacosx-version-
 min=10.13 -std=gnu99 -MD -MT src/CMakeFiles/utm2ll.dir/textcolor.c.o -MF
 CMakeFiles/utm2ll.dir/textcolor.c.o.d -o
 CMakeFiles/utm2ll.dir/textcolor.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/direwolf-1.6/src/textcolor.c
 [ 16%] Linking C executable utm2ll
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build/src
 && /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/utm2ll.dir/link.txt --verbose=ON
 /usr/bin/clang -pipe -Os -DNDEBUG -I/opt/local/include -mtune=generic
 -Wall -Wvla -ffast-math -ftree-vectorize -D_GNU_SOURCE  -ferror-limit=1
 -DENABLE_GPSD -DUSE_HAMLIB -DUSE_PORTAUDIO -O3 -DNDEBUG -arch x86_64
 -mmacosx-version-min=10.13 -Wl,-search_paths_first
 -Wl,-headerpad_max_install_names -L/opt/local/lib
 -Wl,-headerpad_max_install_names CMakeFiles/utm2ll.dir/utm2ll.c.o
 CMakeFiles/utm2ll.dir/textcolor.c.o -o utm2ll  -Wl,-rpath,/opt/local/lib
 -lm ../external/geotranz/libgeotranz.a -lm
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 [ 16%] Built target utm2ll
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/work/build"
 && /usr/bin/make -j2 -w all VERBOSE=ON
 Exit code: 2
 Error: Failed to build direwolf: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_direwolf/direwolf/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port direwolf failed
 }}}

--

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


More information about the macports-tickets mailing list