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

configure: error: *** Cannot determine the version of the spl source. #30

Closed
dajhorn opened this issue Apr 13, 2012 · 1 comment
Closed
Assignees

Comments

@dajhorn
Copy link
Member

dajhorn commented Apr 13, 2012

During a kernel package upgrade, if DKMS tries to compile zfs-linux before spl-linux, then this happens:

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
configure: error:
        *** Cannot determine the version of the spl source.
        *** Please prepare the spl source before running this script
Error! Bad return status for module build on kernel: 3.2.0-23-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.0.58/build/make.log for more information.

This error is spurious because DKMS eventually retries zfs-linux after spl-linux is ready and the installation succeeds. Squelching the error message is likely the best near-term solution for this incarnation of the SPL dependency bug.

Potential far-term solutions are bundling spl-linux into zfs-linux or adding the notion of dependencies to DKMS.

@ghost ghost assigned dajhorn Apr 13, 2012
@dajhorn
Copy link
Member Author

dajhorn commented Apr 21, 2012

Closed by the PPA 0.6.0.60 release.

@dajhorn dajhorn closed this as completed Apr 21, 2012
dajhorn referenced this issue Sep 14, 2012
During kernel package upgrades, if DKMS tries to build the ZFS
modules before the SPL module, then the operator gets an error
message that does not apply to installations that are mananged by
DKMS. Change the error message to fit apt-get systems.

A better solution would be to implement a dependency model in DKMS,
or to bundle SPL into the ZFS package.

Closes: dajhorn/pkg-zfs#30
dajhorn referenced this issue Sep 14, 2012
During kernel package upgrades, if DKMS tries to build the ZFS
modules before the SPL module, then the operator gets an error
message that does not apply to installations that are mananged by
DKMS. Change the error message to fit apt-get systems.

A better solution would be to implement a dependency model in DKMS,
or to bundle SPL into the ZFS package.

Closes: dajhorn/pkg-zfs#30
dajhorn referenced this issue Sep 15, 2012
During kernel package upgrades, if DKMS tries to build the ZFS
modules before the SPL module, then the operator gets an error
message that does not apply to installations that are mananged by
DKMS. Change the error message to fit apt-get systems.

A better solution would be to implement a dependency model in DKMS,
or to bundle SPL into the ZFS package.

Closes: dajhorn/pkg-zfs#30
dajhorn referenced this issue Sep 15, 2012
During kernel package upgrades, if DKMS tries to build the ZFS
modules before the SPL module, then the operator gets an error
message that does not apply to installations that are mananged by
DKMS. Change the error message to fit apt-get systems.

A better solution would be to implement a dependency model in DKMS,
or to bundle SPL into the ZFS package.

Closes: dajhorn/pkg-zfs#30
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

No branches or pull requests

1 participant