You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Gentoo we run into an interesting problem: Our genkernel tool will build thin-provisioning-tools in a special build environment. However, every 2 out of 62 times, make install failed with
Some packages will fail to build when path contains character sequences
like ".o". Using "_" as separator in mktemp() template will avoid that
problem.
Link: jthornber/thin-provisioning-tools#127
Thanks-to: Doug Freed <dwfreed@mtu.edu>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Hi,
in Gentoo we run into an interesting problem: Our genkernel tool will build thin-provisioning-tools in a special build environment. However, every 2 out of 62 times,
make install
failed withTurns out that the problem is the sed call in L211 (L220 is probably affected by the same problem):
The problem is that we create two temporary folders, e.g.
so if the first X after a . is filled with o, that sed breaks.
I.e. when a path like
/var/tmp/genkernel/gk.g14ub9N4/thin-provisioning-tools.oCZSRksk/buildroot
will be used,base/application.d
containsand
make install
will fail with error above.When everything works, file looks like
Thanks to @dwfreed for spotting the problem.
The text was updated successfully, but these errors were encountered: