Package fails to build as shown below, downgrading to scons 2.5.1 helps. $ sudo emerge gpsd Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sci-geosciences/gpsd-3.17::gentoo * gpsd-3.17.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gpsd-3.17.tar.gz to /var/tmp/portage/sci-geosciences/gpsd-3.17/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/gpsd-3.17/work >>> Preparing source in /var/tmp/portage/sci-geosciences/gpsd-3.17/work/gpsd-3.17 ... * Applying gpsd-3.17-do_not_rm_library.patch ... [ ok ] * python_export_best() is deprecated. Please use python_setup instead, * combined with python_export if necessary. >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/gpsd-3.17/work/gpsd-3.17 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-geosciences/gpsd-3.17/work/gpsd-3.17 ... scons -j5 prefix=/usr libdir=$prefix/lib64 udevdir=/lib/udev chrpath=False gpsd_user=gpsd gpsd_group=uucp nostrip=True python=False manbuild=False shared=True bluez=0 libgpsmm=1 clientdebug=0 dbus_export=1 ipv6=1 timing=0 ncurses=1 ntpshm=0 pps=0 shm_export=1 socket_export=1 libQgpsmm=0 usb=0 aivdm=1 ashtech=1 earthmate=1 evermore=1 fury=0 fv18=1 garmin=1 garmintxt=1 geostar=0 gpsclock=1 isync=1 itrax=1 mtk3301=1 navcom=1 nmea0183=1 nmea2000=0 ntrip=1 oceanserver=1 oncore=1 passthrough=0 rtcm104v2=1 rtcm104v3=1 sirf=1 skytraq=1 superstar2=1 tnt=1 tripmate=1 tsip=1 ublox=1 scons: Reading SConscript files ... File "/var/tmp/portage/sci-geosciences/gpsd-3.17/work/gpsd-3.17/SConstruct", line 378 print msg ^ SyntaxError: invalid syntax
Non-maintainer major version bump = you get to keep the pieces.
Created attachment 511896 [details, diff] Fixes-SConstruct-for-SCons-3.0.0.patch Debian have a patch you may want to check out.
There have been patches in gpsd master that fixes parts of this, but it is not complete: https://savannah.nongnu.org/bugs/index.php?54502
please test again with fixed scons-3.0.1-r100