The port graphics/darktable fails to build for me on 12.1 Stable amd64 using poudriere. I am seeing an unknown format type pod error when building but I am not sure what is the cause. Any help is appreciated. Thanks. Below is the output of the build log showing the error: [650/682] cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.0.2/doc/man && /usr/local/bin/po4a-translate -f pod -m darktable-cltest.pod -p po/es.po -l /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-cltest.pod -k 0 FAILED: doc/man/es/darktable-cltest.pod cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.0.2/doc/man && /usr/local/bin/po4a-translate -f pod -m darktable-cltest.pod -p po/es.po -l /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-cltest.pod -k 0 Unknown format type: pod. List of valid formats: - asciidoc: AsciiDoc format. - dia: uncompressed Dia diagrams. - docbook: DocBook XML. - guide: Gentoo Linux's XML documentation format. - ini: INI format. - kernelhelp: Help messages of each kernel compilation option. - latex: LaTeX format. - man: Good old manual page format. - pod: Perl Online Documentation format. - sgml: either DebianDoc or DocBook DTD. - texinfo: The info page format. - tex: generic TeX documents (see also latex). - text: simple text document. - wml: WML documents. - xhtml: XHTML documents. - xml: generic XML documents (see also docbook). ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/darktable =>> Cleaning up wrkdir ===> Cleaning for darktable-3.0.2_1 build of graphics/darktable | darktable-3.0.2_1 ended at Sat Aug 8 17:30:20 EDT 2020 build time: 00:01:11 !!! build failure encountered !!!
Looks like an upstream problem. po4a uses Pod::Parser which was removed in perl5-5.32.0 (which is what we now have in ports)
Created attachment 217115 [details] Use textproc/p5-Pod-Parser during build I've stumbled over this as well, but didn't have much time for analysing the issue. But with that hint creating a fix was fairly straightforward. It might be better to throw in a check for PERL_LEVEL, but I wasn't sure it's needed in the general case and at least for my setup this would be irrelevant.
Thank you all for the report, the analysis and the patch! I will test that today.
I confirm the patch fixes the build failure for me as well. Thank you!
A commit references this bug: Author: dumbbell Date: Mon Aug 10 13:43:48 UTC 2020 New revision: 544619 URL: https://svnweb.freebsd.org/changeset/ports/544619 Log: graphics/darktable: Add textproc/p5-Pod-Parser to BUILD_DEPENDS This fixes the build after the latest Perl update to 5.32: FAILED: doc/man/es/darktable-cltest.pod cd /wrkdirs/usr/ports/graphics/darktable/work/darktable-3.0.2/doc/man && /usr/local/bin/po4a-translate -f pod -m darktable-cltest.pod -p po/es.po -l /wrkdirs/usr/ports/graphics/darktable/work/.build/doc/man/es/darktable-cltest.pod -k 0 Unknown format type: pod. List of valid formats: - asciidoc: AsciiDoc format. - dia: uncompressed Dia diagrams. - docbook: DocBook XML. - guide: Gentoo Linux's XML documentation format. - ini: INI format. - kernelhelp: Help messages of each kernel compilation option. - latex: LaTeX format. - man: Good old manual page format. - pod: Perl Online Documentation format. - sgml: either DebianDoc or DocBook DTD. - texinfo: The info page format. - tex: generic TeX documents (see also latex). - text: simple text document. - wml: WML documents. - xhtml: XHTML documents. - xml: generic XML documents (see also docbook). ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 PR: 248541 Submitted by: m.ne@gmx.net Reported by: Robert Cina <transitive@gmail.com> Changes: head/graphics/darktable/Makefile
Created attachment 217129 [details] Use textproc/p5-Pod-Parser during build; update to version 3.2.1 While having another look I noticed there just was a new release. Enjoy!
Thank you! I committed a slightly modified patch.