Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libxcrypt build now needs perl-open and perl-FindBin #47

Closed
tjkirch opened this issue Apr 7, 2021 · 0 comments · Fixed by #49
Closed

libxcrypt build now needs perl-open and perl-FindBin #47

tjkirch opened this issue Apr 7, 2021 · 0 comments · Fixed by #49
Assignees
Milestone

Comments

@tjkirch
Copy link
Contributor

tjkirch commented Apr 7, 2021

Image I'm using:

v0.15.0

Issue or Feature Request:

libxcrypt has switched to perl for build scripts in 4.4.18, which means the Bottlerocket build of it fails.

Here's the lead-up to the failure.
  #2 [internal] load build definition from Dockerfile
  #2 transferring dockerfile:
  #2 transferring dockerfile: 97B done
  #2 ...

  #1 [internal] load .dockerignore
  #1 transferring context: 93B done
  #1 DONE 1.2s

  #2 [internal] load build definition from Dockerfile
  #2 DONE 1.7s

  #3 resolve image config for docker.io/docker/dockerfile:1.1.3-experimental
  #3 DONE 0.0s

  #4 docker-image://docker.io/docker/dockerfile:1.1.3-experimental@sha256:888...
  #4 CACHED

  #6 [sdk 1/1] FROM docker.io/bottlerocket/sdk-x86_64:v0.15.0-x86_64
  #6 CACHED

  #13 [cache 1/2] COPY --chown=1000:1000 --from=sdk /tmp /cache
  #13 CACHED

  #15 [variantcache 1/2] COPY --chown=1000:1000 --from=sdk /tmp /variantcache
  #15 CACHED

  #5 [internal] load metadata for docker.io/bottlerocket/sdk-x86_64:v0.15.0-x...
  #5 DONE 0.0s

  #8 [internal] load build context
  #8 transferring context: 4.80MB 2.0s
  #8 transferring context: 13.70MB 3.5s done
  #8 DONE 5.4s

  #7 [rpmbuild 1/6] WORKDIR /home/builder
  #7 CACHED

  #9 [rpmbuild 2/6] COPY --chown=builder roles/default.root.json ./rpmbuild/B...
  #9 CACHED

  #14 [cache 2/2] COPY --chown=1000:1000 .dockerignore /cache/.libxcrypt.x86_6...
  #14 DONE 1.6s

  #16 [variantcache 2/2] COPY --chown=1000:1000 .dockerignore /variantcache/.l...
  #16 DONE 2.1s

  #10 [rpmbuild 3/6] COPY ./macros/x86_64 ./macros/shared ./macros/rust ./macr...
  #10 DONE 3.4s

  #11 [rpmbuild 4/6] RUN rpmdev-setuptree    && cat x86_64 shared rust cargo >...
  #11 1.198 1125902845
  #11 DONE 1.6s

  #12 [rpmbuild 5/6] RUN --mount=target=/host     ln -s /host/build/rpms/*.rpm...
  #12 1.219 Directory walk started
  #12 1.219 Directory walk done - 131 packages
  #12 1.219 Temporary output repo path: ./rpmbuild/RPMS/.repodata/
  #12 1.219 Pool started (with 5 workers)
  #12 1.219 Pool finished
  #12 1.508 Added repo repo from ./rpmbuild/RPMS
  #12 1.567 repo                                             88 MB/s |  92 kB     00:00    
  #12 2.225 Dependencies resolved.
  #12 2.232 ================================================================================
  #12 2.232  Package                              Arch        Version       Repo       Size
  #12 2.232 ================================================================================
  #12 2.232 Installing:
  #12 2.232  bottlerocket-x86_64-glibc-devel      x86_64      2.33-1        repo      2.3 M
  #12 2.232 Installing dependencies:
  #12 2.232  bottlerocket-x86_64-glibc            x86_64      2.33-1        repo      2.1 M
  #12 2.232 
  #12 2.232 Transaction Summary
  #12 2.232 ================================================================================
  #12 2.232 Install  2 Packages
  #12 2.232 
  #12 2.246 Total size: 4.4 M
  #12 2.246 Installed size: 14 M
  #12 2.246 Downloading Packages:
  #12 2.251 Running transaction check
  #12 2.257 Transaction check succeeded.
  #12 2.257 Running transaction test
  #12 2.294 Transaction test succeeded.
  #12 2.299 Running transaction
  #12 2.575   Preparing        :                                                        1/1 
  #12 2.620   Installing       : bottlerocket-x86_64-glibc-2.33-1.x86_64                1/2 
  #12 2.856   Installing       : bottlerocket-x86_64-glibc-devel-2.33-1.x86_64          2/2 
  #12 3.617   Verifying        : bottlerocket-x86_64-glibc-2.33-1.x86_64                1/2 
  #12 3.617   Verifying        : bottlerocket-x86_64-glibc-devel-2.33-1.x86_64          2/2 
  #12 3.721 
  #12 3.721 Installed:
  #12 3.721   bottlerocket-x86_64-glibc-2.33-1.x86_64                                       
  #12 3.721   bottlerocket-x86_64-glibc-devel-2.33-1.x86_64                                 
  #12 3.721 
  #12 3.721 Complete!
  #12 DONE 4.5s

  #17 [rpmbuild 6/6] RUN --mount=source=.cargo,target=/home/builder/.cargo    ...
  #17 2.884 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xAjcOi
  #17 2.887 + umask 022
  #17 2.887 + cd /home/builder/rpmbuild/BUILD
  #17 2.887 + cd /home/builder/rpmbuild/BUILD
  #17 2.887 + rm -rf libxcrypt-4.4.18
  #17 2.895 + /usr/bin/tar -xof -
  #17 2.900 + /usr/bin/gzip -dc /home/builder/rpmbuild/SOURCES/libxcrypt-4.4.18.tar.gz
  #17 2.973 + STATUS=0
  #17 2.973 + '[' 0 -ne 0 ']'
  #17 2.973 + cd libxcrypt-4.4.18
  #17 2.973 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  #17 2.975 + ./autogen.sh
  #17 2.978 autogen: running: autoreconf -iv -Wall,error
  #17 3.412 autoreconf: Entering directory `.'
  #17 3.412 autoreconf: configure.ac: not using Gettext
  #17 4.413 autoreconf: running: aclocal --warnings=all,error -I build-aux
  #17 6.338 autoreconf: configure.ac: tracing
  #17 6.938 autoreconf: running: libtoolize --copy
  #17 7.433 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
  #17 7.433 libtoolize: copying file 'build-aux/ltmain.sh'
  #17 7.513 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux'.
  #17 7.513 libtoolize: copying file 'build-aux/libtool.m4'
  #17 7.667 libtoolize: copying file 'build-aux/ltoptions.m4'
  #17 7.806 libtoolize: copying file 'build-aux/ltsugar.m4'
  #17 7.963 libtoolize: copying file 'build-aux/ltversion.m4'
  #17 8.127 libtoolize: copying file 'build-aux/lt~obsolete.m4'
  #17 10.13 autoreconf: running: /usr/bin/autoconf --warnings=all,error
  #17 10.90 autoreconf: running: /usr/bin/autoheader --warnings=all,error
  #17 11.14 autoreconf: running: automake --add-missing --copy --no-force --warnings=all,error
  #17 12.25 configure.ac:30: installing 'build-aux/compile'
  #17 12.26 configure.ac:29: installing 'build-aux/config.guess'
  #17 12.27 configure.ac:29: installing 'build-aux/config.sub'
  #17 12.27 configure.ac:16: installing 'build-aux/install-sh'
  #17 12.27 configure.ac:16: installing 'build-aux/missing'
  #17 12.31 Makefile.am: installing './INSTALL'
  #17 12.37 Makefile.am: installing 'build-aux/depcomp'
  #17 12.58 parallel-tests: installing 'build-aux/test-driver'
  #17 12.68 autoreconf: Leaving directory `.'
  #17 12.69 + RPM_EC=0
  #17 12.69 ++ jobs -p
  #17 12.69 + exit 0
  #17 12.69 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hck5dj
  #17 12.69 + umask 022
  #17 12.69 + cd /home/builder/rpmbuild/BUILD
  #17 12.69 + cd libxcrypt-4.4.18
  #17 12.69 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-clash-protection -fno-semantic-interposition'
  #17 12.69 + export CFLAGS
  #17 12.69 + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-clash-protection -fno-semantic-interposition'
  #17 12.69 + export CXXFLAGS
  #17 12.69 + LDFLAGS='-Wl,-z,relro -Wl,-z,now'
  #17 12.69 + export LDFLAGS
  #17 12.69 + PKG_CONFIG_PATH=/x86_64-bottlerocket-linux-gnu/sys-root/usr/lib/pkgconfig
  #17 12.69 + export PKG_CONFIG_PATH
  #17 12.69 + PKG_CONFIG_ALLOW_CROSS=1
  #17 12.69 + export PKG_CONFIG_ALLOW_CROSS
  #17 12.70 + ac_cv_func_malloc_0_nonnull=yes
  #17 12.70 + ac_cv_func_realloc_0_nonnull=yes
  #17 12.70 + ./configure --host=x86_64-bottlerocket-linux-gnu --target=x86_64-bottlerocket-linux-gnu --build=x86_64-redhat-linux-gnu --disable-dependency-tracking --prefix=/x86_64-bottlerocket-linux-gnu/sys-root/usr --exec-prefix=/x86_64-bottlerocket-linux-gnu/sys-root/usr --bindir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/bin --sbindir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/sbin --sysconfdir=/etc --datadir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/share --includedir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/include --libdir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/lib --libexecdir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/share/man --infodir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/share/info --disable-failure-tokens --disable-valgrind --disable-silent-rules --enable-hashes=all --enable-obsolete-api=no --enable-obsolete-api-enosys=no --enable-shared --enable-static --with-pkgconfigdir=/x86_64-bottlerocket-linux-gnu/sys-root/usr/lib/pkgconfig
  #17 13.22 checking for a BSD-compatible install... /usr/bin/install -c
  #17 13.25 checking whether build environment is sane... yes
  #17 13.29 checking for x86_64-bottlerocket-linux-gnu-strip... x86_64-bottlerocket-linux-gnu-strip
  #17 13.29 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  #17 13.29 checking for gawk... gawk
  #17 13.29 checking whether make sets $(MAKE)... yes
  #17 13.33 checking whether make supports nested variables... yes
  #17 13.39 checking build system type... x86_64-redhat-linux-gnu
  #17 13.41 checking host system type... x86_64-bottlerocket-linux-gnu
  #17 13.43 checking for x86_64-bottlerocket-linux-gnu-gcc... x86_64-bottlerocket-linux-gnu-gcc
  #17 13.48 checking whether the C compiler works... yes
  #17 13.55 checking for C compiler default output file name... a.out
  #17 13.55 checking for suffix of executables... 
  #17 13.62 checking whether we are cross compiling... yes
  #17 13.63 checking for suffix of object files... o
  #17 13.68 checking whether we are using the GNU C compiler... yes
  #17 13.71 checking whether x86_64-bottlerocket-linux-gnu-gcc accepts -g... yes
  #17 13.74 checking for x86_64-bottlerocket-linux-gnu-gcc option to accept ISO C11... none needed
  #17 13.83 checking whether x86_64-bottlerocket-linux-gnu-gcc understands -c and -o together... yes
  #17 13.90 checking whether make supports the include directive... yes (GNU style)
  #17 13.94 checking dependency style of x86_64-bottlerocket-linux-gnu-gcc... none
  #17 13.94 checking for x86_64-bottlerocket-linux-gnu-pkg-config... no
  #17 13.94 checking for pkg-config... /usr/bin/pkg-config
  #17 13.94 configure: WARNING: using cross tools not prefixed with host triplet
  #17 13.94 checking pkg-config is at least version 0.9.0... yes
  #17 13.95 checking how to run the C preprocessor... x86_64-bottlerocket-linux-gnu-gcc -E
  #17 14.09 checking whether make sets $(MAKE)... (cached) yes
  #17 14.10 checking whether ln -s works... yes
  #17 14.10 checking for perl... /usr/bin/perl
  #17 14.10 checking whether /usr/bin/perl is version 5.14.0 or later... yes
  #17 14.11 checking for sys/types.h... yes
  #17 14.18 checking for sys/stat.h... yes
  #17 14.24 checking for strings.h... yes
  #17 14.29 checking for inttypes.h... yes
  #17 14.36 checking for stdint.h... yes
  #17 14.42 checking for unistd.h... yes
  #17 14.46 checking for minix/config.h... no
  #17 14.53 checking whether it is safe to define __EXTENSIONS__... yes
  #17 14.62 checking for special C compiler options needed for large files... no
  #17 14.62 checking for _FILE_OFFSET_BITS value needed for large files... no
  #17 14.66 checking whether C compiler accepts -Werror=unknown-warning-option... no
  #17 14.70 checking whether C compiler accepts -Wall... yes
  #17 14.74 checking whether C compiler accepts -Wextra... yes
  #17 14.81 checking whether C compiler accepts -Walloc-zero... yes
  #17 14.85 checking whether C compiler accepts -Walloca... yes
  #17 14.90 checking whether C compiler accepts -Wbad-function-cast... yes
  #17 14.95 checking whether C compiler accepts -Wcast-align... yes
  #17 15.00 checking whether C compiler accepts -Wcast-qual... yes
  #17 15.06 checking whether C compiler accepts -Wconversion... yes
  #17 15.12 checking whether C compiler accepts -Wformat=2... yes
  #17 15.19 checking whether C compiler accepts -Wformat-overflow=2... yes
  #17 15.25 checking whether C compiler accepts -Wformat-signedness... yes
  #17 15.30 checking whether C compiler accepts -Wformat-truncation=1... yes
  #17 15.34 checking whether C compiler accepts -Wlogical-op... yes
  #17 15.38 checking whether C compiler accepts -Wmissing-declarations... yes
  #17 15.43 checking whether C compiler accepts -Wmissing-prototypes... yes
  #17 15.51 checking whether C compiler accepts -Wnested-externs... yes
  #17 15.56 checking whether C compiler accepts -Wnull-dereference... yes
  #17 15.62 checking whether C compiler accepts -Wold-style-definition... yes
  #17 15.67 checking whether C compiler accepts -Wpointer-arith... yes
  #17 15.72 checking whether C compiler accepts -Wrestrict... yes
  #17 15.76 checking whether C compiler accepts -Wshadow... yes
  #17 15.81 checking whether C compiler accepts -Wstrict-overflow=2... yes
  #17 15.85 checking whether C compiler accepts -Wstrict-prototypes... yes
  #17 15.94 checking whether C compiler accepts -Wundef... yes
  #17 15.99 checking whether C compiler accepts -Wvla... yes
  #17 16.03 checking whether C compiler accepts -Wwrite-strings... yes
  #17 16.11 checking whether C compiler accepts -Wpedantic... yes
  #17 16.18 checking whether C compiler accepts -Werror... yes
  #17 16.22 checking whether C compiler accepts -Werror=unknown-warning-option... no
  #17 16.26 checking whether C compiler accepts -Wall... no
  #17 16.31 checking whether C compiler accepts -Wextra... no
  #17 16.37 checking whether C compiler accepts -Walloc-zero... no
  #17 16.41 checking whether C compiler accepts -Walloca... no
  #17 16.45 checking whether C compiler accepts -Wbad-function-cast... no
  #17 16.49 checking whether C compiler accepts -Wcast-align... no
  #17 16.53 checking whether C compiler accepts -Wcast-qual... no
  #17 16.57 checking whether C compiler accepts -Wconversion... no
  #17 16.60 checking whether C compiler accepts -Wformat=2... no
  #17 16.66 checking whether C compiler accepts -Wformat-overflow=2... no
  #17 16.72 checking whether C compiler accepts -Wformat-signedness... no
  #17 16.75 checking whether C compiler accepts -Wformat-truncation=1... no
  #17 16.78 checking whether C compiler accepts -Wlogical-op... no
  #17 16.82 checking whether C compiler accepts -Wmissing-declarations... no
  #17 16.87 checking whether C compiler accepts -Wmissing-prototypes... no
  #17 16.93 checking whether C compiler accepts -Wnested-externs... no
  #17 16.98 checking whether C compiler accepts -Wnull-dereference... no
  #17 17.02 checking whether C compiler accepts -Wold-style-definition... no
  #17 17.08 checking whether C compiler accepts -Wpointer-arith... no
  #17 17.14 checking whether C compiler accepts -Wrestrict... no
  #17 17.19 checking whether C compiler accepts -Wshadow... no
  #17 17.25 checking whether C compiler accepts -Wstrict-overflow=2... no
  #17 17.29 checking whether C compiler accepts -Wstrict-prototypes... no
  #17 17.33 checking whether C compiler accepts -Wundef... no
  #17 17.39 checking whether C compiler accepts -Wvla... no
  #17 17.43 checking whether C compiler accepts -Wwrite-strings... no
  #17 17.49 checking whether C compiler accepts -Wpedantic... no
  #17 17.54 checking whether C compiler accepts -Werror... no
  #17 17.58 checking how to print strings... printf
  #17 17.59 checking for a sed that does not truncate output... /usr/bin/sed
  #17 17.61 checking for grep that handles long lines and -e... /usr/bin/grep
  #17 17.62 checking for egrep... /usr/bin/grep -E
  #17 17.62 checking for fgrep... /usr/bin/grep -F
  #17 17.63 checking for ld used by x86_64-bottlerocket-linux-gnu-gcc... /usr/x86_64-bottlerocket-linux-gnu/bin/ld
  #17 17.71 checking if the linker (/usr/x86_64-bottlerocket-linux-gnu/bin/ld) is GNU ld... yes
  #17 17.72 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-bottlerocket-linux-gnu-nm -B
  #17 17.73 checking the name lister (/usr/bin/x86_64-bottlerocket-linux-gnu-nm -B) interface... BSD nm
  #17 17.78 checking the maximum length of command line arguments... 1572864
  #17 17.82 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-bottlerocket-linux-gnu format... func_convert_file_noop
  #17 17.82 checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
  #17 17.82 checking for /usr/x86_64-bottlerocket-linux-gnu/bin/ld option to reload object files... -r
  #17 17.82 checking for x86_64-bottlerocket-linux-gnu-objdump... x86_64-bottlerocket-linux-gnu-objdump
  #17 17.82 checking how to recognize dependent libraries... pass_all
  #17 17.82 checking for x86_64-bottlerocket-linux-gnu-dlltool... no
  #17 17.82 checking for dlltool... no
  #17 17.83 checking how to associate runtime and link libraries... printf %s\n
  #17 17.83 checking for x86_64-bottlerocket-linux-gnu-ar... x86_64-bottlerocket-linux-gnu-ar
  #17 17.83 checking for archiver @FILE support... @
  #17 17.87 checking for x86_64-bottlerocket-linux-gnu-strip... (cached) x86_64-bottlerocket-linux-gnu-strip
  #17 17.87 checking for x86_64-bottlerocket-linux-gnu-ranlib... x86_64-bottlerocket-linux-gnu-ranlib
  #17 17.87 checking command to parse /usr/bin/x86_64-bottlerocket-linux-gnu-nm -B output from x86_64-bottlerocket-linux-gnu-gcc object... ok
  #17 18.02 checking for sysroot... no
  #17 18.02 checking for a working dd... /usr/bin/dd
  #17 18.04 checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  #17 18.08 checking for x86_64-bottlerocket-linux-gnu-mt... no
  #17 18.08 checking for mt... no
  #17 18.08 checking if : is a manifest tool... no
  #17 18.09 checking for dlfcn.h... yes
  #17 18.15 checking for objdir... .libs
  #17 18.28 checking if x86_64-bottlerocket-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
  #17 18.35 checking for x86_64-bottlerocket-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
  #17 18.35 checking if x86_64-bottlerocket-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
  #17 18.41 checking if x86_64-bottlerocket-linux-gnu-gcc static flag -static works... yes
  #17 18.52 checking if x86_64-bottlerocket-linux-gnu-gcc supports -c -o file.o... yes
  #17 18.61 checking if x86_64-bottlerocket-linux-gnu-gcc supports -c -o file.o... (cached) yes
  #17 18.61 checking whether the x86_64-bottlerocket-linux-gnu-gcc linker (/usr/x86_64-bottlerocket-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
  #17 18.64 checking whether -lc should be explicitly linked in... no
  #17 18.69 checking dynamic linker characteristics... GNU/Linux ld.so
  #17 18.81 checking how to hardcode library paths into programs... immediate
  #17 18.81 checking whether stripping libraries is possible... yes
  #17 18.82 checking if libtool supports shared libraries... yes
  #17 18.82 checking whether to build shared libraries... yes
  #17 18.82 checking whether to build static libraries... yes
  #17 18.82 checking for _ prefix in compiled symbols... no
  #17 18.87 checking whether the preprocessor (x86_64-bottlerocket-linux-gnu-gcc -E) supports -dD... yes
  #17 18.90 checking for fcntl.h... yes
  #17 18.99 checking for stdbool.h... yes
  #17 19.07 checking for sys/cdefs.h... yes
  #17 19.15 checking for sys/random.h... yes
  #17 19.23 checking for sys/syscall.h... yes
  #17 19.32 checking for endian.h... yes
  #17 19.42 checking for sys/endian.h... no
  #17 19.51 checking for sys/param.h... yes
  #17 19.59 checking whether sys/cdefs.h defines __BEGIN_DECLS and __END_DECLS... yes
  #17 19.63 checking whether sys/cdefs.h defines __THROW... yes
  #17 19.66 checking how to control data alignment... _Alignas
  #17 19.66 checking how to query data alignment... _Alignof
  #17 19.66 checking for max_align_t in stddef.h... yes
  #17 19.73 checking for byte order macros... BYTE_ORDER and xxx_ENDIAN
  #17 19.77 checking for static_assert in assert.h... yes
  #17 19.85 checking for ld --wrap... yes
  #17 19.97 checking linker version script flag... --version-script
  #17 20.10 checking if version scripts can use complex wildcards... yes
  #17 20.17 checking how to make linking fail when undefined symbols remain... -Wl,-z,defs
  #17 20.25 checking how to make linking fail when there are text relocations... -Wl,-z,text
  #17 20.34 checking how to link with read-only relocations... -Wl,-z,relro
  #17 20.42 checking how to link with immediate binding... -Wl,-z,now
  #17 20.50 checking whether C compiler accepts -fno-plt... yes
  #17 20.55 checking for arc4random_buf... no
  #17 20.66 checking for explicit_bzero... yes
  #17 20.74 checking for explicit_memset... no
  #17 20.84 checking for getentropy... yes
  #17 20.93 checking for getrandom... yes
  #17 21.00 checking for memset_s... no
  #17 21.09 checking for open64... yes
  #17 21.18 checking for syscall... yes

