Summary: | =sys-libs/pam-1.3.1: no rule to make target 'access.conf.5', needed by 'all-am' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, matoro_gentoo, pam-bugs+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
info.txt |
Description
matoro
2018-10-03 13:31:41 UTC
Created attachment 549152 [details]
build.log
Created attachment 549154 [details]
info.txt
we are building docs on fly right now due to docu-regenerate flag breakage, your installation behaves as if it were disabled (and therefore broken) while the current builds are taking dockbook-spec to use, so I can not say what is wrong with your installation Thank you for the explanation. For reference, I was able to solve the issue with the following steps: - install docbook-xml-dtd-4.4 from binary package - noticed that /usr/share/sgml/docbook/xml-dtd-4.4/ent/isogrk4.ent was a broken symlink - reinstall docbook-xml-dtd-4.4 from source - install docbook-xml-dtd-4.1 and it built successfully. I am not totally familiar with exactly how the docbook build stuff works but perhaps there are some extra build deps that ought to be added to the ebuild? (In reply to matoro from comment #4) > Thank you for the explanation. For reference, I was able to solve the issue > with the following steps: > > - install docbook-xml-dtd-4.4 from binary package > - noticed that /usr/share/sgml/docbook/xml-dtd-4.4/ent/isogrk4.ent was a > broken symlink > - reinstall docbook-xml-dtd-4.4 from source > - install docbook-xml-dtd-4.1 > > and it built successfully. I am not totally familiar with exactly how the > docbook build stuff works but perhaps there are some extra build deps that > ought to be added to the ebuild? all the docbook stuff are already listed in the ebuild though https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/pam/pam-1.3.1.ebuild#n17 (In reply to Mikle Kolyada from comment #5) > (In reply to matoro from comment #4) > > Thank you for the explanation. For reference, I was able to solve the issue > > with the following steps: > > > > - install docbook-xml-dtd-4.4 from binary package > > - noticed that /usr/share/sgml/docbook/xml-dtd-4.4/ent/isogrk4.ent was a > > broken symlink > > - reinstall docbook-xml-dtd-4.4 from source > > - install docbook-xml-dtd-4.1 > > > > and it built successfully. I am not totally familiar with exactly how the > > docbook build stuff works but perhaps there are some extra build deps that > > ought to be added to the ebuild? > > all the docbook stuff are already listed in the ebuild though > > > https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/pam/pam-1.3.1. > ebuild#n17 You are right - I am not sure how 4.4 ended up with a broken symlink however 4.1 is not listed in the ebuild. Also, I've come across another weird snag - those steps solved it on my amd64 machine, but the only reason I tried them was because it suddenly started spitting out docbook errors. However I also have an armv7a and armv6j box where it did not work, nor do those errors appear. I tried several things including skipping the browser patch, installing www-client/{elinks,w3m} , and patching the makefile. No luck on anything, so at a loss here. Hopefully somebody else comes around with the same issue. Thank you for your help. I know this is a bit late, but I was finally able to identify the problem! dev-libs/libxslt was what was missing. Could you please try building without that package and seeing if you could reproduce the issue? I suspect it may be needed in DEPEND and that this error was uncommon because most people keep build deps installed. Oh somehow I missed that building pam in the new docker image though. Thanks, now fixed here: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1c63d8d7a5ba77d2b557f6fe8501a6e930b1c4 Thanks. One more quick fix - virtual/pkg-config is also needed since it does not come with autotools.eclass. Don't know if that qualifies for a revbump. virtual/pkgconfig , my bad. Couple other bdeps I found: Needs app-text/docbook-xml-dtd:4.1.2 or else you end up with this: Making all in pam_access make[3]: Entering directory '/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1-.arm/modules/pam_access' /bin/sh ../../libtool --tag=CC --mode=compile armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access -I../.. -I/var/tmp/portage/sys-l ibs/pam-1.3.1-r1/work/linux-pam-1.3.1/libpam/include -I/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/libpamc/include -DPAM_ACCESS_CONFIG=\"/etc/security/access.conf\" -DACCESS_CONF_GLOB=\"/etc/security/acce ss.d/*.conf\" -O3 -pipe -march=native -funroll-loops -flto=8 -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissi ng-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c -o pam_access.lo /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/pam_access.c /usr/bin/xmllint --nonet --xinclude --postvalid --noout /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/access.conf.5.xml /usr/bin/xmllint --nonet --xinclude --postvalid --noout /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/pam_access.8.xml /usr/bin/xsltproc --path /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access --xinclude --stringparam generate.toc "none" --nonet http://docbook.sourceforge.net/release/xsl/current/html/docbook .xsl /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/README.xml | > /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/README /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/pam_access.8.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> ^ warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" Document /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_access/pam_access.8.xml does not validate make[3]: *** [/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/Make.xml.rules:21: pam_access.8] Error 3 make[3]: *** Waiting for unfinished jobs.... Also needed is virtual/yacc. And sys-devel/flex is the last one. Sorry for the comment spam, was fixing these on the fly. After all that it builds successfully reproducibly. |