Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214236 - app-arch/bzip2-1.0.5 installs wrong install_names?
Summary: app-arch/bzip2-1.0.5 installs wrong install_names?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-22 12:36 UTC by Martin Hauser
Modified: 2008-03-22 13:52 UTC (History)
0 users

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


Attachments
build log (build.log,482.82 KB, text/plain)
2008-03-22 12:37 UTC, Martin Hauser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hauser 2008-03-22 12:36:31 UTC
emerging media-gfx/imagemagick-6.3.9.8 fails with the error 'invalid install_name found, your application will crash at runtime'. I'll attach the build log.
Comment 1 Martin Hauser 2008-03-22 12:37:42 UTC
Created attachment 146875 [details]
build log
Comment 2 Fabian Groffen gentoo-dev 2008-03-22 12:45:53 UTC
this is unrelated to imagemagick, it is the newest bzip2 which seems to be broken...
Comment 3 Fabian Groffen gentoo-dev 2008-03-22 13:00:35 UTC
% otool -L /Library/Gentoo/lib/libbz2.1.0.dylib
/Library/Gentoo/lib/libbz2.1.0.dylib:
        /Library/Gentoo/usr/lib//libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.3)


This is wrong, and should have been caught by portage.

Additionally:
% otool -L /Library/Gentoo/usr/lib/libbz2.dylib 
/Library/Gentoo/usr/lib/libbz2.dylib:
        /Library/Gentoo/lib/libbz2.dylib (compatibility version 1.0.0, current version 1.0.3)

No pointer is made to the libbz2.1.dylib here, like I think it should.
Comment 4 Fabian Groffen gentoo-dev 2008-03-22 13:14:25 UTC
 * Messages for package app-arch/bzip2-1.0.5:

 * correcting install_name from /Library/Gentoo/usr/lib//libbz2.1.0.dylib to /Library/Gentoo/lib//libbz2.1.0.dylib in Library/Gentoo/lib/libbz2.1.0.3.dylib
 * correcting install_name from /Library/Gentoo/usr/lib//libbz2.1.0.dylib to /Library/Gentoo/lib//libbz2.1.0.dylib in Library/Gentoo/lib/libbz2.1.0.dylib
 * correcting install_name from /Library/Gentoo/usr/lib//libbz2.1.0.dylib to /Library/Gentoo/lib//libbz2.1.0.dylib in Library/Gentoo/lib/libbz2.1.dylib

Apparently that fails.

Ok. bzip2 needs a lot of work to get this fixed properly, it's a big mess in here.
Comment 5 Fabian Groffen gentoo-dev 2008-03-22 13:40:56 UTC
I just fixed this.  Thanks!
Comment 6 Martin Hauser 2008-03-22 13:52:58 UTC
Thanks for fixing!