Opened 11 years ago

Closed 11 years ago

#37872 closed defect (duplicate)

xorg-bigreqsproto @1.1.2_0+docs: destroot failure

Reported by: alexlebonlb@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: fop

Description (last modified by larryv (Lawrence Velázquez))

Trying to install octave-devel with no success. I am using the command: sudo port install octave-devel +atlas+docs

--->  Staging xorg-bigreqsproto into destroot
Error: org.macports.destroot for port xorg-bigreqsproto returned: command execution failed
Error: Failed to install xorg-bigreqsproto

Attachments (4)

main.log (194.9 KB) - added by alexlebonlb@… 11 years ago.
main.2.log (85.1 KB) - added by alexlebonlb@… 11 years ago.
main.3.log (87.7 KB) - added by alexlebonlb@… 11 years ago.
log of xorg-xextproto after Java install
main.4.log (115.1 KB) - added by alexlebonlb@… 11 years ago.

Download all attachments as: .zip

Change History (21)

Changed 11 years ago by alexlebonlb@…

Attachment: main.log added

Changed 11 years ago by alexlebonlb@…

Attachment: main.2.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xorg-bigreqsproto added; octave-devel removed
Summary: Error: Failed to install xorg-bigreqsprotoxorg-bigreqsproto @1.1.2_0+docs: destroot failure

Thanks for the ticket. In the future, please try to Cc relevant port maintainers.

comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

161	:info:build /opt/local/bin/xsltproc --path "/opt/local/share/sgml/X11" --path "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-bigreqsproto/xorg-bigreqsproto/work/bigreqsproto-1.1.2" --stringparam targets.filename "bigreq.pdf.db" --stringparam collect.xref.targets "only" --stringparam olink.base.uri "bigreq.pdf" --nonet --xinclude /opt/local/share/sgml/X11/xorg-fo.xsl bigreq.xml
162	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function
163	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function
164	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function
165	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function
166	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function
167	:info:build /opt/local/bin/xmlto: line 328: local: can only be used in a function

comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: xmlto added; xorg-bigreqsproto removed
Resolution: fixed
Status: newclosed

comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Actually, that wasn't the error, but it's worth shutting up the warning.

The real issue is that you don't have java installed. You should've been prompted to install it:

707	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XNextRequest'.
708	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XOpenDisplay'.
709	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XDrawLines'.
710	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XDrawArcs'.
711	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XFillPolygon'.
712	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XChangeProperty'.
713	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XSetClipRectangles'.
714	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XSetRegion'.
715	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XDrawPoints'.
716	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XDrawRectangles'.
717	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XDrawSegments'.
718	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XFillArcs'.
719	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XFillRectangles'.
720	:info:destroot Error: unresolved olink: targetdoc/targetptr = 'libX11/XPutImage'.
721	:info:destroot Error: JAVA_HOME is not defined correctly.
722	:info:destroot   We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java

Changed 11 years ago by alexlebonlb@…

Attachment: main.3.log added

log of xorg-xextproto after Java install

comment:5 in reply to:  4 Changed 11 years ago by alexlebonlb@…

Replying to jeremyhu@…:

Actually, that wasn't the error, but it's worth shutting up the warning.

The real issue is that you don't have java installed. You should've been prompted to install it:

I installed Java but I am still getting the same error.....

Thanks

comment:6 Changed 11 years ago by alexlebonlb@…

Resolution: fixed
Status: closedreopened

comment:7 Changed 11 years ago by mf2k (Frank Schima)

Did you clean the port first?

comment:8 in reply to:  7 Changed 11 years ago by alexlebonlb@…

Replying to macsforever2000@…:

Did you clean the port first?

Yes I cleared octave-devel and xorg-bigreqsproto I attached the latest log file above "main3"

Thanks!

comment:9 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Well, now you're seeing:

872	:info:destroot SEVERE: Exception
873	:info:destroot java.lang.NumberFormatException: For input string: ":0"
874	:info:destroot  at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
875	:info:destroot  at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
876	:info:destroot  at org.apache.fop.cli.Main.startFOP(Main.java:174)
877	:info:destroot  at org.apache.fop.cli.Main.main(Main.java:205)
878	:info:destroot Caused by: java.lang.NumberFormatException: For input string: ":0"
879	:info:destroot  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
880	:info:destroot  at java.lang.Integer.parseInt(Integer.java:449)
881	:info:destroot  at java.lang.Integer.parseInt(Integer.java:499)
882	:info:destroot  at org.apache.xmlgraphics.xmp.XMPSchemaAdapter.parseISO8601Date(XMPSchemaAdapter.java:236)
883	:info:destroot  at org.apache.xmlgraphics.xmp.XMPSchemaAdapter.getDateValue(XMPSchemaAdapter.java:282)
884	:info:destroot  at org.apache.xmlgraphics.xmp.schemas.XMPBasicAdapter.getCreateDate(XMPBasicAdapter.java:84)
885	:info:destroot  at org.apache.fop.pdf.PDFMetadata.updateInfoFromMetadata(PDFMetadata.java:215)
886	:info:destroot  at org.apache.fop.render.pdf.PDFRenderingUtil.renderXMPMetadata(PDFRenderingUtil.java:346)
887	:info:destroot  at org.apache.fop.render.pdf.PDFDocumentHandler.handleExtensionObject(PDFDocumentHandler.java:294)
888	:info:destroot  at org.apache.fop.render.intermediate.IFRenderer.startPageSequence(IFRenderer.java:502)
889	:info:destroot  at org.apache.fop.area.RenderPagesModel.startPageSequence(RenderPagesModel.java:89)
890	:info:destroot  at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:98)
891	:info:destroot  at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238)
892	:info:destroot  at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
893	:info:destroot  at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
894	:info:destroot  at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
895	:info:destroot  at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
896	:info:destroot  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
897	:info:destroot  at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
898	:info:destroot  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
899	:info:destroot  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
900	:info:destroot  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
901	:info:destroot  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
902	:info:destroot  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
903	:info:destroot  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
904	:info:destroot  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
905	:info:destroot  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
906	:info:destroot  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
907	:info:destroot  at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
908	:info:destroot  ... 3 more
909	:info:destroot

... so ... something going on with fop ... /shrug

comment:10 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: fop added; xmlto removed

comment:11 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Just install xorg-bigreqs-proto with -docs ...

comment:12 in reply to:  11 ; Changed 11 years ago by alexlebonlb@…

Replying to jeremyhu@…:

Just install xorg-bigreqs-proto with -docs ...

Ok i cleared the port then tried: sudo port install xorg-bigreqsproto +docs

Still getting an error, log "main4" attached

Thanks!

Changed 11 years ago by alexlebonlb@…

Attachment: main.4.log added

comment:13 in reply to:  12 ; Changed 11 years ago by larryv (Lawrence Velázquez)

Jeremy meant that you should install it without the docs variant.

sudo port clean xorg-bigreqs-proto
sudo port install xorg-bigreqs-proto

comment:14 in reply to:  13 Changed 11 years ago by alexlebonlb@…

Replying to larryv@…:

Jeremy meant that you should install it without the docs variant.

sudo port clean xorg-bigreqs-proto
sudo port install xorg-bigreqs-proto

Hi Larry, I was able to install octave-devel fine without using the docs variant, thanks!

Is there any work-around to getting the docs variant working?

Thanks

comment:15 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

File bugs upstream with fop ... ? I don't really know much about it, sorry...

comment:16 Changed 11 years ago by jmroot (Joshua Root)

A newer version of fop has been released upstream, so maybe updating the port would help.

comment:17 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.