Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399077 - ocfs2-tools does not provide ocfs2_controld.pcmk for pacemaker
Summary: ocfs2-tools does not provide ocfs2_controld.pcmk for pacemaker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 14:13 UTC by gentoo-bug
Modified: 2012-02-21 14:31 UTC (History)
2 users (show)

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 gentoo-bug 2012-01-16 14:13:57 UTC
The resource agent ocf:pacemaker:o2cb needs /usr/sbin/ocfs2_controld.pcmk to control ocfs. The ebuild ocfs2-tools should provide it. ocfs2_controld.pcmk is very important to build a cluster with ocfs as storage file system. 

Reproducible: Always

Steps to Reproduce:
emerge ocfs2-tools




emerge ocfs2-tools
...
checking for libcman.h... yes
checking corosync/cpg.h usability... yes
checking corosync/cpg.h presence... yes
checking for corosync/cpg.h... yes
checking for cpg_initialize in -lcpg... no
configure: WARNING: libcpg not found, ocfs2_controld will not be built
checking for openais/saCkpt.h... yes
checking for saCkptInitialize in -lSaCkpt... no
configure: WARNING: libSaCkpt not found, ocfs2_controld will not be built
checking for dlmc_fs_connect in -ldlmcontrol... yes
checking for libdlmcontrol.h... yes
checking libdlm.h usability... yes
checking libdlm.h presence... yes
checking for libdlm.h... yes
checking for dlm_create_lockspace in -ldlm_lt... yes
...

whereis libcpg
libcpg: /usr/lib/libcpg.so /usr/lib64/libcpg.so

equery b /usr/lib/libcpg.so
 * Searching for /usr/lib/libcpg.so ... 
sys-cluster/corosync-1.3.3-r1 (/usr/lib64/libcpg.so.4.1.0)

whereis libSaCkpt
libSaCkpt: /usr/lib/libSaCkpt.a /usr/lib/libSaCkpt.so /usr/lib64/libSaCkpt.a /usr/lib64/libSaCkpt.so

equery b /usr/lib/libSaCkpt.so
 * Searching for /usr/lib/libSaCkpt.so ... 
sys-cluster/openais-1.1.4 (/usr/lib64/libSaCkpt.so.3.0.0)

ls /usr/include/openais/
saAis.h  saAmf.h  saCkpt.h  saClm.h  saEvt.h  saLck.h  saMsg.h  saTmr.h


emerge --info ocfs2-tools
Portage 2.1.10.41 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 16 Jan 2012 09:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://portage/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/nfs/portage-packages/server-64bit"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/adm/portage-overlay"
SYNC="rsync://portage/portage"
USE="X509 acl aio amd64 apache2 berkdb bzip2 cli cracklib crypt cxx dri fontconfig gd gdbm gif iconv jpeg mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp openntpd pacemaker pam pcre perl php png pppd python readline session slang snmp sse sse2 ssl ssse3 sysfs tcpd tiff truetype unicode vhosts xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_file authz_host authz_user dir env expires headers info log_config mime negotiation proxy proxy_http rewrite setenvif so status filter deflate dav" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-fs/ocfs2-tools-1.6.4 was built with the following:
USE="(multilib) -debug -external -gtk"
Comment 1 Ultrabug gentoo-dev 2012-02-21 14:31:30 UTC
Hello,

+*ocfs2-tools-1.6.4-r1 (21 Feb 2012)
+
+  21 Feb 2012; Ultrabug <ultrabug@gentoo.org> +ocfs2-tools-1.6.4-r1.ebuild,
+  +files/ocfs2-tools-1.6.4-asneeded.patch:
+  EAPI4, updated RDEPEND, fix build wrt #399077
+

This has been fixed in tree now, please remember that you need to USE="external" in order to get ocfs2_controld.pcmk compiled !

Enjoy