Opened 10 years ago

Closed 10 years ago

#42568 closed defect (fixed)

gtk-doc fails during build of gtkspell2 with perl5 +perl5_12 installed

Reported by: reuben@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: gtk-doc

Description

I am running OS X 10.8.5 with Xcode 5.0.2 (5A3005). Macports is at version 2.2.1 and port upgrade outdated reports "nothing to upgrade". I need gtkspell2 as a dependency for Inkscape and Claws-Mail.

Attachments (3)

main.log (137.8 KB) - added by reuben@… 10 years ago.
main.log
Portfile-gtk-doc.diff (495 bytes) - added by su-v 10 years ago.
Portfile diff for port 'gtk-doc'
patch-gtk-doc.mkdb.in-p0.diff (3.7 KB) - added by su-v 10 years ago.
upstream fix as patch file (for port 'gtk-doc')

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by reuben@…

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by reuben@…

Cc: reuben@… added

Cc Me!

comment:2 Changed 10 years ago by su-v

Latest version of gtk-doc (1.20) apparently is not compatible with Perl 5.12: upstream ticket #724739

Upstream fix confirmed on OS X10.7.5: after rebuilding gtk-doc 1.20 with the patch from this git commit, the port gtkspell2 builds again without failure (with perl5 @5.12.4_0+perl5_12 active).

Changed 10 years ago by su-v

Attachment: Portfile-gtk-doc.diff added

Portfile diff for port 'gtk-doc'

Changed 10 years ago by su-v

upstream fix as patch file (for port 'gtk-doc')

comment:3 in reply to:  2 Changed 10 years ago by reuben@…

Thank you very much. As a workaround I have installed gtk-doc 1.18:

svn co -r 115261 http://svn.macports.org/repository/macports/trunk/dports/gnome/gtk-doc
cd gtk-doc
sudo port install +python27

That allowed me to install everything else.

comment:4 Changed 10 years ago by dbevans (David B. Evans)

Cc: reuben@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to devans@…
Port: gtk-doc added; gtkspell2 removed
Status: newassigned
Summary: gtkspell2 fails to buildgtk-doc fails during build of gtkspell2 with perl5 +perl5_12 installed

Upstream perl5.12 compatibility patch committed in r117301.

Thanks for your help

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.