Im making fresh install and I have problem before building the kernel. After emerge -1 @kernel command there are installing depences like cryptsetup but it faild because it cannot find kernel in /usr/src/linux. Sounds logical because kernel will be next to install. Is it a bug or Im doing something bad?
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_code_from_syserror@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_code_from_errno@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_set_errno@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_strsource@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_strerror@GPG_ERROR_1.0'
Question
gumtree.jack
Im making fresh install and I have problem before building the kernel. After emerge -1 @kernel command there are installing depences like cryptsetup but it faild because it cannot find kernel in /usr/src/linux. Sounds logical because kernel will be next to install. Is it a bug or Im doing something bad?
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_code_from_syserror@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_code_from_errno@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_err_set_errno@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_strsource@GPG_ERROR_1.0'
/usr/lib64/libgcrypt.so.20: undefined reference to `gpg_strerror@GPG_ERROR_1.0'
collect2: error: ld returned 1 exit status
make[2]: *** [veritysetup] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
make: *** [all] Error 2
* ERROR: sys-fs/cryptsetup-1.6.5 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/cryptsetup-1.6.5'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/cryptsetup-1.6.5'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
* S: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
>>> Failed to emerge sys-fs/cryptsetup-1.6.5, Log file:
>>> '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/build.log'
* Messages for package sys-fs/cryptsetup-1.6.5:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* ERROR: sys-fs/cryptsetup-1.6.5 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/cryptsetup-1.6.5'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/cryptsetup-1.6.5'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
* S: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
Link to comment
Share on other sites
4 answers to this question
Recommended Posts