Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 777960

Summary: sci-geosciences/gpsd-9999 fails with error "please sync ebuild & source"
Product: Gentoo Linux Reporter: Jason Phillips <jason.b.phillips>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: jamesb.fe80, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 806770, 682194    
Attachments: emerge --info '=sci-geosciences/gpsd-9999::gentoo'
emerge -pqv '=sci-geosciences/gpsd-9999::gentoo'
/var/tmp/portage/sci-geosciences/gpsd-9999/temp/build.log
proposed ebuild patch
proposed ebuild patch take 2

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(-)