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

MacPorts noreply at macports.org
Sun Oct 8 01:01:37 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  |
------------------------+--------------------------------
Changes (by mascguy):

 * status:  new => assigned
 * cc: nicos@… (removed)
 * cc: mascguy (added)
 * keywords:  sonoma => sonoma xcode15 arm
 * version:   => 2.8.1
 * owner:  (none) => NicosPavlov


Old description:

> {{{
> ➜ sudo port upgrade djvulibre
> Password:
> --->  Fetching archive for djvulibre
> --->  Attempting to fetch
> djvulibre-3.5.28_3+universal.darwin_23.arm64-x86_64.tbz2 from
> https://packages.macports.org/djvulibre
> --->  Attempting to fetch
> djvulibre-3.5.28_3+universal.darwin_23.arm64-x86_64.tbz2 from
> http://mirror.fcix.net/macports/packages/djvulibre
> --->  Attempting to fetch
> djvulibre-3.5.28_3+universal.darwin_23.arm64-x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/djvulibre
> --->  Computing dependencies for djvulibre
> --->  Building djvulibre
> Error: Failed to build djvulibre: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_djvulibre/djvulibre/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> }}}

New 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
 }}}

--

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


More information about the macports-tickets mailing list