Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93663 - LVM2 compilation failed, error: conflicting types for `list_empty'
Summary: LVM2 compilation failed, error: conflicting types for `list_empty'
Status: RESOLVED DUPLICATE of bug 90455
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-23 04:03 UTC by stephane
Modified: 2005-05-23 05:57 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 stephane 2005-05-23 04:03:15 UTC
trying to emerge the sys-fs/lvm2-2.01.09 ebuild the compilation stops with error :

!!! ERROR: sys-fs/lvm2-2.01.09 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1. emerge lvm2

Actual Results:  
i686-pc-linux-gnu-gcc -c -I. -I../include -pipe -O2 -s -march=pentium3
-fomit-frame-pointer -pipe -O2 -s -march=pentium3 -fomit-frame-pointer
-DLVM1_INTERNAL -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL
-DMIRRORED_INTERNAL -DREADLINE_SUPPORT -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT
-DHAVE_LIBDL -DHAVE_GETOPTLONG -DHAVE_RL_COMPLETION_MATCHES -fPIC -Wall -Wundef
-Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -O2 -pipe -O2 -s
-march=pentium3 -fomit-frame-pointer -DLVM1_INTERNAL -DPOOL_INTERNAL
-DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL
-DREADLINE_SUPPORT -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL
-DHAVE_GETOPTLONG -DHAVE_RL_COMPLETION_MATCHES -fPIC -Wall -Wundef -Wshadow
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -O2 device/dev-io.c -o device/dev-io.o
In file included from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from device/dev-io.c:34:
/usr/include/linux/list.h:44: error: conflicting types for `list_empty'
../include/list.h:61: error: previous declaration of `list_empty'
make[1]: *** [device/dev-io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/lvm2-2.01.09/work/LVM2.2.01.09/lib'
make: *** [lib] Error 2


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1,2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 18:49:23)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -s -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -s -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.du.se/pub/os/gentoo http://mirror.datapipe.net/gentoo
http://128.213.5.34/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/
http://gentoo.inode.at/"
LANG="en_IE.iso885915@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://argus.fdi/gentoo-portage"
USE="x86 acl alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode
foomaticdb fortran gd gdbm gif gpm imlib jpeg libg++ libwww mad mikmod motif mp3
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang snmp spell ssl svga tcpd truetype truetype-fonts type1-fonts
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-05-23 05:57:13 UTC

*** This bug has been marked as a duplicate of 90455 ***