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

Fix build failure of SPL because libc-dev is missing (LP: #1536299) #2

Open
wants to merge 1 commit into
base: master/ubuntu/wily
Choose a base branch
from

Conversation

ColinIanKing
Copy link

DKMS SPL build failure occurs on a clean machine because the configure
script attempts to build a small test C program which fails to link
because libc-dev is not installed at that point even though gcc is
installed.

configure: error:
*** Please make sure the kmod spl devel package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.

The most straight forward fix is to state that libc-dev is a dependency
so that it is installed first before SPL is built. Most DKMS builds
just require gcc and build directly against the kernel, but for SPL
we have this pre-build configure step which needs libc-dev.

Signed-off-by: Colin Ian King [email protected]

DKMS SPL build failure occurs on a clean machine because the configure
script attempts to build a small test C program which fails to link
because libc-dev is not installed at that point even though gcc is
installed.

configure: error:
        *** Please make sure the kmod spl devel <kernel> package for your
        *** distribution is installed then try again.  If that fails you
        *** can specify the location of the spl objects with the
        *** '--with-spl-obj=PATH' option.

The most straight forward fix is to state that libc-dev is a dependency
so that it is installed first before SPL is built.  Most DKMS builds
just require gcc and build directly against the kernel, but for SPL
we have this pre-build configure step which needs libc-dev.

Signed-off-by: Colin Ian King <[email protected]>
@dajhorn
Copy link
Member

dajhorn commented Jan 25, 2016

@ColinIanKing, I recall that libc-dev was excluded to satisfy Debian policy and some corner-case deployment scenarios. Give me a few days to search through old correspondence.

@dajhorn
Copy link
Member

dajhorn commented Feb 1, 2016

@ColinIanKing, is Canonical picking up PPA maintenance?

If I will be doing tail support for Precise and Trusty, then I want to minimize testing workload. Past that, I'm indifferent to tweaking things for Wily, especially things that might provide a better upgrade path to Xenial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants