i686-pc-linux-gnu-gcc -O2 -march=prescott -mtune=native -mfpmath=sse -pipe -fpeel-loops -fprefetch-loop-arrays -ftracer -freorder-blocks-and-partition -floop-interchange -floop-block -ftree-loop-distribution -ftree-vectorize -fpredictive-commoning -Wunused -Wall -Wl,-O1 -o depmod depmod.o zlibsupport.o tables.o -lz libmodtools.a i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"module-init-tools\" -DPACKAGE_TARNAME=\"module-init-tools\" -DPACKAGE_VERSION=\"3.11\" -DPACKAGE_STRING=\"module-init-tools\ 3.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.11\" -DCONFIG_USE_ZLIB=1 -DCONFIG_USE_ZLIB=1 -I. -I.. -O2 -march=prescott -mtune=native -mfpmath=sse -pipe -fpeel-loops -fprefetch-loop-arrays -ftracer -freorder-blocks-and-partition -floop-interchange -floop-block -ftree-loop-distribution -ftree-vectorize -fpredictive-commoning -Wunused -Wall -MT modinfo.o -MD -MP -MF .deps/modinfo.Tpo -c -o modinfo.o ../modinfo.c mv -f .deps/modinfo.Tpo .deps/modinfo.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -mtune=native -mfpmath=sse -pipe -fpeel-loops -fprefetch-loop-arrays -ftracer -freorder-blocks-and-partition -floop-interchange -floop-block -ftree-loop-distribution -ftree-vectorize -fpredictive-commoning -Wunused -Wall -Wl,-O1 -o modinfo modinfo.o zlibsupport.o -lz libmodtools.a if [ "docbook2man" = "docbook2man" ]; then \ docbook2man ../doc/modprobe.conf.sgml > /dev/null 2>&1; \ else \ docbook2man ../doc/modprobe.conf.sgml 2>&1 > modprobe.conf.5 | sed 's/^[^:]*://'; \ fi make[1]: *** [modprobe.conf.5] Error 127 make[1]: Leaving directory `/var/tmp/portage/sys-apps/module-init-tools-3.11/work/module-init-tools-3.11/build' make: *** [all-all] Error 2 * ERROR: sys-apps/module-init-tools-3.11 failed: * emake module-init-tools failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2267: Called die * The specific snippet of code: * emake || die "emake module-init-tools failed" * * If you need support, post the output of 'emerge --info =sys-apps/module-init-tools-3.11', * the complete build log and the output of 'emerge -pqv =sys-apps/module-init-tools-3.11'. * The complete build log is located at '/var/tmp/portage/sys-apps/module-init-tools-3.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/module-init-tools-3.11/temp/environment'. * S: '/var/tmp/portage/sys-apps/module-init-tools-3.11/work/module-init-tools-3.11' Reproducible: Always
Created attachment 207282 [details] emerge --info
same for ~amd64: <...> mv -f .deps/libmodtools_a-elfops.Tpo .deps/libmodtools_a-elfops.Po x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"module-init-tools\" -DPACKAGE_TARNAME=\"module-init-tools\" -DPACKAGE_VERSION=\"3.11\" -DPACKAGE_STRING=\"module-init-tools\ 3.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.11\" -DCONFIG_USE_ZLIB=1 -DCONFIG_USE_ZLIB=1 -I. -I.. -march=native -msse2 -m3dnow -pipe -O2 -ggdb -mno-tls-direct-seg-refs -Wunused -Wall -MT modinfo.o -MD -MP -MF .deps/modinfo.Tpo -c -o modinfo.o ../modinfo.c mv -f .deps/modprobe.Tpo .deps/modprobe.Po if [ "docbook2man" = "docbook2man" ]; then \ docbook2man ../doc/modprobe.conf.sgml > /dev/null 2>&1; \ else \ docbook2man ../doc/modprobe.conf.sgml 2>&1 > modprobe.conf.5 | sed 's/^[^:]*://'; \ fi mv -f .deps/modinfo.Tpo .deps/modinfo.Po make[1]: *** [modprobe.conf.5] Error 127 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/tables.Tpo .deps/tables.Po make[1]: Leaving directory `/var/tmp/portage/sys-apps/module-init-tools-3.11/work/module-init-tools-3.11/build' make: *** [all-all] Error 2 * ERROR: sys-apps/module-init-tools-3.11 failed: * emake module-init-tools failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2364: Called die * The specific snippet of code: * emake || die "emake module-init-tools failed" * * If you need support, post the output of 'emerge --info =sys-apps/module-init-tools-3.11', * the complete build log and the output of 'emerge -pqv =sys-apps/module-init-tools-3.11'. * The complete build log is located at '/var/tmp/portage_logs/sys-apps:module-init-tools-3.11:20091016-075752.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/module-init-tools-3.11/temp/environment'. * S: '/var/tmp/portage/sys-apps/module-init-tools-3.11/work/module-init-tools-3.11'
sys-apps/module-init-tools does not depends on app-text/docbook-sgml-utils that provides docbook2man
Same here
configure: ---snip checking for docbook-to-man... no checking for docbook2man... no configure: WARNING: docbook2man not found ---snip even if no docbook to man command is found it tries docbook2man Should man page generation be disabled and the module tools man pages should go in app-i18n/man-pages*? What is the gentoo policy about this subject?
emerge app-text/docbook-sgml-utils fine.
Created attachment 207298 [details, diff] Patch configure/Makefile to make documentation optional
Created attachment 207299 [details, diff] Add USE=doc
IMHO in ebuild should be DEPEND: doc? ( app-text/docbook-sgml-utils )
It could also depend on docbook2X but its ebuild installs executables renamed to *.pl, so configure script which comes with module-init-tools cannot detect docbook2man.pl. It's probably better for docbook2X to conflict with docbook-sgml-utils than to simply rename binaries. (I suspect I should file another bug on it.)
Comment on attachment 207299 [details, diff] Add USE=doc we're not making man page generated optional. it doesnt make sense in the ebuild.
packaged the man pages separately http://sources.gentoo.org/sys-apps/module-init-tools/module-init-tools-3.11.ebuild?r1=1.1&r2=1.2
*** Bug 289331 has been marked as a duplicate of this bug. ***
*** Bug 289343 has been marked as a duplicate of this bug. ***
It works ;) thanks.