Community
Participate
Working Groups
VERSION INFORMATION: Eclipse IDE for C/C++ Developers Version: 2019-06 (4.12.0) Build id: 20190614-1200 OS: Linux, v.4.15.0-20-generic, x86_64 / gtk 3.22.30, WebKit 2.24.2 Java version: 11.0.3 ENVIRONMENT: Eclipse application installed in /opt/eclipse which is added to path. Tried with and without libcanberra-gtk-module, libcanberra-gtk3-module. PROCEDURE TO REPEAT: (1) Cloned repository as: "git clone --branch v5.2 --depth 1 https://github.com/torvalds/linux.git" into "/home/mfogle/Repositories/linux" folder (2) Open Terminal and execute eclipse as "eclipse". Not the main problem (I think), but get a long list of GLib-CRITICAL errors = "(Eclipse:7692): GLib-CRITICAL **: 17:03:46.766: g_base64_encode_step: assertion 'in != NULL' failed" (3) Select workspace as /home/mfogle/Repositories. (4) Close eclipse "Welcome" screen. (5) Tried 2 things = (a) and (b) (5a) First, tried File-->Import-->Existing Code as Makefile Project with Project Name "MyLinux", existing code location "/home/mfogle/Repositories/linux", Languages = C, C++, Toolchain for indexer = <none>. FAILS SILENTLY. Console warnings = "(Eclipse:7692): Gtk-WARNING **: 17:05:26.536: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar)". "(Eclipse:7692): Gtk-WARNING **: 17:05:26.536: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)" (5b) File-->New-->Makefile with existing code, Project Name "MyLinux", existing code location "/home/mfogle/Repositories/linux", Languages = C, C++, Toolchain for indexer = <none>. FAILS SILENTLY. Console warnings = "(Eclipse:7692): Gtk-WARNING **: 17:12:32.044: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar)" "(Eclipse:7692): Gtk-WARNING **: 17:12:32.044: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)"
When these operations fail silently, are there any exceptions logged to <workspace>/.metadata/.log?
I can't reproduce this. Can you specify your distribution, window manager, gtk theme, etc?
(In reply to Nathan Ridge from comment #1) > When these operations fail silently, are there any exceptions logged to > <workspace>/.metadata/.log? I removed the <workspace>/.metadata folder first, then repeated the "Create new Makefile using existing code" so I would get a fresh .log file. Here's the .log output. Hmmm - this seems to be the major culprit: !MESSAGE /home/mfogle/Repositories/linux overlaps the location of another project: 'linux'. Should've checked this first. Something cached somewhere is likely giving me grief. If I create my workspace in ./Repositories/workspace and then do a "Create new Makefile project using existing code" from ./Repositories/linux (naming project "MyLinux_v5_2"), ALL IS WELL. !SESSION 2019-07-17 08:23:53.741 ----------------------------------------------- eclipse.buildId=4.12.0.I20190605-1800 java.version=11.0.3 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.cpp.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product !ENTRY org.eclipse.egit.core 1 0 2019-07-17 08:24:10.692 !MESSAGE Using Apache MINA sshd as ssh client. !ENTRY org.eclipse.launchbar.core 2 0 2019-07-17 08:24:24.171 !MESSAGE Enablement expression is missing for descriptor type org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType !ENTRY org.eclipse.launchbar.core 2 0 2019-07-17 08:24:24.174 !MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType !ENTRY org.eclipse.core.resources 4 77 2019-07-17 08:25:00.102 !MESSAGE Invalid project description. !SUBENTRY 1 unknown 0 0 2019-07-17 08:25:00.102 !MESSAGE OK !SUBENTRY 1 org.eclipse.core.resources 4 77 2019-07-17 08:25:00.102 !MESSAGE /home/mfogle/Repositories/linux overlaps the location of another project: 'linux'
(In reply to Marc-André Laperle from comment #2) > I can't reproduce this. Can you specify your distribution, window manager, > gtk theme, etc? Please also see Comment 3 to @nathanridge for further information. DISTRIBUTION: (lsb_release -a) No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic Window Manager: GNOME Shell. GTK: (dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'): ----------------------------------------------------------------- ii libgtk-3-0:amd64 3.22.30-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk-3-bin 3.22.30-1ubuntu1 amd64 programs for the GTK+ graphical user interface library ii libgtk-3-common 3.22.30-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtk-3-dev:amd64 3.22.30-1ubuntu1 amd64 development files for the GTK+ library ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library ii libgtk2.0-cil 2.12.40-2 amd64 CLI binding for the GTK+ toolkit 2.12 ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtk3-perl 0.032-1 all Perl bindings for the GTK+ graphical user interface library -----------------------------------------------------------------
(In reply to Michael Fogle from comment #3) > Hmmm - this seems to be the major culprit: > !MESSAGE /home/mfogle/Repositories/linux overlaps the location of another > project: 'linux'. We have bug 408036 on file for something similar. I'll dupe that over to this one, as this one has more information.
*** Bug 408036 has been marked as a duplicate of this bug. ***