Summary: | app-crypt/argon2-20171227-r1: sed fails in src_prepare? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kurlovitsch |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | grknight, julian.cleaud |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Argon 2 sed failure logs |
Please attach the full build.log and put 'emerge --info =app-crypt/argon2-20171227-r1' into a comment I solve the problem by changing Manifest, and cannot find build.log (In reply to kurlovitsch from comment #2) > I solve the problem by changing Manifest, and cannot find build.log The build.log path is posted to the screen when a build fails. Created attachment 578432 [details]
Argon 2 sed failure logs
I'm affected by this bug too.
Basically, sed 3rd expression fails when CFLAGS contains a path.
This can be resolved by changing sed's delimiter by any other character like in "s|-march=\$(OPTTARGET) |${CFLAGS} |".
|
Unpacking source... >>> Unpacking argon2-20171227.tar.gz to /var/tmp/portage/app-crypt/argon2-20171227-r1/work * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 1061: Called die * The specific snippet of code: * sed -i -e 's/-O3 //' -e 's/-g //' -e "s/-march=\$(OPTTARGET) /${CFLAGS... When replace with sed -i -e 's/-O3 //' -e 's/-g //' -e 's/-march=\$(OPTTARGET) /${CFLAGS} /' -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed" emerging successful