Bug 203428 - graphics/py3-cairo: Fails to build with Python3.5
Summary: graphics/py3-cairo: Fails to build with Python3.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on: 204075
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-28 21:47 UTC by rsmith
Modified: 2015-11-18 22:21 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
Build log of the failed build. (8.63 KB, text/plain)
2015-09-28 21:47 UTC, rsmith
no flags Details
Update py3cairo's waf to 1.8.14. (11.00 KB, application/x-tar)
2015-10-29 22:13 UTC, rsmith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rsmith 2015-09-28 21:47:45 UTC
Created attachment 161508 [details]
Build log of the failed build.

After the Python3.5 update, I tried to build graphics/py3-cairo. This fails, see attached build log.

The configure script fails after detecting the Python version and when trying to find the Python library.
Comment 1 rsmith 2015-10-29 22:13:04 UTC
Created attachment 162580 [details]
Update py3cairo's waf to 1.8.14.

This attachment contains a script and some files to replace py3cairo's old waf by the recent waf 1.8.14. The script requires pycairo-1.10.0.tar.bz2 and waf-waf-1.8.14.tar.gz in the same directory as the script.

It configures the new waf, puts it in the pycairo build directory and replaces the wscripts. It then build py3cairo and wraps it up in a tarball. I've tested it and it works.

But it is not a finished port, and it is more invasive than Ruslan Makhmatkhanov's patch.
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2015-11-18 22:21:09 UTC
That simple one-liner for old waf from bug 204075 was just committed, to not over complicate things. Thank you for the submission!