Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Emerge works, some times......{solved}

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
67comet
Apprentice
Apprentice
User avatar
Posts: 262
Joined: Fri Oct 29, 2004 9:48 pm
Location: Ogden, UT
Contact:
Contact 67comet
Website

Emerge works, some times......{solved}

  • Quote

Post by 67comet » Mon Jul 03, 2006 11:07 pm

I'm at a total loss. I've been trying to emerge too much to mention and most things just error out. I re-emerged my toolkit (chain) (emerge -e system) and this is a squeeky clean install so there shouldn't be any funny stuff on here yet. I'm running gcc-4.1, I do have a package.keywords file that's got most stuff I use daily on it (Unless it gets too unstable, then I revert back to stable). Distcc is turned off currently (thought that might be contributing to the errors). I also tried this with ccache off, but the errors didn't change.

The errors it's handing me are either too generic or I'm just not getting it...

Here is my info:

Code: Select all

Justins_Damn_Computer justin # emerge --info
Portage 2.1.1_pre2-r1 (default-linux/x86/no-nptl, gcc-4.1.0/vanilla, glibc-2.3.6-r4, 2.6.17-ck1 i686)
=================================================================
System uname: 2.6.17-ck1 i686 Intel(R) Celeron(R) CPU 2.80GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/shared/LinuxApps/Portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://distfiles.gentoo.org"
MAKEOPTS="-j6"
PKGDIR="/shared/LinuxApps/Portage/binfiles/justins"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/shared/LinuxApps/Portage/overlays /shared/LinuxApps/Portage/xgl-coffee"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X aiptek alsa apm arts avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dlloader dri dvdr eds emboss encode firefox flac foomaticdb fortran gdbm gecko-sdk gif gimp gimp-print glitz gnome goastscript gpm gstreamer gtk gtk2 hal howl imlib isdnlog java javascript joystick jpeg kde libg++ libwww mad mikmod mp3 mpeg ncurses nls nsplugin nvidia ogg oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tidy truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
All the things that fail go for a while (about 3-4 minutes) then error out. Here is an example of openexr erroring out.

Code: Select all

