Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740544 - net-irc/unrealircd-5.0.6 does not detect Argon during configure phase
Summary: net-irc/unrealircd-5.0.6 does not detect Argon during configure phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-05 14:52 UTC by sebaFlame
Modified: 2020-09-06 16:28 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,8.86 KB, text/plain)
2020-09-05 14:53 UTC, sebaFlame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sebaFlame 2020-09-05 14:52:18 UTC
Current use flags

 * Found these USE flags for net-irc/unrealircd-5.0.6:
 U I
 - - class-nofakelag     : Enable an unsupported class::options flag called “nofakelag” allowing you to grant fakelag exemption to normal user (instead of just opers).
 - - curl                : Add support for client-side URL transfer library
 - - libressl            : Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)
 + - operoverride        : Enable OperOverride extension
 - - operoverride-verify : Enable requiring opers to invite themselves to +s/+p channels
 + - prefixaq            : Enable chanadmin and chanowner prefixes
 - - showlistmodes       : Display channel modes in /LIST (only configured at compiletime)


Reproducible: Always
Comment 1 sebaFlame 2020-09-05 14:53:48 UTC
Created attachment 658626 [details]
Build log

Failed build log
Comment 2 Michael Palimaka (kensington) gentoo-dev 2020-09-06 09:49:43 UTC
Which version of app-crypt/argon2 is installed?
Comment 3 sebaFlame 2020-09-06 13:00:56 UTC
$ qlop -mv argon2
2019-04-20T01:00:19 >>> app-crypt/argon2-20171227-r1
2019-12-28T02:52:24 >>> app-crypt/argon2-20190702

$ equery d argon2
 * These packages depend on argon2:
dev-lang/php-7.4.9 (argon2 ? app-crypt/argon2)
net-irc/unrealircd-4.2.4.1 (>=app-crypt/argon2-20171227-r1)

$ eix argon2
[I] app-crypt/argon2
     Available versions:  20190702(0/1) {static-libs}
     Installed versions:  20190702(0/1)(02:52:38 28-12-19)(-static-libs)
     Homepage:            https://github.com/P-H-C/phc-winner-argon2
     Description:         Password hashing software that won the Password Hashing Competition (PHC)
Comment 4 Michael Palimaka (kensington) gentoo-dev 2020-09-06 13:11:42 UTC
The argon test is pretty simple:
> has_system_argon2="no"
> AS_IF([test "x$with_system_argon2" = "xyes"],[
> PKG_CHECK_MODULES([ARGON2], [libargon2 >= 0~20161029],[has_system_argon2=yes
> AS_IF([test "x$PRIVATELIBDIR" != "x"], [rm -f "$PRIVATELIBDIR/"libargon2*])] [has_system_argon2=no])])

I wonder if this might be related to bug #703976.

Could you please paste the contents of /usr/lib64/pkgconfig/libargon2.pc?
Comment 5 sebaFlame 2020-09-06 16:17:24 UTC
$ cat /usr/lib64/pkgconfig/libargon2.pc
# libargon2 info for pkg-config

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include

Name: libargon2
Description: Development libraries for libargon2
Version: ZERO
Libs: -L${libdir} -largon2 -lrt -ldl
Cflags: -I${includedir}
URL: https://github.com/P-H-C/phc-winner-argon2
Comment 6 sebaFlame 2020-09-06 16:28:40 UTC
$ emerge -1v argon2

$ cat /usr/lib64/pkgconfig/libargon2.pc
# libargon2 info for pkg-config

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include

Name: libargon2
Description: Development libraries for libargon2
Version: 0~20190702
Libs: -L${libdir} -largon2 -lrt -ldl
Cflags: -I${includedir}
URL: https://github.com/P-H-C/phc-winner-argon2

$ emerge -1v unrealircd

emerges successfully!
Thank you for the help.