Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382957 - sys-cluster/pacemaker-1.1.5 missing dep app-text/docbook-xsl-stylesheets
Summary: sys-cluster/pacemaker-1.1.5 missing dep app-text/docbook-xsl-stylesheets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 14:25 UTC by Guillaume Chanaud
Modified: 2011-09-21 14:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Chanaud 2011-09-14 14:25:49 UTC
You can't build pacemaker 1.1.5 without app-text/docbook-xsl-stylesheets but it's not in the ebuild depend ! Without this package (and his dependencies), pacemaker build will fail here :

help2man --output stonith_admin.8 --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" ../fencing/stonith_admin
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=core2 -msse4 -O2 -pipe -I/usr/include -I/usr/include/heartbeat -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wl,-O1 -o .libs/stonithd main.o commands.o remote.o  -Wl,--as-needed ../lib/common/.libs/libcrmcommon.so -L/usr/lib64 ../lib/common/.libs/libcrmcluster.so ../lib/fencing/.libs/libstonithd.so /var/tmp/portage/sys-cluster/pacemaker-1.1.5/work/Pacemaker-1-1-Pacemaker-1.1.5/lib/common/.libs/libcrmcommon.so /usr/lib64/libstonith.so -lcrypto -lcoroipcc -lcpg -lquorum /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libplumb.so /usr/lib64/libpils.so -lbz2 /usr/lib64/libxslt.so /usr/lib64/libxml2.so -lz -lm -lc -luuid -lpam -lrt -lglib-2.0 /usr/lib64/libltdl.so -ldl
../fencing/stonithd metadata | /usr/bin/xsltproc --nonet --novalid --stringparam man.name stonithd ../xml/ocf-meta2man.xsl - > ../crmd/stonithd.xml
/usr/bin/xsltproc  ../crmd/stonithd.xml
../crmd/stonithd.xml:2: warning: failed to load external entity "../crmd/docbookx.dtd"
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookx.dtd">
                                                                              ^
compilation error: file ../crmd/stonithd.xml line 3 element refentry
xsltParseStylesheetProcess : document is not a stylesheet
gmake[2]: *** [stonithd.8] Erreur 5
gmake[2] : on quitte le répertoire « /var/tmp/portage/sys-cluster/pacemaker-1.1.5/work/Pacemaker-1-1-Pacemaker-1.1.5/fencing »
gmake[1]: *** [all-recursive] Erreur 1
gmake[1] : on quitte le répertoire « /var/tmp/portage/sys-cluster/pacemaker-1.1.5/work/Pacemaker-1-1-Pacemaker-1.1.5/fencing »
make: *** [all-recursive] Erreur 1
emake failed
 * ERROR: sys-cluster/pacemaker-1.1.5 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5421:  Called base_src_compile
 *   environment, line 1065:  Called base_src_make
 *   environment, line 1103:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =sys-cluster/pacemaker-1.1.5',
 * the complete build log and the output of 'emerge -pqv =sys-cluster/pacemaker-1.1.5'.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/pacemaker-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/pacemaker-1.1.5/temp/environment'.
 * S: '/var/tmp/portage/sys-cluster/pacemaker-1.1.5/work/Pacemaker-1-1-Pacemaker-1.1.5'


Adding "app-text/docbook-xsl-stylesheets" in the depend section of the ebuild resolve this problem !

Reproducible: Always

Steps to Reproduce:
1.unmerge app-text/docbook-xsl-stylesheets
2. emerge pacemaker
3. Fail ...
Actual Results:  
help2man --output stonith_admin.8 --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" ../fencing/stonith_admin
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=core2 -msse4 -O2 -pipe -I/usr/include -I/usr/include/heartbeat -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wl,-O1 -o .libs/stonithd main.o commands.o remote.o  -Wl,--as-needed ../lib/common/.libs/libcrmcommon.so -L/usr/lib64 ../lib/common/.libs/libcrmcluster.so ../lib/fencing/.libs/libstonithd.so /var/tmp/portage/sys-cluster/pacemaker-1.1.5/work/Pacemaker-1-1-Pacemaker-1.1.5/lib/common/.libs/libcrmcommon.so /usr/lib64/libstonith.so -lcrypto -lcoroipcc -lcpg -lquorum /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libplumb.so /usr/lib64/libpils.so -lbz2 /usr/lib64/libxslt.so /usr/lib64/libxml2.so -lz -lm -lc -luuid -lpam -lrt -lglib-2.0 /usr/lib64/libltdl.so -ldl
../fencing/stonithd metadata | /usr/bin/xsltproc --nonet --novalid --stringparam man.name stonithd ../xml/ocf-meta2man.xsl - > ../crmd/stonithd.xml
/usr/bin/xsltproc  ../crmd/stonithd.xml
../crmd/stonithd.xml:2: warning: failed to load external entity "../crmd/docbookx.dtd"
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookx.dtd">
                                                                              ^
compilation error: file ../crmd/stonithd.xml line 3 element refentry

Expected Results:  
Correct build...

Everything included upward (include app-text/docbook-xsl-stylesheets in depend section of the ebuild)
Comment 1 Ultrabug gentoo-dev 2011-09-21 14:28:00 UTC
Thank you Guillaume for spotting this, it's fixed in tree now.