Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78750 - openmotif 2.1.30-r6 doesn't compile with linux26-headers 2.6.8.1-r3
Summary: openmotif 2.1.30-r6 doesn't compile with linux26-headers 2.6.8.1-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 16:53 UTC by Joerg Plate
Modified: 2005-01-26 21:38 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 Joerg Plate 2005-01-19 16:53:23 UTC
(the linux26-headers problem is just a guess)

Reproducible: Always
Steps to Reproduce:
1. emerge openmotif

Actual Results:  
gcc -O2 -march=athlon64 -pipe -fPIC -I/usr/include/gentoo-multilib/amd64  
-I../../include -I../../imports/x11/include/X11  -I../.. -I../../exp
orts/include -I../../imports/x11/include  -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE
=500L                           -D_BSD_SOURCE -D_SVID_SOURCE
-DNO_MESSAGE_CATALOG  -DFUNCPROTO=15 -DNARROWPROTO    -DCPP_PROGRAM="\"/lib/cpp\""
   -c -o imake.o imake.c
In file included from /usr/include/bits/stdio.h:7,
                 from /usr/include/../include.x86/stdio.h:830,
                 from /usr/include/stdio.h:3,
                 from imake.c:154:
/usr/include/bits/../../include.amd64/bits/stdio.h:35: error: redefinition of
'vprintf'
/usr/include/bits/../../include.amd64/bits/stdio.h:35: error: redefinition of
'vprintf'
/usr/include/bits/../../include.amd64/bits/stdio.h:42: error: redefinition of
'getchar'
/usr/include/bits/../../include.x86/bits/stdio.h:42: error: previous definition
of 'getchar' was here
/usr/include/bits/../../include.amd64/bits/stdio.h:42: error: redefinition of
'getchar'
/usr/include/bits/../../include.x86/bits/stdio.h:42: error: previous definition
of 'getchar' was here
/usr/include/bits/../../include.amd64/bits/stdio.h:51: error: redefinition of
'getc_unlocked'
/usr/include/bits/../../include.x86/bits/stdio.h:51: error: previous definition
of 'getc_unlocked' was here
/usr/include/bits/../../include.amd64/bits/stdio.h:51: error: redefinition of
'getc_unlocked'
[..]
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2005-01-24 13:26:51 UTC
i am not quite sure if this is the same problem, but i also cannot get this package to compile on i686. maybe this shouldn't be assigned to amd64?

i also have linux26-headers

make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/tools/wml'
cleaning in ./clients...
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
cleaning in clients/mwm...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/mwm'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/mwm'
cleaning in clients/uil...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/uil'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/uil'
cleaning in clients/xmbind...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/xmbind'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients/xmbind'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/clients'
cleaning in ./bitmaps...
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/bitmaps'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/bitmaps'
cleaning in ./bindings...
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/bindings'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/bindings'
cleaning in ./doc/man...
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
cleaning in doc/man/man1...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man1'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man1'
cleaning in doc/man/man3...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man3'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man3'
cleaning in doc/man/man4...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man4'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man4'
cleaning in doc/man/man5...
make[3]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man5'
make[3]: *** No rule to make target `clean'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man/man5'
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif/doc/man'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r6/work/motif'
make: *** [World] Error 2

!!! ERROR: x11-libs/openmotif-2.1.30-r6 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 10 2005, 05:32:54)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9, 1.9.4, 1.5, 1.8.5-r2, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dba doc dvd encode esd f77 fam flac fluxbox font-server foomaticdb fortran ftp gd gd-external gdbm gif gpm gtk gtk2 icq imagemagick imap imlib java jikes jpeg junit libg++ libwww mad mbox mikmod mmx mmx2 motif mozilla mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl pam pcmcia pdflib perl php png posix postgres python qt quicktime readline samba scanner sdl slang snmp spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vim xml2 xmms xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-26 21:38:18 UTC
I fixed this a while back...