s6-portable-utils-1.0.3.2 exportlibexec()

From: Vallo Kallaste <kalts_at_estpak.ee>
Date: Thu, 2 Oct 2014 15:42:11 +0300

I noticed an error about unexported command s6-memoryhog while building new
RPMs. Looked like the easiest and supported way would be:
echo "${RPM_BUILD_ROOT}/opt/lib/s6-portable-utils/libexec" > conf-install-libexec

But did not work:
/--/
Copying files to /builddir/build/BUILDROOT/pkk-s6-portable-utils-1.0.3.2-1.el7.x86_64/opt/bin ...
Copying unexported binaries to /builddir/build/BUILDROOT/pkk-s6-portable-utils-1.0.3.2-1.el7.x86_64/opt/lib/s6-portable-utils/libexec ...
cp: cannot create regular file '/builddir/build/BUILDROOT/pkk-s6-portable-utils-1.0.3.2-1.el7.x86_64/opt/lib/s6-portable-utils/libexec/s6-memoryhog{new}': No such file or directory
make: *** [.installed] Error 1
/--/

Indeed, such directory does not exist in ${RPM_BUILD_ROOT}. I see that
exportit() has explicit mkdir -p "$dest" before juggling with installables,
but exportlibexec() does not. I can work around it in spec file, but would be
nice if it made directory itself.
-- 
Vallo
Received on Thu Oct 02 2014 - 12:42:11 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC