Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885759

Summary: media-radio/direwolf-1.5-r1 - dwgpsd.c: error: STATUS_FIX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: RESOLVED OBSOLETE    
Severity: normal CC: neil.stone, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
media-radio:direwolf-1.5-r1:20221213-070150.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-12-13 10:43:14 UTC
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -pthread -Igeotranz -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE=1 -D_BSD_SOURCE -DUSE_ALSA -DENABLE_GPSD -DUSE_CM108   -c -o dwgpsd.o dwgpsd.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -pthread -Igeotranz -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE=1 -D_BSD_SOURCE -DUSE_ALSA -DENABLE_GPSD -DUSE_CM108   -c -o dtime_now.o dtime_now.c
dwgpsd.c:61:2: error: #error libgps API version might be incompatible.
   61 | #error libgps API version might be incompatible.
      |  ^~~~~
dwgpsd.c: In function read_gpsd_thread:
dwgpsd.c:379:40: error: STATUS_FIX undeclared (first use in this function); did you mean STATUS_SIM?
  379 |           if (gpsdata.stupid_status >= STATUS_FIX && gpsdata.fix.mode >= MODE_2D) {
      |                                        ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221211-040003

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.17_p8 [openjdk-11]
2)	OpenJDK 17.0.5_p8 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 398f6dae872334ce54b1e1ca75699b14e32bb7d8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 13 06:31:48 2022 +0000

    2022-12-13 06:31:47 UTC

emerge -qpvO media-radio/direwolf
[ebuild  N    ] media-radio/direwolf-1.5-r1  USE="gps udev -hamlib"
Comment 1 Toralf Förster gentoo-dev 2022-12-13 10:43:15 UTC
Created attachment 842385 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-13 10:43:16 UTC
Created attachment 842387 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-13 10:43:17 UTC
Created attachment 842389 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-13 10:43:18 UTC
Created attachment 842391 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-13 10:43:19 UTC
Created attachment 842393 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-13 10:43:20 UTC
Created attachment 842395 [details]
media-radio:direwolf-1.5-r1:20221213-070150.log
Comment 7 Toralf Förster gentoo-dev 2022-12-13 10:43:21 UTC
Created attachment 842397 [details]
temp.tar.bz2
Comment 8 Greg Kubaryk 2023-06-27 00:47:25 UTC
*** Bug 909209 has been marked as a duplicate of this bug. ***
Comment 9 neil.stone 2023-06-28 07:15:05 UTC
Is there anything I (not a coder) can offer to assist in this build blocking issue?

At the moment I am left wanting to install Direwolf, yet neither v5 or v6 will build.

Many thanks for your efforts to get this resolved.
Comment 10 neil.stone 2023-07-04 07:44:45 UTC
Compiling without GPS useflag (or with -GPS useflag) is a success.

Fine for stationary stations, not so much if you want to go mobile.
Comment 11 Rick Farina (Zero_Chaos) gentoo-dev 2024-01-30 19:16:36 UTC
adding 1.7 which I believe fixes this issue.  Please reopen if I'm wrong and provide a new build.log