Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on centos 7.9 #386

Open
spacexnasa opened this issue Apr 3, 2023 · 1 comment
Open

build error on centos 7.9 #386

spacexnasa opened this issue Apr 3, 2023 · 1 comment

Comments

@spacexnasa
Copy link

xmlto: /usr/local/src/selinux-master/secilc/secilc.8.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/usr/selinux-master/secilc/secilc.8.xml:3: warning: failed to load external entity "https://docbook.org/xml/4.4/docbookx.dtd"
"https://docbook.org/xml/4.4/docbookx.dtd">
^
warning: failed to load external entity "https://docbook.org/xml/4.4/docbookx.dtd"
validity error : Could not load the external subset "https://docbook.org/xml/4.4/docbookx.dtd"
Document /usr/local/src/selinux-master/secilc/secilc.8.xml does not validate
make[1]: *** [Makefile:51: secilc.8] Error 13
make[1]: Leaving directory '/usr/local/src/selinux-master/secilc'
make: *** [Makefile:40: install] Error 1

@vindicatorr
Copy link

I'm on Arch Linux, and for me it started with not having xmlto installed.
Then when I came across your post and a little searching, I installed docbook-xml, which got past there error, bringing me to an .xsl one, that prompted me to install docbook-xsl, getting me past that issue as well.

That got me to /usr/bin/ld: <pathTo>/usr/lib/libsemanage.so: undefined reference to ``sepol_ibendport_compare2@LIBSEPOL_1.0', pre-empted by /usr/bin/ld: warning: libsepol.so.2, needed by <pathTo>/usr/lib/libsemanage.so, not found (try using -rpath or -rpath-link), which was resolved with export LD_LIBRARY_PATH="${DESTDIR}/usr/lib:${DESTDIR}/lib" (probably all the more reason to $ source ./scripts/env_use_destdir).

But once done, everything built clean (outside a deprecation warning).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants