Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933073 - app-containers/snapd-2.63: /usr/include/xfs/linux.h:186:15: error: implicit declaration of function 'fallocate';
Summary: app-containers/snapd-2.63: /usr/include/xfs/linux.h:186:15: error: implicit d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard: fixed in 2.63
Keywords: PATCH, PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-28 14:58 UTC by Julien Delquié
Modified: 2024-11-01 16:01 UTC (History)
5 users (show)

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


Attachments
Full build log (build.log.tgz,211.34 KB, application/x-compressed-tar)
2024-05-28 14:59 UTC, Julien Delquié
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2024-05-28 14:58:48 UTC
Impossible to build containers/snapd-2.63.

Reproducible: Always

Steps to Reproduce:
1.try to build containers/snapd-2.63
Actual Results:  
do not build

Expected Results:  
build

Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.39-r6, 6.9.2-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.9.2-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9700K_CPU_@_3.60GHz-with-glibc2.39
KiB Mem:    32786800 total,   4054924 free
KiB Swap:   33554428 total,  33523196 free
Timestamp of repository gentoo: Tue, 28 May 2024 06:20:53 +0000
Head commit of repository gentoo: 43c2e7e72d1370428b9db285544211bd5feb52e8

Timestamp of repository qt: Mon, 27 May 2024 22:35:33 +0000
Head commit of repository qt: 5cdf4c6e6240f94375c2c37bed483d2f12fbe3d5

Timestamp of repository steam-overlay: Mon, 20 May 2024 17:23:25 +0000
Head commit of repository steam-overlay: 3aa8d3201d7bce32a1a0fffdf4afd9dbd0583048

Timestamp of repository trolltoo: Mon, 20 May 2024 17:23:34 +0000
Head commit of repository trolltoo: 6616afe7961557fdae0a7538e29c98be6f083b6d

Timestamp of repository xarblu-overlay: Sat, 25 May 2024 18:48:34 +0000
Head commit of repository xarblu-overlay: 0e9380419e4cb2f497799eb1245b2e247e6bc0d2

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r6::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust:             1.77.1::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

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

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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"
CXXFLAGS="-O2 -pipe "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 8 --load-average 10"
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 -O2 -pipe "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted 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://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l10"
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"
SHELL="/bin/zsh"
USE="X a52 aac accessibility acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative discover dri dts dvd dvdr encode exif ffmpeg firewalld flac flatpak gdbm geolocation gif gpm gtk gui iconv icu initramfs ipv6 jpeg kde kdesu kf6compat kwallet lcms libass libnotify libtirpc lm-sensors logrotate mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nfs nls ogg openal opencl opengl openh264 openmp pam pango pcre pdf pipewire plasma plymouth png policykit ppds pulseaudio qml qt5 qt6 readline samba screencast sdl seccomp semantic-desktop smp snap sound spell ssh ssl startup-notification svg symlink syslog systemd test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wayland widgets wxwidgets x264 x265 xattr xcb xft xinerama xml xv xvid zeroconf zlib zsh-completion" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file 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 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev wacom" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Julien Delquié 2024-05-28 14:59:59 UTC
Created attachment 894561 [details]
Full build log
Comment 2 Julien Delquié 2024-05-28 15:04:44 UTC
It seems that ArchLinux have the issue to and a PR has been created: https://github.com/snapcore/snapd/pull/13959
Comment 3 Petr Šourek 2024-05-28 15:28:20 UTC
(In reply to Julien Delquié from comment #2)
> It seems that ArchLinux have the issue to and a PR has been created:
> https://github.com/snapcore/snapd/pull/13959

Patch is working, thank you.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-01 20:30:27 UTC
The bug has been closed via the following commit(s):

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

commit e359d098225e9bf9c505c11b9ee45b1fdb14f09f
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-06-01 20:14:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-06-01 20:30:23 +0000

    app-containers/snapd: 2.63 GNU_SOURCE patch for bug 933073
    
    Closes: https://bugs.gentoo.org/933073
    Closes: https://github.com/gentoo/gentoo/pull/36957
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-containers/snapd/Manifest          | 1 +
 app-containers/snapd/snapd-2.63.ebuild | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)