Forums

Skip to content

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

[solved] gst-plugins fails to compile while"emerge gnome":-(

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
ylebihan
n00b
n00b
Posts: 4
Joined: Mon Jul 03, 2006 12:35 pm

[solved] gst-plugins fails to compile while"emerge gnom

  • Quote

Post by ylebihan » Mon Jul 03, 2006 12:44 pm

Hello ! :)

I've been working on it for +/- 48hrs and no way to make it compile...

When doing "emerge gnome", it fails with gst-plugins, showing:

ximagesrc.c: In function `gst_ximagesrc_change_state':
ximagesrc.c:443: error: structure has no member named `damage_event_base'
make[3]: *** [libgstximagesink_la-ximagesrc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys/ximage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11'
make: *** [all] Error 2

!!! ERROR: media-libs/gst-plugins-0.8.11 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
gst-plugins-0.8.11.ebuild, line 52: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

...and this is what I did. ;-)

So, if someone might have an idea... please... ;)

Cheers,

YLB.
Last edited by ylebihan on Tue Jul 04, 2006 10:36 am, edited 1 time in total.
Top
saffsd
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Fri Mar 03, 2006 12:09 pm

  • Quote

Post by saffsd » Mon Jul 03, 2006 2:43 pm

Try commenting out your cflags in make.conf and/or disabling PORTAGE_FEATURES. If that doesn't do it, post the output of emerge --info
Top
cerebus_k
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Fri Jun 20, 2003 7:13 pm
Location: Flower Mound, Texas

  • Quote

Post by cerebus_k » Mon Jul 03, 2006 3:06 pm

I agree that posting emerge --info here would help.

Note a lot of times you can skip the emerge of a specific component and continue. If you're installing for the first time and you want to get thru more of the emerge of gnome you can issue the command

Code: Select all

emerge --resume --skipfirst
and tackle the problem with gst-plugins after that's finished.
Gettin old isn't for wimps
Top
ylebihan
n00b
n00b
Posts: 4
Joined: Mon Jul 03, 2006 12:35 pm

  • Quote

Post by ylebihan » Mon Jul 03, 2006 4:31 pm

Hi! :)

I'm sorry, I forgot the emerge --info...
Here it is :

rolls ~ # emerge --info
Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gent oo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk g tk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktim e readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts typ e1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard in put_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Cheers,

YLB.
Top
ylebihan
n00b
n00b
Posts: 4
Joined: Mon Jul 03, 2006 12:35 pm

  • Quote

Post by ylebihan » Mon Jul 03, 2006 4:34 pm

Hi! :)
saffsd wrote:Try commenting out your cflags in make.conf
Well, it's already commented out...
saffsd wrote:and/or disabling PORTAGE_FEATURES.
How may I disable it?...
I'm sorry but I'm really a newbie playing at Gentoo... ;-)

Cheers,

YLB.
Top
saffsd
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Fri Mar 03, 2006 12:09 pm

  • Quote

Post by saffsd » Tue Jul 04, 2006 3:56 am

From your emerge --info it looks like your cflags are still around. Look for the lines in make.conf that read:

Code: Select all

CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe" 
And add a # to the front, changing them to:

Code: Select all

# CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
# CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe" 
Then try to emerge gst-plugins again. Remember to remove the # again after you're done.
Top
ylebihan
n00b
n00b
Posts: 4
Joined: Mon Jul 03, 2006 12:35 pm

  • Quote

Post by ylebihan » Tue Jul 04, 2006 10:35 am

You're a genius, saffsd ! ;-)

Thank you very much... Compilation is running now. :)

Cheers,

YLB.
Top
nicodiemus
n00b
n00b
Posts: 4
Joined: Fri Aug 26, 2005 6:32 am

  • Quote

Post by nicodiemus » Wed Jul 05, 2006 8:05 am

Hey. I'm getting the exact same problem, but when i tried this solution it continued to fail.
I used emerge --skipfirst --resume to continue, but i can't seem to compile these gst plugin packages.. here's my emerge info.

Am i missing something?

Code: Select all

