Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#70155 closed defect (invalid)

samba4 requires tdb >= 1.4.10 (if it is not updated locally, samba will build an internal copy and fail to activate)

Reported by: barracuda156 Owned by: mohd-akram (Mohamed Akram)
Priority: Low Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: samba4, tdb

Description (last modified by barracuda156)

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.

Change History (5)

comment:1 Changed 6 months ago by barracuda156

Let me just check one thing, I had 1.4.6 installed, maybe samba4 requires a very recent version of tdb, and therefore it ignored mine. (I upgraded to tdb after installing samba4, since I noticed it was out-of-date.)

comment:2 Changed 6 months ago by barracuda156

Description: modified (diff)
Summary: samba4 broken by the latest update due to a conflict with tdb which is made a dependencysamba4 requires tdb >= 1.4.10 (if it is not updated, samba will build an internal copy and fail to activate)

comment:3 Changed 6 months ago by barracuda156

Priority: NormalLow
Summary: samba4 requires tdb >= 1.4.10 (if it is not updated, samba will build an internal copy and fail to activate)samba4 requires tdb >= 1.4.10 (if it is not updated locally, samba will build an internal copy and fail to activate)

comment:4 Changed 6 months ago by mohd-akram (Mohamed Akram)

Resolution: invalid
Status: assignedclosed

Closing as I don't think anything can be done about this. If anyone encounters this while upgrading samba4, uninstall and then re-install it.

comment:5 Changed 6 months ago by barracuda156

Yeah, I don’t have a solution either, so fair enough.

Note: See TracTickets for help on using tickets.