Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] unable to remerge ldb-2.3.1, missing header crypt.h

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
leifdotwav
n00b
n00b
Posts: 24
Joined: Thu Oct 21, 2021 4:29 pm

[SOLVED] unable to remerge ldb-2.3.1, missing header crypt.h

  • Quote

Post by leifdotwav » Sat Nov 06, 2021 11:23 pm

hey all,
i was attempting to do a @world update on my system, and while portage was attempting to emerge ldb-2.3.1, the compilation failed due to the missing header "crypt.h." i'm not exactly sure what package includes this header, but i thought it was libcrypt, and i tried to re-emerge that, but to no avail, as it attempted to re-emerge ldb-2.3.1 again. must be a dependency. anyway, it told me to post the output of two commands, and the build log. the former are right here:

for emerge --info '=sys-libs/ldb-2.3.1::gentoo':

Code: Select all

=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-2467M_CPU_@_1.60GHz-with-glibc2.33
KiB Mem:     1876852 total,    111664 free
KiB Swap:    4194300 total,   3646952 free
Timestamp of repository gentoo: Fri, 05 Nov 2021 00:45:01 +0000
Head commit of repository gentoo: deab2f8501132b2c6c6af1ab3dacf9abda75febf
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          3.9.7_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5-r1::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::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.33-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe"
DISTDIR="/var/cache/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="-march=sandybridge -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="-march=sandybridge -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
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"
USE="!fils !mbo !mesh ( ) X a52 aac acl acpi activities alsa amd64 bluetooth branding broadcom-sta? browser-integration bzip2 cairo cd cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif ffmpeg fils flac fortran gdbm gif gimp git gpm grub gtk gui hs2-0 iconv icu ios ipod ipv6 jpeg jpg kde kipi kwallet lcms libglvnd libnotify libtirpc mad man mbo mesh mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio python qml qt5 readline samba sddm sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vim-syntax vorbis wav webp widgets wifi wxwidgets x264 xattr xcb xinerama xml xorg xv xvid zip zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 mmxext sse sse2" 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" INPUT_DEVICES="libinput synaptics" KERNEL="linux" 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="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel" 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
for emerge -pqv '=sys-libs/ldb-2.3.1::gentoo':

Code: Select all

[ebuild     U ] sys-libs/ldb-2.3.1 [2.2.1-r1] USE="lmdb python -doc -ldap -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/ldb:0

  (sys-libs/ldb-2.3.1:0/2.3.1::gentoo, ebuild scheduled for merge) USE="lmdb python -doc -ldap -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" pulled in by
    =sys-libs/ldb-2.3.1::gentoo (Argument)

  (sys-libs/ldb-2.2.1-r1:0/2.2.1::gentoo, installed) USE="lmdb python -doc -ldap -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" pulled in by
    <sys-libs/ldb-2.3.0[ldap(+)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (net-fs/samba-4.13.9-r3:0/0::gentoo, installed) USE="acl client cups pam python regedit system-mitkrb5 -addc -addns -ads -ceph -cluster -debug (-dmapi) (-fam) -glusterfs -gpg -iprint -json -ldap -ntvfs -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
where the fatal error occurs in the build log:

Code: Select all

../../lib/replace/replace.h:885:10: fatal error: crypt.h: No such file or directory
  885 | #include <crypt.h>
      |          ^~~~~~~~~
compilation terminated.

Waf: Leaving directory `/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default'
Build failed
 -> task in 'pyldb.objlist' failed with exit status 1:
        {task 140566940339328: c pyldb.c -> pyldb.c.7.o}
['x86_64-pc-linux-gnu-gcc', '-march=sandybridge', '-O2', '-pipe', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-DPACKAGE_VERSION="2.3.1"', '-DPY_SSIZE_T_CLEAN=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_pyldb_MODULES=NULL', '-DSTATIC_pyldb_MODULES_PROTO=extern void __pyldb_dummy_module_proto(void)', '-fno-strict-aliasing', '-I.', '-I../..', '-I.', '-I../..', '-Ilib/replace', '-I../../lib/replace', '-Iinclude', '-I../../include', '-I/usr/include/python3.9', '../../pyldb.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default/pyldb.c.7.o']
 * ERROR: sys-libs/ldb-2.3.1::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2663:  Called multilib-minimal_src_compile
 *   environment, line 1594:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 1864:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1529:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1527:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  479:  Called multilib-minimal_abi_src_compile
 *   environment, line 1588:  Called multilib_src_compile
 *   environment, line 2076:  Called waf-utils_src_compile
 *   environment, line 3427:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ldb-2.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ldb-2.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ldb-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ldb-2.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1'
thanks in advance, you crazy hackers.
Last edited by leifdotwav on Mon Nov 08, 2021 10:57 pm, edited 1 time in total.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Nov 08, 2021 5:57 pm

well, two issues here, have to upgrade ldb with samba viewtopic-t-1139632.html and the libcrypt change
viewtopic-t-1144701.html
viewtopic-t-1138624.html -- after glibc upgraded, I had to manually merge libxcrypt and then at least for me everything else finished smoothly.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
leifdotwav
n00b
n00b
Posts: 24
Joined: Thu Oct 21, 2021 4:29 pm

  • Quote

Post by leifdotwav » Mon Nov 08, 2021 10:56 pm

eccerr0r wrote:well, two issues here, have to upgrade ldb with samba viewtopic-t-1139632.html and the libcrypt change
viewtopic-t-1144701.html
viewtopic-t-1138624.html -- after glibc upgraded, I had to manually merge libxcrypt and then at least for me everything else finished smoothly.
i checked out the bug page that was mentioned in one of those posts, and i pre-emerged libxcrypt, which solved my issue. thanks for your help, man! currently doing the @world update right now, without any compile errors.
Top
sam_
Developer
Developer
User avatar
Posts: 2814
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Thu Nov 11, 2021 2:14 am

I think this issue should be avoided in future with this commit (and bug) too.

Thanks all!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic