Opened 4 weeks ago

Last modified 4 weeks ago

#60635 assigned defect

git-delta: Undefined symbols OnigDefaultSyntax

Reported by: ryandesign (Ryan Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: yosemite Cc:
Port: git-delta

Description

git-delta is failing to build on Yosemite:

error: linking with `/usr/bin/clang` failed: exit code: 1
  = note: Undefined symbols for architecture x86_64:
            "OnigDefaultSyntax", referenced from:
                onig::syntax::Syntax::default::h4e27ae719913f8d4 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.4.rcgu.o)
            "onig_free_match_param", referenced from:
                _$LT$onig..match_param..MatchParam$u20$as$u20$core..ops..drop..Drop$GT$::drop::h2b8be0f649ded0b6 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.11.rcgu.o)
            "onig_new_match_param", referenced from:
                _$LT$onig..match_param..MatchParam$u20$as$u20$core..default..Default$GT$::default::hbefc07dcb4875f3f in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.11.rcgu.o)
            "onig_region_resize", referenced from:
                onig::region::Region::with_capacity::hefe03738ed23d59f in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.5.rcgu.o)
            "onig_initialize_match_param", referenced from:
                _$LT$onig..match_param..MatchParam$u20$as$u20$core..default..Default$GT$::default::hbefc07dcb4875f3f in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.11.rcgu.o)
            "onig_free", referenced from:
                _$LT$onig..Regex$u20$as$u20$core..ops..drop..Drop$GT$::drop::h29318e8b40b26885 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
            "onig_get_encoding", referenced from:
                onig::Regex::encoding::h4e3cec134ac4c959 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
            "onig_search_with_param", referenced from:
                syntect::parsing::regex::regex_impl::Regex::search::hebd6c848daed2fd2 in libsyntect-06da6314c4a39eb6.rlib(syntect-06da6314c4a39eb6.syntect.4vdloxqz-cgu.11.rcgu.o)
            "onig_region_copy", referenced from:
                _$LT$onig..region..Region$u20$as$u20$core..clone..Clone$GT$::clone::h688bc56ec440209d in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.5.rcgu.o)
            "onig_region_free", referenced from:
                core::ptr::drop_in_place::ha9600d52be70b026 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.5.rcgu.o)
                _$LT$onig..region..Region$u20$as$u20$core..ops..drop..Drop$GT$::drop::h241f3f281656bf24 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.5.rcgu.o)
            "onig_new", referenced from:
                onig::Regex::with_options_and_encoding::hfc9bab5338d39488 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
            "OnigEncodingUTF8", referenced from:
                onig::Regex::with_options_and_encoding::hfc9bab5338d39488 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
                syntect::parsing::regex::regex_impl::Regex::search::hebd6c848daed2fd2 in libsyntect-06da6314c4a39eb6.rlib(syntect-06da6314c4a39eb6.syntect.4vdloxqz-cgu.11.rcgu.o)
            "onig_error_code_to_str", referenced from:
                onig::Error::from_code::hab549d6aba17e21f in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
                onig::Regex::with_options_and_encoding::hfc9bab5338d39488 in libonig-05be016641b8d559.rlib(onig-05be016641b8d559.onig.bsanofvt-cgu.1.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change History (2)

comment:1 Changed 4 weeks ago by herbygillot (Herby Gillot)

There is a newer version of Rust out than the version currently in ports, will try to update that. Perhaps might help here.

Note: See TracTickets for help on using tickets.