[Bug 2074213] [NEW] Testcase curl-ldapi-test fails for curl 8.9.0-1ubuntu1

Dominik Viererbe 2074213 at bugs.launchpad.net
Fri Jul 26 14:44:36 UTC 2024


Public bug reported:

I am in the process of merging 8.9.0-1 from Debian unstable.
Unfortunately the testcase curl-ldapi-test fails. It fails in Debian
too, so it need fixing for merging.

Example log snippet from a failed run:

847s ## Building ldap-test app
847s Package libidn2 was not found in the pkg-config search path.
847s Perhaps you should add the directory containing `libidn2.pc'
847s to the PKG_CONFIG_PATH environment variable
847s Package 'libidn2', required by 'libcurl', not found
847s Package 'zlib', required by 'libcurl', not found
847s Package 'libbrotlidec', required by 'libcurl', not found
847s Package 'libzstd', required by 'libcurl', not found
847s Package 'openssl', required by 'libcurl', not found
847s Package 'libpsl', required by 'libcurl', not found
847s Package 'libssh', required by 'libcurl', not found
847s Package 'librtmp', required by 'libcurl', not found
847s Package 'libnghttp2', required by 'libcurl', not found
847s /usr/bin/ld: /tmp/ccwH6J68.o: in function `ldap_perror':
847s LDAP-bindata.c:(.text+0x15b): undefined reference to `ldap_err2string'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x17a): undefined reference to `ldap_x_utf8s_to_mbs'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x287): undefined reference to `ldap_x_utf8s_to_mbs'
847s /usr/bin/ld: /tmp/ccwH6J68.o: in function `main':
847s LDAP-bindata.c:(.text+0x60e): undefined reference to `ldap_set_option'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x640): undefined reference to `ldap_set_option'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x689): undefined reference to `ldap_initialize'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x72c): undefined reference to `ldap_unbind_ext'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x775): undefined reference to `ldap_connect'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x7d8): undefined reference to `ldap_sasl_bind_s'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x81b): undefined reference to `ldap_unbind_ext'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xaa2): undefined reference to `ldap_add_ext_s'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xae1): undefined reference to `ldap_unbind_ext'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xb2a): undefined reference to `ldap_unbind_ext'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xc67): undefined reference to `curl_global_init'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xc83): undefined reference to `curl_easy_strerror'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xcb5): undefined reference to `curl_global_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xce9): undefined reference to `curl_global_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xe25): undefined reference to `ldap_url_desc2str'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xe68): undefined reference to `curl_easy_init'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xeab): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf21): undefined reference to `curl_easy_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf30): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf65): undefined reference to `curl_easy_setopt'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xfa5): undefined reference to `curl_easy_setopt'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0xfe5): undefined reference to `curl_easy_setopt'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1021): undefined reference to `curl_easy_setopt'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x105d): undefined reference to `curl_easy_setopt'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1079): undefined reference to `curl_easy_strerror'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10a9): undefined reference to `curl_easy_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10b8): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10f4): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1103): undefined reference to `curl_easy_perform'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x111f): undefined reference to `curl_easy_strerror'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1159): undefined reference to `curl_easy_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1195): undefined reference to `curl_easy_cleanup'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x13c3): undefined reference to `ldif_getline'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x13f1): undefined reference to `ldif_parse_line2'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1433): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1442): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1451): undefined reference to `ldif_getline'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x14b1): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x14e2): undefined reference to `ldap_memfree'
847s /usr/bin/ld: LDAP-bindata.c:(.text+0x151e): undefined reference to `ldap_memfree'

See the full logs:
- amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/amd64/c/curl/20240726_110458_297e3@/log.gz
- arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/arm64/c/curl/20240726_112320_fb8be@/log.gz
- armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/armhf/c/curl/20240726_103536_5739a@/log.gz
- ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/ppc64el/c/curl/20240726_103812_26a93@/log.gz
- s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/s390x/c/curl/20240726_102839_4f7fd@/log.gz

** Affects: curl (Ubuntu)
     Importance: Wishlist
     Assignee: Dominik Viererbe (dviererbe)
         Status: In Progress


** Tags: foundations-todo

** Changed in: curl (Ubuntu)
       Status: New => In Progress

