Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694250 - sys-apps/nvme-cli-1.9: /bin/sh: line 1: /var/tmp/portage/sys-apps/nvme-cli-1.9/image/etc/nvme/hostnqn: No such file or directory
Summary: sys-apps/nvme-cli-1.9: /bin/sh: line 1: /var/tmp/portage/sys-apps/nvme-cli-1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Zac Medico
URL: https://github.com/linux-nvme/nvme-cl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-13 00:20 UTC by Zac Medico
Modified: 2019-09-13 04:40 UTC (History)
0 users

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


Attachments
nvme-cli-1.9-parallel-make.patch (file_694250.txt,74 bytes, patch)
2019-09-13 00:23 UTC, Patrick McLean
Details | Diff
nvme-cli-1.9-parallel-make.patch (nvme-cli-1.9-parallel-make.patch,502 bytes, patch)
2019-09-13 00:24 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2019-09-13 00:20:22 UTC
Looks like a parallel make issue:

> >>> Install sys-apps/nvme-cli-1.9 into /var/tmp/portage/sys-apps/nvme-cli-1.9/image
> make -j32 -l31.0 LIBUUID=0 DESTDIR=/var/tmp/portage/sys-apps/nvme-cli-1.9/image install
> install -d /var/tmp/portage/sys-apps/nvme-cli-1.9/image/usr/sbin
> install -m 755 nvme /var/tmp/portage/sys-apps/nvme-cli-1.9/image/usr/sbin
> if [ ! -s /var/tmp/portage/sys-apps/nvme-cli-1.9/image/etc/nvme/hostnqn ]; then \
>         echo `/var/tmp/portage/sys-apps/nvme-cli-1.9/image/usr/sbin/nvme gen-hostnqn` > /var/tmp/portage/sys-apps/nvme-cli-1.9/image/etc/nvme/hostnqn; \
> fi
> /bin/sh: line 1: /var/tmp/portage/sys-apps/nvme-cli-1.9/image/etc/nvme/hostnqn: No such file or directory
> make: *** [Makefile:113: install-hostparams] Error 1
>  * ERROR: sys-apps/nvme-cli-1.9::gentoo failed (install phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info '=sys-apps/nvme-cli-1.9::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=sys-apps/nvme-cli-1.9::gentoo'`.
>  * The complete build log is located at '/var/log/portage/build/sys-apps/nvme-cli-1.9:20190912-231145.log'.
>  * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/nvme-cli-1.9/temp/build.log'.
>  * The ebuild environment file is located at '/var/tmp/portage/sys-apps/nvme-cli-1.9/temp/environment'.
>  * Working directory: '/var/tmp/portage/sys-apps/nvme-cli-1.9/work/nvme-cli-1.9'
Comment 1 Patrick McLean gentoo-dev 2019-09-13 00:23:17 UTC
Created attachment 589752 [details, diff]
nvme-cli-1.9-parallel-make.patch
Comment 2 Patrick McLean gentoo-dev 2019-09-13 00:24:14 UTC
Created attachment 589754 [details, diff]
nvme-cli-1.9-parallel-make.patch

This *should* fix it, I can't reproduce it at all reliably
Comment 3 Larry the Git Cow gentoo-dev 2019-09-13 04:40:05 UTC
The bug has been closed via the following commit(s):

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

commit ecbcc0d692e3d9f57e077b14bff8de888c4c2dd0
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-09-13 04:38:35 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-09-13 04:39:10 +0000

    sys-apps/nvme-cli: Fix parallel make bug 694250
    
    Closes: https://bugs.gentoo.org/694250
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/nvme-cli/nvme-cli-1.9.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)