Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ORBit2 2.10.0 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Mon Apr 05, 2004 3:50 am    Post subject: ORBit2 2.10.0 fails Reply with quote

I was running GNOME 2.6 beta from breakmygentoo.net, but now that 2.6.0 is in ~x86, I figured I'd upgrade. I can't get past ORBit2, though.
Code:
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../src/idl/CORBA -I../../../src/idl/misc -I../../../src/idl/interop -I. --noskels --nodefskels --nostubs --noidata --noheaders --define=Object=OObject --define=TypeCode=TTypeCode --showcpperrors --deps ../../../include/orbit/orb-core/.deps/orbit-interface.idl.P ../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: common skel_impl imodule
 
../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl:15: Error: `TTypeCode' undeclared identifier
 
** (process:4311): WARNING **: ../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl compilation failed
make[3]: *** [../../../include/orbit/orb-core/orbit-interface.h] Error 1
make[3]: Leaving directory `/home/downloads/tmp/var/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/orb/orb-core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/downloads/tmp/var/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/orb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/downloads/tmp/var/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src'
make: *** [install-recursive] Error 1
 
!!! ERROR: gnome-base/ORBit2-2.10.0 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed


Pango is acting weird too. Some GNOME programs fail to start and output, for example
Code:
$ gftp
 
(gftp-gtk:4923): Gtk-WARNING **: Unable to locate theme engine in module_path: "thinice",
 
(gftp-gtk:4923): Gtk-WARNING **: Unable to locate theme engine in module_path: "redmond95",
 
(gftp-gtk:4923): Gtk-WARNING **: Unable to locate theme engine in module_path: "redmond95",
 
** (gftp-gtk:4923): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/home/downloads/tmp/var/portage/pango-1.4.0/image//etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.
Fontconfig error: Cannot load default config file
 
(gftp-gtk:4923): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed
 
** (gftp-gtk:4923): CRITICAL **: file pango-engine.c: line 68 (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed
 
** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
Aborted

/etc/pango/pango.modules contains
Code:
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /home/downloads/tmp/var/portage/pango-1.4.0/image//usr/lib/pango/1.4.0/modules
#

which is obviously wrong.

I tried re-emerging freetype, but it didn't help. I have backups with 2.6 beta, but I'd like to fix this problem.
Back to top
View user's profile Send private message
Enderson
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 141
Location: Arapiraca/Maceió, AL, Brazil

PostPosted: Tue Apr 06, 2004 7:40 pm    Post subject: Reply with quote

I'm having the same problem when trying to compile gnome 2.6.

When I had the prolem compiling ORbit2-2.10, I changed the CFLAGS, and it
passed, and almos in the end of gnome-2.6 instalation.

I'm having problems compiling with this last packages:

Code:
# ACCEPT_KEYWORDS="~x86" emerge -pv gnome

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-www/epiphany-1.2.2  -doc +gnome  0 kB
[ebuild  N    ] app-text/ggv-2.6.0   0 kB
[ebuild  N    ] gnome-base/control-center-2.6.0.3  +alsa -gstreamer  0 kB
[ebuild  N    ] gnome-extra/gnome2-user-docs-2.6.0.1   0 kB
[ebuild  N    ] gnome-base/gnome-2.6  -accessibility +cdr -doc -dvdr  [empty/missing/bad digest]

Total size of downloads: 0 kB


epiphany, ggv and control-center gives error

error for epiphany
Code:
creating libephyembedfactory.la
(cd .libs && rm -f libephyembedfactory.la && ln -s ../libephyembedfactory.la libephyembedfactory.la)
make[3]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed'
make[2]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed'
Making all in src
make[2]: Entering directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/src'
/usr/bin/orbit-idl-2 -I/usr/share/idl/bonobo-2.0 -I/usr/share/idl/bonobo-activation-2.0  ../idl/EphyAutomation.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

make[2]: *** [EphyAutomation-common.c] Falha de segmentação
make[2]: ** Apagando arquivo `EphyAutomation-common.c'
make[2]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2'
make: ** [all] Erro 2

!!! ERROR: net-www/epiphany-1.2.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


error for ggv
Code:
ar cru librecent.a egg-recent-model.o egg-recent-item.o egg-recent-view.o egg-recent-view-bonobo.o egg-recent-view-gtk.o egg-recent-util.o
ranlib librecent.a
make[3]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src/recent-files'
Making all in stock
make[3]: Entering directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src/stock'
make[3]: Nada a ser feito para `all'.
make[3]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src/stock'
Making all in cursors
make[3]: Entering directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src/cursors'
make[3]: Nada a ser feito para `all'.
make[3]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src/cursors'
make[3]: Entering directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src'
/usr/bin/orbit-idl-2 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0  ../idl/Ggv.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

/usr/bin/orbit-idl-2 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0  ../idl/Ggv.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

make[3]: *** [Ggv.h] Falha de segmentação
make[3]: ** Esperando que outros processos terminem.
make[3]: *** [Ggv-common.c] Falha de segmentação
make[3]: ** Apagando arquivo `Ggv-common.c'
make[3]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src'
make[2]: ** [all-recursive] Erro 1
make[2]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/var/tmp/portage/ggv-2.6.0/work/ggv-2.6.0'
make: ** [all-recursive-am] Erro 2

!!! ERROR: app-text/ggv-2.6.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


error for control-center

Code:
creating libacme.la
(cd .libs && rm -f libacme.la && ln -s ../libacme.la libacme.la)
make[3]: Leaving directory `/var/tmp/portage/control-center-2.6.0.3/work/control-center-2.6.0.3/gnome-settings-daemon/actions'
make[3]: Entering directory `/var/tmp/portage/control-center-2.6.0.3/work/control-center-2.6.0.3/gnome-settings-daemon'
/usr/bin/orbit-idl-2 -D__GNOME_SettingsDaemon_COMPILATION -I ../idl -I /usr/share/idl         -I /usr/share/idl/bonobo-2.0                                         -I /usr/share/idl/bonobo-activation-2.0 ../idl/GNOME_SettingsDaemon.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

make[3]: *** [GNOME_SettingsDaemon.h] Falha de segmentação
make[3]: Leaving directory `/var/tmp/portage/control-center-2.6.0.3/work/control-center-2.6.0.3/gnome-settings-daemon'
make[2]: ** [all-recursive] Erro 1
make[2]: Leaving directory `/var/tmp/portage/control-center-2.6.0.3/work/control-center-2.6.0.3/gnome-settings-daemon'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/var/tmp/portage/control-center-2.6.0.3/work/control-center-2.6.0.3'
make: ** [all-recursive-am] Erro 2

!!! ERROR: gnome-base/control-center-2.6.0.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


The error are in the same orbit-idl-2 or something about orbit.
_________________
--
Nothing to say here!
Back to top
View user's profile Send private message
Enderson
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 141
Location: Arapiraca/Maceió, AL, Brazil

PostPosted: Tue Apr 06, 2004 9:00 pm    Post subject: SOLVED Reply with quote

I found the solution!

I needed to re-emerge the libIDL with less abusive CFLAGS
(-mcpu=i686 -O2 -pipe), and I emerged ORBit2-2.10.0 with these CFLAGS
with no errors.

I'll try to compile now, the rest os the packesg for gnome-2.6

:)
_________________
--
Nothing to say here!
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Wed Apr 07, 2004 8:17 am    Post subject: Reply with quote

