Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635094 - gnome-base/orbit-2.14.19-r5 fails to build: segmentation fault
Summary: gnome-base/orbit-2.14.19-r5 fails to build: segmentation fault
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-10-22 20:18 UTC by Andreas K. Hüttel
Modified: 2020-12-10 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,19.98 KB, text/plain)
2017-10-22 20:19 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2017-10-22 20:18:22 UTC
orbit-idl-2 2.14.19 compiling
  mode, show preprocessor errors, passes: stubs skels common headers 

Processing file corba-ops.idl

** (orbit-idl-2:26199): WARNING **: failed to create '.deps' directory 'File exists'

** (orbit-idl-2:26199): CRITICAL **: orbit_idl_output_c_deps: assertion 'ci->fh != NULL' failed
for I in corba-ops-stubs.c corba-ops-common.c corba-ops-skels.c corba-ops.h; do                                                         \
        sed -e 's,ZZZis_a,_is_a,g' -e 's,ZZis_a,is_a,g' $I > $I.out; mv $I.out $I;      \
done;                                                                                   \
sed -e "s,Z,_,g" corba-ops-skels.c > corba-ops-skels.c.out;                             \
mv corba-ops-skels.c.out corba-ops-skels.c;
for I in corba-defs.h corba-defs-stubs.c corba-defs-skels.c corba-defs-common.c corba-defs-imodule.c corba-defs-skelimpl.c; do \
        if test -f $I; then \
                sed -e 's,OObject,Object,g' -e 's,TTypeCode,TypeCode,g' $I > $I.out; \
                mv $I.out $I ; \
        fi; \
done
for I in iop-defs.h iop-defs-stubs.c iop-defs-skels.c iop-defs-common.c iop-defs-imodule.c iop-defs-skelimpl.c; do \
        if test -f $I; then \
                sed -e 's,OObject,Object,g' -e 's,TTypeCode,TypeCode,g' $I > $I.out; \
                mv $I.out $I ; \
        fi; \
done
make[4]: *** [Makefile:787: orbit-interface-common.c] Segmentation fault (core dumped)
make[4]: *** Deleting file 'orbit-interface-common.c'
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/gnome-base/orbit-2.14.19-r5/work/ORBit2-2.14.19-abi_x86_64.amd64/src/orb/orb-core'
make[3]: *** [Makefile:551: all-recursive] Error 1

======================================================
Here's the backtrace of the core dump:

Reading symbols from /var/tmp/portage/gnome-base/orbit-2.14.19-r5/work/ORBit2-2.14.19-abi_x86_64.amd64/src/idl-compiler/orbit-idl-2...done.
[New LWP 26199]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `../../../src/idl-compiler/orbit-idl-2 --nostubs --noskels --showcpperrors --noh'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  _IO_new_fclose (fp=0x0) at iofclose.c:53
53      iofclose.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  _IO_new_fclose (fp=0x0) at iofclose.c:53
#1  0x00005618a5895996 in orbit_idl_output_c (tree=0x5618a6587390, rinfo=rinfo@entry=0x7ffccae46110) at orbit-idl-c-backend.c:67
#2  0x00005618a5892ef3 in orbit_idl_to_backend (filename=0x5618a6587a10 "orbit-interface.idl", rinfo=0x7ffccae46110) at orbit-idl-driver.c:95
#3  0x00005618a5892a39 in main (argc=<optimized out>, argv=<optimized out>) at orbit-idl-main.c:282
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-10-22 20:19:27 UTC
Created attachment 499682 [details]
emerge --info
Comment 2 Kees Bergwerf 2017-12-03 10:38:52 UTC
I somehow solved this problem at my system.
After "emerge -e world" there were some old libraries left in /usr/lib64, so I moved them to another place. After that, orbit emerged just fine. After that, libbonobo emerged also just fine.
Comment 3 Giuseppe Foti 2017-12-04 06:17:09 UTC
I had the same issue while running:
# emerge -e @world

gnome-base/orbit-2.14.19-r5 built after a couple of emerge --resume.
It worked, after emerge rebuilt these packages:

x11-libs/libvdpau-1.1.1
x11-libs/xcb-util-keysyms-0.4.0
x11-libs/xcb-util-renderutil-0.3.9-r1
x11-libs/xcb-util-wm-0.4.1-r1
x11-apps/mkfontdir-1.0.7
media-fonts/encodings-1.0.4
x11-libs/libXScrnSaver-1.2.2-r1
x11-libs/libXxf86misc-1.0.3

I don't know which one was responsible for segfault
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-27 20:23:16 UTC
Looks like a parallel make issue. Failing for x86 with same error. But passing with MAKEOPTS=-j1.
Comment 5 Joakim Tjernlund 2019-01-13 11:47:00 UTC
(In reply to Thomas Deutschmann from comment #4)
> Looks like a parallel make issue. Failing for x86 with same error. But
> passing with MAKEOPTS=-j1.

Same here, build failure and adding
MAKEOPTS=-j1 ebuild /usr/portage/gnome-base/orbit/orbit-2.14.19-r5.ebuild clean merge
fixed it
Comment 6 Larry the Git Cow gentoo-dev 2019-02-20 21:40:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7667442ed56a5dba9caf936f6c9851ecba4052a5

commit 7667442ed56a5dba9caf936f6c9851ecba4052a5
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-02-20 21:39:54 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-02-20 21:39:54 +0000

    gnome-base/orbit: Workaround parallel build issue
    
    Bug: https://bugs.gentoo.org/635094
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 gnome-base/orbit/orbit-2.14.19-r5.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-10 12:57:49 UTC
Package removed.