Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777960 - sci-geosciences/gpsd-9999 fails with error "please sync ebuild & source"
Summary: sci-geosciences/gpsd-9999 fails with error "please sync ebuild & source"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 806770 682194
  Show dependency tree
 
Reported: 2021-03-24 10:20 UTC by Jason Phillips
Modified: 2021-08-09 23:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sci-geosciences/gpsd-9999::gentoo' (gpsd.emerge.info,15.02 KB, text/plain)
2021-03-24 10:20 UTC, Jason Phillips
Details
emerge -pqv '=sci-geosciences/gpsd-9999::gentoo' (gpsd.emerge.pqv,560 bytes, text/plain)
2021-03-24 10:21 UTC, Jason Phillips
Details
/var/tmp/portage/sci-geosciences/gpsd-9999/temp/build.log (gpsd.build.log,2.29 KB, text/plain)
2021-03-24 10:21 UTC, Jason Phillips
Details
proposed ebuild patch (file_777960.txt,4.03 KB, patch)
2021-06-01 20:32 UTC, James Browning
Details | Diff
proposed ebuild patch take 2 (git.patch,3.52 KB, patch)
2021-06-19 03:53 UTC, James Browning
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Phillips 2021-03-24 10:20:16 UTC
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
Comment 1 Jason Phillips 2021-03-24 10:20:51 UTC
Created attachment 693309 [details]
emerge --info '=sci-geosciences/gpsd-9999::gentoo'
Comment 2 Jason Phillips 2021-03-24 10:21:13 UTC
Created attachment 693312 [details]
emerge -pqv '=sci-geosciences/gpsd-9999::gentoo'
Comment 3 Jason Phillips 2021-03-24 10:21:41 UTC
Created attachment 693315 [details]
/var/tmp/portage/sci-geosciences/gpsd-9999/temp/build.log
Comment 4 James Browning 2021-06-01 00:16:25 UTC
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.
Comment 5 James Browning 2021-06-01 20:32:59 UTC
Created attachment 713196 [details, diff]
proposed ebuild patch
Comment 6 Jason Phillips 2021-06-18 21:05:46 UTC
Thank you - works well enough for me.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-18 22:14:03 UTC
(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?
Comment 8 James Browning 2021-06-18 22:49:26 UTC
Signed-off-by: James Browning <jamesb.fe80@gmail.com>
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-18 23:04:11 UTC
(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.
Comment 10 James Browning 2021-06-19 03:53:14 UTC
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.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-19 23:45:43 UTC
(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'
Comment 12 Jason Phillips 2021-06-20 02:26:15 UTC
My result with the latest version of the patch is the same error as Sam's above...
Comment 13 Larry the Git Cow gentoo-dev 2021-08-09 23:46:57 UTC
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(-)