Bug 226190 - graphics/qgis: Update to 2.18.17
Summary: graphics/qgis: Update to 2.18.17
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
Depends on:
Reported: 2018-02-25 06:48 UTC by Rainer Hurling
Modified: 2018-02-26 08:30 UTC (History)
2 users (show)

See Also:
rhurlin: maintainer-feedback+

patch to update graphics/qgis from 2.18.15 to 2.18.17 (4.72 KB, patch)
2018-02-25 06:48 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer 2018-02-25 06:48:39 UTC
Created attachment 190981 [details]
patch to update graphics/qgis from 2.18.15 to 2.18.17

Minor update from QGIS 2.18.15 to 2.18.17.

Changes of the port:
- Update to 2.18.17
- Flavourize databases/pyspatialite dependency
- Update pkg-plist

The patch was tested on Poudriere (10.4i/a, 11.1i/a and, HEADi/a) and 
portlint -AC seems happy.
Comment 1 Yuri Victorovich freebsd_committer 2018-02-25 10:08:28 UTC
Builds fail:

> CMake Error at cmake/PyQtMacros.cmake:28 (MESSAGE):
>   pyuic[4|5] not found - aborting

This happened on both 10i386 and 11amd64.
Comment 2 Rainer Hurling freebsd_committer 2018-02-25 19:31:08 UTC
(In reply to Yuri Victorovich from comment #1)
> Builds fail:
>> CMake Error at cmake/PyQtMacros.cmake:28 (MESSAGE):
>>   pyuic[4|5] not found - aborting
> This happened on both 10i386 and 11amd64.

I just tested on Poudriere with a completely new 11.1amd64 jail, then build graphics/qgis and all of its dependencies (old one deleted before) and it works. I did not observe your described problem with pyuic.

10.4i386 is also built as a new jail (old one deleted). Now I am rebuilding graphics/qgis and all its deps in this jail. I will report back, when ready.
Comment 3 Yuri Victorovich freebsd_committer 2018-02-25 21:09:23 UTC
Related: bug#225677
Comment 4 Yuri Victorovich freebsd_committer 2018-02-25 21:23:36 UTC
(In reply to Rainer Hurling from comment #2)


Which ports tree do you use in your poudriere builds? You need to update the ports tree to the current version, if you didn't. This is one possible reason why results can be different. There are 2 ways to run poudriere - "bulk" and "testport". In case you use the bulk way, it uses a separate ports tree that needs to be updated periodically.

Comment 5 Rainer Hurling freebsd_committer 2018-02-26 05:48:26 UTC
(In reply to Yuri Victorovich from comment #4)

Hi Yuri,

my ports tree should be up to date, as I update it before such builds via 'poudriere ports -u':

#poudriere ports -l
default   portsnap 2018-02-25 13:07:44 /poudriere/ports/default

I have run the bulk build, not the testport one. I would expect same results, shoudn't I?
Comment 6 Yuri Victorovich freebsd_committer 2018-02-26 08:29:49 UTC
I've patched it with PYUIC_PROGRAM=/path/to/pyuic4 to prevent such problems.


Thank you for the update!
Comment 7 commit-hook freebsd_committer 2018-02-26 08:30:40 UTC
A commit references this bug:

Author: yuri
Date: Mon Feb 26 08:29:44 UTC 2018
New revision: 462996
URL: https://svnweb.freebsd.org/changeset/ports/462996

  graphics/qgis: Update to 2.18.17

  Additional port changes:
  * Added PYUIC_PROGRAM because cmake couldn't find pyuic4
  * Flavorized some dependencies with missing flavors
  * Silenced/improved some commands
  * Updated WWW

  PR:		226190
  Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
  Approved by:	tcberner (mentor, implicit)