Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703634 - app-text/docbook-sgml-utils-0.6.14-r3 - jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc" (No such file or directory)
Summary: app-text/docbook-sgml-utils-0.6.14-r3 - jade:/etc/sgml/xhtml1.cat:1:8:E: cann...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PullRequest
: 746968 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-23 23:11 UTC by Christophe_Y2k
Modified: 2022-05-14 01:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo' (emerge-info-of-app-text-docbook-sgml-utils-0.6.14-r3.txt,9.79 KB, text/plain)
2019-12-23 23:11 UTC, Christophe_Y2k
Details
emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo' (file_703634.txt,5.84 KB, text/plain)
2020-03-29 21:06 UTC, Alarig Le Lay
Details
emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo' (file_703634.txt,72 bytes, text/plain)
2020-03-29 21:06 UTC, Alarig Le Lay
Details
/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/build.log (file_703634.txt,44.08 KB, text/plain)
2020-03-29 21:07 UTC, Alarig Le Lay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe_Y2k 2019-12-23 23:11:36 UTC
Created attachment 600556 [details]
emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'

Hello have this bug since the last update 8 Nov 2019
<--->
# emerge --ask --quiet --verbose --oneshot app-text/docbook-sgml-utils
[ebuild  N    ] app-text/docbook-sgml-utils-0.6.14-r3  USE="jadetex" 
<--->

 * Package:    app-text/docbook-sgml-utils-0.6.14-r3
 * Repository: gentoo
 * Maintainer: mgorny@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc jadetex kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying docbook-utils-0.6.14-elinks.patch ...
 [ ok ]
 * Applying docbook-sgml-utils-0.6.14-grep-2.7.patch ...
 [ ok ]
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docbook-utils.spec
config.status: creating bin/Makefile
config.status: creating bin/jw
config.status: creating bin/sgmldiff
config.status: creating backends/Makefile
config.status: creating backends/man
config.status: creating backends/texi
config.status: creating frontends/Makefile
config.status: creating frontends/docbook
config.status: creating helpers/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version
config.status: creating doc/refentry/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/HTML/Makefile
Making all in backends
make[1]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/backends'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/backends'
Making all in bin
make[1]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/bin'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/bin'
Making all in doc
make[1]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc'
Making all in refentry
make[2]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/refentry'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/refentry'
Making all in man
make[2]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/man'
Making all in HTML
make[2]: Entering directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/HTML'
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
	jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
		-V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc" (No such file or directory)
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
...
...
... hundred of this error line ...
...
...
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
jade:/etc/sgml/xhtml1.cat:1:8:E: cannot open "/usr/share/sgml/xhtml1/xhtml.soc"
make[2]: *** [Makefile:300: fdl.html] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:300: backend-spec.html] Error 1
make[2]: *** [Makefile:300: docbook2man.html] Error 1
make[2]: *** [Makefile:300: docbook2texi.html] Error 1
make[2]: *** [Makefile:300: helpers.html] Error 1
make[2]: *** [Makefile:300: frontend-spec.html] Error 1
make[2]: *** [Makefile:300: index.html] Error 1
make[2]: *** [Makefile:300: api.html] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/HTML'
make[1]: *** [Makefile:157: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc'
make: *** [Makefile:200: all-recursive] Error 1
 * ERROR: app-text/docbook-sgml-utils-0.6.14-r3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'`,
Comment 1 Christophe_Y2k 2019-12-24 14:49:28 UTC
Solution come from Gentoo forum :
https://forums.gentoo.org/viewtopic-p-8401384.html#8401384

with first emerge app-text/xhtml1

# emerge --ask --quiet --verbose --oneshot app-text/xhtml1

[ebuild  N    ] app-text/xhtml1-20020801-r6
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-text/xhtml1-20020801-r6::gentoo
>>> Installing (1 of 1) app-text/xhtml1-20020801-r6::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 0.31, 0.22, 0.19


# emerge --ask --quiet --oneshot --verbose docbook-sgml-utils

[ebuild  N    ] app-text/docbook-sgml-utils-0.6.14-r3  USE="-jadetex"
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-text/docbook-sgml-utils-0.6.14-r3::gentoo
>>> Installing (1 of 1) app-text/docbook-sgml-utils-0.6.14-r3::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.10, 0.40, 0.25
Comment 2 Jonas Stein gentoo-dev 2019-12-25 16:33:22 UTC
Next time, please *attach* the logfiles and paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-25 16:37:59 UTC
Could you try unmerging xhtml1 and reemerging docbook-sgml-utils again?  I suppose the problem was in leftover /etc/sgml/xhtml1.cat, possibly as a result of older bug.
Comment 4 Chris 2020-01-16 15:23:37 UTC
This did not work for me.

However, I managed to solve the issue by removing /etc/sgml/gentoo-guide.cat, which didn't belong to any package, and then re-emerging app-text/sgml-common.


(In reply to Christophe_Y2k from comment #1)
> Solution come from Gentoo forum :
> https://forums.gentoo.org/viewtopic-p-8401384.html#8401384
> 
> with first emerge app-text/xhtml1
> 
> # emerge --ask --quiet --verbose --oneshot app-text/xhtml1
> 
> [ebuild  N    ] app-text/xhtml1-20020801-r6
> Would you like to merge these packages? [Yes/No] y
> >>> Verifying ebuild manifests
> >>> Emerging (1 of 1) app-text/xhtml1-20020801-r6::gentoo
> >>> Installing (1 of 1) app-text/xhtml1-20020801-r6::gentoo
> >>> Jobs: 1 of 1 complete                           Load avg: 0.31, 0.22, 0.19
> 
> 
> # emerge --ask --quiet --oneshot --verbose docbook-sgml-utils
> 
> [ebuild  N    ] app-text/docbook-sgml-utils-0.6.14-r3  USE="-jadetex"
> Would you like to merge these packages? [Yes/No] y
> >>> Verifying ebuild manifests
> >>> Emerging (1 of 1) app-text/docbook-sgml-utils-0.6.14-r3::gentoo
> >>> Installing (1 of 1) app-text/docbook-sgml-utils-0.6.14-r3::gentoo
> >>> Jobs: 1 of 1 complete                           Load avg: 1.10, 0.40, 0.25
Comment 5 Alarig Le Lay 2020-03-29 21:05:30 UTC
Hi,

I had the same issue. Please find different emerge output as attachments.
Comment 6 Alarig Le Lay 2020-03-29 21:06:14 UTC
Created attachment 627026 [details]
emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'
Comment 7 Alarig Le Lay 2020-03-29 21:06:48 UTC
Created attachment 627028 [details]
emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'
Comment 8 Alarig Le Lay 2020-03-29 21:07:23 UTC
Created attachment 627030 [details]
/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/build.log
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2020-10-07 22:02:39 UTC
*** Bug 746968 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2022-05-14 01:01:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a21e1c470f60aa5ad8b9c4dad98dc0724644ca

commit 90a21e1c470f60aa5ad8b9c4dad98dc0724644ca
Author:     Alarig Le Lay <alarig@swordarmor.fr>
AuthorDate: 2020-04-11 17:09:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-14 01:01:12 +0000

    app-text/docbook-sgml-utils: Adding dependencies
    
    Adding app-text/xhtml1 for /usr/share/sgml/xhtml1/xhtml.soc
    Precising app-text/docbook-xml-dtd:4.2 for
    /usr/share/sgml/docbook/xml-dtd-4.2/docbook.cat
    
    Closes: https://bugs.gentoo.org/703634
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
    Closes: https://github.com/gentoo/gentoo/pull/15309
    Signed-off-by: Sam James <sam@gentoo.org>

 .../docbook-sgml-utils-0.6.14-r5.ebuild            | 71 ++++++++++++++++++++++
 1 file changed, 71 insertions(+)