Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512150 - sys-auth/pam_mount - ?
Summary: sys-auth/pam_mount - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 11:29 UTC by Vit Pelcak
Modified: 2014-06-08 11:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2014-06-02 11:29:30 UTC
When compiling pam_mount it failed with this error message:
 /bin/mkdir -p '/var/tmp/portage/sys-auth/pam_mount-2.14/image//sbin'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcryptmount
collect2: error: ld returned 1 exit status
  /bin/sh ../libtool   --mode=install /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c mount.crypt '/var/tmp/portage/sys-auth/pam_mount-2.14/image//sbin'
libtool: install: (cd /var/tmp/portage/sys-auth/pam_mount-2.14/image//usr/lib64 && { ln -s -f libcryptmount.so.0.0.0 libcryptmount.so.0 || { rm -f libcryptmount.so.0 && ln -s libcryptmount.so.0.0.0 libcryptmount.so.0; }; })
libtool: install: error: relink `pam_mount.la' with the above command before installing it
make[2]: *** [install-moduleLTLIBRARIES] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: install: (cd /var/tmp/portage/sys-auth/pam_mount-2.14/image//usr/lib64 && { ln -s -f libcryptmount.so.0.0.0 libcryptmount.so || { rm -f libcryptmount.so && ln -s libcryptmount.so.0.0.0 libcryptmount.so; }; })
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libcryptmount.lai /var/tmp/portage/sys-auth/pam_mount-2.14/image//usr/lib64/libcryptmount.la
libtool: install: warning: `libcryptmount.la' has not been installed in `/usr/lib64'
libtool: install: warning: `libcryptmount.la' has not been installed in `/usr/lib64'
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/mount.crypt /var/tmp/portage/sys-auth/pam_mount-2.14/image//sbin/mount.crypt
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/pmt-ehd /var/tmp/portage/sys-auth/pam_mount-2.14/image//usr/sbin/pmt-ehd
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
 * ERROR: sys-auth/pam_mount-2.14::gentoo failed (install phase):
 *   emake failed

Changing ebuild to:
src_install() {
    emake DESTDIR="${D}" install -j1
    use selinux || rm -r "${D}"/etc/selinux
    dodoc doc/*.txt
}

fixed the issue.


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-03 00:47:31 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.