[MacPorts] #68386: djvulibre: build fails for 'divuextract', due to numerous undefined symbols; possible xcode 15 issue

MacPorts noreply at macports.org
Sun Oct 8 01:08:13 UTC 2023


#68386: djvulibre: build fails for 'divuextract', due to numerous undefined
symbols; possible xcode 15 issue
------------------------+--------------------------------
  Reporter:  conradwt   |      Owner:  NicosPavlov
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:  sonoma xcode15 arm
      Port:  djvulibre  |
------------------------+--------------------------------
Description changed by mascguy:

Old description:

> Details (too many undefined symbols to list all, but a few examples
> follow).
>
> Also note that this port needs to be updated to disable silent rules, as
> there is no detail regarding compilation and link commands.
>
> {{{
> :info:build ld: Undefined symbols:
> :info:build   _DjVuPrintErrorUTF8, referenced from:
> :info:build       _main in djvmcvt.o
> :info:build       Usage() in djvmcvt.o
> :info:build   DJVU::ByteStream::create(DJVU::GURL const&, char const*),
> referenced from:
> :info:build       do_bundled(DJVU::GArray<DJVU::GUTF8String>&) in
> djvmcvt.o
> :info:build   DJVU::GArrayBase::GArrayBase(DJVU::GCont::Traits const&,
> int, int), referenced from:
> :info:build       _main in djvmcvt.o
> :info:build   DJVU::GArrayBase::~GArrayBase(), referenced from:
> :info:build       _main in djvmcvt.o
> :info:build   DJVU::GException::GException(char const*, char const*, int,
> char const*, DJVU::GException::source_type), referenced from:
> :info:build       _main in djvmcvt.o
>
> [...etc...]
>
> :info:build clang: error: linker command failed with exit code 1 (use -v
> to see invocation)
> :info:build make[2]: *** [djvuextract] Error 1
> }}}

New description:

 Details (too many undefined symbols to list all, but a few examples
 follow):

 {{{
 :info:build ld: Undefined symbols:
 :info:build   _DjVuPrintErrorUTF8, referenced from:
 :info:build       _main in djvmcvt.o
 :info:build       Usage() in djvmcvt.o
 :info:build   DJVU::ByteStream::create(DJVU::GURL const&, char const*),
 referenced from:
 :info:build       do_bundled(DJVU::GArray<DJVU::GUTF8String>&) in
 djvmcvt.o
 :info:build   DJVU::GArrayBase::GArrayBase(DJVU::GCont::Traits const&,
 int, int), referenced from:
 :info:build       _main in djvmcvt.o
 :info:build   DJVU::GArrayBase::~GArrayBase(), referenced from:
 :info:build       _main in djvmcvt.o
 :info:build   DJVU::GException::GException(char const*, char const*, int,
 char const*, DJVU::GException::source_type), referenced from:
 :info:build       _main in djvmcvt.o

 [...etc...]

 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [djvuextract] Error 1
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/68386#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list