Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620254 - dev-libs/apr-util-1.5.4-r3 fails during install phase
Summary: dev-libs/apr-util-1.5.4-r3 fails during install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 13:42 UTC by Albert W. Hopkins
Modified: 2017-06-01 07:43 UTC (History)
3 users (show)

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


Attachments
build.log (build.log.xz,4.50 KB, application/x-xz)
2017-06-01 02:02 UTC, Albert W. Hopkins
Details
emerge --info (info.txt,4.76 KB, text/plain)
2017-06-01 02:03 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2017-05-31 13:42:14 UTC
find: ���/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/image/usr/lib64/apr-util-1���: No such file or directory
 * ERROR: dev-libs/apr-util-1.5.4-r3::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 3056:  Called die
 * The specific snippet of code:
 *       find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/apr-util-1.5.4-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/apr-util-1.5.4-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/work/apr-util-1.5.4'
 * S: '/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/work/apr-util-1.5.4'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-libs/apr-util-1.5.4-r3:1/1::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-libs/apr-util-1.5.4-r3/temp/build.log'

.
--
Comment 1 Jonas Stein gentoo-dev 2017-05-31 20:38:28 UTC
Please attach the logfiles
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Problems_at_build_time
Comment 2 Albert W. Hopkins 2017-06-01 02:02:59 UTC
Created attachment 474898 [details]
build.log
Comment 3 Albert W. Hopkins 2017-06-01 02:03:24 UTC
Created attachment 474900 [details]
emerge --info
Comment 4 Andrey Volkov 2017-06-01 06:59:09 UTC
The error is only fired when all of this use flags disabled
[-berkdb -freetds -gdbm -ldap -libressl -mysql -nss -odbc -openssl -postgres -sqlite]

--- a/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild
+++ b/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild
@@ -121,7 +121,9 @@ src_install() {
        default
 
        find "${ED}" -name "*.la" -delete || die
-       find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
+       if [ -d "${ED}usr/$(get_libdir)/apr-util-${SLOT}" ]; then
+               find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
+       fi
        if ! use static-libs ; then
                find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
        fi
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-06-01 07:43:12 UTC
commit 1eb695ee7fa02bfd525bdbbb82729520b7848ecd (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Thu Jun 1 09:41:47 2017

    dev-libs/apr-util: Fixed broken find command (bug #620254).
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.2