emerge --info
Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.15
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-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/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
_________
rm -rf /home/max/brain
Top
Sainticus
n00b
n00b
Posts: 7
Joined: Mon Dec 05, 2005 9:47 pm
Contact:
Contact Sainticus
Website

  • Quote

Post by Sainticus » Wed Jul 05, 2006 10:06 pm

I'm having the same problem as well. I've tried commenting out cflags and using different use variables and resuming with --newuse, but it isn't fixing anything.

Code: Select all

ximagesrc.c: In function `gst_ximagesrc_change_state':
ximagesrc.c:443: error: structure has no member named `damage_event_base'
make[3]: *** [libgstximagesink_la-ximagesrc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys/ximage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11'
make: *** [all] Error 2

!!! ERROR: media-libs/gst-plugins-0.8.11 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  gst-plugins-0.8.11.ebuild, line 52:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

serenity ~ #

Code: Select all

serenity ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gen
o.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pu
linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ht
://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp
csb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gent
.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http:
gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mir
rs/gentoo/source/ http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gen
o/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.bin
ycompass.org http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://pro
theus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/
rrors/gentoo/ ftp://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo ftp://mirror.mcs.anl.gov/pub/gentoo/ http:/
entoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp:
ftp.wwc.edu/pub/mirrors/ftp.gentoo.org"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after -
tats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts ccache cli crypt cups dlloader dri eds emboss encode esd foomat
db fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg
urses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl
se ssl tcpd truetype truetype-fonts type1-fonts udev userlocales vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboa
 input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Top
Kaddy
n00b
n00b
Posts: 29
Joined: Thu Jan 27, 2005 2:43 pm
Contact:
Contact Kaddy
Website

  • Quote

Post by Kaddy » Wed Jul 05, 2006 10:55 pm

nicodiemus wrote:Hey. I'm getting the exact same problem, but when i tried this solution it continued to fail.
I used emerge --skipfirst --resume to continue, but i can't seem to compile these gst plugin packages.. here's my emerge info.

Am i missing something?

Code: Select all

CHOST="i386-pc-linux-gnu"
it doesn't look like you are missing anything, but, try and change that CHOST to this

Code: Select all

CHOST="i686-linux-gnu"
other than that, try this:
saffsd wrote:From your emerge --info it looks like your cflags are still around. Look for the lines in make.conf that read:

Code:

CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"


And add a # to the front, changing them to:

Code:

# CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
# CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"


Then try to emerge gst-plugins again. Remember to remove the # again after you're done.
Top
andysamuel
n00b
n00b
Posts: 41
Joined: Tue Jul 22, 2003 9:25 am

  • Quote

Post by andysamuel » Thu Jul 06, 2006 3:05 am

I have the same problem, but what I did was trying to emerge kde.

Disabling CFLAGS, CXXXFLAGS and FEATURES doesn't help.
Changing CHOST to i686-linux-gnu' also doesn't help.
My USE variable = '-gnome'

Until now I haven't been able to compile KDE.
Hmm...better to create a new thread because this one is labelled SOLVED already :)
Top
Sainticus
n00b
n00b
Posts: 7
Joined: Mon Dec 05, 2005 9:47 pm
Contact:
Contact Sainticus
Website

  • Quote

Post by Sainticus » Thu Jul 06, 2006 5:14 am

This is what helped me.

http://forums.gentoo.org/viewtopic-t-38 ... ugins.html
Top
andysamuel
n00b
n00b
Posts: 41
Joined: Tue Jul 22, 2003 9:25 am

  • Quote

Post by andysamuel » Thu Jul 06, 2006 6:20 am

Hmm...the tips on the above link works !
I can now compile gst-plugins.

Thank you so much for bringing it to my attention. :)

Best regards
Andy
Top
Sainticus
n00b
n00b
Posts: 7
Joined: Mon Dec 05, 2005 9:47 pm
Contact:
Contact Sainticus
Website

  • Quote

Post by Sainticus » Thu Jul 06, 2006 6:22 am

You're very much welcome. :P
Top
Post Reply

14 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