Opened 7 years ago
Closed 5 years ago
#55579 closed defect (fixed)
docbook-utils @0.6.14_4 can be built with Perl 5.26 instead Perl 5.24
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | lockhart (Thomas Lockhart) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | tiger leopard snowleopard | Cc: | |
Port: | docbook-utils |
Description
This works on PPC Tiger, Mac OS X 10.4.11, and PPC Leopard, Mac OS X 10.5.8, and also Snow Leopard, Mac OS X 10.6.8. I finally could get rid of Perl 5.24.
Attachments (4)
Change History (15)
comment:1 follow-up: 3 Changed 7 years ago by lockhart (Thomas Lockhart)
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Cc: | tlockhart1976@… removed |
---|---|
Keywords: | tiger, leopard, snowleopard → tiger leopard snowleopard |
Owner: | set to lockhart |
Status: | new → assigned |
comment:3 follow-up: 11 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
Replying to lockhart:
Yes for sure. Please post a patch to the Portfile or if you want help let me know. Thanks!
This is easy!
This will also affect issue #55208
Yes, this was my intention as well. Since I managed to upgrade to El Capitan, I can report that the docbook-utils also build with Perl 5.26 on El Capitan, OS X 10.11.6.
Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
Attachment: | Portfile.diff added |
---|
Patch to use Perl 5.26 instead Perl 5.24
comment:4 follow-ups: 5 6 Changed 7 years ago by mf2k (Frank Schima)
Hmmm. I hit a build error when I try.
Changed 7 years ago by mf2k (Frank Schima)
comment:5 follow-up: 8 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mf2k:
Hmmm. I hit a build error when I try.
Interestingly the same happens now for me on PPC Mac OS X 10.5.8, Leopard. Last year it worked…
Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.2.log added |
---|
Main.log from PPC Leopard
comment:6 follow-up: 10 Changed 7 years ago by lockhart (Thomas Lockhart)
Replying to mf2k:
Hmmm. I hit a build error when I try.
This is a problem with ordering of the XML catalogs. A solution is to remove all traces of the catalogs and then reinstall the packages you want; the catalogs should then be installed in the correct order in the future. From #46132 (which is describing another problem, but where I posted this cleanup; other closed tickets have also posted this):
sudo port uninstall docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-sgml-4.2 docbook-utils p5.22-sgmlspm docbook-dsssl docbook-xml-5.0 docbook-xsl docbook-xsl-ns sgml-common sudo rm -rf /opt/local/etc/sgml /opt/local/etc/xml sudo port install -s openjade
Check the versions of the perl packages and modify that uninstall (and reinstall) line appropriately. Please let me know if you continue to have problems building.
Changed 7 years ago by lockhart (Thomas Lockhart)
Attachment: | Portfile.2.diff added |
---|
Patch to support multiple perl versions. Default to 5.26 per current MacPorts recommendation. Installs cleanly on High Sierra.
comment:7 Changed 7 years ago by lockhart (Thomas Lockhart)
I've added a patch to build for perl 5.24 and 5.26, defaulting to 5.26. Let me know if multi-version support is *not* recommended and I'll redo the patch.
comment:8 Changed 7 years ago by lockhart (Thomas Lockhart)
Replying to ballapete:
Replying to mf2k:
Hmmm. I hit a build error when I try.
Interestingly the same happens now for me on PPC Mac OS X 10.5.8, Leopard. Last year it worked…
See my response to the other report of problems. It is an XML catalog ordering problem which can be cleared up by reinstalling those catalogs from scratch. Once that is done future updates and re-installations should happen cleanly.
comment:9 Changed 7 years ago by mf2k (Frank Schima)
@ lockhart: There is no need to support multiple perl versions. Please only support the latest (5.26).
comment:10 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
Replying to lockhart:
Replying to mf2k:
Hmmm. I hit a build error when I try.
This is a problem with ordering of the XML catalogs. A solution is to remove all traces of the catalogs and then reinstall the packages you want; the catalogs should then be installed in the correct order in the future. From #46132 (which is describing another problem, but where I posted this cleanup; other closed tickets have also posted this):
sudo port uninstall docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-sgml-4.2 docbook-utils p5.22-sgmlspm docbook-dsssl docbook-xml-5.0 docbook-xsl docbook-xsl-ns sgml-common sudo rm -rf /opt/local/etc/sgml /opt/local/etc/xml sudo port install -s openjade
This worked for me on PPC Leopard, Mac OS X 10.5.8, too. I think the optimal sequence to install is:
docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-dsssl docbook-sgml-4.2 sgml-common p5.26-sgmlspm docbook-utils docbook-xml-5.0 docbook-xsl docbook-xsl-ns
comment:11 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Patch to use Perl 5.26 instead Perl 5.24
[d52392c211739ca19889d774a7e16d9a15756d14/macports-ports]
Replying to mf2k:
Hmmm. I hit a build error when I try.
That's #37164.
Yes for sure. Please post a patch to the Portfile or if you want help let me know. Thanks! This will also affect issue #55208