Opened 5 months ago

Last modified 5 months ago

#61744 new defect

bacula @9.4.4 +console_bat : does not build on macOS 11.0.1 (bigsur)

Reported by: timmr Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: bacula

Description

building bacula failed on macOS 11.0 (variants +client_only+console_bat):

:info:build Making libbaccfg.la ...
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bacula/bacula/work/bacula-9.4.4/libtool --silent --tag=
CXX --mode=link /usr/bin/clang++   -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -o libbaccfg.la ini.lo parse_conf.lo res.lo bjson.lo  -expor
t-dynamic -rpath /opt/local/lib -release 9.4.4 -L/opt/local/lib -lssl -lcrypto -lpthread  -lintl
:info:build Undefined symbols for architecture x86_64:
:info:build   "bvsnprintf(char*, int, char const*, __va_list_tag*)", referenced from:
:info:build       s_err(char const*, int, s_lex_context*, char const*, ...) in ini.o
:info:build       sendit(void*, char const*, ...) in bjson.o
:info:build   "edit_int64(long long, char*)", referenced from:
:info:build       display_int32_pair(HPKT&) in bjson.o
:info:build       display_int64_pair(HPKT&) in bjson.o
...
:info:build      (maybe you meant: CONFIG::free_all_resources())
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [libbaccfg.la] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bacula/bacula/work/bacula-9.4.4/src/lib'
:info:build   ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bacula/bacula/work/bacula-9.4.4/src/lib ======

(full log attached)

Attachments (1)

main.log (116.4 KB) - added by timmr 5 months ago.
full log

Download all attachments as: .zip

Change History (2)

Changed 5 months ago by timmr

Attachment: main.log added

full log

comment:1 Changed 5 months ago by ryandesign (Ryan Schmidt)

Probably the well-known libtool bug on macOS 11+.

Note: See TracTickets for help on using tickets.