The link explains all: https://gitlab.com/gpsd/gpsd/-/issues/144
The discussion in the issue is a bit on the technical side (long story short, it hasn't been entirely resolved yet but a reasonably-good workaround is already in gpsd Git master) but GEM's message to gpsd-users says it all: only 3.20, 3.21 and 3.22 are affected. And according to the final comments on GitLab, unless some unexpected showstopper pops up 3.23 is expected later on today.
> Severity: normal → minor really? When a good percentage of pool.ntp.org forgets what time it is, that is "minor"? What about all the users that depend on a system clock that knows what year it is? gpsd 3.23 is out. Version bump please.
(In reply to Gary E. Miller from comment #2) > > Severity: normal → minor > > really? When a good percentage of pool.ntp.org forgets what time it is, > that is "minor"? What about all the users that depend on a system clock > that knows what year it is? > I'm sorry, this isn't supposed to be derogatory -- it's a stupid quirk of how our security rating system works (which I'd like to change). Please don't think much of it. > gpsd 3.23 is out. Version bump please. Already looking at it. Thanks.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c463a4eec44195855da8647e54fc47cf6639cbfd commit c463a4eec44195855da8647e54fc47cf6639cbfd Author: James Browning <jamesb.fe80@gmail.com> AuthorDate: 2021-08-09 23:45:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-09 23:46:50 +0000 sci-geosciences/gpsd: update 9999 with upstream changes 2.23 will follow soon. Will cut it based on the 9999 ebuild. [Small rebasing changes by sam@]. Bug: https://bugs.gentoo.org/806770 Closes: https://bugs.gentoo.org/777960 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: James Browning <jamesb.fe80@gmail.com> sci-geosciences/gpsd/gpsd-9999.ebuild | 61 ++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 29 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124eafc31d0d6fdf24f1dfe53f7c27c2a8cfc08d commit 124eafc31d0d6fdf24f1dfe53f7c27c2a8cfc08d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-08-10 23:48:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-10 23:48:32 +0000 sci-geosciences/gpsd: add 3.23 Bug: https://bugs.gentoo.org/806770 Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/gpsd/Manifest | 1 + sci-geosciences/gpsd/gpsd-3.23.ebuild | 197 ++++++++++++++++++++++++++++++++++ 2 files changed, 198 insertions(+)
Unable to check for sanity: > no match for package: sci-geosciences/gpsd-3.23
Hi, I'm seeing this ebuild fail when USE=-python is set? Something like the following. Is this my fault or something easy to repro for everyone? (Additional information, I have python, scons[python3_9] installed in the build env, I'm then trying to build gpsd without the python dependencies as it will be used elsewhere on a system without python. Was fine with previous gpsd) # USE=-python ROOT=/tmp/gpsd emerge -1v --nodeps sci-geosciences/gpsd These are the packages that would be merged, in order: [ebuild N ~] sci-geosciences/gpsd-3.23-r2:0/29::gentoo to /tmp/gpsd/ USE="cxx ipv6 ntp shm sockets -X -bluetooth -dbus -debug -latency-timing -ncurses -python -qt5 -static (-systemd) -test -udev -usb" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fury fv18 garmin garmintxt geostar gpsclock itrax mtk3301 navcom nmea0183 nmea2000 ntrip oceanserver oncore passthrough rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip -greis -isync -ublox" PYTHON_TARGETS="python3_9 -python3_10 -python3_8" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sci-geosciences/gpsd-3.23-r2::gentoo for /tmp/gpsd/ openpty failed: 'out of pty devices' * gpsd-3.23.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gpsd-3.23.tar.gz to /var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work >>> Preparing source in /var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23 ... * EPYTHON is unset while calling escons. This most likely means that * the ebuild did not call the appropriate eclass function before calling scons. * Please ensure that python_setup is called before escons, or that escons * is used within python_foreach_impl as appropriate. * ERROR: sci-geosciences/gpsd-3.23-r2::gentoo failed (compile phase): * EPYTHON unset in escons * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3114: Called escons 'prefix=/usr' 'libdir=$prefix/lib' 'udevdir=/lib/udev' 'rundir=/run' 'chrpath=False' 'gpsd_user=gpsd' 'gpsd_group=dialout' 'nostrip=True' 'systemd=no' 'unitdir=$prefix/lib' 'shared=True' 'bluez=no' 'libgpsmm=yes' 'clientdebug=no' 'dbus_export=no' 'ipv6=yes' 'timing=no' 'ncurses=no' 'ntpshm=yes' 'pps=yes' 'python=no' 'qt=no' 'shm_export=yes' 'socket_export=yes' 'usb=no' 'manbuild=False' 'aivdm=yes' 'ashtech=yes' 'earthmate=yes' 'evermore=yes' 'fury=yes' 'fv18=yes' 'garmin=yes' 'garmintxt=yes' 'geostar=yes' 'gpsclock=yes' 'greis=no' 'isync=no' 'itrax=yes' 'mtk3301=yes' 'navcom=yes' 'nmea0183=yes' 'nmea2000=yes' 'ntrip=yes' 'oceanserver=yes' 'oncore=yes' 'passthrough=yes' 'rtcm104v2=yes' 'rtcm104v3=yes' 'sirf=yes' 'skytraq=yes' 'superstar2=yes' 'tnt=yes' 'tripmate=yes' 'tsip=yes' 'ublox=no' * environment, line 1759: Called die * The specific snippet of code: * die "EPYTHON unset in escons"; * * If you need support, post the output of `emerge --info '=sci-geosciences/gpsd-3.23-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/gpsd-3.23-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23' * S: '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23' >>> Failed to emerge sci-geosciences/gpsd-3.23-r2 for /tmp/gpsd/, Log file: >>> '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/temp/build.log' * Messages for package sci-geosciences/gpsd-3.23-r2 merged to /tmp/gpsd/: * EPYTHON is unset while calling escons. This most likely means that * the ebuild did not call the appropriate eclass function before calling scons. * Please ensure that python_setup is called before escons, or that escons * is used within python_foreach_impl as appropriate. * ERROR: sci-geosciences/gpsd-3.23-r2::gentoo failed (compile phase): * EPYTHON unset in escons * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3114: Called escons 'prefix=/usr' 'libdir=$prefix/lib' 'udevdir=/lib/udev' 'rundir=/run' 'chrpath=False' 'gpsd_user=gpsd' 'gpsd_group=dialout' 'nostrip=True' 'systemd=no' 'unitdir=$prefix/lib' 'shared=True' 'bluez=no' 'libgpsmm=yes' 'clientdebug=no' 'dbus_export=no' 'ipv6=yes' 'timing=no' 'ncurses=no' 'ntpshm=yes' 'pps=yes' 'python=no' 'qt=no' 'shm_export=yes' 'socket_export=yes' 'usb=no' 'manbuild=False' 'aivdm=yes' 'ashtech=yes' 'earthmate=yes' 'evermore=yes' 'fury=yes' 'fv18=yes' 'garmin=yes' 'garmintxt=yes' 'geostar=yes' 'gpsclock=yes' 'greis=no' 'isync=no' 'itrax=yes' 'mtk3301=yes' 'navcom=yes' 'nmea0183=yes' 'nmea2000=yes' 'ntrip=yes' 'oceanserver=yes' 'oncore=yes' 'passthrough=yes' 'rtcm104v2=yes' 'rtcm104v3=yes' 'sirf=yes' 'skytraq=yes' 'superstar2=yes' 'tnt=yes' 'tripmate=yes' 'tsip=yes' 'ublox=no' * environment, line 1759: Called die * The specific snippet of code: * die "EPYTHON unset in escons"; * * If you need support, post the output of `emerge --info '=sci-geosciences/gpsd-3.23-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/gpsd-3.23-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23' * S: '/var/tmp/portage/sci-geosciences/gpsd-3.23-r2/work/gpsd-3.23'
(In reply to Ed Wildgoose from comment #7) > Hi, I'm seeing this ebuild fail when USE=-python is set? > > Something like the following. Is this my fault or something easy to repro > for everyone? Could you please file a new bug with the full build.log and emerge —-info?
It seems to be enough to fix the compile to move the python_prepare to the outer section, ie: diff --git a/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild b/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild index 96a5705d5db..3fdd5fef94c 100644 --- a/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild @@ -95,12 +95,11 @@ src_prepare() { default + python_setup use python && distutils-r1_src_prepare } python_prepare_all() { - python_setup - # Extract python info out of SConscript so we can use saner distribute pyarray() { sed -n "/^ *$1 *= *\\[/,/\\]/p" SConscript ; } local pyprogs=$(pyarray python_progs)
(In reply to Ed Wildgoose from comment #9) > It seems to be enough to fix the compile to move the python_prepare to the > outer section, ie: > It’s still a lot easier with a fresh bug given this is for the security element and it makes tracking easier ;) Thanks, I suspect this was introduced when I added the explicit scons dep. > diff --git a/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild > b/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild > index 96a5705d5db..3fdd5fef94c 100644 > --- a/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild > +++ b/sci-geosciences/gpsd/gpsd-3.23-r2.ebuild > @@ -95,12 +95,11 @@ src_prepare() { > > default > > + python_setup > use python && distutils-r1_src_prepare > } > > python_prepare_all() { > - python_setup > - > # Extract python info out of SConscript so we can use saner > distribute > pyarray() { sed -n "/^ *$1 *= *\\[/,/\\]/p" SConscript ; } > local pyprogs=$(pyarray python_progs)
Unable to check for sanity: > no match for package: sci-geosciences/gpsd-3.23-r2
gpsd 3.24 is out, please rev bump.
(In reply to Gary E. Miller from comment #12) > gpsd 3.24 is out, please rev bump. Revision refer to the "-r1", "-r2", and so on versioning scheme. Please file a new bug for a version bump.