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

Bug 818268

Summary: sci-geosciences/foxtrotgps-1.2.2-r1 - gps_functions.c: error: STATUS_NO_FIX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=808883
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-geosciences:foxtrotgps-1.2.2-r1:20211014-194449.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-10-15 15:19:51 UTC
      | ^
gps_functions.c: In function 'cb_gpsd_data':
gps_functions.c:766:64: error: 'STATUS_NO_FIX' undeclared (first use in this function); did you mean 'STATUS_RTK_FIX'?
  766 |              gpsdata->valid = (libgps_gpsdata.fix.status != STATUS_NO_FIX || libgps_gpsdata.fix.mode >= MODE_2D);
      |                                                             ^~~~~~~~~~~~~
      |                                                             STATUS_RTK_FIX
gps_functions.c:766:64: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20211011-200208

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.55.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 3f4ed1de52c76da3fba2e547220c8b558352c506
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 14 19:21:29 2021 +0000

    2021-10-14 19:21:27 UTC

emerge -qpvO sci-geosciences/foxtrotgps
[ebuild  N    ] sci-geosciences/foxtrotgps-1.2.2-r1
Comment 1 Toralf Förster gentoo-dev 2021-10-15 15:19:52 UTC
Created attachment 745023 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-15 15:19:54 UTC
Created attachment 745026 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-15 15:19:55 UTC
Created attachment 745029 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-15 15:19:56 UTC
Created attachment 745032 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-15 15:19:57 UTC
Created attachment 745035 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-15 15:19:58 UTC
Created attachment 745038 [details]
sci-geosciences:foxtrotgps-1.2.2-r1:20211014-194449.log
Comment 7 Toralf Förster gentoo-dev 2021-10-15 15:19:59 UTC
Created attachment 745041 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 03:27:22 UTC
This is actually new gpsd API breakage.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 04:00:22 UTC
Ugh, of course I forgot to close this bug too. See https://bugs.gentoo.org/808883#c3.
Comment 10 Larry the Git Cow gentoo-dev 2021-10-17 04:00:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e7064333caaf69e9d8bbcd98e34417fad1192e

commit 16e7064333caaf69e9d8bbcd98e34417fad1192e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-17 04:00:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-17 04:00:33 +0000

    sci-geosciences/foxtrotgps: add another bug reference to patch
    
    Closes: https://bugs.gentoo.org/818268
    Signed-off-by: Sam James <sam@gentoo.org>

 .../foxtrotgps/files/foxtrotgps-1.2.2-fix-some-receivers.patch           | 1 +
 1 file changed, 1 insertion(+)
Comment 11 Larry the Git Cow gentoo-dev 2021-10-17 04:26:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93640d6db2ef27849988cd5258eb4f3b1e8a67e

commit e93640d6db2ef27849988cd5258eb4f3b1e8a67e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-17 04:25:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-17 04:25:34 +0000

    sci-geosciences/foxtrotgps: fix patch for newer gpsd (again)
    
    I don't think the API define got bumped in 3.23.1?
    
    Closes: https://bugs.gentoo.org/818268
    Closes: https://bugs.gentoo.org/739568
    Closes: https://bugs.gentoo.org/806986
    Closes: https://bugs.gentoo.org/808883
    Signed-off-by: Sam James <sam@gentoo.org>

 .../foxtrotgps/files/foxtrotgps-1.2.2-fix-some-receivers.patch          | 2 +-
 sci-geosciences/foxtrotgps/foxtrotgps-1.2.2-r1.ebuild                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)