Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64287 - compile error for mythtv-0.16 : Internal error: Terminated (program cc1plus)
Summary: compile error for mythtv-0.16 : Internal error: Terminated (program cc1plus)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 09:36 UTC by William Ottley
Modified: 2004-09-19 07:41 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 William Ottley 2004-09-16 09:36:58 UTC
I did a ACCEPT_KEYWORDS=~x86 emerge -a mythtv
and when it compiles, I eventually get the crash.
(what am I doing wrong? what should I check for?)

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge -a mythtv
2.
3.

Actual Results:  
g++ -c -pipe `artsc-config --cflags` -Wall -W -O2 -mcpu=i686 -fomit-frame-pointe
r `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BI
TS=64 -DPREFIX=\"/usr\" -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_OP
ENGL_VSYNC -DUSING_XRANDR -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt
/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I../libmyth -I.. -
Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/in
clude -o scheduledrecording.o scheduledrecording.cpp
^[OQ^[^[1g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:17255: Warning: end of file not at end of a line; newline inser ted
{standard input}:17671: Error: unbalanced parenthesis in operand 1.
make: *** [scheduledrecording.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libm
ythtv'

!!! ERROR: media-tv/mythtv-0.16 failed.
!!! Function src_compile, Line 160, Exitcode 2
!!! (no error message)

Expected Results:  
It should have compiled and installed.

I'm at the office, so I can do more when I get home.
Comment 1 Andreas Kobara 2004-09-16 14:36:53 UTC
Please post an: emerge info
Comment 2 William Ottley 2004-09-16 16:11:37 UTC
pvr root # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r4)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Celeron(R)
CPU 2.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
/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/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo
/etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://adelie.polymtl.ca/
ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://gentoo.risq.qc.ca/ ftp://gentoo.agsn.ca/
http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt
cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2
imlib jpeg kde libg++ libwww mad mikmod motif mozilla
mpeg mysql ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang
spell ssl svga tcpd truetype x86 xml2 xmms xprint xv
zlib"

Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2004-09-16 18:39:05 UTC
first... to make the accept keyword stick... edit /etc/portage/package.keywords
add in there "media-tv/mythtv ~x86" without the quotes...

secondly, can you try the ~x86 version of gcc and report this back?

it looks like a hardware issue or possibly out of memory problems... check dmesg for any issues like the compiler process getting killed.
Comment 4 William Ottley 2004-09-16 19:11:18 UTC
Thanks for the help. I'll do the first 2 things, and report back.
(how do I know what I have for gcc?)

With regards to hard ware: Nothings wrong with it.
P4 Celeron 2.7G, with 256M Ram.
Had it working in windows approx. 3 months before hand, everything worked fine.
Had it in knoppixmythtv distro, working fine... well, except audio.
Now I'm trying gentoo.
Thanks for the feedback. will report back soon.
Comment 5 Andreas Kobara 2004-09-17 16:53:41 UTC
You can also reduce the number of compilejobs to save memory
in /etc/make.conf MAKEOPTS="-j1"

Further you can temporary increase your swapspace in case you lack much memory.

dd if=/dev/zero of=/additional-swap bs=1024 count=256000
mkswap /additional-swap
swapon /additional-swap

Comment 6 William Ottley 2004-09-19 07:41:01 UTC
Thank you for your help.
The first 2 suggestions, still didn't work
I did the last suggestion, and increased my swapspace, and changed the "jobs",
and it complied fine! Thanks for your help!
Will