Opened 11 years ago
Closed 11 years ago
#39584 closed defect (fixed)
harfbuzz-icu: installation of faulty .la file causes webkit-gtk build failure.
Reported by: | dbevans (David B. Evans) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia), anddam (Andrea D'Amore) | |
Port: | harfbuzz-icu |
Description
/bin/sh ./libtool --tag=CXX --mode=link /usr/bin/clang++ -pipe -O2 -Wno-c++11-extensions -arch x86_64 -Wno-c++11-compat -O2 -no-install -no-fast-install -L/opt/local/lib -arch x86_64 -o Programs/TestWebKitAPI/TestGtk Source/WebCore/platform/graphics/Programs_TestWebKitAPI_TestGtk-IntRect.o Source/WebCore/platform/graphics/cairo/Programs_TestWebKitAPI_TestGtk-IntRectCairo.o Source/WebCore/platform/graphics/gtk/Programs_TestWebKitAPI_TestGtk-IntRectGtk.o Source/WebCore/platform/gtk/Programs_TestWebKitAPI_TestGtk-GtkInputMethodFilter.o Tools/TestWebKitAPI/Tests/gtk/Programs_TestWebKitAPI_TestGtk-InputMethodFilter.o Libraries/libTestWebKitAPIMain.la Libraries/libgtest.la libjavascriptcoregtk-1.0.la libWebCore.la libWebCoreGtk.la -L/opt/local/lib -lcairo -lfontconfig -lfreetype -lharfbuzz -L/opt/local/lib -lharfbuzz-icu -lharfbuzz -L/opt/local/lib -lgmodule-2.0 -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0 -lintl -lfreetype -lfontconfig -L/opt/local/lib -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl libtool: link: warning: `-no-install' is ignored for x86_64-apple-darwin12.4.0 libtool: link: warning: assuming `-no-fast-install' instead libtool: link: cannot find the library `/opt/local/var/macports/build/_opt_macports_trunk_dports_graphics_harfbuzz/harfbuzz-icu/work/harfbuzz-0.9.18/src/libharfbuzz.la' or unhandled argument `/opt/local/var/macports/build/_opt_macports_trunk_dports_graphics_harfbuzz/harfbuzz-icu/work/harfbuzz-0.9.18/src/libharfbuzz.la' make[1]: *** [Programs/TestWebKitAPI/TestGtk] Error 1
Change History (11)
comment:1 Changed 11 years ago by dbevans (David B. Evans)
Summary: | wekgtk: build fails after dependency switch to harfbuzz-icu → webkit-gtk: build fails after dependency switch to harfbuzz-icu |
---|
comment:2 Changed 11 years ago by dbevans (David B. Evans)
Port: | harfbuzz-icu added; harbuzz-icu removed |
---|
comment:3 Changed 11 years ago by dbevans (David B. Evans)
Cc: | and.damore@… added |
---|
comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Port: | webkit removed |
---|
comment:5 follow-up: 7 Changed 11 years ago by dbevans (David B. Evans)
Yes, I see the same the same thing with yelp for instance. The reference is to the original harfbuzz-icu build directory which, of course, isn't there any more.
I'm just building using things as is. What do you do special, if anything to 'not use .la files.'
comment:6 Changed 11 years ago by dbevans (David B. Evans)
Just to follow up it appears that
- harbuzz-icu installs /opt/local/lib/libharfbuzz-icu.la
- /opt/local/lib/libharfbuzz-icu.la embeds a dependency reference to a file in the build path
# Libraries that this one depends upon. dependency_libs=' -L/opt/local/lib -licuuc -licudata /opt/local/var/macports/build/_opt_macports_trunk_dports_graphics_harfbuzz/harfbuzz-icu/work/harfbuzz-0.9.18/src/libharfbuzz.la'
comment:7 follow-up: 8 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Replying to devans@…:
I'm just building using things as is. What do you do special, if anything to 'not use .la files.'
I'm referring to the fact that I set this in macports.conf: delete_la_files yes
comment:8 Changed 11 years ago by dbevans (David B. Evans)
Replying to jeremyhu@…:
I'm referring to the fact that I set this in macports.conf: delete_la_files yes
Thanks for the info. Didn't know this was an option.
comment:9 Changed 11 years ago by dbevans (David B. Evans)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Summary: | webkit-gtk: build fails after dependency switch to harfbuzz-icu → harfbuzz-icu: installation of faulty .la file causes webkit-gtk build failure. |
Confirming that removal of the offending .la file installed by harfbuzz-icu fixes the problem. So either need to not install the file or fix it so it doesn't refer to paths that don't exist at run time.
comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
Ugh. Did not notice because I run trunk which clears dependency_libs
from .la files.
comment:11 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hopefully r107469 fixes it.
That's probably harfbuz installing a bad libtool archive.
I don't experience it on my systems because I don't use .la files.