| View previous topic :: View next topic |
| Author |
Message |
philly_idle n00b

Joined: 01 Apr 2012 Posts: 7
|
Posted: Thu May 10, 2012 9:22 pm Post subject: dev-libs/gobject-introspection-1.32.1 fails to build |
|
|
Hey folks,
I'm trying to build a gnome environment, but gobject-introspection continues to fail. I already found several bug reports, and tried their solutions (e.g. rebuilding dbus-glib, sandbox with CFLAGS="-O2 -pipe", python, glib, etc). I also found this thread and tried FEATURES="-ccache -sandbox" but to no avail.
I hope some of you could give me a hint in the right direction?
The error I get is:
| Code: | CCLD glib-print
GEN g-ir-scanner
GEN g-ir-annotation-tool
GISCAN GLib-2.0.gir
Traceback (most recent call last):
File "./g-ir-scanner", line 46, in <module>
sys.exit(scanner_main(sys.argv))
File "./giscanner/scannermain.py", line 412, in scanner_main
ss = create_source_scanner(options, args)
File "./giscanner/scannermain.py", line 335, in create_source_scanner
ss.parse_files(filenames)
File "./giscanner/sourcescanner.py", line 249, in parse_files
self._parse(headers)
File "./giscanner/sourcescanner.py", line 283, in _parse
stdout=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
make: *** [all] Error 2 |
But only with MAKEOPTS="-j1", otherwise it gets a litte further before failing (sometimes to libxml2, sometimes to cairo - I guess that depens on the system load).
Here's my build log: http://pastebin.com/jQjzDj2E
...and my emerge-info: http://pastebin.com/H1k65XKj
Regards,
Philipp |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Sun May 20, 2012 5:26 pm Post subject: |
|
|
Hey Philipp, it might be a good idea to have the following as your CFLAGS:
| Code: | | CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" |
Rebuild GCC and glibc, then see if that solves your problem.
Your current CFLAGS may lead to your problem. _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
philly_idle n00b

Joined: 01 Apr 2012 Posts: 7
|
Posted: Tue May 22, 2012 11:27 am Post subject: |
|
|
Thistled, thanks for the info. After I got stuck (and had no time anyway), I rebuilt the system yesterday. And voila - it worked I think it was the glib-2.32.3 update that solved the problem - not sure though. |
|
| Back to top |
|
 |
Thistled Guru


Joined: 06 Jan 2011 Posts: 433 Location: Scotland
|
Posted: Thu May 24, 2012 8:52 pm Post subject: |
|
|
Cool! Glad you fixed it man. _________________ Whatever you do, do it properly! |
|
| Back to top |
|
 |
|
|
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
|
|