Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904361 - sys-auth/oath-toolkit-2.6.7-r1: fails to compile with dev-libs/xmlsec-1.3.0 (global.c: error: XMLSEC_CRYPTO undeclared (first use in this function))
Summary: sys-auth/oath-toolkit-2.6.7-r1: fails to compile with dev-libs/xmlsec-1.3.0 (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 09:11 UTC by Toralf Förster
Modified: 2023-04-18 05:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.27 KB, text/plain)
2023-04-15 09:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.70 KB, text/plain)
2023-04-15 09:12 UTC, Toralf Förster
Details
environment (environment,79.00 KB, text/plain)
2023-04-15 09:12 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,713 bytes, application/x-bzip)
2023-04-15 09:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.11 KB, application/x-bzip)
2023-04-15 09:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,74.98 KB, application/x-bzip)
2023-04-15 09:12 UTC, Toralf Förster
Details
sys-auth:oath-toolkit-2.6.7-r1:20230415-081546.log.bz2 (sys-auth:oath-toolkit-2.6.7-r1:20230415-081546.log.bz2,18.69 KB, application/x-bzip)
2023-04-15 09:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.03 KB, application/x-bzip)
2023-04-15 09:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-04-15 09:11:59 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HT
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HT
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\"    -I/usr/include/libxml2  -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HT
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\"    -I/usr/include/libxml2  -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -
global.c: In function 'pskc_global_init':
global.c:77:43: error: 'XMLSEC_CRYPTO' undeclared (first use in this function)
   77 |   if (xmlSecCryptoDLLoadLibrary (BAD_CAST XMLSEC_CRYPTO) < 0)
      |                                           ^~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20230411-005514

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.2 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit e81cbdf123fb0f8b9d3ae3c7bd511a9548e09a34
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 15 07:31:58 2023 +0000

    2023-04-15 07:31:57 UTC

emerge -qpvO sys-auth/oath-toolkit
[ebuild     U ] sys-auth/oath-toolkit-2.6.7-r1 [2.6.7] USE="pam -pskc -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2023-04-15 09:12:00 UTC
Created attachment 860134 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-15 09:12:02 UTC
Created attachment 860135 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-15 09:12:03 UTC
Created attachment 860136 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-15 09:12:04 UTC
Created attachment 860137 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-15 09:12:05 UTC
Created attachment 860138 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-15 09:12:06 UTC
Created attachment 860139 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-15 09:12:07 UTC
Created attachment 860140 [details]
sys-auth:oath-toolkit-2.6.7-r1:20230415-081546.log.bz2
Comment 8 Toralf Förster gentoo-dev 2023-04-15 09:12:08 UTC
Created attachment 860141 [details]
temp.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-04-16 05:07:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7ada58a08e223ca0ef8d4a1344e385dc29b121

commit 4b7ada58a08e223ca0ef8d4a1344e385dc29b121
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-16 05:06:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-16 05:06:47 +0000

    sys-auth/oath-toolkit: needs <xmlsec-1.3.0
    
    Reported upstream already at https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/33.
    
    No revbump as already has slot op and new xmlsec bumps ABI.
    
    Closes: https://bugs.gentoo.org/904361
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild | 2 +-
 sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 11 jinqiang zhang 2023-04-18 04:36:42 UTC
sudo USE='-pskc' emerge -1av oath-toolkit
still build failed with same error when dev-libs/xmlsec-1.3.0-r1 installed.
Comment 12 Larry the Git Cow gentoo-dev 2023-04-18 05:30:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313acdc21a558ff82c633a93796ac467cad4f385

commit 313acdc21a558ff82c633a93796ac467cad4f385
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 05:28:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 05:28:11 +0000

    sys-auth/oath-toolkit: unconditionally depend on xmlsec
    
    psks can't be reliably disabled.
    
    Bug: https://bugs.gentoo.org/827887
    Bug: https://bugs.gentoo.org/904361
    Signed-off-by: Sam James <sam@gentoo.org>

 ...olkit-2.6.7-r1.ebuild => oath-toolkit-2.6.7-r2.ebuild} | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)