Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build #67

Closed
Quintus opened this issue May 28, 2013 · 1 comment
Closed

Fails to build #67

Quintus opened this issue May 28, 2013 · 1 comment
Assignees

Comments

@Quintus
Copy link

Quintus commented May 28, 2013

Hi there,

I’ve tried both the 0.83 released source and the current master, but both of them fail to build with the same error on Arch Linux. Here’s the output from building current master:

(1076) [9:29:43 quintus@hades] ~/Downloads/oregano/oregano
% export LANG=en_US.utf8
(1077) [9:29:53 quintus@hades] ~/Downloads/oregano/oregano
% waf configure
Setting top to                           : /home/quintus/Downloads/oregano/oregano 
Setting out to                           : /home/quintus/Downloads/oregano/oregano/build 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for program glib-genmarshal     : /usr/bin/glib-genmarshal 
Checking for program perl                : /usr/bin/perl 
Checking for 'glib-mkenums'              : /usr/bin/glib-mkenums 
Checking for program glib-compile-schemas : /usr/bin/glib-compile-schemas 
Checking for program msgfmt               : /usr/bin/msgfmt 
Checking for program perl                 : /usr/bin/perl 
Checking for 'intltool-merge'             : /usr/bin/intltool-merge 
Checking for header locale.h              : yes 
Checking for library m                    : yes 
Checking for program pkg-config           : /usr/bin/pkg-config 
Checking for pkg-config version >= '0.26' : yes 
Checking for 'glib-2.0'                   : yes 
Checking for 'gobject-2.0'                : yes 
Checking for 'gtk+-3.0'                   : yes 
Checking for 'libxml-2.0'                 : yes 
Checking for 'goocanvas-2.0'              : yes 
Checking for 'gtksourceview-3.0'          : yes 
Checking for large file support           : yes 
Checking for endianness                   : little 
Checking for inline                       : inline 
'configure' finished successfully (0.604s)
(1078) [9:29:55 quintus@hades] ~/Downloads/oregano/oregano
% waf release
Waf: Entering directory `/home/quintus/Downloads/oregano/oregano/build/release'
Variant: 'release'
[ 1/66] po: po/sv.po -> build/release/po/sv.mo
[ 2/66] po: po/ru.po -> build/release/po/ru.mo
[ 3/66] po: po/ro.po -> build/release/po/ro.mo
[ 4/66] po: po/pt_BR.po -> build/release/po/pt_BR.mo
[ 5/66] po: po/pl.po -> build/release/po/pl.mo
[ 6/66] po: po/ja.po -> build/release/po/ja.mo
[ 7/66] po: po/it.po -> build/release/po/it.mo
[ 8/66] po: po/fr.po -> build/release/po/fr.mo
[ 9/66] po: po/es.po -> build/release/po/es.mo
[10/66] po: po/de.po -> build/release/po/de.mo
[11/66] po: po/ca.po -> build/release/po/ca.mo
[12/66] intltool: data/oregano.desktop.in -> build/release/data/oregano.desktop
[13/66] intltool: data/mime/oregano-mimetypes.xml.in -> build/release/data/mime/oregano-mimetypes.xml
[14/66] c: src/clipboard.c -> build/release/src/clipboard.c.1.o
[15/66] c: src/coords.c -> build/release/src/coords.c.1.o
[16/66] c: src/cursors.c -> build/release/src/cursors.c.1.o
[17/66] c: src/dialogs.c -> build/release/src/dialogs.c.1.o
[18/66] c: src/engines/engine.c -> build/release/src/engines/engine.c.1.o
[19/66] c: src/engines/gnucap.c -> build/release/src/engines/gnucap.c.1.o
[20/66] c: src/engines/netlist-helper.c -> build/release/src/engines/netlist-helper.c.1.o
[21/66] c: src/engines/ngspice-analysis.c -> build/release/src/engines/ngspice-analysis.c.1.o
[22/66] c: src/engines/ngspice.c -> build/release/src/engines/ngspice.c.1.o
[23/66] c: src/errors.c -> build/release/src/errors.c.1.o
[24/66] c: src/file-manager.c -> build/release/src/file-manager.c.1.o
[25/66] c: src/file.c -> build/release/src/file.c.1.o
[26/66] c: src/gplot/gplot.c -> build/release/src/gplot/gplot.c.1.o
[27/66] c: src/gplot/gplotfunction.c -> build/release/src/gplot/gplotfunction.c.1.o
[28/66] c: src/gplot/gplotlines.c -> build/release/src/gplot/gplotlines.c.1.o
[29/66] c: src/load-library.c -> build/release/src/load-library.c.1.o
[30/66] c: src/load-schematic.c -> build/release/src/load-schematic.c.1.o
[31/66] c: src/main.c -> build/release/src/main.c.1.o
[32/66] c: src/model/item-data.c -> build/release/src/model/item-data.c.1.o
[33/66] c: src/model/node-store.c -> build/release/src/model/node-store.c.1.o
[34/66] c: src/model/node.c -> build/release/src/model/node.c.1.o
[35/66] c: src/model/part-property.c -> build/release/src/model/part-property.c.1.o
[36/66] c: src/model/part.c -> build/release/src/model/part.c.1.o
[37/66] c: src/model/schematic.c -> build/release/src/model/schematic.c.1.o
[38/66] c: src/model/textbox.c -> build/release/src/model/textbox.c.1.o
[39/66] c: src/model/wire.c -> build/release/src/model/wire.c.1.o
[40/66] c: src/netlist-editor.c -> build/release/src/netlist-editor.c.1.o
../../src/model/part.c: In function ‘part_freshen’:
../../src/model/part.c:839:13: warning: unused variable ‘store’ [-Wunused-variable]
  NodeStore *store;
             ^
[41/66] c: src/oregano-config.c -> build/release/src/oregano-config.c.1.o
[42/66] c: src/oregano-utils.c -> build/release/src/oregano-utils.c.1.o
In file included from ../../src/netlist-editor.c:35:0:
/usr/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h:42:2: error: unknown type name ‘GObject’
  GObject parent_instance;
  ^
/usr/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h:49:2: error: unknown type name ‘GObjectClass’
  GObjectClass parent_class;
  ^
/usr/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h:59:1: error: unknown type name ‘GType’
 GType     gtk_source_language_manager_get_type   (void) G_GNUC_CONST;
 ^
../../src/netlist-editor.c: In function ‘netlist_editor_new’:
../../src/netlist-editor.c:246:3: warning: implicit declaration of function ‘gtk_source_language_get_name’ [-Wimplicit-function-declaration]
   NG_DEBUG ("\"%s\" from \"%s\"", gtk_source_language_get_name (lang), OREGANO_LANGDIR "/netlist.lang");
   ^
../../src/netlist-editor.c:246:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat=]
../../src/netlist-editor.c:247:3: warning: implicit declaration of function ‘gtk_source_buffer_set_language’ [-Wimplicit-function-declaration]
   gtk_source_buffer_set_language (GTK_SOURCE_BUFFER (textbuffer), lang);
   ^
../../src/netlist-editor.c:247:3: warning: implicit declaration of function ‘GTK_SOURCE_BUFFER’ [-Wimplicit-function-declaration]
../../src/netlist-editor.c:248:3: warning: implicit declaration of function ‘gtk_source_buffer_set_highlight_syntax’ [-Wimplicit-function-declaration]
   gtk_source_buffer_set_highlight_syntax (GTK_SOURCE_BUFFER (textbuffer), TRUE);
   ^
../../src/netlist-editor.c:249:3: warning: implicit declaration of function ‘gtk_source_buffer_set_highlight_matching_brackets’ [-Wimplicit-function-declaration]
   gtk_source_buffer_set_highlight_matching_brackets (GTK_SOURCE_BUFFER (textbuffer), TRUE);
   ^
../../src/netlist-editor.c: In function ‘netlist_editor_new_from_file’:
../../src/netlist-editor.c:300:2: warning: implicit declaration of function ‘gtk_source_buffer_new’ [-Wimplicit-function-declaration]
  buffer = gtk_source_buffer_new (NULL);
  ^
../../src/netlist-editor.c:300:9: warning: assignment makes pointer from integer without a cast [enabled by default]
  buffer = gtk_source_buffer_new (NULL);
         ^
Waf: Leaving directory `/home/quintus/Downloads/oregano/oregano/build/release'
Build failed
 -> task in 'oregano' failed (exit status 1): 
    {task 140692561071696: c netlist-editor.c -> netlist-editor.c.1.o}
