Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/libxslt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Tue Dec 03, 2024 5:17 pm    Post subject: dev-libs/libxslt Reply with quote

Hello,

I have a problem to emerge this package give me this error

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_check_version'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_cipher_setkey'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_strerror'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_cipher_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_cipher_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_cipher_decrypt'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_cipher_encrypt'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ../libexslt/.libs/libexslt.so: undefined reference to `gcry_md_hash_buffer'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:496: xsltproc] Error 1


emerge --info '=dev-libs/libxslt-1.1.39-r1::gentoo'

Code:
emerge --info '=dev-libs/libxslt-1.1.39-r1::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/no-multilib/hardened, gcc-14, glibc-2.40-r5, 5.15.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.11-gentoo-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.40
KiB Mem:     16030812 total,    151204 free
KiB Swap:    1000444 total,    508260 free
Timestamp of repository gentoo: Tue, 03 Dec 2024 06:00:00 +0000
Head commit of repository gentoo: 815d9b9628f6fd9039512115fd8493abbf3d4d80
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.8.20_p4::gentoo, 3.10.15_p2::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://mirror.leaseweb.com/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cet crypt gd gdbm geoip gif hardened iconv ipv6 jpeg libtirpc mmx mysql ncurses nls nptl nptlonly openmp pam pcre perl pic pie png python readline seccomp smtp split-usr sse sse2 ssl ssp test-rust truetype unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_10 python3_11 python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31299
Location: here

PostPosted: Tue Dec 03, 2024 6:17 pm    Post subject: Reply with quote

Try to rebuild dev-libs/libgcrypt package.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Tue Dec 03, 2024 7:12 pm    Post subject: Reply with quote

Still the error.

Affect anything if libgcrypt is a binary and libxslt not?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31299
Location: here

PostPosted: Tue Dec 03, 2024 7:19 pm    Post subject: Reply with quote

Can you post full build.log?
Please post also emerge -pv dev-libs/libgcrypt output.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Tue Dec 03, 2024 7:36 pm    Post subject: Reply with quote

Code:
https://bpa.st/raw/2OHA


emerge -pv dev-libs/libgcrypt

Code:
emerge -pv dev-libs/libgcrypt

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.70 s (backtrack: 0/20).

[binary   R    ] dev-libs/libgcrypt-1.11.0-1:0/20::gentoo  USE="asm getentropy -doc -static-libs -verify-sig" CPU_FLAGS_X86="-aes -avx -avx2 -avx512f -padlock -sha -sse4_1" 0 KiB
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31299
Location: here

PostPosted: Wed Dec 04, 2024 6:21 am    Post subject: Reply with quote

Code:
checking for x86_64-pc-linux-gnu-libgcrypt-config... /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config
/usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: line 181: /usr/bin/grep: No such file or directory
/usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: line 181: /usr/bin/grep: No such file or directory

What does the /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config --libs command return?
For some reason your package is linked without -lgcrypt -lgpg-error flags and that cause the error.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 385

PostPosted: Wed Dec 04, 2024 7:21 am    Post subject: Reply with quote

Could "/usr/bin/grep: command not found" be the result of binhost using merged-usr?
I've had that problem with zgrep.
https://bugs.gentoo.org/show_bug.cgi?id=935721
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Wed Dec 04, 2024 2:20 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
checking for x86_64-pc-linux-gnu-libgcrypt-config... /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config
/usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: line 181: /usr/bin/grep: No such file or directory
/usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: line 181: /usr/bin/grep: No such file or directory

What does the /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config --libs command return?
For some reason your package is linked without -lgcrypt -lgpg-error flags and that cause the error.


Same error.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Wed Dec 04, 2024 2:31 pm    Post subject: Reply with quote

bstaletic wrote:
Could "/usr/bin/grep: command not found" be the result of binhost using merged-usr?
I've had that problem with zgrep.
https://bugs.gentoo.org/show_bug.cgi?id=935721


I check this and i find my grep is located in /bin/grep and not /usr/bin/grep
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22769

PostPosted: Wed Dec 04, 2024 3:14 pm    Post subject: Reply with quote

/bin/grep is the traditional location for grep, and on non-merged-usr systems, that is where it will be. On merged-usr systems, it will also appear to be /usr/bin/grep, and if a script run on a merged-usr system incorrectly hardcodes the location of grep in its text, the script may then continue to expect to find /usr/bin/grep even when run on a non-merged-usr system. This is what bstaletic alluded to.

How did you obtain /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: from a local build, or from a binhost? If the latter, was it a merged-usr binhost?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31299
Location: here

PostPosted: Wed Dec 04, 2024 3:16 pm    Post subject: Reply with quote

The dev-libs/libgcrypt package is compiled or dowloaded from binhost?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Wed Dec 04, 2024 3:17 pm    Post subject: Reply with quote

Hu wrote:
/bin/grep is the traditional location for grep, and on non-merged-usr systems, that is where it will be. On merged-usr systems, it will also appear to be /usr/bin/grep, and if a script run on a merged-usr system incorrectly hardcodes the location of grep in its text, the script may then continue to expect to find /usr/bin/grep even when run on a non-merged-usr system. This is what bstaletic alluded to.

How did you obtain /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config: from a local build, or from a binhost? If the latter, was it a merged-usr binhost?


binhost x86-64_hardened
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31299
Location: here

PostPosted: Wed Dec 04, 2024 3:29 pm    Post subject: Reply with quote

I think that binhost x86-64_hardened is for a usr-merged profile based on https://mirror.leaseweb.com/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened/Packages file content
Code:
...
PROFILE: default/linux/amd64/17.0/hardened
....

Try to compile the libgcrypt package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 52

PostPosted: Wed Dec 04, 2024 3:48 pm    Post subject: Reply with quote

fedeliallalinea wrote:
I think that binhost x86-64_hardened is for a usr-merged profile based on https://mirror.leaseweb.com/gentoo/releases/amd64/binpackages/23.0/x86-64_hardened/Packages file content
Code:
...
PROFILE: default/linux/amd64/17.0/hardened
....

Try to compile the libgcrypt package


How i do that or how i can excluded that package for getting from binary?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2000

PostPosted: Wed Dec 04, 2024 4:04 pm    Post subject: Reply with quote

Note that it's a bug in whatever package hardcoded it and I'd like to fix it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum