Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90659 - kdebluetooth-0.99_beta1-r1 does not compile
Summary: kdebluetooth-0.99_beta1-r1 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 14:05 UTC by Petric Frank
Modified: 2005-08-22 01:17 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 Petric Frank 2005-04-27 14:05:22 UTC
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/include/openobex -I/usr/include  -DQT_THREAD_SUPPORT -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o deviceaddress.lo deviceaddress.cpp
In file included from deviceaddress.h:15,
                 from deviceaddress.cpp:12:
/usr/include/bluetooth/bluetooth.h:134: error: `FILE' was not declared in this
   scope
/usr/include/bluetooth/bluetooth.h:134: error: `stream' was not declared in
   this scope
/usr/include/bluetooth/bluetooth.h:134: error: parse error before `char'
make[3]: *** [deviceaddress.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1/kdebluetooth/libkbluetooth'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1/kdebluetooth'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1'
make: *** [all] Fehler 2

Reproducible: Always
Steps to Reproduce:
1.unmask kdebluetooth (~x86)
2.emerge kdebluetooth
3.
Actual Results:  
Compilation fails. 

Expected Results:  
Compilation works well 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1400MHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 
19:58:56)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.11 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -mcpu=pentium4 -pipe -funroll-loops" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ 
ftp://ftp.rxd.hu" 
LANG="de_DE@euro" 
LINGUAS="de en" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt 
cups curl dga directfb distccdvd dvdr emboss encode esd fam fbcon flac flash 
foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 
java jpeg junit kde lcms libg++ libwww mad maildir mbox mikmod mmx motif 
mozilla mp3 mpeg mysql ncurses nls nptl odbc ogg oggvorbis opengl oss pam 
pcmcia pdflib perl png pnp ppds python qt quicktime readline sdl slang slp 
spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb 
vhosts vorbis wmf xml xml2 xmms xv zlib video_cards_i810 linguas_de linguas_en" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Manuel Bernhardt 2005-04-30 02:54:01 UTC
The same problem too:

URCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -m3dnow -msse -mfpmath=sse -mmmx -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o sdpattribute.lo sdpattribute.cpp
In file included from deviceaddress.h:15,
                 from deviceaddress.cpp:12:
/usr/include/bluetooth/bluetooth.h:134: error: `FILE' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:134: error: `stream' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:134: error: expected primary-expression before "const"
/usr/include/bluetooth/bluetooth.h:134: error: expected primary-expression before '...' token
/usr/include/bluetooth/bluetooth.h:134: error: initializer expression list treated as compound expression
make[3]: *** [deviceaddress.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1/kdebluetooth/libkbluetooth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1/kdebluetooth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.99_beta1-r1/work/kdebluetooth-0.99-beta1'
make: *** [all] Error 2

!!! ERROR: net-wireless/kdebluetooth-0.99_beta1-r1 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

----------------------------------------

Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mfpmath=sse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mfpmath=sse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.prodigy7.priv/portage"
USE="3dnow X acpi alsa apm arts avi berkdb bitmap-fonts bluetooth cdr crypt cups curl dbus dts dvd dvdr dvdread emboss encode fam fbcon foomaticdb fortran gdbm gif gnokii gpm gstreamer gtk gtk2 ieee1394 imlib jpeg kde libg++ libwww lm_sensors logitech-mouse mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime rdesktop readline rtc samba sdl speex spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts vcd vorbis x86 xinerama xml2 xmms xscreensaver xv zlib linguas_de"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2005-06-12 04:00:12 UTC
I'm not sure how this can happen, FILE is usually defined in stdio.h which is
included in bluetooth.h...
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-22 01:17:48 UTC
I assume this does not happen in 1.0_beta1. Please reopen if it does.