Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#68203 closed defect (fixed)

direwolf @1.6_1 -- fails to Build - libgps API version might be incompatible

Reported by: RobK88 Owned by: Davide Gerhard <ra1nb0w@…>
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ra1nb0w
Port: direwolf

Description (last modified by RobK88)

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

Attachments (1)

main.log (141.7 KB) - added by RobK88 14 months ago.

Download all attachments as: .zip

Change History (4)

Changed 14 months ago by RobK88

Attachment: main.log added

comment:1 Changed 14 months ago by RobK88

Description: modified (diff)

comment:2 Changed 14 months ago by Davide Gerhard <ra1nb0w@…>

Owner: set to Davide Gerhard <ra1nb0w@…>
Resolution: fixed
Status: newclosed

In 9b67f8949c7ad631c844f985d2704c6930524acf/macports-ports (master):

direwolf: fix gpsd version

Closes: #68203

comment:3 Changed 14 months ago by fhgwright (Fred Wright)

How can (GPSD_API_MAJOR_VERSION == 5 && GPSD_API_MAJOR_VERSION > 11) possibly be correct?

Note: See TracTickets for help on using tickets.