Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-10 Thread Dimitry Andric
On 10 Jun 2017, at 06:56, Stefan Esser  wrote:
> 
> Am 08.06.17 um 21:15 schrieb Dimitry Andric:
>> On 8 Jun 2017, at 20:35, Mark Knight  wrote:
>>> 
>>> On 08/06/2017 18:35, Dimitry Andric wrote:
 I'm guessing that it is confused by an existing samba installation.  Try
 removing all other samba installations before attempting to build this
 port.
>>> 
>>> Having followed an off-list suggestion to create a package (thanks) as a 
>>> backup, I removed samba43 and established that your "guess" was right. 
>>> Thank you!
>>> 
>>> Presumably this implies a bug in the port?
>> 
>> Not really, more a deficiency in portmaster.  The port itself is marked
>> as conflicting with any other samba port:
>> 
>> CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba4[1-356]-4.* 
>> p5-Parse-Pidl-4.*
>> 
>> E.g., you should normally not be able to build it when samba43 is
>> installed.  Probably, portmaster is overriding this safety belt somehow.
> 
> I have always understood CONFLICTS to indicate, that some port
> can not be *installed* at the same time as some of the ports listed
> as conflicting.

In fact, you cannot even download the port sources in such a case, e.g:

$ make -C /usr/ports/net/samba44 fetch

===>  samba44-4.4.14 conflicts with installed package(s):
  samba46-4.6.4

  They install files into the same place.
  You may want to stop build with Ctrl + C.


> Building such a port while a conflicting version is installed, is
> possible most of the time. If such a build fails, it is most ofter
> due to the build preferring the already installed headers over those
> provided with the new version (i.e. a wrong ordering of include
> paths).

Yes, this is apparently one of the reasons lang/rust even conflicts with
*itself*.  There seems to be something very broken in its build process,
so that it cannot build correctly if any of its files are installed on
the system.

That said, things like this could probably be solved by adding separate
CONFLICTS_BUILD, CONFLICT_FETCH and so on, but it makes it all rather
complicated.

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-09 Thread Stefan Esser
Am 08.06.17 um 21:15 schrieb Dimitry Andric:
> On 8 Jun 2017, at 20:35, Mark Knight  wrote:
>>
>> On 08/06/2017 18:35, Dimitry Andric wrote:
>>> I'm guessing that it is confused by an existing samba installation.  Try
>>> removing all other samba installations before attempting to build this
>>> port.
>>
>> Having followed an off-list suggestion to create a package (thanks) as a 
>> backup, I removed samba43 and established that your "guess" was right. Thank 
>> you!
>>
>> Presumably this implies a bug in the port?
> 
> Not really, more a deficiency in portmaster.  The port itself is marked
> as conflicting with any other samba port:
> 
> CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba4[1-356]-4.* 
> p5-Parse-Pidl-4.*
> 
> E.g., you should normally not be able to build it when samba43 is
> installed.  Probably, portmaster is overriding this safety belt somehow.

I have always understood CONFLICTS to indicate, that some port
can not be *installed* at the same time as some of the ports listed
as conflicting.

Building such a port while a conflicting version is installed, is
possible most of the time. If such a build fails, it is most ofter
due to the build preferring the already installed headers over those
provided with the new version (i.e. a wrong ordering of include
paths).

Since port developers typically test ports in poudriere (to get a
clean build environment and e,g, to be sure, all dependencies are
correctly specified), they often don't notice such conflicts with
already installed versions of the same port.

Regards, STefan
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Dimitry Andric
On 8 Jun 2017, at 20:35, Mark Knight  wrote:
> 
> On 08/06/2017 18:35, Dimitry Andric wrote:
>> I'm guessing that it is confused by an existing samba installation.  Try
>> removing all other samba installations before attempting to build this
>> port.
> 
> Having followed an off-list suggestion to create a package (thanks) as a 
> backup, I removed samba43 and established that your "guess" was right. Thank 
> you!
> 
> Presumably this implies a bug in the port?

