courier-authlib fails to install with: make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work/courier-authlib-0.65.0' * Found userdb at: /etc/courier/authlib/userdb cp: omitting directory '/etc/courier/authlib/userdb' * ERROR: net-libs/courier-authlib-0.65.0-r3 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 3234: Called finduserdb * environment, line 1999: Called die * The specific snippet of code: * cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" || die; I believe the cause of this error is the ebuild erroneously assuming /etc/courier/authlib/userdb is a file when it can be a directory (man 8 userdb), and is on my system. Line 107 of needs changing from: cp -f "${dir}/userdb" "${D}/etc/courier/authlib/" || die to: cp -fR "${dir}/userdb" "${D}/etc/courier/authlib/" || die I currently have courier-authlib-0.65.0-r2 installed and am unsure how I managed that, since my userdb database was a directory when I installed that too. Can't paste emerge --info from this machine, sorry.
Line 107 of the ebuild, that was meant to say.
Created attachment 344770 [details] Modified ebuild file.
(In reply to comment #2) > Created attachment 344770 [details] > Modified ebuild file. The attachment I sent is the ebuild file modified as per the bug reporter. I had the same issue with building the package --as I also have a userdb directory --not a file. The modification suggested by the bug reporter does allows the package to completely build and install.
Fixed in CVS. Thanks for reporting.