View previous topic :: View next topic |
Author |
Message |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 7:20 am Post subject: [Solved] emerge asciidoc fails |
|
|
While trying to merge btrfs-progs on RPi, its dependency, asciidoc fails to merge.
RPi1B2:~ Necktwi$ sudo emerge --info '=app-text/asciidoc-8.6.10::gentoo' | wgetpaste -u
http://tinyurl.com/y79o2nr5
RPi1B2:~ Necktwi$ sudo emerge -pqv '=app-text/asciidoc-8.6.10::gentoo' | wgetpaste -u
http://tinyurl.com/yata9xmh
RPi1B2:~ Necktwi$ wgetpaste -u /var/tmp/portage/app-text/asciidoc-8.6.10/temp/build.log
http://tinyurl.com/ybo8fs74
thanq!
Last edited by necktwi on Wed Dec 19, 2018 1:41 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 7:42 am Post subject: |
|
|
There is a open bug but without solution.
You can provide output of command
Code: | # ebuild /usr/portage/app-text/asciidoc/asciidoc-8.6.10.ebuild unpack
# cd /var/tmp/portage/app-text/asciidoc-8.6.10/work/asciidoc-8.6.10
# python ./a2x.py --verbose -f manpage doc/asciidoc.1.txt |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 8:02 am Post subject: |
|
|
Code: | RPi1B2:asciidoc-8.6.10 Necktwi$ sudo python ./a2x.py --verbose -f manpage doc/asciidoc.1.txt
File "./a2x.py", line 79
print '%s: %s' % (PROG,msg)
^
SyntaxError: invalid syntax
|
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 8:04 am Post subject: |
|
|
necktwi wrote: | Code: | RPi1B2:asciidoc-8.6.10 Necktwi$ sudo python ./a2x.py --verbose -f manpage doc/asciidoc.1.txt
File "./a2x.py", line 79
print '%s: %s' % (PROG,msg)
^
SyntaxError: invalid syntax
|
|
Sorry my fault you should run command with python2.7
Code: | $ sudo python2.7 ./a2x.py --verbose -f manpage doc/asciidoc.1.txt |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 8:10 am Post subject: |
|
|
No prob!
RPi1B2:asciidoc-8.6.10 Necktwi$ sudo python2.7 ./a2x.py --verbose -f manpage doc/asciidoc.1.txt 2>&1 | wgetpaste -u
http://tinyurl.com/yd69may4
thanq! |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 8:57 am Post subject: |
|
|
You have file /etc/xml/docbook? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 8:59 am Post subject: |
|
|
Yes, I do. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 9:03 am Post subject: |
|
|
And command work fine if you set XML_CATALOG_FILES?
Code: | # XML_CATALOG_FILES=/etc/xml/docbook python2.7 a2x.py --verbose -f manpage doc/asciidoc.1.txt |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 9:25 am Post subject: |
|
|
nop its the same error
Code: | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
|
|
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 9:53 am Post subject: |
|
|
You lanch command with sudo? You tried directy in a root console? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 10:38 am Post subject: |
|
|
Code: | RPi1B2:asciidoc-8.6.10 Necktwi$ sudo XML_CATALOG_FILES=/etc/xml/docbook python2.7 ./a2x.py --verbose -f manpage doc/asciidoc.1.txt |
and also i tried it in su - shell. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 12:17 pm Post subject: |
|
|
I think remerging app-text/docbook-xml-dtb fix the issue. here is the output after remerging it.
RPi1B2:asciidoc-8.6.10 Necktwi$ sudo XML_CATALOG_FILES=/etc/xml/docbook python2.7 ./a2x.py --verbose -f manpage doc/asciidoc.1.txt 2>&1 | wgetpaste -u
http://tinyurl.com/y892pmal |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31546 Location: here
|
Posted: Wed Dec 19, 2018 12:49 pm Post subject: |
|
|
Yes try command without XML_CATALOG_FILES and if the output is the same rebuild asciidoc _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
necktwi Apprentice

Joined: 24 Aug 2018 Posts: 171
|
Posted: Wed Dec 19, 2018 1:40 pm Post subject: |
|
|
remerging app-text/docbook-xml-dtb fixed the issue. |
|
Back to top |
|
 |
|