Bug 185179 - [PATCH] devel/shiboken: Fix the build after Sphinx was updated to 1.2.
Summary: [PATCH] devel/shiboken: Fix the build after Sphinx was updated to 1.2.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-25 18:10 UTC by Raphael Kubo da Costa
Modified: 2014-01-23 21:50 UTC (History)
1 user (show)

See Also:


Attachments
shiboken-1.1.1.patch (857 bytes, patch)
2013-12-25 18:10 UTC, Raphael Kubo da Costa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-12-25 18:10:00 UTC
Sphinx underwent an incompatible change in version 1.2 that removed the sphinx.ext.refcounting module. The module is referenced by shiboken's Sphinx configuration file, and the build fails: http://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20131223/083687.html

Fix it by removing the reference to sphinx.ext.refcounting, as it does not seem to be required and was probably added by default when the configuration file was generated.

Port maintainer (nivit@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-25 18:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nivit

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-21 20:54:06 UTC
Author: rakuco
Date: Tue Jan 21 20:53:55 2014
New Revision: 340659
URL: http://svnweb.freebsd.org/changeset/ports/340659
QAT: https://qat.redports.org/buildarchive/r340659/

Log:
  Partially fix the build.
  
  Sphinx underwent an incompatible change in version 1.2 that removed the
  sphinx.ext.refcounting module. The module is referenced by shiboken's Sphinx
  configuration file, and the build fails.
  
  Fix it by removing the reference to sphinx.ext.refcounting, as it does not
  seem to be required and was probably added by default when the configuration
  file was generated.
  
  As mentioned, this is a partial fix: platforms that use libc++ by default
  are still broken due to other issues, but at least FreeBSD 8 and 9 should
  have a working package again.
  
  While here, also use the new syntax for LIB_DEPENDS.
  
  PR:		ports/185179
  Submitted by:	rakuco@
  Approved by:	maintainer timeout (27 days)
  MFH:		2014Q1

Added:
  head/devel/shiboken/files/patch-doc__conf.py.in   (contents, props changed)
Modified:
  head/devel/shiboken/Makefile

Modified: head/devel/shiboken/Makefile
==============================================================================
--- head/devel/shiboken/Makefile	Tue Jan 21 20:47:06 2014	(r340658)
+++ head/devel/shiboken/Makefile	Tue Jan 21 20:53:55 2014	(r340659)
@@ -13,8 +13,8 @@ COMMENT=	C++ code generator for CPython 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
-LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2 \
-		xslt:${PORTSDIR}/textproc/libxslt
+LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
+		libxslt.so:${PORTSDIR}/textproc/libxslt
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION} \
 		PYTHON_VERSION=${PYTHON_VERSION}

Added: head/devel/shiboken/files/patch-doc__conf.py.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/shiboken/files/patch-doc__conf.py.in	Tue Jan 21 20:53:55 2014	(r340659)
@@ -0,0 +1,11 @@
+--- doc/conf.py.in.orig	2013-12-25 19:56:52.000000000 +0200
++++ doc/conf.py.in	2013-12-25 19:57:00.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.refcounting', 'sphinx.ext.coverage']
++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.coverage']
+ 
+ rst_epilog = """
+ .. |project| replace:: Shiboken
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-01-21 20:54:09 UTC
State Changed
From-To: open->closed

Committed as r340659.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-01-23 21:41:54 UTC
Author: rakuco
Date: Thu Jan 23 21:41:46 2014
New Revision: 340863
URL: http://svnweb.freebsd.org/changeset/ports/340863
QAT: https://qat.redports.org/buildarchive/r340863/

Log:
  MFH: r340659
  
  Partially fix the build.
  
  Sphinx underwent an incompatible change in version 1.2 that removed the
  sphinx.ext.refcounting module. The module is referenced by shiboken's Sphinx
  configuration file, and the build fails.
  
  Fix it by removing the reference to sphinx.ext.refcounting, as it does not
  seem to be required and was probably added by default when the configuration
  file was generated.
  
  As mentioned, this is a partial fix: platforms that use libc++ by default
  are still broken due to other issues, but at least FreeBSD 8 and 9 should
  have a working package again.
  
  While here, also use the new syntax for LIB_DEPENDS.
  
  PR:		ports/185179
  Submitted by:	rakuco@
  Approved by:	maintainer timeout (27 days)
  
  Approved by:	portmgr (mat)

Added:
  branches/2014Q1/devel/shiboken/files/patch-doc__conf.py.in
     - copied unchanged from r340659, head/devel/shiboken/files/patch-doc__conf.py.in
Modified:
  branches/2014Q1/devel/shiboken/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/devel/shiboken/Makefile
==============================================================================
--- branches/2014Q1/devel/shiboken/Makefile	Thu Jan 23 21:39:40 2014	(r340862)
+++ branches/2014Q1/devel/shiboken/Makefile	Thu Jan 23 21:41:46 2014	(r340863)
@@ -13,8 +13,8 @@ COMMENT=	C++ code generator for CPython 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
-LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2 \
-		xslt:${PORTSDIR}/textproc/libxslt
+LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
+		libxslt.so:${PORTSDIR}/textproc/libxslt
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION} \
 		PYTHON_VERSION=${PYTHON_VERSION}

Copied: branches/2014Q1/devel/shiboken/files/patch-doc__conf.py.in (from r340659, head/devel/shiboken/files/patch-doc__conf.py.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2014Q1/devel/shiboken/files/patch-doc__conf.py.in	Thu Jan 23 21:41:46 2014	(r340863, copy of r340659, head/devel/shiboken/files/patch-doc__conf.py.in)
@@ -0,0 +1,11 @@
+--- doc/conf.py.in.orig	2013-12-25 19:56:52.000000000 +0200
++++ doc/conf.py.in	2013-12-25 19:57:00.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.refcounting', 'sphinx.ext.coverage']
++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.coverage']
+ 
+ rst_epilog = """
+ .. |project| replace:: Shiboken
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"