Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#59602 closed defect (fixed)

libxml2-bootstrap @2.9.9_4: dependents can't find icu58 headers

Reported by: lemzwerg (Werner Lemberg) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: lion Cc:
Port: libxml2-bootstrap

Description

Yesterday, after resolving the cyclic dependency problem with icu, building of clang-3.4 aborted with

:info:build In file included from /opt/lilypond/2.19.83/var/macports/build/_opt_lilypond_2.19.83_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/tools/c-index-test/c-index-test.c:13:
:info:build In file included from /opt/lilypond/2.19.83/libexec/libcxx-bootstrap/include/libxml2/libxml/parser.h:810:
:info:build /opt/lilypond/2.19.83/libexec/libcxx-bootstrap/include/libxml2/libxml/encoding.h:31:10: fatal error: 'unicode/ucnv.h' file not found
:info:build #include <unicode/ucnv.h>
:info:build          ^
:info:build 1 error generated.

Maybe the dependency fix is incomplete?

Full log attached.

Attachments (2)

main.log.xz (122.4 KB) - added by lemzwerg (Werner Lemberg) 4 years ago.
main.log.2.xz (117.9 KB) - added by lemzwerg (Werner Lemberg) 4 years ago.
new try

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by lemzwerg (Werner Lemberg)

Attachment: main.log.xz added

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Port: libxml2-bootstrap added; clang-3.4 removed
Summary: Lion: clang-3.4 doesn't buildlibxml2-bootstrap @2.9.9_4: dependents can't find icu58 headers

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In d38df7ed0a76ad1d6bde5683e8062e1bf0681e3e/macports-ports (master):

libxml2-bootstrap: fix icu header paths

Handle different prefixes for icu and libiconv.

Closes: #59602

comment:3 Changed 4 years ago by lemzwerg (Werner Lemberg)

Thanks. How long does it take that a change in the git repository gets reflected in port selfupdate?

comment:4 Changed 4 years ago by lemzwerg (Werner Lemberg)

Resolution: fixed
Status: closedreopened

[libxml2-bootstrap @2.9.9_5]
[clang-3.4 @3.4.2_12]

Alas, the fix doesn't seem to suffice. I still get a similar problem (after uninstalling libxml2-bootstrap and cleaning clang-3.4):

:info:build In file included from /opt/lilypond/2.19.83/var/macports/build/_opt_lilypond_2.19.83_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/tools/c-index-test/c-index-test.c:13:
:info:build In file included from /opt/lilypond/2.19.83/libexec/libcxx-bootstrap/include/libxml2/libxml/parser.h:810:
:info:build In file included from /opt/lilypond/2.19.83/libexec/libcxx-bootstrap/include/libxml2/libxml/encoding.h:31:
:info:build /opt/lilypond/2.19.83/libexec/icu58/include/unicode/ucnv.h:52:10: fatal error: 'unicode/ucnv_err.h' file not found
:info:build #include "unicode/ucnv_err.h"
:info:build          ^

Full log file attached.

Changed 4 years ago by lemzwerg (Werner Lemberg)

Attachment: main.log.2.xz added

new try

comment:5 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

In 3c84f5995dc10acab2e085d5da8c9883f5e804c8/macports-ports (master):

libxml2-bootstrap: symlink to correct icu headers

Fixes: #59602

comment:6 Changed 4 years ago by lemzwerg (Werner Lemberg)

Now it works, thanks!

Note: See TracTickets for help on using tickets.