Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 18:49:43 +0000
From:      Luis Espinoza Jr. <ljejr@hotmail.com>
To:        "koobs@FreeBSD.org" <koobs@FreeBSD.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Cc:        python <python@FreeBSD.org>
Subject:   RE: audio/lv2 and textproc/py-rdflib have py36 vs. py27 conflict
Message-ID:  <MWHPR02MB2702637AEC85B15EE2C87E15B40F0@MWHPR02MB2702.namprd02.prod.outlook.com>
In-Reply-To: <06a01890-0988-814d-69b7-9d5bce2e78e1@FreeBSD.org>
References:  <MWHPR02MB27028CD6E937DEEC2C54E725B40F0@MWHPR02MB2702.namprd02.prod.outlook.com> <3c24b6f9-ce0c-3137-5ef0-13256fedd2e0@FreeBSD.org>, <06a01890-0988-814d-69b7-9d5bce2e78e1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

From: Kubilay Kocak [koobs.freebsd@gmail.com] on behalf of Kubilay Kocak [k=
oobs@FreeBSD.org]
Sent: Monday, May 13, 2019 9:03 AM
To: Luis Espinoza Jr.; freebsd-ports@freebsd.org
Cc: python
Subject: Re: audio/lv2 and textproc/py-rdflib have py36 vs. py27 conflict

On 13/05/2019 9:13 pm, Kubilay Kocak wrote:
>> On 13/05/2019 8:12 pm, Luis Espinoza Jr. wrote:
>>> Hello all.
>>>
>>>
>>> My system is FreeBSD 11.2-RELEASE-p9 AMD64. I update my ports tree with
>>> portsnap and build my ports with portmaster. For several days I have be=
en
>>> trying to resolve a problem updating ffmpeg.
>>>
>>> ffmpeg requires audio/lv2
>>> lv2 requires textproc/py-rdflib
>>>
>>> According to the data in the Freshports site, lv2 has a runtime
>>> dependency
>>> on py36-rdflib but py-rdflib has build- and runtime dependencies on
>>> lang/python27, and its package name is py27-rdflib.
>>
>> Hi Luis,
>>
>> I *think* the latter case (rdflib looking like it depends on python27 at
>> freshports) is an artifact of the port not having been updated since
>> June 2018, which was before the Python default version switch this year,
>> and freshports not having regenerated/refreshed the page/information for
>> the port.
>>
>>> Portmaster emits the following error compiling py-rdflib:
>>> pkg-static: py36-rdflib-4.2.2 conflicts with py27-rdflib-4.2.2
>>> (installs files into the same place). Problematic file:
>>> /usr/local/bin/csv2rdf
>>> *** Error code 70
>>
>> It's likely the case that you have py27-rdflib installed at the moment,
>> and since the default version of Python has switched to 3.6, it now
>> conflicts.
>>
>> See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226634#c10 for
>> the details explanation (it applies to any python package, not just
>> setuptools)
>>
>> What do you currently have set in /etc/make.conf for DEFAULT_VERSIONS ?
>>
>>
>>> I have checked the UPDATING file and found no answer. Is there some
>>> standard
>>> method for dealing with python27 vs. python36 conflicts, or is this a
>>> bug in the
>>> lv2 dependencies that must be fixed by the maintainer?
>>
>> Python ports/packages that install things in LOCALBASE/bin should be
>> made concurrent safe, and the py-rdflib isn't.
>>
>> I'll sort that out shortly, which will address the conflict, where only
>> the *default version of the port/package will have the
>> version-suffixless name.
>
>
>Hi Luis,
>
>The port has been updated to be concurrent safe in:
>
>https://svnweb.freebsd.org/changeset/ports/501563
>
>Thank you for your report
>
>./koobs


Hi koobs.

The problem is solved.
Thanks for the fix and for the bugzilla link.

Cheers=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MWHPR02MB2702637AEC85B15EE2C87E15B40F0>