Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62459 - kdeedu 3.3.0 doesn't compile on ppc
Summary: kdeedu 3.3.0 doesn't compile on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-31 18:31 UTC by François Bissey
Modified: 2004-09-02 10:53 UTC (History)
2 users (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 François Bissey 2004-08-31 18:31:33 UTC
During the emerging of kde3.3.0 on linuxppc the compilation failed on kdeedu.
Here is the error message:
make[5]: Entering directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0/kstars/kstars/indi/webcam'
echo > empty_file.cpp
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../..   -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=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing -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 PPort.lo PPort.cpp
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../..   -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=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing -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 port.lo port.cpp
port.cpp:44:22: sys/io.h: No such file or directory
In file included from port.cpp:62:
port.h:39:22: sys/io.h: No such file or directory
In file included from port.cpp:62:
port.h: In member function `int port_t::read_data()':
port.h:84: error: `inb' undeclared (first use this function)
port.h:84: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
port.h: In member function `int port_t::read_status()':
port.h:85: error: `inb' undeclared (first use this function)
port.h: In member function `int port_t::read_control()':
port.h:86: error: `inb' undeclared (first use this function)
port.h: In member function `void port_t::write_data(int)':
port.h:94: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::write_control(int)':
port.h:95: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::setbit_control(int)':
port.h:96: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::clearbit_control(int)':
port.h:97: error: `outb' undeclared (first use this function)
make[5]: *** [port.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from PPort.cpp:2:
port.h:39:22: sys/io.h: No such file or directory
In file included from PPort.cpp:2:
port.h: In member function `int port_t::read_data()':
port.h:84: error: `inb' undeclared (first use this function)
port.h:84: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
port.h: In member function `int port_t::read_status()':
port.h:85: error: `inb' undeclared (first use this function)
port.h: In member function `int port_t::read_control()':
port.h:86: error: `inb' undeclared (first use this function)
port.h: In member function `void port_t::write_data(int)':
port.h:94: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::write_control(int)':
port.h:95: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::setbit_control(int)':
port.h:96: error: `outb' undeclared (first use this function)
port.h: In member function `void port_t::clearbit_control(int)':
port.h:97: error: `outb' undeclared (first use this function)
make[5]: *** [PPort.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0/kstars/kstars/indi/webcam'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0/kstars/kstars/indi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0/kstars/kstars'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0/kstars'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.3.0/work/kdeedu-3.3.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeedu-3.3.0 failed.
!!! Function kde_src_compile, Line 131, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1.emerge kde
2.
3.

Actual Results:  
compilation died on kdeedu

Expected Results:  
emerge succesfully

Portage 2.0.50-r10 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.4.26-ppc)
=================================================================
System uname: 2.4.26-ppc ppc 7450, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts berkdb cdf cdr cups dvd dvdr esd fbcon flac foomaticdb
gdbm gif gpm gtk2 imlib jpeg kde libwww mitshm motif mozilla ncurses netcdf nls
oggvorbis opengl oss pam pdflib perl png ppc ppds python qt readline samba sdl
sheep slang ssl szip tcpd tetex tiff truetype xml xml2 xmms xv zlib"
Comment 1 Jason Wever (RETIRED) gentoo-dev 2004-08-31 18:51:11 UTC
This issue was fixed in KDE bug 88100 <http://bugs.kde.org/show_bug.cgi?id=88100>.  It effects multiple architectures, but the patch as of right now only is applied to sparc.

PPC Devs, you should be able to apply it as well.
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-02 04:14:19 UTC
fixed in cvs
Comment 3 Michael Kiermaier 2004-09-02 10:53:40 UTC
I had the same problem.

Now I get:
>>> emerge (4 of 6) kde-base/kdeedu-3.3.0 to /
>>> md5 src_uri ;-) kdeedu-3.3.0.tar.bz2
>>> Unpacking source...
ppc
 * Applying kdeedu-3.3.0-sparc.patch...

 * Failed Patch: kdeedu-3.3.0-sparc.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/kdeedu-3.3.0/temp/kdeedu-3.3.0-sparc.patch-9867.out


!!! ERROR: kde-base/kdeedu-3.3.0 failed.
!!! Function epatch, Line 362, Exitcode 0
!!! Failed Patch: kdeedu-3.3.0-sparc.patch!


# cat /var/tmp/portage/kdeedu-3.3.0/temp/kdeedu-3.3.0-sparc.patch-9867.out
***** kdeedu-3.3.0-sparc.patch *****

====================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch

====================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.h    2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.h    2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch

====================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.h    2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.h    2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch

====================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.h    2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.h    2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch

====================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.h    2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.h    2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/kde-base/kdeedu/files/kdeedu-3.3.0-sparc.patch

====================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.cpp,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.cpp  2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Use of tainted arguments in exec is deprecated at /var/www/cgi-bin/cvsweb.cgi line 2043.
|===================================================================
|RCS file: /home2/webcvs/mirror/kdeedu/kstars/kstars/indi/webcam/port.h,v
|retrieving revision 1.3
|retrieving revision 1.3.2.1
|diff -u -p -r1.3 -r1.3.2.1
|--- kdeedu/kstars/kstars/indi/webcam/port.h    2004/07/06 21:19:01     1.3
|+++ kdeedu/kstars/kstars/indi/webcam/port.h    2004/08/27 19:33:34     1.3.2.1
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored


# emerge info
Portage 2.0.50-r10 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8)
=================================================================
System uname: 2.6.8 ppc 750FX
Gentoo Base System version 1.5.3
distcc 2.17 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts audiofile berkdb blas bzlib caps cdparanoia crypt cups dba doc dvd encode f77 flac foomaticdb gcj gdbm gif gnome-libs gphoto2 gpm gtk2 guile icq imlib innodb jack jack-tmpfs java jpeg kde ladcca lcms libwww mad maildir mitshm monkey motif mozilla mpeg mysql ncurses nls objc offensive oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sasl sdl slang speex spell ssl tcltk tcpd tetex theora tiff truetype usb video_cards_radeon wmf xine xml xml2 xmms xv xvid zlib"


Hardware: iBook G3 800 MHz