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

Bug 687492

Summary: dev-lang/go-1.12.5 on 32-bit system results in perpetual revdep-rebuild
Product: Gentoo Linux Reporter: solamour <solamour>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: adrian+gentoo, chain
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=673386
Whiteboard:
Package list:
Runtime testing required: ---

Description solamour 2019-06-06 04:57:16 UTC
After installing "dev-lang/go-1.12.5" on an x86 machine (i.e. 32-bit), "revdep-rebuild" wants to keep rebuilding "dev-lang/go".

Reproducible: Always

Steps to Reproduce:
1. Install "dev-lang/go-1.12.5" on an x86 machine (i.e. 32-bit).
2. Run "revdep-rebuild", which will rebuild "dev-lang/go".
3. After rebuilding "dev-lang/go" is done, run "revdep-rebuild" again.
Actual Results:  
"revdep-rebuild" will rebuild "dev-lang/go" again, even though it just finished rebuilding.

Expected Results:  
Once rebuilding "dev-lang/go" is done, it should stop rebuilding.

"revdep-rebuild -p -d" shows the following.

   * Broken files that require: libc.so.6 (64 bits)
   * /usr/lib/go/src/cmd/vendor/github.com/google/pprof/internal/binutils/testdata/exe_linux_64
   * /usr/lib/go/src/debug/dwarf/testdata/ranges.elf
   * /usr/lib/go/src/debug/dwarf/testdata/typedef.elf 

Those files are 64-bit executables, so they shouldn't be in a 32-bit machine. But they are, so "revdep-rebuild" wants to rebuild, which doesn't solve the problem.

If I remove aforementioned files, "revdep-rebuild" finally says the system is consistent.
Comment 1 James McClain 2019-09-17 03:05:23 UTC
Can confirm this also happens on arm.
Comment 2 Nick Ledovskikh 2019-11-18 13:00:21 UTC
Confirm. The same on x86. go-1.12.9 keeps rebuilding every time.
Comment 3 Vitaly Zdanevich 2019-12-26 16:43:14 UTC
The same on my Gentoo i686 also, dev-lang/go-1.12.13.
Comment 4 Larry the Git Cow gentoo-dev 2020-04-12 22:37:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31be9422cdd8a564b3fe59179d31cbd2bcfcdb51

commit 31be9422cdd8a564b3fe59179d31cbd2bcfcdb51
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2020-04-12 22:17:53 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2020-04-12 22:36:26 +0000

    dev-lang/go: 1.14.2 bump
    
    I am also removing the "testdata" directories from the installation and
    enabling tests since they work on amd64.
    
    Closes: https://bugs.gentoo.org/650594
    Closes: https://bugs.gentoo.org/687492
    Closes: https://bugs.gentoo.org/711946
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 dev-lang/go/Manifest         |   1 +
 dev-lang/go/go-1.14.2.ebuild | 185 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+)
Comment 5 James 2020-04-20 13:40:50 UTC
(In reply to Larry the Git Cow from comment #4)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=31be9422cdd8a564b3fe59179d31cbd2bcfcdb51
> 
> commit 31be9422cdd8a564b3fe59179d31cbd2bcfcdb51
> Author:     William Hubbs <williamh@gentoo.org>
> AuthorDate: 2020-04-12 22:17:53 +0000
> Commit:     William Hubbs <williamh@gentoo.org>
> CommitDate: 2020-04-12 22:36:26 +0000
> 
>     dev-lang/go: 1.14.2 bump
>     
>     I am also removing the "testdata" directories from the installation and
>     enabling tests since they work on amd64.
>     
>     Closes: https://bugs.gentoo.org/650594
>     Closes: https://bugs.gentoo.org/687492
>     Closes: https://bugs.gentoo.org/711946
>     Signed-off-by: William Hubbs <williamh@gentoo.org>
> 
>  dev-lang/go/Manifest         |   1 +
>  dev-lang/go/go-1.14.2.ebuild | 185
> +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 186 insertions(+)

Is there a possibility that we could get this backported to the stable versions?  Every time I run revdep-rebuild on my stable system it rebuilds.