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
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} |".