Here's the failure:

  #17 21.25 checking for Python 3.>=6 with Passlib... not found
  #17 21.37 configure: Disabling the "regen-ka-table" target, missing Python requirements.
  #17 21.39 Can't locate open.pm in @INC (you may need to install the open module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./build-aux/expand-selected-hashes line 20.
  #17 21.39 BEGIN failed--compilation aborted at ./build-aux/expand-selected-hashes line 20.
  #17 21.39 configure: error: bad value 'all' for --enable-hashes

(Not sure if we care about regen-ka-table, but thought I'd include that snippet too, in case we want to add python passlib.)

I suspect that adding perl-open to the install in Dockerfile would get past that error, but I'm not sure if there are more.

Here's the diff to test the package update.
diff --cc packages/libxcrypt/Cargo.toml
index bef3c5d2,bef3c5d2..33dbfb8c
--- a/packages/libxcrypt/Cargo.toml
+++ b/packages/libxcrypt/Cargo.toml
@@@ -9,8 -9,8 +9,8 @@@ build = "build.rs
  path = "pkg.rs"
  
  [[package.metadata.build-package.external-files]]
--url = "https://github.com/besser82/libxcrypt/archive/v4.4.17/libxcrypt-4.4.17.tar.gz"
--sha512 = "94aaba6ccf9b6d1a32f9a571ee32261cecd393d5b8d8c6f18d740dc7bb29ac0fbd381124e7f0d84882559bb634208c08151b3dc05c9138fa0a229c4ba20fb6f7"
++url = "https://github.com/besser82/libxcrypt/archive/v4.4.18/libxcrypt-4.4.18.tar.gz"
++sha512 = "66e3afb32ca27b1b00c21d07f0cd3eb3403ebd1732503376e5f85fa79acf078aa2bac54a8920121b3741cd46a807f4ea176de38c6b5b4611c701dc9e6f8d1490"
  
  [build-dependencies]
  glibc = { path = "../glibc" }
diff --cc packages/libxcrypt/libxcrypt.spec
index f3f6f4d9,f3f6f4d9..6155069a
--- a/packages/libxcrypt/libxcrypt.spec
+++ b/packages/libxcrypt/libxcrypt.spec
@@@ -1,5 -1,5 +1,5 @@@
  Name: %{_cross_os}libxcrypt
--Version: 4.4.17
++Version: 4.4.18
  Release: 1%{?dist}
  Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
  License: LGPL-2.1-or-later
@tjkirch tjkirch added this to the v0.20.0 milestone Apr 7, 2021
@bcressey bcressey changed the title libxcrypt build now needs perl modules, at least perl-open libxcrypt build now needs perl-open and perl-FindBin Apr 14, 2021
@bcressey bcressey self-assigned this Apr 14, 2021
KCSesh pushed a commit to KCSesh/bottlerocket-sdk that referenced this issue Sep 10, 2024
…/cargo/base64-0.22

build(deps): update base64 requirement from 0.21 to 0.22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants