trofi / nix-guix-gentoo

Gentoo overlay for nix and guix functional package managers.
109 stars 9 forks source link

mdbook-linkcheck error: failed to run custom build command for `openssl-sys v0.9.76` #33

Closed Gooberpatrol66 closed 1 year ago

Gooberpatrol66 commented 1 year ago

mdbook-log.txt

!!! Repository 'reagentoo' has sync-uri attribute, but is missing sync-type attribute
Unavailable repository 'guru' referenced by masters entry in '/var/lib/layman/lanodanOverlay/metadata/layout.conf'
Unavailable repository 'gentoo-bootstrap' referenced by masters entry in '/var/lib/layman/lanodanOverlay/metadata/layout.conf'
Unavailable repository 'dotnet' referenced by masters entry in '/media/store/Libraries/Tools/overlays/gooby-overlay/metadata/layout.conf'
Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1/hardened, gcc-12, glibc-2.36-r7, 6.1.19-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.19-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v3_@_3.50GHz-with-glibc2.36
KiB Mem:    16251700 total,   2177160 free
KiB Swap:   33209772 total,  33008300 free
Timestamp of repository gentoo: Thu, 06 Apr 2023 20:46:57 +0000
Head commit of repository gentoo: df3fa9a64dd9fa33d0425e7e242c26f0f2a0a33d

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.7::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

audio-overlay
    location: /var/lib/layman/audio-overlay
    masters: gentoo
    priority: 50
    volatile: True

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50
    volatile: True

fritteli
    location: /var/lib/layman/fritteli
    masters: gentoo
    priority: 50
    volatile: True

lanodanOverlay
    location: /var/lib/layman/lanodanOverlay
    masters: gentoo
    priority: 50
    volatile: True

nest
    location: /var/lib/layman/nest
    masters: gentoo
    priority: 50
    volatile: True

nix-guix
    location: /var/lib/layman/nix-guix
    masters: gentoo
    priority: 50
    volatile: True

reagentoo
    location: /var/lib/layman/reagentoo
    sync-uri: https://gitlab.com/reagentoo/gentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

slonko
    location: /var/lib/layman/slonko
    masters: gentoo
    priority: 50
    volatile: True

gooby-overlay
    location: /media/store/Libraries/Tools/overlays/gooby-overlay
    masters: gentoo
    priority: 100
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 8 --load-average 7.2 --autounmask"
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="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8"
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"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C codegen-units=1"
SHELL="/bin/bash"
USE="acl amd64 apache2 btrfs bzip2 caps cet cli crypt dri fortran gdbm hardened hwaccel iconv ipv6 jit libglvnd libtirpc multilib ncurses nls nptl opencl openmp orc pam pcre pgo pie postgres readline seccomp ssl ssp systemd test-rust threads udev unicode verify-sig vhosts xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 rewrite headers env dir mime proxy proxy_http proxy_wstunnel proxy_html xml2enc" 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 rdrand sse sse2 sse3 sse4_1 sse4_2 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" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, 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, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
trofi commented 1 year ago
  --- stderr
  In file included from /usr/include/inttypes.h:27,
                   from include/openssl/e_os2.h:243,
                   from ./e_os.h:16,
                   from apps/apps.h:13,
                   from apps/app_rand.c:10:
  /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
      9 | # include_next <stdint.h>
        |                ^~~~~~~~~~
  compilation terminated.
  make[1]: *** [Makefile:679: apps/app_rand.o] Error 1

Looks like # include_next <stdint.h> fails to find a standard header for you. That is unexpected. Does this work for you?

$ printf "#include <stdint.h>\nint main(){}" | x86_64-pc-linux-gnu-gcc -x c - -o /tmp/a && /tmp/a
Gooberpatrol66 commented 1 year ago

Oh, sorry, it was a problem on my end. Invalid.