Not really, more a deficiency in portmaster.  The port itself is marked
as conflicting with any other samba port:

CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba4[1-356]-4.* 
p5-Parse-Pidl-4.*

E.g., you should normally not be able to build it when samba43 is
installed.  Probably, portmaster is overriding this safety belt somehow.

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Mark Knight

On 08/06/2017 18:35, Dimitry Andric wrote:

I'm guessing that it is confused by an existing samba installation.  Try
removing all other samba installations before attempting to build this
port.


Having followed an off-list suggestion to create a package (thanks) as a 
backup, I removed samba43 and established that your "guess" was right. 
Thank you!


Presumably this implies a bug in the port?

Best regards, Mark
--
Mark Knight
Mobile: +44 7753 250584.  http://www.knigma.org/
Email: ma...@knigma.org.  Skype: knigma
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Larry Rosenman
On Thu, Jun 08, 2017 at 06:59:26PM +0100, Mark Knight wrote:
> On 08/06/2017 18:35, Dimitry Andric wrote:
> > I'm guessing that it is confused by an existing samba installation.  Try
> > removing all other samba installations before attempting to build this
> > port.
> 
> Thanks. That would be nasty. If samba44 still doesn't build I'll be unable
> to restore samba43!
Can you use poudriere to build samba44?


> 
> -- 
> Mark Knight
> Mobile: +44 7753 250584.  http://www.knigma.org/
> Email: ma...@knigma.org.  Skype: knigma
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Lowell Gilbert
Mark Knight  writes:

> On 08/06/2017 18:35, Dimitry Andric wrote:
>> I'm guessing that it is confused by an existing samba installation.  Try
>> removing all other samba installations before attempting to build this
>> port.
>
> Thanks. That would be nasty. If samba44 still doesn't build I'll be
> unable to restore samba43!

I don't see why. Just make a package out of your existing installation.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Mark Knight

On 08/06/2017 18:35, Dimitry Andric wrote:

I'm guessing that it is confused by an existing samba installation.  Try
removing all other samba installations before attempting to build this
port.


Thanks. That would be nasty. If samba44 still doesn't build I'll be 
unable to restore samba43!


--
Mark Knight
Mobile: +44 7753 250584.  http://www.knigma.org/
Email: ma...@knigma.org.  Skype: knigma
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Dimitry Andric
On 8 Jun 2017, at 18:13, Mark Knight  wrote:
> 
> When attempting to upgrade to Samba44 or Samba45 (as required by the removal 
> of Samba43 yesterday), I get this error:
> 
> /usr/ports/net/samba44/work/samba-4.4.14/bin/../source4/libnet/libnet_passwd.c:85:
>  undefined reference to `arcfour_crypt'
> 
> I wondered if this was an OpenSSL issue, but then it looks like arcfour_crypt 
> is part of Samba so I'm a little confused.
> 
> Complete build log, make.conf and options here:
> 
> http://www.knigma.org/scratch/samba44.log
> 
> Any advice please? Thanks in advance!!

I'm guessing that it is confused by an existing samba installation.  Try
removing all other samba installations before attempting to build this
port.

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Unable to upgrade from Samba43 to Samba44 or Samba45

2017-06-08 Thread Mark Knight

Hi,

When attempting to upgrade to Samba44 or Samba45 (as required by the 
removal of Samba43 yesterday), I get this error:


/usr/ports/net/samba44/work/samba-4.4.14/bin/../source4/libnet/libnet_passwd.c:85: 
undefined reference to `arcfour_crypt'


I wondered if this was an OpenSSL issue, but then it looks like 
arcfour_crypt is part of Samba so I'm a little confused.


Complete build log, make.conf and options here:

http://www.knigma.org/scratch/samba44.log

Any advice please? Thanks in advance!!

--
Mark Knight
Mobile: +44 7753 250584.  http://www.knigma.org/
Email: ma...@knigma.org.  Skype: knigma
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"