Fixing absolute install fails on OSX
Ilja Honkonen <[email protected]> Thu, 10 Sep 2015 08:15:40 -0400
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello
While installing gcc from a local interface I got this, which apparently
was executed after my configure & make & make install:
Absolute install
name=/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libcilkrts.5.dylib
in
/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libcilkrts.5.dylib;
fixing...
Absolute install
name=/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libgcc_s.1.dylib
in
/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libgcc_ext.10.4.dylib;
fixing...
fatal error: install_name_tool: input file:
/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libgcc_ext.10.4.dylib
is Mach-O dynamic shared library stub file and can't be changed
Traceback (most recent call last):
File
"/Users/iljah/.cache/0install.net/implementations/sha256new_JVBP6RCR3JVWBOBYLB7HOYFDV2FXGMUPDW4GCMZY7U2KHVUFFWYA/0compile",
line 78, in <module>
matches[0](args[1:])
File
"/Users/iljah/.cache/0install.net/implementations/sha256new_JVBP6RCR3JVWBOBYLB7HOYFDV2FXGMUPDW4GCMZY7U2KHVUFFWYA/build.py",
line 376, in do_build
return do_build_internal(options, args2)
File
"/Users/iljah/.cache/0install.net/implementations/sha256new_JVBP6RCR3JVWBOBYLB7HOYFDV2FXGMUPDW4GCMZY7U2KHVUFFWYA/build.py",
line 328, in do_build_internal
shorten_dynamic_library_install_names()
File
"/Users/iljah/.cache/0install.net/implementations/sha256new_JVBP6RCR3JVWBOBYLB7HOYFDV2FXGMUPDW4GCMZY7U2KHVUFFWYA/build.py",
line 104, in shorten_dynamic_library_install_names
shorten_dynamic_library_install_name(os.path.join(root, f))
File
"/Users/iljah/.cache/0install.net/implementations/sha256new_JVBP6RCR3JVWBOBYLB7HOYFDV2FXGMUPDW4GCMZY7U2KHVUFFWYA/build.py",
line 95, in shorten_dynamic_library_install_name
subprocess.check_call(['install_name_tool', '-id', shortname,
dylib_file])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['install_name_tool', '-id',
u'libgcc_ext.10.4.dylib',
u'/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libgcc_ext.10.4.dylib']'
returned non-zero exit status 1
Command failed with exit status 1
Build failed: leaving build directory
/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS for
inspection...
What's wrong with absolute installs and do they have to be fixed here?
Thanks
Ilja
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140