** Changed in: curl (Ubuntu)
     Assignee: (unassigned) => Dominik Viererbe (dviererbe)

** Changed in: curl (Ubuntu)
   Importance: Undecided => Wishlist

** Tags added: foundations-todo

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/2074213

Title:
  Testcase curl-ldapi-test fails for curl 8.9.0-1ubuntu1

Status in curl package in Ubuntu:
  In Progress

Bug description:
  I am in the process of merging 8.9.0-1 from Debian unstable.
  Unfortunately the testcase curl-ldapi-test fails. It fails in Debian
  too, so it need fixing for merging.

  Example log snippet from a failed run:

  847s ## Building ldap-test app
  847s Package libidn2 was not found in the pkg-config search path.
  847s Perhaps you should add the directory containing `libidn2.pc'
  847s to the PKG_CONFIG_PATH environment variable
  847s Package 'libidn2', required by 'libcurl', not found
  847s Package 'zlib', required by 'libcurl', not found
  847s Package 'libbrotlidec', required by 'libcurl', not found
  847s Package 'libzstd', required by 'libcurl', not found
  847s Package 'openssl', required by 'libcurl', not found
  847s Package 'libpsl', required by 'libcurl', not found
  847s Package 'libssh', required by 'libcurl', not found
  847s Package 'librtmp', required by 'libcurl', not found
  847s Package 'libnghttp2', required by 'libcurl', not found
  847s /usr/bin/ld: /tmp/ccwH6J68.o: in function `ldap_perror':
  847s LDAP-bindata.c:(.text+0x15b): undefined reference to `ldap_err2string'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x17a): undefined reference to `ldap_x_utf8s_to_mbs'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x287): undefined reference to `ldap_x_utf8s_to_mbs'
  847s /usr/bin/ld: /tmp/ccwH6J68.o: in function `main':
  847s LDAP-bindata.c:(.text+0x60e): undefined reference to `ldap_set_option'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x640): undefined reference to `ldap_set_option'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x689): undefined reference to `ldap_initialize'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x72c): undefined reference to `ldap_unbind_ext'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x775): undefined reference to `ldap_connect'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x7d8): undefined reference to `ldap_sasl_bind_s'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x81b): undefined reference to `ldap_unbind_ext'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xaa2): undefined reference to `ldap_add_ext_s'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xae1): undefined reference to `ldap_unbind_ext'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xb2a): undefined reference to `ldap_unbind_ext'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xc67): undefined reference to `curl_global_init'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xc83): undefined reference to `curl_easy_strerror'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xcb5): undefined reference to `curl_global_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xce9): undefined reference to `curl_global_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xe25): undefined reference to `ldap_url_desc2str'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xe68): undefined reference to `curl_easy_init'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xeab): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf21): undefined reference to `curl_easy_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf30): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xf65): undefined reference to `curl_easy_setopt'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xfa5): undefined reference to `curl_easy_setopt'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0xfe5): undefined reference to `curl_easy_setopt'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1021): undefined reference to `curl_easy_setopt'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x105d): undefined reference to `curl_easy_setopt'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1079): undefined reference to `curl_easy_strerror'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10a9): undefined reference to `curl_easy_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10b8): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x10f4): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1103): undefined reference to `curl_easy_perform'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x111f): undefined reference to `curl_easy_strerror'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1159): undefined reference to `curl_easy_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1195): undefined reference to `curl_easy_cleanup'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x13c3): undefined reference to `ldif_getline'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x13f1): undefined reference to `ldif_parse_line2'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1433): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1442): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x1451): undefined reference to `ldif_getline'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x14b1): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x14e2): undefined reference to `ldap_memfree'
  847s /usr/bin/ld: LDAP-bindata.c:(.text+0x151e): undefined reference to `ldap_memfree'

  See the full logs:
  - amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/amd64/c/curl/20240726_110458_297e3@/log.gz
  - arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/arm64/c/curl/20240726_112320_fb8be@/log.gz
  - armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/armhf/c/curl/20240726_103536_5739a@/log.gz
  - ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/ppc64el/c/curl/20240726_103812_26a93@/log.gz
  - s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-ppa/oracular/s390x/c/curl/20240726_102839_4f7fd@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/2074213/+subscriptions




More information about the foundations-bugs mailing list