Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289278 - =sys-apps/module-init-tools-3.11 compile fails to make manpages w/out docbook
Summary: =sys-apps/module-init-tools-3.11 compile fails to make manpages w/out docbook
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 289331 289343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-16 07:50 UTC by Marcin Mirosław
Modified: 2009-10-17 10:12 UTC (History)
18 users (show)

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


Attachments
emerge --info (emerge.info,4.50 KB, text/plain)
2009-10-16 07:55 UTC, Marcin Mirosław
Details
Patch configure/Makefile to make documentation optional (module-init-tools-3.11-with-doc.patch,1.59 KB, patch)
2009-10-16 11:07 UTC, Andrew Church
Details | Diff
Add USE=doc (module-init-tools-3.11.ebuild.patch,1.14 KB, patch)
2009-10-16 11:12 UTC, Andrew Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-10-16 07:50:40 UTC
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
Comment 1 Marcin Mirosław 2009-10-16 07:55:12 UTC
Created attachment 207282 [details]
emerge --info
Comment 2 thanasis 2009-10-16 08:03:13 UTC
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'
Comment 3 Vincent Le Ligeour 2009-10-16 09:57:26 UTC
sys-apps/module-init-tools does not depends on app-text/docbook-sgml-utils that provides docbook2man
Comment 4 Nikolaj Šujskij 2009-10-16 10:04:00 UTC
Same here
Comment 5 Sylvain BERTRAND 2009-10-16 10:21:13 UTC
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? 
Comment 6 crucify 2009-10-16 11:01:18 UTC
emerge app-text/docbook-sgml-utils
fine.
Comment 7 Andrew Church 2009-10-16 11:07:01 UTC
Created attachment 207298 [details, diff]
Patch configure/Makefile to make documentation optional
Comment 8 Andrew Church 2009-10-16 11:12:35 UTC
Created attachment 207299 [details, diff]
Add USE=doc
Comment 9 Marcin Mirosław 2009-10-16 11:29:53 UTC
IMHO in ebuild should be DEPEND: 
doc? ( app-text/docbook-sgml-utils )
Comment 10 Arseny Solokha 2009-10-16 13:15:46 UTC
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 11 SpanKY gentoo-dev 2009-10-16 14:29:54 UTC
Comment on attachment 207299 [details, diff]
Add USE=doc

we're not making man page generated optional.  it doesnt make sense in the ebuild.
Comment 13 Bernard Cafarelli gentoo-dev 2009-10-16 15:53:41 UTC
*** Bug 289331 has been marked as a duplicate of this bug. ***
Comment 14 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-16 16:57:00 UTC
*** Bug 289343 has been marked as a duplicate of this bug. ***
Comment 15 Marcin Mirosław 2009-10-17 10:12:41 UTC
It works ;) thanks.