Summary: | sys-fs/gfs2-utils with sys-kernel/hardened-sources-3.7.3 - In file included from conftest.c:84: /usr/src/linux/include/linux/types.h:14:26: error: conflicting types for 'fd_set' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | renesanso <renesanso> |
Component: | [OLD] Core system | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-zero, oleid |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 460484 | ||
Bug Blocks: | |||
Attachments: |
config.log
3.1.5 log |
Description
renesanso
2013-02-04 21:35:54 UTC
emerge -vq1 sys-fs/gfs2-utils --- Invalid atom in /etc/portage/package.use: www-client/aurora-9999-r9999 FEATURES variable contains unknown value(s): preserved-rebuild * IMPORTANT: 9 news items need reading for repository 'gentoo'. * Use eselect news to read news items. * waiting for lock on /var/db/.pkg.portage_lockfile ... [ ok ] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-fs/gfs2-utils-3.1.2 >>> Failed to emerge sys-fs/gfs2-utils-3.1.2, Log file: >>> '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.15, 1.73, 1.82 * Package: sys-fs/gfs2-utils-3.1.2 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 3.7.3-hardened * Running eautoreconf in '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/work/gfs2-utils' ... * Running autopoint --force ... [ ok ] * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: gfs2-utils/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for corosync... yes checking for cpg... yes checking for sackpt... yes checking for logt... yes checking for ccs... yes checking for cfg... yes checking for fenced... yes checking for dlmcontrol... yes checking for quorum... yes checking for zlib... yes checking for ncurses... yes checking for pthread_mutex_lock in -lpthread... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking linux/dlmconstants.h usability... yes checking linux/dlmconstants.h presence... yes checking for linux/dlmconstants.h... yes checking linux/dlm_plock.h usability... no checking linux/dlm_plock.h presence... yes configure: WARNING: linux/dlm_plock.h: present but cannot be compiled configure: WARNING: linux/dlm_plock.h: check for missing prerequisite headers? configure: WARNING: linux/dlm_plock.h: see the Autoconf documentation configure: WARNING: linux/dlm_plock.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/dlm_plock.h: proceeding with the compiler's result configure: WARNING: ## --------------------------------------- ## configure: WARNING: ## Report this to linux-cluster@redhat.com ## configure: WARNING: ## --------------------------------------- ## checking for linux/dlm_plock.h... no configure: error: Unable to find required kernel headers. Make sure to install kernel headers 2.6.26 (or higher) or use --with-kernel=path configure option to point to the kernel source. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-fs/gfs2-utils-3.1.2/work/gfs2-utils/config.log * ERROR: sys-fs/gfs2-utils-3.1.2 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3556: Called econf '--disable-debug' '--with-kernel=/usr/src/linux' '--localstatedir=/var' * phase-helpers.sh, line 511: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-fs/gfs2-utils-3.1.2'`, * the complete build log and the output of `emerge -pqv '=sys-fs/gfs2-utils-3.1.2'`. * The complete build log is located at '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/work/gfs2-utils' * S: '/var/tmp/portage/sys-fs/gfs2-utils-3.1.2/work/gfs2-utils' I have problems with incompatibility of gcc version, that compiled kernel (4.5), and gcc version, that compiled app (ebuild). Now I use the same version, but problem still there (not fixed). Please attach this file to this bug report: !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-fs/gfs2-utils-3.1.2/work/gfs2-utils/config.log Created attachment 338072 [details]
config.log
Attached. > compiled kernel (4.5)
There is no such kernel version, please provide us the output of `ls -la /usr/src/linux`.
(In reply to comment #6) > > compiled kernel (4.5) That's the GCC version. Created attachment 338232 [details]
3.1.5 log
Ebuild need updates. Only version from git ( http://git.fedorahosted.org/cgit/gfs2-utils.git/snapshot/gfs2-utils-e6100419b58041b85463a76283451ebce6041707.tar.bz2 ) can be compiled on newest kernel ( my is 3.7.3-hardened ) . But 3.1.2 gfs2-utils in portage main tree is complitely old, because stable release now is 3.1.5 ( http://git.fedorahosted.org/cgit/gfs2-utils.git/ ) (not compiled on 3.7.3 kernel, see attached log). Please, update it!!! For newest kernel git-version is needed. git://git.fedorahosted.org/gfs2-utils.git Please, add it as -9999!!! Please, if you have time and maintain cluster ebuilds in gentoo, check newer releases for other tools. Ebuild, that compiled ok. # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/gfs2-utils/gfs2-utils-3.1.2.ebuild,v 1.2 2012/05/04 19:09:18 jdhore Exp $ EAPI=4 inherit autotools linux-info DESCRIPTION="GFS2 Utilities" HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage" SRC_URI="http://git.fedorahosted.org/cgit/gfs2-utils.git/snapshot/gfs2-utils-e6100419b58041b85463a76283451ebce6041707.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND="sys-cluster/corosync sys-cluster/openais sys-cluster/liblogthread sys-cluster/libccs sys-cluster/libfence sys-cluster/libdlm sys-libs/ncurses" DEPEND="${RDEPEND} virtual/pkgconfig" S="${WORKDIR}/gfs2-utils-e6100419b58041b85463a76283451ebce6041707" src_prepare() { mkdir m4 eautoreconf } src_configure() { econf \ $(use_enable debug) \ --with-kernel="${KERNEL_DIR}" \ --localstatedir=/var } src_install() { default rm -rf "${D}/usr/share/doc" dodoc doc/*.txt rmdir "${D}"/var/run/{cluster,} # cman-init.d creates it keepdir /var/{lib,log}/cluster } Up. Please check with sys-fs/gfs2-utils-3.1.3 Confirmed here with gentoo-sources-3.8.1, linux-headers-3.[67].0, glibc-2.15-r3 and gfs2-utils-3.1.3 (In reply to Tiziano Müller from comment #12) > Confirmed here with gentoo-sources-3.8.1, linux-headers-3.[67].0, > glibc-2.15-r3 and gfs2-utils-3.1.3 I think this should have been closed. |