Opened 14 years ago

Last modified 13 years ago

#23440 closed defect

shared-mime-info failed to build — at Initial Version

Reported by: brawner@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: shared-mime-info

Description

This port failed to build with what seems like very obvious errors in the freedesktop.org.xml. I made simple corrections like properly closing comments, or eliminating poorly written ones to begin with. I selfupdated when I got this error, so I don't think I downloaded an old version. The attached file is the corrected freedesktop.org.xml file. The dependency successfully built after these corrections. Lets hope I didn't delete anything important.

Stephen

sudo port install -v dia

---> Computing dependencies for dia ---> Building shared-mime-info Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_shared-mime-info/work/shared-mime-info-0.70" && /usr/bin/make -j2 all " returned error 2 Command output: exit 1; \

fi

if test -n /opt/local/bin/xmllint ; then \

xmllint --noout --valid ./freedesktop.org.xml; \

fi

./freedesktop.org.xml:12852: parser error : Opening and ending tag mismatch: comment line 12851 and mime-type

</mime-type>

./freedesktop.org.xml:16011: parser error : expected '>'

<comment>CMU raster image</commentPS (terkompresi bzip)</comment>

./freedesktop.org.xml:16011: parser error : Opening and ending tag mismatch: mime-type line 16010 and comment

<comment>CMU raster image</commentPS (terkompresi bzip)</comment>

./freedesktop.org.xml:16332: parser error : Specification mandate value for attribute xml

<comment xml>

./freedesktop.org.xml:16335: parser error : Opening and ending tag mismatch: comment line 16332 and mime-type

</mime-type>

./freedesktop.org.xml:23887: parser error : Opening and ending tag mismatch: mime-type line 16318 and mime-info </mime-info>re</comment>

./freedesktop.org.xml:23887: parser error : Opening and ending tag mismatch: mime-info line 64 and comment </mime-info>re</comment>

./freedesktop.org.xml:23888: parser error : Extra content at the end of the document

<comment xml:lang="eu">softwarea</comment>

make: * [check] Error 1

Error: The following dependencies failed to build: gtk2 shared-mime-info Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (0)

Note: See TracTickets for help on using tickets.