Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 644744

Summary: app-text/cmark-0.28.0 fails with 'invalid self-reference install_name' QA error
Product: Gentoo/Alt Reporter: Stuart Shelton <srcshelton>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Shelton 2018-01-16 10:32:14 UTC
>>> Install cmark-0.28.0 into /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/ category app-text
>>> Working in BUILD_DIR: "/opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/work/cmark-0.28.0_build"
make SHELL=/opt/gentoo/bin/bash -j7 install 
[ 87%] Built target libcmark
[100%] Built target cmark
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/bin/cmark
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/lib/libcmark.0.28.0.dylib
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/lib/libcmark.dylib
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/lib/pkgconfig/libcmark.pc
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/include/cmark.h
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/include/cmark_export.h
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/include/cmark_version.h
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/lib/cmake/cmark.cmake
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/lib/cmake/cmark-gentoo.cmake
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/share/man/man1/cmark.1
-- Installing: /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/opt/gentoo/usr/share/man/man3/cmark.3
>>> Completed installing cmark-0.28.0 into /opt/gentoo/portage/tmp/portage/app-text/cmark-0.28.0/image/

 * Final size of build directory: 3284 KiB (3.2 MiB)
 * Final size of installed tree:   572 KiB

ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/doc
 * QA Notice: invalid self-reference install_name libcmark.0.28.0.dylib in /opt/gentoo/usr/lib/libcmark.0.28.0.dylib
 * ERROR: app-text/cmark-0.28.0::gentoo_prefix failed:
 *   invalid install_name found, your application or library will crash at runtime
 * 
 * Call stack:
 *   misc-functions.sh, line 1299:  Called install_qa_check
 *   misc-functions.sh, line  241:  Called install_qa_check_macho
 *   misc-functions.sh, line  422:  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"
 * 


$ emerge --info '=app-text/cmark-0.28.0::gentoo_prefix'
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.3.18-prefix (python 2.7.14-final-0, prefix/darwin/macos/10.13/x64, [unavailable], unavailable, 17.3.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Darwin-17.3.0-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Mon, 15 Jan 2018 11:56:38 +0000

sh bash 4.3_p48-r1
app-shells/bash:    4.3_p48-r1
dev-lang/perl:      5.26.1-r1
dev-lang/python:    2.7.14-r1
dev-util/cmake:     3.10.1
dev-util/pkgconfig: 0.29.2
sys-devel/autoconf: 2.69-r4
sys-devel/automake: 1.14.1-r1, 1.15.1-r1
sys-devel/libtool:  2.4.6-r4
sys-devel/make:     4.2.1-r1
Repositories:

gentoo_prefix
    location: /opt/gentoo/var/db/repo/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000
    aliases: gentoo
    sync-rsync-extra-opts: 

Compiler suite:
sys-devel/clang-5.0.1
sys-devel/llvm-5.0.1
sys-devel/llvm-common-5.0.1
Comment 1 Fabian Groffen gentoo-dev 2021-01-08 09:00:02 UTC
this would need retrying using latest cmake, a lot has changed in that area