Bug 57946 - Emerge libgii failes, with conflicting types, eg. dev_t
|
Bug#:
57946
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: plasmaroo@gentoo.org
|
Reported By: leo.laursen@gmail.com
|
|
Component: Library
|
|
|
URL:
|
|
Summary: Emerge libgii failes, with conflicting types, eg. dev_t
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-07-22 03:17 0000
|
make[3]: Entering directory
`/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input/linux_kbd'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -march=pentium3 -O3 -pipe -fomit-frame-pointer
-D_REENTRANT -D_THREAD_SAFE -g -Wall -c input.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -march=pentium3 -O3 -pipe -fomit-frame-pointer
-D_REENTRANT -D_THREAD_SAFE -g -Wall -c linkey.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include
-march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g
-Wall -c linkey.c -fPIC -DPIC -o linkey.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include
-march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g
-Wall -c input.c -fPIC -DPIC -o input.lo
In file included from /usr/include/stdlib.h:417,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:24: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:30: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:33: error: previous declaration of 'nlink_t' was
here
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:416,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/time.h:104: error: conflicting types for 'timer_t'
/usr/include/linux/types.h:42: error: previous declaration of 'timer_t' was
here
In file included from /usr/include/sys/types.h:216,
from /usr/include/stdlib.h:416,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:21: error: previous declaration of 'fd_set' was here
make[3]: *** [linkey.lo] Fejl 1
make[3]: *** Venter p
make[3]: Entering directory
`/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input/linux_kbd'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -march=pentium3 -O3 -pipe -fomit-frame-pointer
-D_REENTRANT -D_THREAD_SAFE -g -Wall -c input.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -march=pentium3 -O3 -pipe -fomit-frame-pointer
-D_REENTRANT -D_THREAD_SAFE -g -Wall -c linkey.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include
-march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g
-Wall -c linkey.c -fPIC -DPIC -o linkey.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include
-march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g
-Wall -c input.c -fPIC -DPIC -o input.lo
In file included from /usr/include/stdlib.h:417,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:24: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:30: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:33: error: previous declaration of 'nlink_t' was
here
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:416,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/time.h:104: error: conflicting types for 'timer_t'
/usr/include/linux/types.h:42: error: previous declaration of 'timer_t' was
here
In file included from /usr/include/sys/types.h:216,
from /usr/include/stdlib.h:416,
from ../../include/ggi/system.h:12,
from ../../include/ggi/internal/gii.h:35,
from ../../include/ggi/internal/gii-dl.h:32,
from linkey.h:29,
from linkey.c:28:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:21: error: previous declaration of 'fd_set' was here
make[3]: *** [linkey.lo] Fejl 1
make[3]: *** Venter pƄafsluttede job....
make[3]: Leaving directory
`/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input/linux_kbd'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory
`/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1'
make: *** [all-recursive-am] Fejl 2
!!! ERROR: media-libs/libgii-0.8.1 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Pentium III (Katmai)
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm avi berkdb bonobo crypt cscope cups directfb doc encode
esd fbcon foomaticdb gd gdbm ggi gif gimpprint gnome gpm gtk gtk2 gtkhtml imlib
imlib2 ipv6 java jikes jpeg libg++ libgda libwww linguas_da linguas_en mad
maildir mcal mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl
oss
pam pdflib perl png postgres python quicktime readline ruby sdl slang spell sse
ssl tcltk tcpd tiff truetype unicode usb vim-with-x x86 xml2 xmms xv zlib"
Created an attachment (id=35980) [details]
Ebuild of libgii-0.8.5
sed command #1 includes "sys/types.h" as the first, to ensure that it is
included before "linux/types.h"
sed commamd #2 removes some case entries, since they fall through to default
anyway.
Should probably have been a patch; but it is late here.
Anyway it compiles (and libggi-2.0.5)
Can you repost the ebuild as text please?
*** Bug 59581 has been marked as a duplicate of this bug. ***
Fixed in CVS; it should reach the Portage tree within an hour. Please tell me
if you still have any problems with compiling libgii. Thanks!