new builds of 3.20-10 got a python2 dependency by dh_python

Bug #1878158 reported by Christian Ehrhardt 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpsd (Ubuntu)
Fix Released
Undecided
Christian Ehrhardt 

Bug Description

This blocks 3.20-10 in proposed and needs to be resolved.

tags: added: server-next
Changed in gpsd (Ubuntu):
assignee: nobody → Christian Ehrhardt  (paelzer)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

package "gpsd" itself now has:
 Depends: netbase | systemd-sysv, lsb-base (>= 3.2-13), adduser (>= 3.34), libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libusb-1.0-0 (>= 2:1.0.8), libgps26 (= 3.20-10), python2:any, python3:any (>= 3.5~), python3

Maybe the moves gpsctl triggered that?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
tags: added: update-excuse
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

gpsctl is a binary, it is actually ubxtool

# file $(dpkg -L gpsd) | grep -i pyth
/usr/bin/ubxtool: Python script, ASCII text executable

# head /usr/bin/ubxtool
#! /usr/bin/python2
# -*- coding: UTF-8

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This was suggested by bzed as it is one common tool to manage HW.
But it has further issues like:

$ ubxtool
ubxtool: failed to import gps, check PYTHONPATH

python3-gps sn't helping as it is python2 - and gpsd-clients (where ubxtool was before) is replacing python-gps.
But actually there is NO python[2]-gps anymore.

This actually is a bit more twisted than you'd tihnk at first sight.
ubxtool was already made python3 compatible and fixed up in d/rules to have a proper python3 header.

With our moving around of binaries we fixed things that moved between gpsd-clients/gpsd-tools but the move of ubxtool was missed and we need to fix things up on that again.

Changed in gpsd (Ubuntu):
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

New depends of gpsd with fix:
Depends: netbase | systemd-sysv, lsb-base (>= 3.2-13), adduser (>= 3.34), libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libusb-1.0-0 (>= 2:1.0.8), libgps26 (= 3.20-10), python3:any (>= 3.5~), python3

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Resolved in https://salsa.debian.org/debian-gps-team/pkg-gpsd/-/merge_requests/7
Let us wait for 3.20-11 with that applied.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gpsd - 3.20-11

---------------
gpsd (3.20-11) unstable; urgency=medium

  [ Christian Ehrhardt ]
  * [232c8d73] d/rules: fix ubxtool to use python3 in the gpsd package (LP: #1878158)
    Signed-off-by: Christian Ehrhardt <email address hidden>

 -- Bernd Zeimetz <email address hidden> Tue, 12 May 2020 13:49:15 +0200

Changed in gpsd (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.