Summary: | sys-fs/aufs3-3_p20130207 with USE="inotify" and sys-kernel/hardened-sources-3.7.5 doesn't compile - aufs3-standalone/fs/aufs/branch.h:84:2: error: unknown type name ‘fsnotify_ops_no_const’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Steinel <Florian.Steinel> |
Component: | [OLD] Core system | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | backbone, hardened-kernel+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
pax-2 patch for >linux-3.7.0 Using pax-2.patch or pax-2_kernel-3.7.patch depending on kernel version. pax-2_kernel-3.7.patch aufs3-3_p20130207-r1.ebuild |
Description
Florian Steinel
2013-02-16 09:55:21 UTC
Portage 2.1.11.50 (hardened/linux/amd64/no-multilib/selinux, gcc-4.6.3, glibc-2.15-r3, 3.7.5-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.7.5-hardened-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.1 KiB Mem: 1018328 total, 575060 free KiB Swap: 112636 total, 112636 free Timestamp of tree: Fri, 15 Feb 2013 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -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/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -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 parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync/gentoo-portage" USE="amd64 berkdb bzip2 caps cli cracklib crypt cxx dri gdbm gnutls gpm hardened iconv ipv6 justify logrotate mmx modules mudflap ncurses nls nptl open_perms openmp pam pax_kernel pcre readline selinux session sse sse2 ssl tcpd unicode urandom utf8 vmware_guest_linux xattr zlib" ABI_X86="64" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US de de_DE" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-fs/aufs3-3_p20130207 was built with the following: USE="inotify kernel-patch pax_kernel -debug -doc -fuse -hfs -nfs -ramfs" Created attachment 339036 [details]
build.log
Could you guys help here? I don't use any hardened envs. Created attachment 339594 [details, diff]
pax-2 patch for >linux-3.7.0
Created attachment 339596 [details]
Using pax-2.patch or pax-2_kernel-3.7.patch depending on kernel version.
Using pax-2.patch or pax-2_kernel-3.7.patch depending on kernel version.
Created attachment 339598 [details, diff]
pax-2_kernel-3.7.patch
Created attachment 339600 [details]
aufs3-3_p20130207-r1.ebuild
Using pax-2.patch or pax-2_kernel-3.7.patch depending on kernel version.
I realize the problematic part of pax-2.patch is no longer present in the currently availible ebuilds. As of the day before yesterday Justin removed the multitude of patches in the files directory, leaving a new pax-3.patch. The new pax-3.patch does no longer contain the problematic part of pax-2.patch: $ diff pax-2.patch pax-2_kernel-3.7.patch 75,85d74 < --- a/fs/aufs/branch.h 2012-10-09 15:41:32.652989534 -0400 < +++ b/fs/aufs/branch.h 2012-10-09 15:41:58.562989820 -0400 < @@ -81,7 +81,7 @@ < < #ifdef CONFIG_AUFS_HFSNOTIFY < struct fsnotify_group *br_hfsn_group; < - struct fsnotify_ops br_hfsn_ops; < + fsnotify_ops_no_const br_hfsn_ops; < #endif < < #ifdef CONFIG_SYSFS So, maybe the problem is fixed in current versions, at least it looks good for now. I need to do some "real world" work, can't test if it works at the moment, but now you know some progress happened and can take a test yourself. (In reply to Nils Stöckmann from comment #8) > > So, maybe the problem is fixed in current versions, at least it looks good > for now. > > I need to do some "real world" work, can't test if it works at the moment, > but now you know some progress happened and can take a test yourself. I just marked 2.6.32-r170, 3.2.46-r1, 3.9.5 stable.. Please test and if this is still an issue reopen. |