Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788844 - net-p2p/litecoind-0.10.4.0-r1 fails to compile claiming LibreSSL incompatibility, but LibreSSL isn't installed.
Summary: net-p2p/litecoind-0.10.4.0-r1 fails to compile claiming LibreSSL incompatibil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2021-05-07 22:23 UTC by Neil Stone
Modified: 2023-05-18 20:25 UTC (History)
2 users (show)

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


Attachments
Build log (net-p2p:litecoind-0.10.4.0-r1:20210507-221835.log,16.64 KB, text/plain)
2021-05-07 22:25 UTC, Neil Stone
Details
config.log (config.log,95.00 KB, text/plain)
2021-05-07 22:27 UTC, Neil Stone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Stone 2021-05-07 22:23:45 UTC
Attempting to build litecoind fails, with the following;

configure: error: Detected LibreSSL: This is NOT supported, and may break consensus compatibility!

This is a little unexpected as I don't (as far as I know) have LibreSSL.

Reproducible: Always

Steps to Reproduce:
1. Try to build litecoind
Actual Results:  
checking for SSL... yes
checking for CRYPTO... yes
checking for RAND_egd in -lcrypto... no
configure: error: Detected LibreSSL: This is NOT supported, and may break consensus compatibility!



Expected Results:  
Successful compile - Given I don't have LibreSSL

