sys-cluster/resource-agents-1.0.4-r1 installs files in / which should be installed in /usr/lib/ocf/ equery files resource-agents|grep '^/resource.d'| head /resource.d /resource.d/heartbeat /resource.d/heartbeat/.ocf-binaries /resource.d/heartbeat/.ocf-directories /resource.d/heartbeat/.ocf-returncodes /resource.d/heartbeat/.ocf-shellfuncs /resource.d/heartbeat/AoEtarget /resource.d/heartbeat/AudibleAlarm /resource.d/heartbeat/CTDB /resource.d/heartbeat/ClusterMon This can't be right. It also result in: # /etc/init.d/heartbeat start runscript.sh[4970]: ERROR: OCF_ROOT points to non-directory . Checking the output from ./configure: Prefix = /usr Executables = /usr/sbin Man pages = /usr/share/man Libraries = /usr/lib64 Header files = /usr/include Arch-independent files = /usr/share Documentation = /usr/share/doc/resource-agents-1.0.4-r1 State information = /var System configuration = /etc RA state files = /var/run/resource-agents AIS Plugins = Reproducible: Always
Please attach emerge --info output and your build log.
Reopen this bug report when you find the time to post the requested information.
Same problem here. I tracked it down to the following error message in the buildlog: ---------------------------------------- cat /var/log/portage/sys-cluster\:resource-agents-1.0.4-r1\:20110512-152435.log | grep -B4 -A4 OCF_ROOT_DIR checking which format is needed to print uint64_t... %lu checking heartbeat/glue_config.h usability... yes checking heartbeat/glue_config.h presence... yes checking for heartbeat/glue_config.h... yes checking for OCF_ROOT_DIR in heartbeat/glue_config.h... ./configure: line 5292: /tmp/extract_define.OCF_ROOT_DIR.10038: Permission denied printf: usage: printf [-v var] format [arguments] checking for hg... no checking for false... /bin/false ---------------------------------------- The configure script needs exec permission on /tmp (which my system hadn't, since it has the /tmp FS mounted with noexec option). After remounting /tmp with exec option the agents are installed under /usr/lib/ocf.