Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spl-dkms build fails before libc6-dev is set up #64

Closed
nedbass opened this issue Dec 7, 2012 · 3 comments
Closed

spl-dkms build fails before libc6-dev is set up #64

nedbass opened this issue Dec 7, 2012 · 3 comments
Assignees
Labels

Comments

@nedbass
Copy link
Member

nedbass commented Dec 7, 2012

I ran into a glitch while testing the "HOWTO install Ubuntu to a Native ZFS Root Filesystem" procedure on Ubuntu 12.04. During the DKMS build of SPL in the chroot'd environment, configure encountered the following error:

configure:3381: checking whether the C compiler works
configure:3403: 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

I worked around this by installing libc6-dev before 'apt-get install ubuntu-zfs'.

The unmodified procedure worked for me the first time I tried it a few days ago. I suspect but have not verified that dajhorn@19b6634 is the relevant
change. Here is a transcript of the failure:

https://gist.github.com/4235942

@dajhorn
Copy link
Member

dajhorn commented Dec 7, 2012

This looks like one of the latent bugs in Precise that became more apparent in Quantal. Commit 19b6634 seems to provoke it by changing the unpack order, which shouldn't matter.

This glitch should resolve when I publish the ubuntu-zfs that depends on build-essential. That might happen this weekend, and if not, then I will update the tutorial.

@dajhorn
Copy link
Member

dajhorn commented Dec 9, 2012

The ubuntu-zfs-7~precise release does indeed resolve this glitch.

(Thanks for the report.)

@dajhorn dajhorn closed this as completed Dec 9, 2012
@ghost ghost assigned dajhorn Dec 9, 2012
@yarikdot
Copy link

The same problem is on debian jessie. How to simulate:

After installing libc6-dev it worked.

dajhorn pushed a commit that referenced this issue Mar 24, 2016
This change adds the neglected SPLAT_TEST_FINI call for the
SPLAT_TASKQ_TEST6_ID, just as is done for the other 5 SPLAT_TASKQ_*
tests.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants