Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893186 - dev-ruby/net-imap-0.3.4 fails to compile: cp: cannot stat rfc3454.txt: No such file or directory
Summary: dev-ruby/net-imap-0.3.4 fails to compile: cp: cannot stat rfc3454.txt: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-04 08:27 UTC by Agostino Sarubbo
Modified: 2023-02-19 09:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,46.18 KB, text/plain)
2023-02-04 08:27 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 2023-02-04 08:27:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/net-imap-0.3.4 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-04 08:27:50 UTC
Created attachment 849828 [details]
build.log

build log and emerge --info
Comment 2 Ștefan Talpalaru 2023-02-15 16:35:53 UTC
Fix:

--- /usr/portage/dev-ruby/net-imap/net-imap-0.3.4.ebuild	2023-02-04 08:40:07.000000000 +0100
+++ net-imap-0.3.4-r1.ebuild	2023-02-15 17:32:24.013183812 +0100
@@ -33,6 +33,8 @@
 		-e 's/git ls-files -z/find * -print0/' \
 		-i ${RUBY_FAKEGEM_GEMSPEC} || die
 
-	mkdir rfcs || die
-	cp "${DISTDIR}/rfc3454.txt" rfcs/ || die
+	if use test; then
+		mkdir rfcs || die
+		cp "${DISTDIR}/rfc3454.txt" rfcs/ || die
+	fi
 }
Comment 3 Larry the Git Cow gentoo-dev 2023-02-19 09:53:45 UTC
The bug has been closed via the following commit(s):

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

commit 5db1cda785c290be88e0f4d58393e916cead4418
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-02-19 09:51:49 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-02-19 09:53:41 +0000

    dev-ruby/net-imap: only install rfc3454.txt when tests are enabled
    
    Thanks to Ștefan Talpalaru for proposing the fix.
    
    Closes: https://bugs.gentoo.org/893186
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/net-imap/net-imap-0.3.4.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)