Portage 3.0.18 (python 3.9.4-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r7, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-glibc2.32
KiB Mem:    32819248 total,    760520 free
KiB Swap:  100663284 total,  97598284 free
Timestamp of repository gentoo: Fri, 07 May 2021 18:30:01 +0000
Head commit of repository gentoo: 4f8eaa4aec4ccacfbdd1947d9d4c98ef06080c36
Timestamp of repository hossie: Tue, 04 May 2021 15:52:00 +0000
Head commit of repository hossie: cb802d994145ab86278fe7815b87841fe1344875

Timestamp of repository jorgicio: Wed, 05 May 2021 20:20:40 +0000
Head commit of repository jorgicio: bccb1acbb9cf696583c331975d0f9ff1ff4305e8

Timestamp of repository linuxunderground-overlay: Tue, 04 May 2021 15:52:10 +0000
Head commit of repository linuxunderground-overlay: 5df388e80df757b117b0e0d03f19080224ecb259

Head commit of repository nightdragon_layman: ec6c2cc7e26fbccdc98f30416d0e8134a728a056

Head commit of repository steam-overlay: 9a1249fdb3e3005041fb768af02e235c46dc4a18

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.6.13_p3::gentoo, 3.7.10_p3::gentoo, 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

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

hossie
    location: /var/db/repos/hossie
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/hossie.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

linuxunderground-overlay
    location: /var/db/repos/linuxunderground-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/linuxunderground-overlay.git
    masters: gentoo

nightdragon_layman
    location: /var/db/repos/nightdragon_layman
    sync-type: git
    sync-uri: https://github.com/NightDragon1/nightdragon_layman.git
    masters: gentoo

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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="http://mirror.bytemark.co.uk/gentoo/            http://mirrors.evowise.com/gentoo/              http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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="/tmp"
USE="X a52 aac aalib acl acpi activities alsa amd64 apache2 base bazaar berkdb bidi bl bluetooth bluez bluray boost branding bs2b btrfs bzip2 cacert cairo calendar cdda cddb cdparanoia cdr cli conntrack cpudetection cpumining crypt cryptsetup cups curl cvs cycles dbus declarative device-mapper dia dmraid dri dropbox dts dv dvb dvd dvdr ecdh elogind emboss encode exif f2fs faac faad fat fbcon fdt ffmpeg firmware flac fontforge fortran fping ftp fuse gadu gd gdbm geoip geolocation ggi gif gimp git glusterfs google groupwise gsm gtk gui harfbuzz hfs history http2 iconv icq icu initramfs inkjar iptables ipv6 iscsi java jfs jingle jpeg jpeg2k kde kinesis kipi kwallet l2tp ladspa latex lcms libcaca libglvnd libmpeg2 libnotify librsync-bundled libtirpc lirc live lm_sensors lvm lzo mad md5sum mdadm meanwhile mercurial mng modminer mongodb monitor mp3 mp4 mpeg mplayer msn multilib mysql mysqli nas ncat ncurses ndiff netlink nfacct nfs nls nmap-update nodejs nowlistening nping nptl ntfs numa nut ocr ofono ogg openal opencl openconnect opengl openimageio openmp openvpn oscar otr pam pango pcap pcre pdf pdo phonon pipes plasma png pnm policykit portaudio postgres postscript ppds pptp prometheus pulseaudio pvr python qml qrcode qt5 radio radioreference rar rdp readline redistributable reiser4 reiserfs rpc rtc rtlsdr samba sasl savedconfig scanner scrypt sdl sdl2 seccomp semantic-desktop sensord sensors sip sipe snappy snmp soap sockets spell spice split-usr sqlite ssh ssl startup-notification statistics steam subtitles subversion svg systemtap systray tci tcpd testbed tga theora threads tidy tiff toolame tools translator tremor truetype tty-helpers twolame udev udisks unicode unknown-license update_drivedb upower usb usbredir v4l vde vdpau vhost-net virgl virtfs visio vnc vorbis vpnc vte webp webpresence widgets winpopup wispr wpg wxwidgets x264 xattr xcb xen xfs xine xinerama xinetd xml xmpp xnest xrandr xv xvid yahoo yuv4mpeg zenmap zeroconf zip zlib zoran" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core 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 socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest authn_dbd authz_dbd cache_disk cache_socache cern_meta charset_lite dbd dumpio http2 ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_forensic macro proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout slotmem_shm substitute version xml2enc" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Neil Stone 2021-05-07 22:25:25 UTC
Created attachment 706563 [details]
Build log
Comment 2 Neil Stone 2021-05-07 22:27:16 UTC
Created attachment 706566 [details]
config.log
Comment 3 Ionen Wolkens gentoo-dev 2021-05-08 05:10:38 UTC
Did this break recently?

I feel like it should've been broken for a long time given what it's testing for (RAND_egd) is disabled by default in openssl since openssl-1.1.0 if I'm interpreting this right (don't downgrade, that's not a valid solution).

Current upstream litecoin-0.18.1 doesn't test for this anymore.
Comment 4 Ionen Wolkens gentoo-dev 2021-05-08 05:27:49 UTC
(In reply to Ionen Wolkens from comment #3)
> Current upstream litecoin-0.18.1 doesn't test for this anymore.
And the test looks pointless in 0.10.4.0 (the function isn't used anywhere, seems it's only testing it to check if it's libressl).

But even if bypass that, seems to have >=boost-1.73.0 issues, and also gcc11 issues.

This package seems to be in need of someone willing to maintain it or may be headed for last-rite.
Comment 5 Neil Stone 2021-05-11 17:59:25 UTC
(In reply to Ionen Wolkens from comment #3)
> Did this break recently?
> 

No clue, my first time trying to build this.
Comment 6 Larry the Git Cow gentoo-dev 2021-06-18 11:26:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d4a9bbe950fbbdc14cf7b19d86dbbd200b0bed5

commit 2d4a9bbe950fbbdc14cf7b19d86dbbd200b0bed5
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-06-18 10:04:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-18 11:26:30 +0000

    net-p2p/litecoind: add 0.18.1
    
    Closes: https://bugs.gentoo.org/607842
    Bug: https://bugs.gentoo.org/672326
    Bug: https://bugs.gentoo.org/768768
    Bug: https://bugs.gentoo.org/788844
    Signed-off-by: David Seifert <soap@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/21302
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/litecoind/Manifest                         |  1 +
 .../files/litecoind-0.18.1-system-leveldb.patch    | 37 +++++++++
 net-p2p/litecoind/litecoind-0.18.1.ebuild          | 87 ++++++++++++++++++++++
 3 files changed, 125 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-04-18 11:03:43 UTC
The bug has been referenced in the following commit(s):

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

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

    package.mask: Last rite net-p2p/litecoind
    
    Bug: https://bugs.gentoo.org/672326
    Bug: https://bugs.gentoo.org/788844
    Bug: https://bugs.gentoo.org/796599
    Bug: https://bugs.gentoo.org/899218
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2023-05-18 20:25:04 UTC
The bug has been closed via the following commit(s):

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

commit db0eec2429137d8fbe0785515340b52f3ecd5b72
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-05-18 20:24:29 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-05-18 20:24:29 +0000

    net-p2p/litecoind: treeclean
    
    Closes: https://bugs.gentoo.org/899218
    Closes: https://bugs.gentoo.org/796599
    Closes: https://bugs.gentoo.org/788844
    Closes: https://bugs.gentoo.org/672326
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-p2p/litecoind/Manifest                         |  1 -
 net-p2p/litecoind/files/litecoin.conf              |  8 --
 net-p2p/litecoind/files/litecoin.confd             | 10 ---
 net-p2p/litecoind/files/litecoin.initd-r1          | 28 -------
 net-p2p/litecoind/files/litecoin.service           | 30 -------
 .../litecoind/files/litecoind-0.18.1-gcc12.patch   | 22 ------
 .../files/litecoind-0.18.1-system-leveldb.patch    | 37 ---------
 net-p2p/litecoind/files/litecoind.logrotate        |  7 --
 net-p2p/litecoind/litecoind-0.18.1-r1.ebuild       | 91 ----------------------
 net-p2p/litecoind/metadata.xml                     | 11 ---
 profiles/package.mask                              |  6 --
 11 files changed, 251 deletions(-)