From nobody Sun Nov 6 14:44:03 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N4xvn3lz2z4hLrN for ; Sun, 6 Nov 2022 14:44:21 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4N4xvm2t6Qz3Swv for ; Sun, 6 Nov 2022 14:44:20 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 663F523DB6; Sun, 6 Nov 2022 09:44:14 -0500 (EST) From: Paul Mather Message-Id: <6012509C-F755-4406-BB72-6F1DE32BFF25@gromit.dlib.vt.edu> Content-Type: multipart/alternative; boundary="Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: SAMBA 416-4.16.6 ad GNOME together is impossible :( Date: Sun, 6 Nov 2022 09:44:03 -0500 In-Reply-To: <000401d8f1ea$eb57c9f0$c2075dd0$@xs4all.nl> Cc: "" To: louis.freebsd@xs4all.nl References: <000401d8f1ea$eb57c9f0$c2075dd0$@xs4all.nl> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Rspamd-Queue-Id: 4N4xvm2t6Qz3Swv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 128.173.126.123) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [-2.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SUBJECT_ENDS_SPACES(0.50)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-current@FreeBSD.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[xs4all.nl]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[paul]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Nov 6, 2022, at 9:20 AM, = wrote: > I try to get FreeBSD14 current running with both > - GNOME > - SAMBA > That seems to be impossible =E2=98=B9 GNOME and SAMBA416 seems to be = conflicting !=20 > I need SAMBA416 since SAMBA413 is simply not working :( > =20 > Installing SAMBA does remove GNOME components and vice versa. > =20 > How to work around this !!?? > So, that is a squeeze which urgently need repair IMHO > =20 > Louis > =20 > =20 > pkg install samba416-4.16.6 > Message from samba416-4.16.6 > [1/4] Deinstalling gnome-shell-42.4_1... > [1/4] Deleting files for gnome-shell-42.4_1: 100% > [2/4] Deinstalling gnome-control-center-43.0... > [2/4] Deleting files for gnome-control-center-43.0: 100% > [3/4] Deinstalling samba413-4.13.17_4... > [3/4] Deleting files for samba413-4.13.17_4: 100% > [4/4] Installing samba416-4.16.6... > [4/4] Extracting samba416-4.16.6: 100% > =20 > And then I have a fatal GNOME problem, and I have to install GNOME = shell > Nov 6 12:29:20 SENIOR pkg[1897]: samba416-4.16.6 deinstalled > Nov 6 12:29:21 SENIOR pkg[1897]: samba413-4.13.17_4 installed > Nov 6 12:29:21 SENIOR pkg[1897]: gnome-control-center-43.0 installed > Nov 6 12:29:21 SENIOR pkg[1897]: gnome-shell-42.4_1 installed > =20 > SAMBA and GNOME are both working =E2=80=A6.. apart from each other.=20 > Where SAMBA is not yet 100% ok e.g. it indicates that the config is = not ok where testparm says it is ok=20 I am not using GNOME, but I am using Samba 4.16 and it coexists with = other ports for me. I suspect the problem is that GNOME is being built = against the current default for Samba (4.13) and so GNOME has the 4.13 = version as a dependency. Samba 4.16 and 4.13 conflict against each = other, so when you try and install Samba 4.16 it will uninstall Samba = 4.13 (and GNOME, which depends upon it). Conversely, if you install = GNOME it will uninstall Samba 4.16 to make way for its Samba 4.13 = dependency. The way to fix this is to have your ports build against a common default = version of Samba. In my case, I build ports locally using Poudriere and = added "samba=3D4.16" to the "DEFAULT_VERSIONS" definition in make.conf = for that Poudriere ports jail. So, any ports that build against Samba = will use Samba 4.16 as a dependency, not 4.13. If you are using FreeBSD repositories, you might have to wait for Samba = to switch to 4.16 in /usr/ports/Mk/bsd.default-versions.mk before = GNOME/Samba ports shake out the way you like. Cheers, Paul.= --Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 On Nov 6, = 2022, at 9:20 AM, <louis.freebsd@xs4all.nl> = <louis.freebsd@xs4all.nl> wrote:

I try to get FreeBSD14 current running with = both
- GNOME
- SAMBA
That seems to be impossible =E2=98=B9  GNOME and SAMBA416 = seems to be conflicting ! 
I need SAMBA416 since SAMBA413 is = simply not working :(
 
Installing SAMBA does remove GNOME components and vice = versa.
 
How to work around this !!??
So, that is a squeeze which urgently = need repair IMHO
 
Louis
 
 
pkg install samba416-4.16.6
Message from = samba416-4.16.6
[1/4] Deinstalling = gnome-shell-42.4_1...
[1/4] Deleting files for gnome-shell-42.4_1: = 100%
[2/4] = Deinstalling gnome-control-center-43.0...
[2/4] Deleting files for = gnome-control-center-43.0: 100%
[3/4] Deinstalling = samba413-4.13.17_4...
[3/4] Deleting files for samba413-4.13.17_4: = 100%
[4/4] Installing = samba416-4.16.6...
[4/4] Extracting samba416-4.16.6: = 100%
 
And then I have a fatal GNOME problem, and I have to = install GNOME shell
Nov  6 12:29:20 SENIOR pkg[1897]: samba416-4.16.6 = deinstalled
Nov  = 6 12:29:21 SENIOR pkg[1897]: samba413-4.13.17_4 = installed
Nov  = 6 12:29:21 SENIOR pkg[1897]: gnome-control-center-43.0 = installed
Nov  = 6 12:29:21 SENIOR pkg[1897]: gnome-shell-42.4_1 = installed
 
SAMBA and GNOME are both working =E2=80=A6.. apart from = each other. 
Where SAMBA is not yet 100% ok e.g. it = indicates that the config is not ok where testparm says it is ok 


I am not using GNOME, but I am = using Samba 4.16 and it coexists with other ports for me.  I = suspect the problem is that GNOME is being built against the current = default for Samba (4.13) and so GNOME has the 4.13 version as a = dependency.  Samba 4.16 and 4.13 conflict against each other, so = when you try and install Samba 4.16 it will uninstall Samba 4.13 (and = GNOME, which depends upon it).  Conversely, if you install GNOME it = will uninstall Samba 4.16 to make way for its Samba 4.13 = dependency.

The way to fix this is to have your = ports build against a common default version of Samba.  In my case, = I build ports locally using Poudriere and added "samba=3D4.16" to the = "DEFAULT_VERSIONS" definition in make.conf for that Poudriere ports = jail.  So, any ports that build against Samba will use Samba 4.16 = as a dependency, not 4.13.

If you are using = FreeBSD repositories, you might have to wait for Samba to switch to 4.16 = in /usr/ports/Mk/bsd.default-versions.mk before GNOME/Samba ports shake = out the way you = like.

Cheers,

Paul.= --Apple-Mail=_6BBF53DD-8D7D-4370-A2D3-8FE3605FB868--