Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641390 - app-crypt/argon2-20161029-r1: ar: src/argon2.o: No such file or directory
Summary: app-crypt/argon2-20161029-r1: ar: src/argon2.o: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Simon Levermann (sonOfRa)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-16 17:03 UTC by lekto
Modified: 2018-01-02 15:50 UTC (History)
4 users (show)

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


Attachments
emerge --info (file_641390.txt,5.32 KB, text/plain)
2017-12-16 17:03 UTC, lekto
Details
build.log (file_641390.txt,3.24 KB, text/plain)
2017-12-16 17:04 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2017-12-16 17:03:53 UTC
Created attachment 510348 [details]
emerge --info

ar rcs libargon2.a src/argon2.o src/core.o src/blake2/blake2b.o src/thread.o src/encoding.o src/opt.o
ar: src/argon2.o: No such file or directory
Comment 1 lekto 2017-12-16 17:04:54 UTC
Created attachment 510350 [details]
build.log
Comment 2 lekto 2017-12-16 17:09:13 UTC
[ebuild   R    ] app-crypt/argon2-20161029-r1  USE="static-libs*" 

It happens during Gentoo installation, when I was emerge cryptsetup (static) for my custom initramfs.
Comment 3 lekto 2017-12-16 18:55:44 UTC
https://github.com/P-H-C/phc-winner-argon2/issues/210

Workaround:
MAKEOPTS="-j1" emerge -1 argon2
Comment 4 Jonas Stein gentoo-dev 2017-12-18 14:18:08 UTC
does this apply only to specific gcc versions?
Comment 5 Simon Levermann (sonOfRa) 2017-12-18 14:30:52 UTC
Tested locally with -j12, it only seems to happen with USE=+static-libs. Should I patch the ebuild to force MAKEOPTS=-j1 in only the +static-libs case, or for safety (maybe it's non-deterministic?), also in the -static-libs case?
Comment 6 Simon Levermann (sonOfRa) 2017-12-23 14:56:28 UTC
I opened a bug upstream and asked them to provide a new release. It's fixed in upstream master, so them tagging a new release would be enough to fix this.
Comment 7 Simon Levermann (sonOfRa) 2017-12-23 14:56:57 UTC
I opened a bug upstream (https://github.com/P-H-C/phc-winner-argon2/issues/237) and asked them to provide a new release. It's fixed in upstream master, so them tagging a new release would be enough to fix this.
Comment 8 Jan Tatje 2017-12-28 00:00:08 UTC
I just stumbled upon this bug, too. Apparently upstream has tagged a new release just a few hours ago. https://github.com/P-H-C/phc-winner-argon2/releases/tag/20171227
Comment 9 Larry the Git Cow gentoo-dev 2018-01-02 15:50:48 UTC
The bug has been closed via the following commit(s):

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

commit 1ade9cbd223a4d7f6237e5fe3d22c37a08edbab3
Author:     Simon Levermann <simon@slevermann.de>
AuthorDate: 2018-01-02 14:20:02 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-01-02 15:50:39 +0000

    app-crypt/argon2: Version bump to 20171227
    
    Package-Manager: Portage-2.3.19, Repoman-2.3.6
    Closes: https://bugs.gentoo.org/641390

 app-crypt/argon2/Manifest               |  1 +
 app-crypt/argon2/argon2-20171227.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)