Created attachment 428848 [details] patch error output Attempt to emerge sys-fs/aufs4 fails. Kernel 4.4.3-aufs installed and running. USE="kernel-patch" emerge -av sys-fs/aufs4 ... ... ... >>> Emerging (1 of 1) sys-fs/aufs4-0_pre20160223::gentoo * aufs4-standalone-0_pre20160223.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.4.3-aufs/build * Found sources for kernel version: * 4.4.3-aufs * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking aufs4-standalone-0_pre20160223.tar.xz to /var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp * Using origin/aufs4.4 as patch source * Patching your kernel... * Applying aufs4-standalone-base-mmap-combined.patch ... * Failed Patch: aufs4-standalone-base-mmap-combined.patch ! * ( /var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp/aufs4-standalone/aufs4-standalone-base-mmap-combined.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp/aufs4-standalone-base-mmap-combined.patch.out * ERROR: sys-fs/aufs4-0_pre20160223::gentoo failed (setup phase): * Failed Patch: aufs4-standalone-base-mmap-combined.patch! * * Call stack: * ebuild.sh, line 133: Called pkg_setup * aufs4-0_pre20160223.ebuild, line 104: Called epatch '/var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp/aufs4-standalone/aufs4-standalone-base-mmap-combined.patch' * eutils.eclass, line 612: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!" * * If you need support, post the output of `emerge --info '=sys-fs/aufs4-0_pre20160223::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/aufs4-0_pre20160223::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/aufs4-0_pre20160223/temp/die.env'. * Working directory: '/usr/src/linux' * S: '/var/tmp/portage/sys-fs/aufs4-0_pre20160223/work/aufs4-standalone' ######################################################################## hostgentoo / # emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r2, 4.4.3-aufs x86_64) ================================================================= System uname: Linux-4.4.3-aufs-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-2.2 KiB Mem: 4042492 total, 2700732 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 21 Mar 2016 11:00:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl alsa amd64 branding bzip2 cairo cli cracklib crypt cxx dbus declarative dri dts encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm iconv jpeg kde kipi lame lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nouveau ogg opengl openmp pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl seccomp session spell sse sse2 sse3 ssl startup-notification svg taglib tcpd tiff truetype unicode usb vorbis wxwidgets x264 xattr xcb xcomposite xml xorg xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="uvdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i915 i965 r100 r200 r300 r600 qxl nouveau glint intel mach64 mga nv r128 radeon savage tdfx trident vesa via cirrus ast chip i128" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Which kernel sources are you using?
I mentioned it at the very beginning: linux-4.4.3-aufs # eselect kernel list Available kernel symlink targets: [1] linux-4.1.12-gentoo [2] linux-4.4.3-aufs *
if it so important, sources was installed by 'emerge -av aufs-sources' command. Kernel itself is fine. Compiled and running just fine. I just tried to add aufs support to it.
(In reply to Buggy Bug from comment #3) > if it so important, sources was installed by 'emerge -av aufs-sources' > command. > Kernel itself is fine. Compiled and running just fine. I just tried to add > aufs support to it. Alright, aufs-sources are gentoo-sources + aufs. So no need to emerge sys-fs/aufs. You can use aufs straight away.