Attempting to emerge sci-geosciences/gpsd-9999 fails with the error "please sync ebuild & source". Using a local repo with a version bumped to 3.22 (the current release) also fails with the same error. I apologise but my python skills aren't up to tracking down a cause... I'll attach the relevant logs. Jason
Created attachment 693309 [details] emerge --info '=sci-geosciences/gpsd-9999::gentoo'
Created attachment 693312 [details] emerge -pqv '=sci-geosciences/gpsd-9999::gentoo'
Created attachment 693315 [details] /var/tmp/portage/sci-geosciences/gpsd-9999/temp/build.log
All of the protocols and stuff moved from Sconstruct to SConscript, this suggests that a good place to start would be to make that substitution four times. Also, xmlto and docbook-xml-dtd have been replaced with asciidoctor with a corresponding dependence on Ruby. I do not remember whether the uucp group was dropped in favor of dialout or something else. Also, I think more Python versions are available.
Created attachment 713196 [details, diff] proposed ebuild patch
Thank you - works well enough for me.
(In reply to James Browning from comment #5) > Created attachment 713196 [details, diff] [details, diff] > proposed ebuild patch Could you please include the GCO sign off in a comment (Signed-off-by: Name <email>) if you agree with it so I can use it?
Signed-off-by: James Browning <jamesb.fe80@gmail.com>
(In reply to James Browning from comment #8) > Signed-off-by: James Browning <jamesb.fe80@gmail.com> Thanks! Interestingly, it doesn't apply for me. Is it too much to ask for one from git format-patch? I can do it manually if needed.
Created attachment 716778 [details, diff] proposed ebuild patch take 2 I think I messed up the whitespace less in this one. Also solves an earlier issue where the live build would not have man pages. Requires asciidoctor atm which is atypical. Might serve for a 3.22 ebuild given the absence of a version bump.
(In reply to James Browning from comment #10) > Created attachment 716778 [details, diff] [details, diff] > proposed ebuild patch take 2 > > I think I messed up the whitespace less in this one. Also solves an earlier > issue where the live build would not have man pages. Requires asciidoctor > atm which is atypical. Might serve for a 3.22 ebuild given the absence of a > version bump. Hmm: * Using python3.9 in global scope sed: -e expression #2, char 26: unterminated `s' command * ERROR: sci-geosciences/gpsd-9999::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_prepare * environment, line 3613: Called distutils-r1_src_prepare * environment, line 1518: Called python_prepare_all * environment, line 3478: Called die * The specific snippet of code: * sed -e "s|@VERSION@|$(pyvar gpsd_version)|" -e "s|@URL@|$(pyvar website)|" -e "s|@DEVMAIL@|$(pyvar devmail)|" -e "s|@SCRIPTS@|${pybins}|" -e "s|@SCRIPTS@|${pybins}|" -e "s|@DOWNLOAD@|$(pyvar download)|" -e "s|@IRCCHAN@|$(pyvar ircchan)|" -e "s|@ISSUES@|$(pyvar bugtracker)|" -e "s|@MAILMAN@|$(pyvar mailman)|" -e "s|@PROJECTPAGE@|$(pyvar projectpage)|" -e "s|@SUPPORT@|https://gpsd.io/SUPPORT.html|" -e "s|@WEBSITE@|https://gpsd.io/|" "${S}"/packaging/gpsd-setup.py.in > setup.py || die; * * If you need support, post the output of `emerge --info '=sci-geosciences/gpsd-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/gpsd-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/gpsd-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/gpsd-9999/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/gpsd-9999/work/gpsd-9999' * S: '/var/tmp/portage/sci-geosciences/gpsd-9999/work/gpsd-9999'
My result with the latest version of the patch is the same error as Sam's above...
The bug has been closed via 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(-)