Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61057 closed defect (fixed)

libgit2 @1.0.1: Undefined symbols _htonll

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: libgit2

Description

libgit2 @1.0.1 fails to build on OS X 10.9 and earlier:

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/125341/steps/install-port/logs/stdio

Undefined symbols for architecture x86_64:
  "_htonll", referenced from:
      _ntlm_client_response in ntlm.c.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 (3)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

I filed an upstream issue here: https://github.com/libgit2/libgit2/issues/5613

comment:2 Changed 4 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

In 6fd2a6563ef12e5bdba93ce09e174a30eca85544/macports-ports (master):

libgit2: temporarily disable NTLM client support for 10.9 and earlier

Macro htonll() is not defined on these platforms.

Closes #61057

Thanks to @ryandesign for pushing this upstream.
See https://github.com/libgit2/libgit2/issues/5613
and https://github.com/libgit2/libgit2/pull/5614.

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In e7b22aeacad68836f3b2082bb3208c43b1825b1c/macports-ports (master):

libgit2: Enable NTLM client for 10.9 and earlier

See: #61057

Note: See TracTickets for help on using tickets.