Kodi 16.1.9. fails to configure if doxygen is installed. The option DOCS is complete empty. There is no condition or configure option in it. So it makes no sense to set it to off. (There is alsi a post on pipermail: https://lists.freebsd.org/pipermail/freebsd-ports/2017-March/107851.html) I made for me a workaround which works, but could never be correct: .if empty (PORT_OPTIONS:MDOCS) post-extract: ${REINPLACE_CMD} 's;$$(shell which JsonSchemaBuilder);tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder;' ${WRKSRC}/codegenerator.mk ${REINPLACE_CMD} 's;DOXY_XML_PATH=$$(GENDIR)/doxygenxml;DOXYGEN = doxygen-not-found;' ${WRKSRC}/codegenerator.mk .endif (As you see I set the if and else branches of DOXYGEN and JSON_BUILDER in coodegenerator.mk to the same For the moment I found no other way).
Error messages: a lot of like this WARNING: Cannot find doxygen file for function.... and ends with: [Fatal Error] classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml:64:22: XML document structures must start and end within the same entity. Caught: org.xml.sax.SAXParseException; systemId: file:///ram/usr/ports/multimedia/kodi/work/xbmc-c327c53/xbmc/interfaces/python/generated/doxygenxml/classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml; lineNumber: 64; columnNumber: 22; XML document structures must start and end within the same entity. org.xml.sax.SAXParseException; systemId: file:///ram/usr/ports/multimedia/kodi/work/xbmc-c327c53/xbmc/interfaces/python/generated/doxygenxml/classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml; lineNumber: 64; columnNumber: 22; XML document structures must start and end within the same entity. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at Helper.retrieveDocStringFromDoxygen(Helper.groovy:102) at Helper$_transformSwigXml_closure14.doCall(Helper.groovy:500) at Helper.transformSwigXml(Helper.groovy:495) at Helper$transformSwigXml$0.call(Unknown Source) at Generator.run(Generator.groovy:60) gmake[2]: *** [codegenerator.mk:46: xbmc/interfaces/python/generated/AddonModuleXbmcgui.cpp] Error 1 rm xbmc/interfaces/python/generated/AddonModuleXbmcgui.xml gmake[2]: Leaving directory '/ram/usr/ports/multimedia/kodi/work/xbmc-c327c53' *** Error code 2 Stop. make[1]: stopped in /usr/ports/multimedia/kodi *** Error code 1
Can you give kodi-17.1 a go: git clone -b kodi17 https://github.com/MikaelUrankar/FreeBSD-ports-rpi.git make -C FreeBSD-ports-rpi/multimedia/kodi poudriere ok on amd64/armv6
Configure stopps with: hecking for CEC... no configure: error: == libcec disabled. CEC adapter support will not be available. == ===> Script "configure" failed unexpectedly. Please report the problem to mickael.maillot@gmail.com [maintainer] and attach the "/usr/ports/multimedia/kodi/work/xbmc-fc1619b/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 After set CEC off, it compiles fine.
You need libcec 4, There is an opened PR in bugzilla
Thanks, works fine with libcec-4.
patch for kodi 17 in bug #218121
I close here and mark it as solved cause of Bug 218121.