Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751529 - sys-apps/opentmpfiles-0.3.1 fails to emerge during prefix bootstrap
Summary: sys-apps/opentmpfiles-0.3.1 fails to emerge during prefix bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-28 04:10 UTC by Anton
Modified: 2020-10-29 15:38 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,2.00 KB, application/octet-stream)
2020-10-28 04:13 UTC, Anton
Details
The ebuild environment file (environment,16.77 KB, text/plain)
2020-10-28 04:15 UTC, Anton
Details
Proposed patch (opentmpfiles.patch,435 bytes, patch)
2020-10-28 04:39 UTC, Anton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton 2020-10-28 04:10:26 UTC
bootstrap-prefix.sh dies with the error:

 * ERROR: sys-apps/opentmpfiles-0.3.1::gentoo failed (prepare phase):
 *   tmpfiles does not exist

This seems to be caused by
    hprefixify tmpfiles
in the src_prepare(). The source for the previous version of the package (sys-apps/opentmpfiles-0.2) used to include a file `tmpfiles`, but a similar-looking file in sys-apps/opentmpfiles-0.3.1 is called `tmpfiles.sh`

Reproducible: Always

Steps to Reproduce:
(Executed under Gentoo as the host OS)
1. wget https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/bootstrap-prefix.sh
2. chmod a+x bootstrap-prefix.sh
3. ./bootstrap-prefix.sh
4. Answer all the questions.
Actual Results:  
Bootstrap script fails with the error mentioned above.

Expected Results:  
Working Gentoo Prefix installation.
Comment 1 Anton 2020-10-28 04:13:54 UTC
Created attachment 668861 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-28 04:14:32 UTC
There's a PR already: https://github.com/gentoo/gentoo/pull/18053
Comment 3 Anton 2020-10-28 04:15:19 UTC
Created attachment 668864 [details]
The ebuild environment file
Comment 4 Anton 2020-10-28 04:39:13 UTC
Created attachment 668867 [details, diff]
Proposed patch

This is the proposed fix, unfortunately, untested.
Comment 5 Anton 2020-10-28 04:48:14 UTC
(In reply to Sam James from comment #2)
> There's a PR already: https://github.com/gentoo/gentoo/pull/18053

Ah, nice, thanks! Sorry for the noise, did not notice your comment before creating all the attachments.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-28 04:59:16 UTC
(In reply to Anton from comment #5)
> (In reply to Sam James from comment #2)
> > There's a PR already: https://github.com/gentoo/gentoo/pull/18053
> 
> Ah, nice, thanks! Sorry for the noise, did not notice your comment before
> creating all the attachments.

Please don’t ever apologise for giving a patch ;)

(Although I bet you could have tested it with a local overlay!)

I was just quick to assign the bug.
Comment 7 Anton 2020-10-29 15:38:44 UTC
This has been fixed by the PR you mentioned (bootstrap works for me now)