besser82/libxcrypt

update fail in archlinux test-suite.log

Closed this issue ยท 9 comments

archlinux

cat test-suite.log 
=====================================
   xcrypt 4.4.28: ./test-suite.log
=====================================

# TOTAL: 46
# PASS:  35
# SKIP:  10
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test/ka-bcrypt-x
======================

SKIP test/ka-bcrypt-x (exit status: 77)

SKIP: test/ka-bigcrypt
======================

SKIP test/ka-bigcrypt (exit status: 77)

SKIP: test/ka-bsdicrypt
=======================

SKIP test/ka-bsdicrypt (exit status: 77)

SKIP: test/ka-nt
================

SKIP test/ka-nt (exit status: 77)

SKIP: test/ka-sha1crypt
=======================

SKIP test/ka-sha1crypt (exit status: 77)

SKIP: test/ka-sunmd5
====================

SKIP test/ka-sunmd5 (exit status: 77)

SKIP: test/alg-hmac-sha1
========================

SKIP test/alg-hmac-sha1 (exit status: 77)

SKIP: test/alg-md4
==================

SKIP test/alg-md4 (exit status: 77)

SKIP: test/alg-sha1
===================

SKIP test/alg-sha1 (exit status: 77)

SKIP: test/gensalt-nthash
=========================

SKIP test/gensalt-nthash (exit status: 77)

FAIL: test/symbols-compat
=========================

+ /usr/bin/sh -c '. ./libcrypt.la; printf %s "$dlname"'
+ /usr/bin/nm -B --format=bsd --extern-only --defined-only --dynamic --with-symbol-versions /home/gxy/.cache/yay/libxcrypt-compat/src/libxcrypt-4.4.28/.libs/libcrypt.so.1.1.0
|+ crypt@GLIBC_2.2.5
|+ crypt@@XCRYPT_2.0
|+ crypt_checksalt@@XCRYPT_4.3
|+ crypt_gensalt@@XCRYPT_2.0
|+ crypt_gensalt_r@XCRYPT_2.0
|+ crypt_gensalt_ra@@XCRYPT_2.0
|+ crypt_gensalt_rn@@XCRYPT_2.0
|+ crypt_preferred_method@@XCRYPT_4.4
|+ crypt_r@@XCRYPT_2.0
|+ crypt_r@GLIBC_2.2.5
|+ crypt_ra@@XCRYPT_2.0
|+ crypt_rn@@XCRYPT_2.0
|+ encrypt@GLIBC_2.2.5
|+ encrypt_r@GLIBC_2.2.5
|+ fcrypt@GLIBC_2.2.5
|+ setkey@GLIBC_2.2.5
|+ setkey_r@GLIBC_2.2.5
|+ xcrypt@XCRYPT_2.0
|+ xcrypt_gensalt@XCRYPT_2.0
|+ xcrypt_gensalt_r@XCRYPT_2.0
|+ xcrypt_r@XCRYPT_2.0
+ /usr/bin/gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -print-file-name=libcrypt.so.1
+ /usr/bin/nm -B --format=bsd --extern-only --defined-only --dynamic --with-symbol-versions /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib/libcrypt.so.1
|+ crypt@GLIBC_2.2.5
|+ crypt@@XCRYPT_2.0
|+ crypt_checksalt@@XCRYPT_4.3
|+ crypt_gensalt@OW_CRYPT_1.0
|+ crypt_gensalt@@XCRYPT_2.0
|+ crypt_gensalt@GLIBC_2.2.5
|+ crypt_gensalt_r@XCRYPT_2.0
|+ crypt_gensalt_ra@GLIBC_2.2.5
|+ crypt_gensalt_ra@OW_CRYPT_1.0
|+ crypt_gensalt_ra@@XCRYPT_2.0
|+ crypt_gensalt_rn@GLIBC_2.2.5
|+ crypt_gensalt_rn@@XCRYPT_2.0
|+ crypt_gensalt_rn@OW_CRYPT_1.0
|+ crypt_preferred_method@@XCRYPT_4.4
|+ crypt_r@@XCRYPT_2.0
|+ crypt_r@GLIBC_2.2.5
|+ crypt_ra@GLIBC_2.2.5
|+ crypt_ra@@XCRYPT_2.0
|+ crypt_rn@@XCRYPT_2.0
|+ crypt_rn@GLIBC_2.2.5
|+ encrypt@GLIBC_2.2.5
|+ encrypt_r@GLIBC_2.2.5
|+ fcrypt@GLIBC_2.2.5
|+ setkey@GLIBC_2.2.5
|+ setkey_r@GLIBC_2.2.5
|+ xcrypt@XCRYPT_2.0
|+ xcrypt_gensalt@XCRYPT_2.0
|+ xcrypt_gensalt_r@XCRYPT_2.0
|+ xcrypt_r@XCRYPT_2.0
*** Missing symbol versions:
  crypt_gensalt@GLIBC_2.2.5
  crypt_gensalt@OW_CRYPT_1.0
  crypt_gensalt_ra@GLIBC_2.2.5
  crypt_gensalt_ra@OW_CRYPT_1.0
  crypt_gensalt_rn@GLIBC_2.2.5
  crypt_gensalt_rn@OW_CRYPT_1.0
  crypt_ra@GLIBC_2.2.5
  crypt_rn@GLIBC_2.2.5
FAIL test/symbols-compat.pl (exit status: 1)

Got the same result on arch linux

Can you please rebuild after configuring libxcrypt with --enable-obsolete-api=glibc and report the result of the testsuite using this configuration?

The 4.4.26 version in aur was built with --enable-obsolete-api=yes and the 4.4.28 in aur uses --enable-obsolete-api=glibc. I guess that causes this issue as the 4.4.26 that the compat check is run against has additional symbols.

/edit: Assuming that the package in question was: https://aur.archlinux.org/packages/libxcrypt-compat

I have downloaded the PKGBUILD manually and changed --enable-obsolete-api=glibc to --enable-obsolete-api=yes and the build succeeded.

I have downloaded the PKGBUILD manually and changed --enable-obsolete-api=glibc to --enable-obsolete-api=yes and the build succeeded.

Thanks for this tip
It worked for me

In case the anyone needs more info on this issue, you can hit me up :)

image
I changed the line and not work for me @SuperSecureHuman
image

and finally i fixed this issue .
the xammp can not start suceesfully suddenly. ldd php get libcrypt.1.1.so not found
then when i want to install this package get error as the images show .

finally i build the arch package with clean build and installed it success.

image

I have downloaded the PKGBUILD manually and changed --enable-obsolete-api=glibc to --enable-obsolete-api=yes and the build succeeded.

This worked for me, too.

i am kinda cluless on this @chelseasura

Maybe upload the log files here, so that others can have a look on it

It appears to me that this was a problem with the archlinux packaging of libxcrypt, not with libxcrypt itself. If this is not correct please explain what needs to happen within libxcrypt itself and we will reopen.