Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70125 - [root] 6.22.06-5 "symbol unresolved while linking" for glibc calls
Attached to Project:
Community Packages
Opened by Maximilian Lehmann (konsonanz) - Monday, 22 March 2021, 07:52 GMT
Last edited by Konstantin Gizdov (kgizdov) - Thursday, 25 March 2021, 12:19 GMT
Opened by Maximilian Lehmann (konsonanz) - Monday, 22 March 2021, 07:52 GMT
Last edited by Konstantin Gizdov (kgizdov) - Thursday, 25 March 2021, 12:19 GMT
|
DetailsDescription:
While trying to execute a call to standard glibc functions I get "symbol unresolved while linking" even though the `#include` statement for the header succeeds. The same is true for other included packages in the makedepend such as openssl etc. I tested the same procedure on an ubuntu docker image and the call works there, leading me to believe that this is undesired behaviour for the arch package. Additional info: * root-6.22.06-5 * tested with docker image rootproject/root:6.22.06-arch * tested on host system with root-6.22.06-5 (which is newer than the docker image) Steps to reproduce: Demonstrating failing behaviour using the official archlinux based docker image (to demonstrate reproducability): ``` ▲ docker run --rm -ti rootproject/root:6.22.06-arch ------------------------------------------------------------------ | Welcome to ROOT 6.22/06 https://root.cern | | (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers | | Built for linuxx8664gcc on Nov 27 2020, 15:14:08 | | From tags/v6-22-06@v6-22-06 | | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' | ------------------------------------------------------------------ root [0] #include "crypt.h" root [1] crypt("password", "$6$salt") IncrementalExecutor::executeFunction: symbol 'crypt' unresolved while linking [cling interface function]! root [2] ``` Demonstrating succeeding behaviour using the official ubuntu based docker image: ``` ▲ docker run --rm -ti rootproject/root:6.22.06-ubuntu20.04 ------------------------------------------------------------------ | Welcome to ROOT 6.22/06 https://root.cern | | (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers | | Built for linuxx8664gcc on Nov 27 2020, 15:14:08 | | From tags/v6-22-06@v6-22-06 | | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' | ------------------------------------------------------------------ root [0] #include "crypt.h" root [1] crypt("password", "$6$salt") (char *) "$6$salt$IxDD3jeSOb5eB1CX5LBsqZFVkJdido3OUILO5Ifz5iwMuTS4XMS130MTSuDDl3aCI6WouIL9AjRbLCelDCy.g." root [2] ``` |
This task depends upon
Closed by Konstantin Gizdov (kgizdov)
Thursday, 25 March 2021, 12:19 GMT
Reason for closing: Fixed
Additional comments about closing: root-6.22.08-1 comes with a temporary workaround
Thursday, 25 March 2021, 12:19 GMT
Reason for closing: Fixed
Additional comments about closing: root-6.22.08-1 comes with a temporary workaround
$ root
------------------------------------------------------------------
| Welcome to ROOT 6.22/06 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Nov 27 2020, 15:14:08 |
| From tags/v6-22-06@v6-22-06 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0] gSystem->Load("/usr/lib/libcrypt.so")
(int) 0
root [1] crypt("password", "$6$salt")
(char *) "$6$salt$IxDD3jeSOb5eB1CX5LBsqZFVkJdido3OUILO5Ifz5iwMuTS4XMS130MTSuDDl3aCI6WouIL9AjRbLCelDCy.g."
root [2]