Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757240 - dev-libs/libffi-3.3-r2: failed install (invalid install_name found, your application or library will crash at runtime)
Summary: dev-libs/libffi-3.3-r2: failed install (invalid install_name found, your appl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-27 16:44 UTC by Sam James
Modified: 2020-11-28 20:06 UTC (History)
0 users

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


Attachments
build.log (file_757240.txt,33.94 KB, text/plain)
2020-11-27 16:44 UTC, Sam James
Details
stage3.log.xz (stage3.log.xz,324.89 KB, application/x-xz)
2020-11-27 16:58 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-27 16:44:04 UTC
Created attachment 675388 [details]
build.log

This was in stage 3 bootstrap.

----

>>> Completed installing dev-libs/libffi-3.3-r2 into /Users/sam/Gentoo/var/tmp/portage/dev-libs/libffi-3.3-r2/image

 * Final size of build directory: 6792 KiB (6.6 MiB)
 * Final size of installed tree:   760 KiB

/Users/sam/Gentoo/var/tmp/portage/._portage_reinstall_.vnkwufdd/bin/ecompress: line 65: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
 * QA Notice: invalid reference to /usr/lib/libSystem.B.dylib in //Users/sam/Gentoo/usr/lib/libffi.7.dylib
 * ERROR: dev-libs/libffi-3.3-r2::gentoo_prefix failed:
 *   invalid install_name found, your application or library will crash at runtime
 * 
 * Call stack:
 *   misc-functions.sh, line 1273:  Called install_qa_check
 *   misc-functions.sh, line  187:  Called install_qa_check_macho
 *   misc-functions.sh, line  378:  Called die
 * The specific snippet of code:
 *   		has allow_broken_install_names ${FEATURES} || \
 *   			die "invalid install_name found, your application or library will crash at runtime"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libffi-3.3-r2::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libffi-3.3-r2::gentoo_prefix'`.
 * The complete build log is located at '/Users/sam/Gentoo/var/tmp/portage/dev-libs/libffi-3.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/Users/sam/Gentoo/var/tmp/portage/dev-libs/libffi-3.3-r2/temp/environment'.
 * Working directory: '/Users/sam/Gentoo/var/tmp/portage/dev-libs/libffi-3.3-r2/image'
 * S: '/Users/sam/Gentoo/var/tmp/portage/dev-libs/libffi-3.3-r2/work/libffi-3.3'

----
Comment 1 Fabian Groffen gentoo-dev 2020-11-27 16:55:02 UTC
I guess this is right after pax-utils is installed, is it not?
Comment 2 Fabian Groffen gentoo-dev 2020-11-27 16:55:38 UTC
(move forwards with FEATURES=allow_broken_install_names)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-27 16:58:59 UTC
Created attachment 675394 [details]
stage3.log.xz

(In reply to Fabian Groffen from comment #1)
> I guess this is right after pax-utils is installed, is it not?

Yeah, scanmacho couldn't pick anything up because it wasn't installed beforehand. A few pkgs snuck in but then it died.

(I don't know/think it's related, but outdated libtool not detecting 11.0 might be a recurring problem for us, by the way?)
Comment 5 Larry the Git Cow gentoo-dev 2020-11-28 20:06:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=80d619334821e50f62f8ba7433687caafbef75df

commit 80d619334821e50f62f8ba7433687caafbef75df
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-11-28 20:06:30 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-11-28 20:06:30 +0000

    sys-apps/portage-3.0.10.2: bump to fix library resolution on macOS
    
    Closes: https://bugs.gentoo.org/757240
    Package-Manager: Portage-3.0.10-prefix, Repoman-3.0.2
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 sys-apps/portage/Manifest                                             | 2 +-
 sys-apps/portage/{portage-3.0.10.1.ebuild => portage-3.0.10.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)