It still isn't working; I get the same error. Thanks anyway. Hopefully this won't require a re-install.
Back to top
View user's profile Send private message
ice_cool
n00b
n00b


Joined: 13 Aug 2002
Posts: 42

PostPosted: Wed Apr 07, 2004 9:08 pm    Post subject: Reply with quote

I've got the same problem with ORBit2-2.10.0
recompile of libIDL didn't help
Back to top
View user's profile Send private message
Robaer
n00b
n00b


Joined: 15 Jun 2003
Posts: 13

PostPosted: Sat Apr 10, 2004 10:28 am    Post subject: Reply with quote

I also had this problem. Changning flags/USE didn't help. But I emerged some Gnome packages (which didn't have the damn ORBit2 as dependency)by hand.
And: emege Orbit 2.8.3 and then Update to 2.10.0. This time, it compiled without any errors and with my optimizations.
Hope this works for you too
Back to top
View user's profile Send private message
ice_cool
n00b
n00b


Joined: 13 Aug 2002
Posts: 42

PostPosted: Sat Apr 17, 2004 2:47 pm    Post subject: Reply with quote

I did
Code:
emerge -e gnome


which compiled 234 packages but it works now.
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Mon May 10, 2004 5:12 pm    Post subject: Reply with quote

ice_cool wrote:
I did
Code:
emerge -e gnome


which compiled 234 packages but it works now.


