portmaster with FLAVOR support available for testing

Rainer Hurling rhurlin at gwdg.de
Fri Dec 15 15:37:07 UTC 2017


Am 15.12.2017 um 16:20 schrieb Mathieu Arnold:
> Le 15/12/2017 à 12:00, Rainer Hurling a écrit :
>> Hi Stefan and others,
>>
>> I just tried to install devel/py-qt5-core for Python 3.6, beside to an
>> already installed py27-qt5-core-5.7.1, with the following command
>>
>>   portmaster -m 'FLAVOR=py36' devel/py-qt5-core
>>
>> and it ends up with 
> 
> I have no idea how portmaster works, but I hope it works the same as
> poudriere, so you should probably do this:
> 
> portmaster devel/py-qt5-core at py36
> 
> instead.
> 
> 

Hi Mathieu,

Thanks for your answer. My attempt was from a private conversation with
Stefan, who suggested to try to install py36 ports via

portmaster -m 'FLAVOR=py36' portname

and to report back. That failed, like described before.

Now I also tried your suggestion with 'portmaster
devel/py-qt5-core at py36', which stopped with the following failure:


[..snip..]
Compiling
/usr/ports/devel/py-qt5-core/work-py27/stage/usr/local/lib/python2.7/site-packages/PyQt5/uic/widget-plugins/qtwebenginewidgets.py
...
Compiling
/usr/ports/devel/py-qt5-core/work-py27/stage/usr/local/lib/python2.7/site-packages/PyQt5/uic/widget-plugins/qtwebkit.py
...
====> Compressing man pages (compress-man)
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for devel/py-qt5-core at py36 from ports
===>>> Dependency check complete for devel/py-qt5-core at py36
===>  Installing for py27-qt5-core-5.7.1
===>  Checking if py27-qt5-core already installed
===>   py27-qt5-core-5.7.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of py27-qt5-core
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/py-qt5-core
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-qt5-core
===>>> Installation of py36-qt5-core-5.7.1 (devel/py-qt5-core at py36) failed
===>>> Aborting update
===>>> Re-installation of py36-sip-4.19.2,1 complete
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/py-qt5-core at py36
This command has been saved to /tmp/portmasterfail.txt


Obviously, it does not work as expected, @py36 has no effect.

I think, it would be nice, if portmaster behaves as much as possible
like ports make and pkg.



More information about the freebsd-ports mailing list