Opened 7 months ago

Last modified 7 months ago

#68386 assigned defect

djvulibre: build fails for 'divuextract', due to numerous undefined symbols; possible xcode 15 issue

Reported by: conradwt (Conrad Taylor) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma xcode15 arm Cc: mascguy (Christopher Nielsen)
Port: djvulibre

Description (last modified by mascguy (Christopher Nielsen))

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

Attachments (1)

djvulibre-main.log (3.2 MB) - added by conradwt (Conrad Taylor) 7 months ago.
main.log

Change History (5)

Changed 7 months ago by conradwt (Conrad Taylor)

Attachment: djvulibre-main.log added

main.log

comment:1 Changed 7 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added; nicos@… removed
Description: modified (diff)
Keywords: xcode15 arm added
Owner: set to NicosPavlov
Status: newassigned
Summary: Fails to builddjvulibre: build fails for 'divuextract', due to numerous undefined symbols; possible xcode 15 issue
Version: 2.8.1

comment:2 Changed 7 months ago by Christopher Nielsen <mascguy@…>

In acb93068dd979171e40318d5c610c00eb488f5e9/macports-ports (master):

djvulibre: disable silent rules

See: #68386

comment:3 Changed 7 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:4 Changed 7 months ago by jmroot (Joshua Root)

The most recent configure phase in the log is:

:debug:configure configure phase started at Sat Sep 30 03:28:46 PDT 2023

That's before the libtool fix was merged. Could you please clean djvulibre, selfupdate, and try the install again? If it still fails, the new log will at least have full output due to silent rules being disabled.

Note: See TracTickets for help on using tickets.