I tried to do a emerge -e gnome, but it didn't help. and I did it twice.
I tried to recompile, both by using -mcpu=i686 -O2 -pipe and by hand, but it didn't work either.
I tried to compile 2.8.3 (the thought was to upgrade to 2.10.1 after that, but I didn't make it that far) - didn't help either.

I saw another thread somewhere (I did some searching but did't come up with anything) that dealed with the same issue, although they did some serious symlinking - but that didn't help me either.

I'm out of ideas.
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Fri May 21, 2004 6:10 am    Post subject: Reply with quote

hi

I had the same problem.
I saw in another forum to do this change in /etc/make.conf

put [or uncomment]:
Code:

MAKEOPTS="-j1"


and it simply works...

Serge[/code]
Back to top
View user's profile Send private message
kurifu
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2003
Posts: 77

PostPosted: Sat May 22, 2004 4:24 am    Post subject: Reply with quote

That did not work... and I see no reason why it would for peoplee like me using 1 processor and no distcc to build the package anyway.
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Sat May 22, 2004 8:13 am    Post subject: Reply with quote

I usually have "-j2" uncommented, but when I commented it (i.e. disabled it) it worked to compile.
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
exodious
n00b
n00b


Joined: 05 Jun 2004
Posts: 1

PostPosted: Sat Jun 05, 2004 11:57 pm    Post subject: Reply with quote

Well, I have no idea why, but I got ORBit2 to emerge.

I tried editing my CFLAGS as suggested above, no luck..
I tried editing my MAKEOPTS, no luck..
I tried emerging libIDL again with these lowered flags, and then ORBit2 again, no luck...
I tried emerging ORBit2-2.8.3 and then emerging 2.10.0, no luck...

So I put my settings back to what they were before and started emerging other gnome things that didn't depend on ORBit2.

Finally, I emerged ORBit (0.5.7 or something like that, I think it's a different program), and then rebooted out of frustration. (I'm a windows user, it's a habit ;) )

After the reboot? I tried emerging ORBit2 again. and it WORKED. ?!!!?

No idea why. Hope this helps someone
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Sun Jun 06, 2004 5:10 am    Post subject: Reply with quote

I tried to compile it by hand a few times, and it worked for me.
But now, metacity 2.8.1 won't compile. woho! ^_^
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jun 12, 2004 11:50 pm    Post subject: Reply with quote

I'm having the same problem on a new build.. it complains about clock skew, and fails at orbit-interface.h

I've tried all the suggestions I can think of.. anyone have any idea?

EDIT: I set date forward one month and re-emerged.. it fixed the problem for me.. it was successful. hope this helps others..
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Sun Jun 13, 2004 1:40 am    Post subject: Reply with quote

Code:
emerge ntp
rc-update add ntp-client default


Then edit ntp-client's conf.d file, and start it. That should keep your clock in check. Seems that a sane clock is of some importance here, so keep it set to an atomic one!
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
Codac
n00b
n00b


Joined: 18 Nov 2002
Posts: 19
Location: Sweden

PostPosted: Mon Aug 16, 2004 9:39 pm    Post subject: Reply with quote

I had the same problem.
ORBit2-2.10.3 failed to emerge telling me:
Code:
...

../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl:15: Error: `TTypeCode' undeclared identifier

** (process:7864): WARNING **: ../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl compilation failed
make[3]: *** [../../../include/orbit/orb-core/orbit-interface.h] Error 1
make[3]: Leaving directory `/var/tmp/portage/ORBit2-2.10.3/work/ORBit2-2.10.3/src/orb/orb-core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ORBit2-2.10.3/work/ORBit2-2.10.3/src/orb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ORBit2-2.10.3/work/ORBit2-2.10.3/src'
make: *** [install-recursive] Error 1

!!! ERROR: gnome-base/ORBit2-2.10.3 failed.
!!! Function einstall, Line 385, Exitcode 2
!!! einstall failed


I scanned the forums for other peoples solutions and found none of the following to work in my case:

  • emerging older version of ORBit2 (2.8.3) then new version again
  • ACCEPT_KEYWORDS=~x86 emerge libIDL ORBit2 (no different from emerge -u libIDL ORBit2 in my case)
  • Setting MAKEOPTS="-j1" in /etc/make.conf and then try to emerge ORBit2
  • Changing CFLAG O3 to O2 in /etc/make.conf (lower optimization level/safer?) before emerging ORBit2


I did not think changing the system time whould help since I did not get the output about the clock being skewed ("make[4]: warning: Clock skew detected. Your build may be incomplete.) that was focused on in Bug 51791.

But, as a last attempt I set my date (probably much too) way ahead in the future and tried one more time. And it worked!
So what was needed in my case was setting the clock at a future date. What I did specifically is was:
Code:

date 041216
emerge -u ORBit2
sudo /usr/bin/ntpd -qg #(using ntp to correct my system time)



Thanks everyone for helping and talking about the problem! :D
Back to top
View user's profile Send private message
vrln
Guru
Guru


Joined: 11 Sep 2004
Posts: 534
Location: Finland

PostPosted: Sat Sep 11, 2004 9:14 am    Post subject: Reply with quote

Just wanted to thank you for posting this; I had exactly the same problem, tried everything possible, except changing the clock time. I didn't notice any errors about the clock either...

Needless to say, it worked :) I emerged the ebuild while setting the time to year 2010 and it worked.
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Mon Oct 11, 2004 7:16 pm    Post subject: Reply with quote

does this need to be submitted as a bug report?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum