Fix buildsystems/autotools install_extras, Update mpc, mpfr, gawk, autoconf_archive, sphinx (#10600)

* Fix buildsystems/autotools install_extras, update mpc, mpfr, gawk, autoconf_archive, sphinx, update reviewdog to add reviews to PR

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix issue with getrealdeps invocation fails during a upx or gawk install.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-10-12 22:15:42 -04:00
committed by GitHub
parent dbad3c42f2
commit 419ff87c67
25 changed files with 111 additions and 153 deletions

View File

@@ -883,7 +883,7 @@ def prepare_package(destdir)
abort 'Exiting due to above errors.'.lightred if errors
# Make sure the package file has runtime dependencies added properly.
system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}", exception: true unless @pkg.no_compile_needed?
system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}", exception: true if Kernel.system('which gawk', %i[out err] => File::NULL) && Kernel.system('which upx', %i[out err] => File::NULL) && !@pkg.no_compile_needed?
# create directory list
# Remove CREW_PREFIX and HOME from the generated directorylist.
crew_prefix_escaped = CREW_PREFIX.gsub('/', '\/')