Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760120 - net-news/rssguard-3.8.3 fails to compile
Summary: net-news/rssguard-3.8.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-16 07:50 UTC by Agostino Sarubbo
Modified: 2020-12-17 17:33 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,21.02 KB, application/x-xz)
2020-12-16 07:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-12-16 07:50:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-news/rssguard-3.8.3 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-16 07:50:21 UTC
Created attachment 678418 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 crabbed halo ablution 2020-12-16 08:38:41 UTC
The error is this:
Error copying /var/tmp/portage/net-news/rssguard-3.8.3/work/rssguard-3.8.3/src/librssguard/dynamic-shortcuts/dynamicshortcuts.cpp to /var/tmp/portage/net-news/rssguard-3.8.3/image/usr/include/librssguard/../librssguard/dynamic-shortcuts/dynamicshortcuts.cpp: Cannot create /var/tmp/portage/net-news/rssguard-3.8.3/image/usr/include/librssguard/../librssguard/dynamic-shortcuts/dynamicshortcuts.cpp for output

This looks a like maybe it's a parallel make failure where the install of dynamicshortcuts.cpp is racing against the creation of /usr/include/librssguard/../librssguard/dynamic-shortcuts

And we can see that indeed the two commands are issued in the wrong order in the log:

/usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/net-news/rssguard-3.8.3/work/rssguard-3.8.3/src/librssguard/dynamic-shortcuts/dynamicshortcuts.cpp /var/tmp/portage/net-news/rssguard-3.8.3/image/usr/include/librssguard/../librssguard/dynamic-shortcuts/dynamicshortcuts.cpp
/usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/net-news/rssguard-3.8.3/work/rssguard-3.8.3/src/librssguard/dynamic-shortcuts /var/tmp/portage/net-news/rssguard-3.8.3/image/usr/include/librssguard/../librssguard/dynamic-shortcuts

and dynamicshortcuts.h further down has no problems being installed.

/usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/net-news/rssguard-3.8.3/work/rssguard-3.8.3/src/librssguard/dynamic-shortcuts/dynamicshortcuts.h /var/tmp/portage/net-news/rssguard-3.8.3/image/usr/include/librssguard/../librssguard/dynamic-shortcuts/dynamicshortcuts.h

I'll try to reproduce it running this in a loop, but I'm pretty sure the solution is going to be to stick a -j1 in front of the emake in src_install
Comment 3 Larry the Git Cow gentoo-dev 2020-12-17 17:33:32 UTC
The bug has been closed via the following commit(s):

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

commit e52880cfbdfdb383f31844687e78a16df94252e9
Author:     Peter Alfredsen <crabbedhaloablution@icloud.com>
AuthorDate: 2020-12-16 13:59:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-12-17 17:33:29 +0000

    net-news/rssguard: fix parallel make issue in src_install
    
    Closes: https://bugs.gentoo.org/760120
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
    Closes: https://github.com/gentoo/gentoo/pull/18679
    Signed-off-by: Sam James <sam@gentoo.org>

 net-news/rssguard/rssguard-3.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)