./Image.h: In member function 'virtual Imf::Slice TypedImageChannel<T>::slice() const':
./Image.h:186: error: there are no arguments to 'image' that depend on a template parameter, so a declaration of 'image' must be available
./Image.h:186: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[1]: *** [Image.o] Error 1
make[1]: *** Waiting for unfinished jobs....
makeTiled.cpp: In function 'void<unnamed>::reduceX(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation&, bool) [with T = half]':
makeTiled.cpp:384:   instantiated from here
makeTiled.cpp:266: error: 'const class TypedImageChannel<half>' has no member named 'image'makeTiled.cpp:267: error: 'class TypedImageChannel<half>' has no member named 'image'
makeTiled.cpp:268: error: 'class TypedImageChannel<half>' has no member named 'image'
makeTiled.cpp: In function 'void<unnamed>::reduceX(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation&, bool) [with T = float]':
makeTiled.cpp:391:   instantiated from here
makeTiled.cpp:266: error: 'const class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp:267: error: 'class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp:268: error: 'class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp: In function 'void<unnamed>::reduceX(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation&, bool) [with T = unsigned int]':
makeTiled.cpp:398:   instantiated from here
makeTiled.cpp:266: error: 'const class TypedImageChannel<unsigned int>' has no member named 'image'
makeTiled.cpp:267: error: 'class TypedImageChannel<unsigned int>' has no member named 'image'
makeTiled.cpp:268: error: 'class TypedImageChannel<unsigned int>' has no member named 'image'
makeTiled.cpp: In function 'void<unnamed>::reduceY(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation, bool) [with T = half]':
makeTiled.cpp:433:   instantiated from here
makeTiled.cpp:318: error: 'class TypedImageChannel<half>' has no member named 'image'
makeTiled.cpp:319: error: 'const class TypedImageChannel<half>' has no member named 'image'makeTiled.cpp:320: error: 'class TypedImageChannel<half>' has no member named 'image'
makeTiled.cpp: In function 'void<unnamed>::reduceY(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation, bool) [with T = float]':
makeTiled.cpp:440:   instantiated from here
makeTiled.cpp:318: error: 'class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp:319: error: 'const class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp:320: error: 'class TypedImageChannel<float>' has no member named 'image'
makeTiled.cpp: In function 'void<unnamed>::reduceY(const TypedImageChannel<T>&, TypedImageChannel<T>&, bool, Extrapolation, bool) [with T = unsigned int]':
makeTiled.cpp:447:   instantiated from here
makeTiled.cpp:318: error: 'class TypedImageChannel<unsigned int>' has no member named 'image'
makeTiled.cpp:319: error: 'const class TypedImageChannel<unsigned int>' has no member named 'image'
makeTiled.cpp:320: error: 'class TypedImageChannel<unsigned int>' has no member named 'image'
make[1]: *** [makeTiled.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openexr-1.2.2/work/OpenEXR-1.2.2/exrmaketiled'make: *** [all-recursive] Error 1

!!! ERROR: media-libs/openexr-1.2.2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  openexr-1.2.2.ebuild, line 30:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
This is an example of one of the many things that fails on here. (This was a dependancy of cinepaint)

Here is an error out of a dependancy of k3b:

Code: Select all

>>> Emerging (1 of 22) media-libs/libmpeg3-1.5.2 to /
>>> Unpacking source...
>>> Unpacking libmpeg3-1.5.2-src.tar.bz2 to /var/tmp/portage/libmpeg3-1.5.2/work
>>> Unpacking libmpeg3-patches-1.tar.bz2 to /var/tmp/portage/libmpeg3-1.5.2/work
 * Applying various patches (bugfixes/updates) ...
 *   01_all_installheader.patch ...                                                  [ ok ] *   02_all_mpeg3split.patch ...                                                     [ ok ] *   03_all_pthread.patch ...                                                        [ ok ] *   04_all_largefile.patch ...                                                      [ ok ] *   05_all_proper-c.patch ...                                                       [ ok ] *   06_all_no-nasm.patch ...                                                        [ ok ] *   07_all_gentoo-multilib.patch ...                                                [ ok ] * Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/libmpeg3-1.5.2/work/libmpeg3-1.5.2 ...
gcc -c `cat i686/c_flags`  audio/ac3.c -o i686/audio/ac3.o
gcc -c `cat i686/c_flags`  audio/dct.c -o i686/audio/dct.o
gcc -c `cat i686/c_flags`  audio/huffman.c -o i686/audio/huffman.o
gcc -c `cat i686/c_flags`  audio/layer2.c -o i686/audio/layer2.o
gcc -c `cat i686/c_flags`  audio/layer3.c -o i686/audio/layer3.o
gcc -c `cat i686/c_flags`  audio/mpeg3audio.c -o i686/audio/mpeg3audio.o
audio/mpeg3audio.c: In function 'read_frame':
audio/mpeg3audio.c:217: warning: incompatible implicit declaration of built-in function 'memcpy'
audio/mpeg3audio.c: In function 'seek':
audio/mpeg3audio.c:535: warning: integer constant is too large for 'long' type
audio/mpeg3audio.c:537: warning: integer constant is too large for 'long' type
audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio':
audio/mpeg3audio.c:733: warning: incompatible implicit declaration of built-in function 'memcpy'
gcc -c `cat i686/c_flags`  audio/pcm.c -o i686/audio/pcm.o
gcc -c `cat i686/c_flags`  audio/synthesizers.c -o i686/audio/synthesizers.o
gcc -c `cat i686/c_flags`  audio/tables.c -o i686/audio/tables.o
gcc -c `cat i686/c_flags`  bitstream.c -o i686/bitstream.o
gcc -c `cat i686/c_flags`  libmpeg3.c -o i686/libmpeg3.o
gcc -c `cat i686/c_flags`  mpeg3atrack.c -o i686/mpeg3atrack.o
gcc -c `cat i686/c_flags`  mpeg3css.c -o i686/mpeg3css.o
gcc -c `cat i686/c_flags`  mpeg3demux.c -o i686/mpeg3demux.o
gcc -c `cat i686/c_flags`  mpeg3ifo.c -o i686/mpeg3ifo.o
gcc -c `cat i686/c_flags`  mpeg3io.c -o i686/mpeg3io.o
gcc -c `cat i686/c_flags`  mpeg3title.c -o i686/mpeg3title.o
mpeg3title.c: In function 'extend_timecode_table':
mpeg3title.c:85: warning: incompatible implicit declaration of built-in function 'memcpy'
gcc -c `cat i686/c_flags`  mpeg3vtrack.c -o i686/mpeg3vtrack.o
gcc -c `cat i686/c_flags`  video/getpicture.c -o i686/video/getpicture.o
gcc -c `cat i686/c_flags`  video/headers.c -o i686/video/headers.o
gcc -c `cat i686/c_flags`  video/idct.c -o i686/video/idct.o
gcc -c `cat i686/c_flags`  video/macroblocks.c -o i686/video/macroblocks.o
gcc -c `cat i686/c_flags`  video/mmxtest.c -o i686/video/mmxtest.o
gcc -c `cat i686/c_flags`  video/motion.c -o i686/video/motion.o
gcc -c `cat i686/c_flags`  video/mpeg3video.c -o i686/video/mpeg3video.o
gcc -c `cat i686/c_flags`  video/output.c -o i686/video/output.o
video/output.c:210: warning: integer constant is too large for 'long' type
video/output.c:212: warning: integer constant is too large for 'long' type
video/output.c:214: warning: integer constant is too large for 'long' type
video/output.c:301: warning: integer constant is too large for 'long' type
video/output.c:303: warning: integer constant is too large for 'long' type
video/output.c: In function 'mpeg3video_ditherframe':
video/output.c:722: error: invalid lvalue in increment
video/output.c:747: error: invalid lvalue in increment
video/output.c:787: error: invalid lvalue in increment
video/output.c:812: error: invalid lvalue in increment
make: *** [i686/video/output.o] Error 1

!!! ERROR: media-libs/libmpeg3-1.5.2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  libmpeg3-1.5.2.ebuild, line 59:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
I'm running gcc-4.1 if that helps too ..

Thank you for your attention,
Justin
Last edited by 67comet on Mon Jul 10, 2006 3:30 am, edited 1 time in total.
A Pile of Code (basically dead).
Personal Site (basically useless).
Top
hielvc
Advocate
Advocate
Posts: 2805
Joined: Fri Apr 19, 2002 5:55 pm
Location: Oceanside, Ca

  • Quote

Post by hielvc » Tue Jul 04, 2006 1:18 am

You'd be better off runing gcc-4.1.1. It works better and has less probs than gcc-4.1.0. Just add something like ">sys-devel/gcc-4.1.6 " to /etc/portage/package.mask. Ive been running it for about 3 to 4 months with no real headacks.
An A-Z Index of the Linux BASH command line
Top
67comet
Apprentice
Apprentice
User avatar
Posts: 262
Joined: Fri Oct 29, 2004 9:48 pm
Location: Ogden, UT
Contact:
Contact 67comet
Website

  • Quote

Post by 67comet » Mon Jul 10, 2006 3:29 am

Think it's better now with the upgrade to gcc-4.1.1 .. Still a few things get all grumpy w/me .. but it's better and workable ..

thanks,
Justin
A Pile of Code (basically dead).
Personal Site (basically useless).
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic