Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Help debugging sys-cluster/libdlm-3.1.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
machspeed
n00b
n00b


Joined: 21 Aug 2012
Posts: 11

PostPosted: Fri Mar 22, 2013 4:36 am    Post subject: [SOLVED]Help debugging sys-cluster/libdlm-3.1.5 Reply with quote

Not sure where to post this topic but...

I'm having problems with sys-cluster/libdlm-3.1.5, this is a dependency of cman which I'm trying to install. The emerge halts with an error and I have no idea how to correct it.

Emerge log
Code:
mid-north linux # emerge cman
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) sys-cluster/libdlm-3.1.5
 * cluster-3.1.5.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                 [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.7.9-gentoo/build
 * Found sources for kernel version:
 *     3.7.9-gentoo
>>> Unpacking source...
>>> Unpacking cluster-3.1.5.tar.gz to /var/tmp/portage/sys-cluster/libdlm-3.1.5/work
>>> Source unpacked in /var/tmp/portage/sys-cluster/libdlm-3.1.5/work
>>> Preparing source in /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm ...

Configuring Makefiles for your system...

Checking tree: nothing to do
Completed Makefile configuration

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm ...
make -j8 -C libdlm
make: Entering directory `/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -I/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.1.5\" -fPIC -I/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm -I/usr/include -I/usr/src/linux/include  -D_REENTRANT -c -o libdlm.o /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -I/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.1.5\" -fPIC -I/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm -I/usr/include -I/usr/src/linux/include  -c -o libdlm_lt.o /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c
cat /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.pc.in | \
sed \
   -e 's#@PREFIX@#/usr#g' \
   -e 's#@LIBDIR@#/usr/lib#g' \
   -e 's#@INCDIR@#/usr/include#g' \
   -e 's#@VERSION@#3.1.5#g' \
> libdlm.pc
In file included from /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:21:0:
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’
/usr/include/sys/select.h:76:5: note: previous declaration of ‘fd_set’ was here
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’
/usr/include/sys/types.h:61:17: note: previous declaration of ‘dev_t’ was here
/usr/src/linux/include/linux/types.h:17:26: error: conflicting types for ‘mode_t’
/usr/include/sys/types.h:71:18: note: previous declaration of ‘mode_t’ was here
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’
/usr/include/time.h:104:19: note: previous declaration of ‘timer_t’ was here
/usr/src/linux/include/linux/types.h:36:24: error: conflicting types for ‘uintptr_t’
/usr/include/stdint.h:129:23: note: previous declaration of ‘uintptr_t’ was here
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’
/usr/include/sys/types.h:236:20: note: previous declaration of ‘blkcnt_t’ was here
In file included from /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:24:0:
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:69:12: error: conflicting types for ‘dlm_lock’
/usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:80:12: error: conflicting types for ‘dlm_unlock’
/usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:131:12: error: conflicting types for ‘dlm_release_lockspace’
/usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:136:23: error: conflicting types for ‘dlm_new_lockspace’
/usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here
cat /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm_lt.pc.in | \
sed \
   -e 's#@PREFIX@#/usr#g' \
   -e 's#@LIBDIR@#/usr/lib#g' \
   -e 's#@INCDIR@#/usr/include#g' \
   -e 's#@VERSION@#3.1.5#g' \
> libdlm_lt.pc
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:934:5: error: conflicting types for ‘dlm_lock’
/usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1058:5: error: conflicting types for ‘dlm_unlock’
/usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1337:16: error: conflicting types for ‘dlm_new_lockspace’
/usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1379:5: error: conflicting types for ‘dlm_release_lockspace’
/usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here
In file included from /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:21:0:
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’
/usr/include/sys/select.h:76:5: note: previous declaration of ‘fd_set’ was here
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’
/usr/include/sys/types.h:61:17: note: previous declaration of ‘dev_t’ was here
/usr/src/linux/include/linux/types.h:17:26: error: conflicting types for ‘mode_t’
/usr/include/sys/types.h:71:18: note: previous declaration of ‘mode_t’ was here
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’
/usr/include/time.h:104:19: note: previous declaration of ‘timer_t’ was here
/usr/src/linux/include/linux/types.h:36:24: error: conflicting types for ‘uintptr_t’
/usr/include/stdint.h:129:23: note: previous declaration of ‘uintptr_t’ was here
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’
/usr/include/sys/types.h:236:20: note: previous declaration of ‘blkcnt_t’ was here
In file included from /var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:24:0:
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:69:12: error: conflicting types for ‘dlm_lock’
/usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:80:12: error: conflicting types for ‘dlm_unlock’
/usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:131:12: error: conflicting types for ‘dlm_release_lockspace’
/usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.h:136:23: error: conflicting types for ‘dlm_new_lockspace’
/usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here
make: *** [libdlm.o] Error 1
make: *** Waiting for unfinished jobs....
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:934:5: error: conflicting types for ‘dlm_lock’
/usr/src/linux/include/linux/dlm.h:135:5: note: previous declaration of ‘dlm_lock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1058:5: error: conflicting types for ‘dlm_unlock’
/usr/src/linux/include/linux/dlm.h:166:5: note: previous declaration of ‘dlm_unlock’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1337:16: error: conflicting types for ‘dlm_new_lockspace’
/usr/src/linux/include/linux/dlm.h:85:5: note: previous declaration of ‘dlm_new_lockspace’ was here
/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm/libdlm/libdlm.c:1379:5: error: conflicting types for ‘dlm_release_lockspace’
/usr/src/linux/include/linux/dlm.h:96:5: note: previous declaration of ‘dlm_release_lockspace’ was here
make: *** [libdlm_lt.o] Error 1
make: *** wait: No child processes.  Stop.
 * ERROR: sys-cluster/libdlm-3.1.5 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-cluster/libdlm-3.1.5'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/libdlm-3.1.5'`.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/libdlm-3.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/libdlm-3.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm'
 * S: '/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm'

>>> Failed to emerge sys-cluster/libdlm-3.1.5, Log file:

>>>  '/var/tmp/portage/sys-cluster/libdlm-3.1.5/temp/build.log'

 * Messages for package sys-cluster/libdlm-3.1.5:

 * ERROR: sys-cluster/libdlm-3.1.5 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-cluster/libdlm-3.1.5'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/libdlm-3.1.5'`.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/libdlm-3.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/libdlm-3.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm'
 * S: '/var/tmp/portage/sys-cluster/libdlm-3.1.5/work/cluster-3.1.5/dlm'


Emerge Info if this helps
Code:
# emerge --info '=sys-cluster/libdlm-3.1.5'
Portage 2.1.11.31 (default/linux/x86/13.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.2.0-37-generic-pae i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.0-37-generic-pae-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.1
Timestamp of tree: Wed, 27 Feb 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow a52 aac acl acpi alsa apm atm bash-completion berkdb bindist blas bluetooth branding bzip2 caps cdda cdr cli consolekit cracklib crypt css ctype cups cxx dbi dbus dga dri dts dvd dvdr emboss encode exif expat fam ffmpeg fftw firefox flac fortran ftp gd gdbm gif gpm gsl gzip iconv ipv6 jpeg jpeg2k lame lcms ldap libnotify lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg mpi mpi-threads mudflap mysql ncurses nls nptl odbc ogg openal opencl opengl openmp oracle pam pango pcre pdf perl php png policykit posix postscript ppds python qt3support qt4 quicktime raw readline ruby sdl session smp sndfile snmp sockets speex spell sse sse2 ssl startup-notification svg svga tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vcd vorbis wavpack win32codecs wmf wxwidgets x264 x86 xcb xml xmlrpc xmp xmpp xpm xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Thanks in advance :)


Last edited by machspeed on Sun Aug 18, 2013 3:05 am; edited 1 time in total
Back to top
View user's profile Send private message
tczaude
n00b
n00b


Joined: 26 Oct 2012
Posts: 45

PostPosted: Fri May 24, 2013 9:53 pm    Post subject: Reply with quote

Hi do You resolve this problem i have this same with this package

BestRegards
Back to top
View user's profile Send private message
machspeed
n00b
n00b


Joined: 21 Aug 2012
Posts: 11

PostPosted: Sat May 25, 2013 3:31 pm    Post subject: Reply with quote

Hi no I have not resolved this problem. It's why I posted here because I tried various different options but none worked so I have no idea if I was even trying the right things. No one has been able to help even try and trouble shoot or point in the right direction.
Back to top
View user's profile Send private message
tczaude
n00b
n00b


Joined: 26 Oct 2012
Posts: 45

PostPosted: Sat May 25, 2013 8:11 pm    Post subject: Reply with quote

hej on funtoo forum overkill give me this link
https://bugs.gentoo.org/show_bug.cgi?id=455418
on one machine i worked
i try on another computer
i use this method
echo 'KERNEL_DIR="/usr/src/linux2"' > /etc/portage/env/sys-cluster/libdlm
Back to top
View user's profile Send private message
machspeed
n00b
n00b


Joined: 21 Aug 2012
Posts: 11

PostPosted: Sun Aug 18, 2013 3:04 am    Post subject: Reply with quote

Hi tczaude

Apologies it's taken a while to get back to this, other priorities. I used the method you suggested and it worked.

Thanks :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum