Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213716 - sys-cluster/cman-2.02.00 doesn't compile - openais missing include
Summary: sys-cluster/cman-2.02.00 doesn't compile - openais missing include
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 15:48 UTC by Christian Zoffoli (RETIRED)
Modified: 2010-09-10 20:28 UTC (History)
1 user (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 Christian Zoffoli (RETIRED) gentoo-dev 2008-03-17 15:48:48 UTC
cman-2.02.00 need logsys.h from openais

Reproducible: Always

Steps to Reproduce:
1. emerge cman-2.02.00
2.
3.

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/lib'
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:40:36: error: openais/service/logsys.h: No such file or directory
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:76: error: expected declaration specifiers or '...' before string constant
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:76: error: expected declaration specifiers or '...' before numeric constant
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:76: warning: data definition has no type or storage class
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:76: warning: type defaults to 'int' in declaration of 'LOGSYS_DECLARE_SUBSYS'
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'cman_readconfig':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:225: warning: implicit declaration of function 'logsys_config_subsys_set'
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:225: error: 'LOGSYS_TAG_LOG' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:225: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:225: error: for each function it appears in.)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'ais_add_ifaddr':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:307: warning: implicit declaration of function 'log_printf'
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:307: error: 'LOG_LEVEL_DEBUG' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'comms_send_message':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:373: error: 'LOG_LEVEL_DEBUG' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'cman_deliver_fn':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:398: error: 'LOG_LEVEL_DEBUG' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'cman_confchg_fn':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:430: error: 'LOG_LEVEL_DEBUG' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:449: error: 'LOG_LEVEL_CRIT' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c: In function 'comms_init_ais':
/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/daemon/ais.c:483: error: 'LOG_LEVEL_DEBUG' undeclared (first use in this function)
make: *** [ais.o] Error 1
make: Leaving directory `/var/tmp/portage/sys-cluster/cman-2.02.00/work/cluster-2.02.00/cman/d

Expected Results:  
with logsys.h it compiles fine

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-xen i686)
=================================================================
System uname: 2.6.18-xen i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.8.5-r3, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs digest distlocks metadata-transfer sandbox sfperms sign strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/server"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb cli cracklib crypt cups gdbm gpm iconv ipv6 isdnlog mailwrapper midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode utf8 vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id filter authz_host auth_basic authn_file apache2_modules_authz_groupfile apache2_modules_authn_file authz_groupfile authz_user" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2008-03-17 23:04:14 UTC
I've already fixed it in cvs