[MacPorts] #61744: bacula @9.4.4 +console_bat : does not build on macOS 11.4 (bigsur)
MacPorts
noreply at macports.org
Wed Aug 4 00:41:13 UTC 2021
#61744: bacula @9.4.4 +console_bat : does not build on macOS 11.4 (bigsur)
---------------------+--------------------
Reporter: timmr | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: bigsur
Port: bacula |
---------------------+--------------------
Comment (by OrvGull):
@timmr - If you just need to get it working, you can do the following
rather convoluted method:
{{{
port install autoconf
port extract bacula
WORKDIR=`port work bacula`
cd $WORKDIR/bacula-9.4.4
}}}
Fix {{{autoconf/libtool/libtool.m4}}} with the patch linked above. It's
only two lines, so if you're not too comfortable with {{{patch}}} you can
just edit the file by hand. Then:
{{{
touch autoconf/aclocal.m4
./configure --enable-client-only
make configure
}}}
(Note the run of ./configure there is not the one that'll be used for the
build; port will re-run it, so don't worry too much about setting
configuration flags. We just need a valid config.status file or {{{make
configure}}} will choke.)
Now edit {{{configure}}} and put {{{BUILD_DIR=`PWD`}}} near the top. It's
already in the file, but in the wrong place; the variable gets used before
it's set, and the script fails.
Finally:
{{{
port build bacula
}}}
If the build succeeds, you should be able to do {{{port install bacula}}}.
I can't reasonably do this whole rigamarole on multiple workstations, so
I'm hoping someone smarter than me comes up with a proper fix. ;)
--
Ticket URL: <https://trac.macports.org/ticket/61744#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list