Dear list, I have tried to make a port for docbook2X (translator from docbook to man). The portfile is very simple: PortSystem 1.0 name docbook2X version 0.8.7 categories textproc maintainers ehainry@free.fr description Converts DocBook/XML documents into man pages and TeXinfo long_description \ Converts DocBook/XML documents into man pages and TeXinfo homepage http://docbook2x.sourceforge.net/ platforms darwin master_sites sourceforge:docbook2x checksums md5 bef029e10d29b182a7a782b483db1b36 depends_lib port:p5-xml-sax But when I try port -t configure, it stops with many errors concerning rights for gnutar. without -t, it works like a charm. port -t build also breaks with a lot of errors I do not understand. Without -t, once more, everything builds OK. I do not understand what went wrong (especially during configure...). Emmanuel
Le 14 sept. 06 à 19:37, Emmanuel Hainry a écrit :
But when I try port -t configure, it stops with many errors concerning rights for gnutar. without -t, it works like a charm. port -t build also breaks with a lot of errors I do not understand. Without -t, once more, everything builds OK. I do not understand what went wrong (especially during configure...).
I don't understand either. port -t configure works perfectly fine here. Could you please send us the output of the command on your box? Thanks. Paul -- Ministre ultraplénipotentiaire en disponibilité. Mobile. Sans baignoire fixe. http://www.kallisys.com/ http://www-poleia.lip6.fr/~guyot/
Citando Paul Guyot :
I don't understand either. port -t configure works perfectly fine here. Could you please send us the output of the command on your box?
% port -t extract docbook2X Error: Target com.apple.extract returned: shell command "cd "/opt/local/var/db/dports/build/_Users_manu_Vrac_dp_textproc_docbook2X/work" && gzip -dc /opt/local/var/db/dports/distfiles/docbook2X/docbook2X-0.8.7.tar.gz | /usr/bin/gnutar --no-same-owner -xf -" returned error 2 Command output: /usr/bin/gnutar: docbook2X-0.8.7/charmaps/roff.charmap: Cannot open: No such file or directory /usr/bin/gnutar: docbook2X-0.8.7/charmaps/texi.charmap: Cannot open: No such file or directory /usr/bin/gnutar: docbook2X-0.8.7/charmaps/texi-small.charmap.xml: Cannot open: No such file or directory [...] /usr/bin/gnutar: docbook2X-0.8.7/COPYING: Cannot open: No such file or directory /usr/bin/gnutar: Error exit delayed from previous errors Error: Status 1 encountered during processing.Error: Status 1 encountered during processing. In fact, I have found what the problem was: at first, I had named the package docbook2x, then to fetch more easily, I put the x in uppercase, but the directory ~dp/build/_Users_manu_Vrac_dp_textproc_docbook2x/ was still there, which triggered the out of sandbox problem. But since it is case insensitive, everything was working OK outside of trace... And I thought port clean --all docbook2x would have suppressed it, but apparently, it does not. Thanks for the answer, Emmanuel
participants (2)
-
Emmanuel Hainry
-
Paul Guyot