[MacPorts] #70155: samba4 requires tdb >= 1.4.10 (if it is not updated, samba will build an internal copy and fail to activate) (was: samba4 broken by the latest update due to a conflict with tdb which is made a dependency)

MacPorts noreply at macports.org
Tue Jun 4 03:58:40 UTC 2024


#70155: samba4 requires tdb >= 1.4.10 (if it is not updated, samba will build an
internal copy and fail to activate)
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  mohd-akram
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  samba4, tdb   |
---------------------------+------------------------
Description changed by barracuda156:

Old description:

> The following commit makes `tdb` a dependency of `samba4`:
> https://github.com/macports/macports-
> ports/commit/73d863cea54b753e4edb424b15984ce0f4043f01
>
> However, now `samba4` cannot be activated, since these ports conflict.
> Specifically, this file is installed by both: `/opt/local/bin/tdbbackup`.
>
> {{{
> Port tdb @1.4.10_0 contains:
>   /opt/local/bin/tdbbackup
>   /opt/local/bin/tdbdump
>   /opt/local/bin/tdbrestore
>   /opt/local/bin/tdbtool
>   /opt/local/include/tdb.h
>   /opt/local/lib/libtdb.1.4.10.dylib
>   /opt/local/lib/libtdb.1.dylib
>   /opt/local/lib/libtdb.dylib
>   /opt/local/lib/pkgconfig/tdb.pc
>   /opt/local/share/man/man8/tdbbackup.8.gz
>   /opt/local/share/man/man8/tdbdump.8.gz
>   /opt/local/share/man/man8/tdbrestore.8.gz
>   /opt/local/share/man/man8/tdbtool.8.gz
> }}}

New description:

 The following commit makes `tdb` a dependency of `samba4`:
 https://github.com/macports/macports-
 ports/commit/73d863cea54b753e4edb424b15984ce0f4043f01

 However, now `samba4` cannot be activated, since these ports conflict.
 Specifically, this file is installed by both: `/opt/local/bin/tdbbackup`.

 {{{
 Port tdb @1.4.10_0 contains:
   /opt/local/bin/tdbbackup
   /opt/local/bin/tdbdump
   /opt/local/bin/tdbrestore
   /opt/local/bin/tdbtool
   /opt/local/include/tdb.h
   /opt/local/lib/libtdb.1.4.10.dylib
   /opt/local/lib/libtdb.1.dylib
   /opt/local/lib/libtdb.dylib
   /opt/local/lib/pkgconfig/tdb.pc
   /opt/local/share/man/man8/tdbbackup.8.gz
   /opt/local/share/man/man8/tdbdump.8.gz
   /opt/local/share/man/man8/tdbrestore.8.gz
   /opt/local/share/man/man8/tdbtool.8.gz
 }}}

 UPD. Apparently it requires a specific version of `tdb`, which by default
 is fine. If a user for w/e reason has an older `tdb`, `samba4` gonna build
 its own copy, and then the port is broken due to a resulting conflict.

 If this is not a concern, we can close this.

--

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


More information about the macports-tickets mailing list