<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>57946</bug_id>
          
          <creation_ts>2004-07-22 03:17 0000</creation_ts>
          <short_desc>Emerge libgii failes, with conflicting types, eg. dev_t</short_desc>
          <delta_ts>2004-08-08 06:04:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>leo.laursen@gmail.com</reporter>
          <assigned_to>plasmaroo@gentoo.org</assigned_to>
          <cc>a.sappia@ngi.it</cc>
    
    <cc>chriswhite@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2004-07-22 03:17:36 0000</bug_when>
            <thetext>make[3]: Entering directory `/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input/linux_kbd&apos;
/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 &apos;dev_t&apos;
/usr/include/linux/types.h:24: error: previous declaration of &apos;dev_t&apos; was here
/usr/include/sys/types.h:72: error: conflicting types for &apos;mode_t&apos;
/usr/include/linux/types.h:30: error: previous declaration of &apos;mode_t&apos; was here
/usr/include/sys/types.h:77: error: conflicting types for &apos;nlink_t&apos;
/usr/include/linux/types.h:33: error: previous declaration of &apos;nlink_t&apos; 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 &apos;timer_t&apos;
/usr/include/linux/types.h:42: error: previous declaration of &apos;timer_t&apos; 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 &apos;fd_set&apos;
/usr/include/linux/types.h:21: error: previous declaration of &apos;fd_set&apos; was here
make[3]: *** [linkey.lo] Fejl 1
make[3]: *** Venter p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2004-07-22 03:17:36 0000</bug_when>
            <thetext>make[3]: Entering directory `/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input/linux_kbd&apos;
/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 &apos;dev_t&apos;
/usr/include/linux/types.h:24: error: previous declaration of &apos;dev_t&apos; was here
/usr/include/sys/types.h:72: error: conflicting types for &apos;mode_t&apos;
/usr/include/linux/types.h:30: error: previous declaration of &apos;mode_t&apos; was here
/usr/include/sys/types.h:77: error: conflicting types for &apos;nlink_t&apos;
/usr/include/linux/types.h:33: error: previous declaration of &apos;nlink_t&apos; 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 &apos;timer_t&apos;
/usr/include/linux/types.h:42: error: previous declaration of &apos;timer_t&apos; 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 &apos;fd_set&apos;
/usr/include/linux/types.h:21: error: previous declaration of &apos;fd_set&apos; 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&apos;
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1/input&apos;
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.8.1/work/libgii-0.8.1&apos;
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium3 -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium3 -O3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2004-07-22 18:00:24 0000</bug_when>
            <thetext>Created an attachment (id=35980)
Ebuild of libgii-0.8.5

sed command #1 includes &quot;sys/types.h&quot; as the first, to ensure that it is
included before &quot;linux/types.h&quot;
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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chriswhite@gentoo.org</who>
            <bug_when>2004-07-22 18:09:59 0000</bug_when>
            <thetext>Can you repost the ebuild as text please?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-08-07 02:55:46 0000</bug_when>
            <thetext>*** Bug 59581 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-08-08 06:04:44 0000</bug_when>
            <thetext>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!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>35980</attachid>
            <date>2004-07-22 18:00 0000</date>
            <desc>Ebuild of libgii-0.8.5</desc>
            <filename>libgii-0.8.5.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L21lZGlhLWxpYnMvbGliZ2lpL2xpYmdpaS0wLjgu
NS5lYnVpbGQsdiAxLjE3IDIwMDQvMDcvMTQgMjA6MDg6MjggYWdyaWZmaXMgRXhwICQKCmluaGVy
aXQgZXV0aWxzCgpJVVNFPSJYIgoKREVTQ1JJUFRJT049IkZhc3QgYW5kIHNhZmUgZ3JhcGhpY3Mg
YW5kIGRyaXZlcnMgZm9yIGFib3V0IGFueSBncmFwaGljcyBjYXJkIHRvIHRoZSBMaW51eCBrZXJu
ZWwgKHNvbWV0aW1lcykiClNSQ19VUkk9Imh0dHA6Ly93d3cuZ2dpLXByb2plY3Qub3JnL2Z0cC9n
Z2kvdjIuMC8ke1B9LnNyYy50YXIuYnoyIgpIT01FUEFHRT0iaHR0cDovL3d3dy5nZ2ktcHJvamVj
dC5vcmcvIgoKU0xPVD0iMCIKTElDRU5TRT0iTEdQTC0yIgpLRVlXT1JEUz0ieDg2IHBwYyBzcGFy
YyBhbHBoYSBocHBhIGFtZDY0IGlhNjQiCgpERVBFTkQ9Ilg/ICggdmlydHVhbC94MTEgKSIKCnNy
Y19jb21waWxlKCkgewoKCWxvY2FsIG15Y29uZgoKCXVzZSBYIHx8IG15Y29uZj0iLS13aXRob3V0
LXggLS1kaXNhYmxlLXggLS1kaXNhYmxlLXh3aW4iCgoJZXBhdGNoICR7RklMRVNESVJ9L2xpYmdp
aS1saW51eC1oZWFkZXJzLTIuNi5wYXRjaAoJc2VkIC1pIC1lICcyN2kgI2luY2x1ZGUgPHN5cy90
eXBlcy5oPicgL3Zhci90bXAvcG9ydGFnZS9saWJnaWktMC44LjUvd29yay9saWJnaWktMC44LjUv
aW5wdXQvbGludXhfa2JkL2xpbmtleS5jCglzZWQgLWkgLWUgJzIxNCwyNDBkJyAgL3Zhci90bXAv
cG9ydGFnZS9saWJnaWktMC44LjUvd29yay9saWJnaWktMC44LjUvaW5wdXQvbGludXhfZXZkZXYv
ZXZlbnRwYXJzZS5jCgkjbXljb25mPSIke215Y29uZn0gLS1kaXNhYmxlLWxpbnV4LWtiZCAtLWRp
c2FibGUtbGludXgtZXZkZXYiCgllY29uZiAke215Y29uZn0gfHwgZGllCgllbWFrZSB8fCBkaWUK
Cn0KCnNyY19pbnN0YWxsICgpIHsKCgltYWtlIERFU1RESVI9JHtEfSBpbnN0YWxsIHx8IGRpZQoK
CWNkICR7RH0vdXNyL3NoYXJlL21hbi9tYW4zCglmb3IgaSBpbiAqLjNnaWkKCWRvCgkJbXYgJHtp
fSAke2klLjNnaWl9LjMKCWRvbmUKCgljZCAke1N9Cglkb2RvYyBDaGFuZ2VMb2cqIEZBUSBORVdT
IFJFQURNRQoJZG9jaW50byB0eHQKCWRvZG9jIGRvYy8qLnR4dAoJZG9jaW50byBkb2Nib29rCglk
b2RvYyBkb2MvZG9jYm9vay8qLnNnbWwKCn0K
</data>        

          </attachment>
    </bug>

</bugzilla>