Comments (10)
Here is the config.log
root@pluto:/var/lib/dkms/spl/0.6.0.21/build# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ /var/lib/dkms/spl/0.6.0.21/build/configure --prefix=/usr --with-config=kernel --with-linux=/lib/modules/2.6.38-8-server/build --with-linux-obj=/lib/modules/2.6.38-8-server/build
---------
Platform.
---------
hostname = pluto
uname -m = x86_64
uname -r = 2.6.38-8-server
uname -s = Linux
uname -v = #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/lib/dkms
-----------
Core tests.
-----------
configure:2084: checking metadata
configure:2257: result: yes
configure:2298: checking build system type
configure:2316: result: x86_64-unknown-linux-gnu
configure:2338: checking host system type
configure:2353: result: x86_64-unknown-linux-gnu
configure:2375: checking target system type
configure:2390: result: x86_64-unknown-linux-gnu
configure:2419: checking whether to enable maintainer-specific portions of Makefiles
configure:2428: result: no
configure:2469: checking for a BSD-compatible install
configure:2537: result: /usr/bin/install -c
configure:2548: checking whether build environment is sane
configure:2608: result: yes
configure:2749: checking for a thread-safe mkdir -p
configure:2788: result: /bin/mkdir -p
configure:2801: checking for gawk
configure:2831: result: no
configure:2801: checking for mawk
configure:2817: found /usr/bin/mawk
configure:2828: result: mawk
configure:2839: checking whether make sets $(MAKE)
configure:2861: result: yes
configure:2960: checking for a BSD-compatible install
configure:3028: result: /usr/bin/install -c
configure:3087: checking for gcc
configure:3103: found /usr/bin/gcc
configure:3114: result: gcc
configure:3346: checking for C compiler version
configure:3354: gcc --version >&5
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3358: $? = 0
configure:3365: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=
/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without
-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug -
-enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=rel
ease --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configure:3369: $? = 0
configure:3376: gcc -V >&5
gcc: '-V' option must have argument
configure:3380: $? = 1
configure:3403: checking for C compiler default output file name
configure:3425: gcc conftest.c >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status
configure:3429: $? = 1
configure:3467: result:
configure: failed program was:
| /* confdefs.h. /
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.0.21"
| #define SPL_META_RELEASE "rc4"
| #define SPL_META_ALIAS "spl-0.6.0.21-rc4"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.21"
| / end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3473: error: in /var/lib/dkms/spl/0.6.0.21/build': configure:3476: error: C compiler cannot create executables See
config.log' for more details.
----------------
Cache variables.
----------------
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
-----------------
Output variables.
-----------------
ACLOCAL='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run aclocal-1.11'
ALIEN=''
ALIEN_VERSION=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run tar'
AM_BACKSLASH=''
AM_DEFAULT_VERBOSITY='1'
AR=''
AUTOCONF='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run autoconf'
AUTOHEADER='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run autoheader'
AUTOMAKE='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run automake-1.11'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CONFIG_KERNEL_FALSE=''
CONFIG_KERNEL_TRUE=''
CONFIG_USER_FALSE=''
CONFIG_USER_TRUE=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_CFLAGS=''
DEFAULT_PACKAGE=''
DEFS=''
DEPDIR=''
DPKG=''
DPKGBUILD=''
DPKGBUILD_VERSION=''
DPKG_VERSION=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_ALIEN=''
HAVE_DPKG=''
HAVE_DPKGBUILD=''
HAVE_RPM=''
HAVE_RPMBUILD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KERNELCPPFLAGS=''
KERNELMAKE_PARAMS=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LICENSE=''
LINUX=''
LINUX_OBJ=''
LINUX_SYMBOLS=''
LINUX_VERSION=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='spl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RPM=''
RPMBUILD=''
RPMBUILD_VERSION=''
RPM_VERSION=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SPL_CONFIG=''
SPL_META_ALIAS='spl-0.6.0.21-rc4'
SPL_META_AUTHOR=''
SPL_META_DATA=''
SPL_META_LT_AGE=''
SPL_META_LT_CURRENT=''
SPL_META_LT_REVISION=''
SPL_META_NAME='spl'
SPL_META_RELEASE='rc4'
SPL_META_VERSION='0.6.0.21'
STRIP=''
VENDOR=''
VERSION='0.6.0.21'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /var/lib/dkms/spl/0.6.0.21/build/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'
-----------
confdefs.h.
-----------
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define SPL_META_NAME "spl"
#define SPL_META_VERSION "0.6.0.21"
#define SPL_META_RELEASE "rc4"
#define SPL_META_ALIAS "spl-0.6.0.21-rc4"
#define PACKAGE "spl"
#define VERSION "0.6.0.21"
configure: exit 77
root@pluto:/var/lib/dkms/spl/0.6.0.21/build#
from pkg-zfs.
I can reproduce this error on a vanilla Ubuntu Natty server installation. It is happening because the compiler is installed and invoked before the libc6-dev package is installed. Doing this avoids the error:
# apt-get install --no-install-recommends libc6-dev
# apt-get install ubuntu-zfs
At first glance, this bug seems like it is caused by the "Pre-Depends: spl-dkms" control in the zfs-dkms package.
from pkg-zfs.
Ok thanks
from pkg-zfs.
I just got the same error. Installing libc6-dev
before ubuntu-zfs zfs-initramfs
resolved the problem.
from pkg-zfs.
This issue seems resolved. Please reopen the ticket if the installation failure happens again.
from pkg-zfs.
I have this problem again if I installed zfs-dkms without ubuntu-zfs. This is a common thing to do and it is not clear that one must install ubuntu-zfs. Please fix!
from pkg-zfs.
Setting up ubuntu-zfs (6~lucid) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@sfor3s37:/home/manuel# zfs list
Failed to load ZFS module stack.
Load the module manually by running 'insmod /zfs.ko' as root.
Failed to load ZFS module stack.
Load the module manually by running 'insmod /zfs.ko' as root.
root@sfor3s37:/home/manuel# dpkg-reconfigure spl-dkms
Deleting module version: 0.6.0.56
completely from the DKMS tree.
Done.
Loading new spl-0.6.0.56 DKMS files...
Building only for 3.0.0-17-server
Building initial module for 3.0.0-17-server
configure: error: in /var/lib/dkms/spl/0.6.0.56/build': configure: error: C compiler cannot create executables See
config.log' for more details.
from pkg-zfs.
libc6-dev is missing as a dependency of dkms:
root@sfor3s37:/home/manuel# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libc-dev-bin linux-libc-dev
Suggested packages:
glibc-doc
Recommended packages:
manpages-dev
The following NEW packages will be installed:
libc-dev-bin libc6-dev linux-libc-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,778kB of archives.
After this operation, 16.7MB of additional disk space will be used.
Get:1 http://apt-repo/ubuntu/ lucid-updates/main libc-dev-bin 2.11.1-0ubuntu7.10 [224kB]
Get:2 http://apt-repo/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-40.87 [836kB]
Get:3 http://apt-repo/ubuntu/ lucid-updates/main libc6-dev 2.11.1-0ubuntu7.10 [2,717kB]
Fetched 3,778kB in 2s (1,562kB/s)
Selecting previously deselected package libc-dev-bin.
(Reading database ... 51988 files and directories currently installed.)
Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.1-0ubuntu7.10_amd64.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-40.87_amd64.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.11.1-0ubuntu7.10_amd64.deb) ...
Processing triggers for man-db ...
Setting up libc-dev-bin (2.11.1-0ubuntu7.10) ...
Setting up linux-libc-dev (2.6.32-40.87) ...
Setting up libc6-dev (2.11.1-0ubuntu7.10) ...
workaround is to add it as a dependency in spl-dkms and zfs-dkms.
from pkg-zfs.
Please reopen and fix!
from pkg-zfs.
Ubuntu specifically and intentionally allows this failure mode to accommodate certain advanced system configurations; things like local make-kpkg
installations and other kernel overrides.
This behavior is by design. Implementing your recommendation would affect people that use this feature, especially those that do custom installations for cloud deployments.
Open a bug report against dkms if you still think that it should depend on libc6-dev or any other package. If the upstream maintainer agrees, then I will kludge the bug in pkg-zfs until the fix is published in regular distribution.
from pkg-zfs.
Related Issues (20)
- ubuntu trusty 14.04 on zfs-stable ppa does not have v0.6.5.8 HOT 18
- PPA packages for xenial / yakkety HOT 2
- Ubuntu 17.04, initramfs zfs script does not honor datasets with canmount property set to none HOT 6
- Ubuntu 14.04 ubuntu-zfs Depends: zfs-dkms but it is not installable HOT 3
- 0.6.5.11 hasn't been built for Ubuntu stable ppa HOT 1
- zfs-mount.service Working Directory Issue
- ZFS daily/stable PPA for Ubuntu 16.04 xenial possible? HOT 4
- CentsOS 7 not booting after 'yum update' - zfs kernel module missing (using zfs-kmod)
- Root on Ubuntu 18.04 "recordsize" too large?
- Problem EL7 (CentOS RHEL) to a Native ZFS Root Filesystem HOT 4
- zvol for swap and sync=? HOT 5
- Repository ubuntu server 18.04 no release file found
- EL7 (CentOS 7.6) After Native ZFS Installation, Second Array causes grub to fail: No Device found HOT 2
- Can the root be on a RAID-Z1?
- Missing command detecting ZFS-ID
- Error during upgrade to 0.8.1-1ubuntu14.2 HOT 1
- ZFS on Ubuntu16 (booting from non-zfs volume) does not mount /var from ZFS-Dataset HOT 1
- ZFS_INITRD_ADDITIONAL_DATASETS does not work
- Importing multiple encrypted pools at boot HOT 3
- compatibility with `openrc` (Devuan) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg-zfs.