['/usr/bin/gcc', '-O2', '-Wall', '-pthread', '-pthread', '-pthread', '-I/home/quintus/Downloads/oregano/oregano/build/release/src', '-I/home/quintus/Downloads/oregano/oregano/src', '-I/home/quintus/Downloads/oregano/oregano/build/release/src/engines', '-I/home/quintus/Downloads/oregano/oregano/src/engines', '-I/home/quintus/Downloads/oregano/oregano/build/release/src/gplot', '-I/home/quintus/Downloads/oregano/oregano/src/gplot', '-I/home/quintus/Downloads/oregano/oregano/build/release/src/model', '-I/home/quintus/Downloads/oregano/oregano/src/model', '-I/home/quintus/Downloads/oregano/oregano/build/release/src/sheet', '-I/home/quintus/Downloads/oregano/oregano/src/sheet', '-I/usr/include/libxml2', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/gtk-3.0', '-I/usr/include/at-spi2-atk/2.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/harfbuzz', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/goocanvas-2.0', '-I/usr/include/gtksourceview-3.0', '-DLOCALEDIR="/usr/local/share/locale"', '-DDATADIR="/usr/local/share"', '-DHAVE_LOCALE_H=1', '-DVERSION="0.8.3"', '-DGETTEXT_PACKAGE="oregano"', '-DOREGANO_UIDIR="/usr/local/share/oregano/ui/"', '-DOREGANO_MODELDIR="/usr/local/share/oregano/models/"', '-DOREGANO_LIBRARYDIR="/usr/local/share/oregano/library/"', '-DOREGANO_LANGDIR="/usr/local/share/oregano/language-specs/"', '-DOREGANO_EXAMPLEDIR="/usr/local/share/oregano/examples/"', '-DHAVE_GLIB=1', '-DHAVE_GOBJECT=1', '-DHAVE_GTK3=1', '-DHAVE_XML=1', '-DHAVE_GOOCANVAS=1', '-DHAVE_GTKSOURCEVIEW3=1', '-DHAVE_LARGEFILE=1', '-DINLINE_MACRO=1', '-DDEBUG=1', '-DDEBUG_DISABLE_GRABBING=1', '-DRELEASE=1', '../../src/netlist-editor.c', '-c', '-o', 'src/netlist-editor.c.1.o']

GCC in use is this one (default packaged with Arch Linux)

% gcc --version
gcc (GCC) 4.8.0 20130502 (prerelease)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@drahnr
Copy link
Owner

drahnr commented May 28, 2013

Will release a fix tonight, this was caused by some include changes on the gtk end (stumbled upon the very same issue after an update on ArchLinux).

@ghost ghost assigned drahnr May 28, 2013
@drahnr drahnr closed this as completed in 926d6e1 May 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants