Hello, What item provides gimptool-2.0 so I can add it to BuildRequires: options? Is there anything else I need to add/change/missing to the specfile to resolve the errors listed below ? spec file -> https://build.opensuse.org/package/view_file?file=gimp-lch-selector.spec&package=gimp-lch-selector&project=home%3Adoiggl project -> https://build.opensuse.org/package/show?package=gimp-lch-selector&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=gimp-lch-selector&project=home%3Adoiggl&repository=openSUSE_11.2 Thanks Glenn The error messages from the last log: + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'jobs 4' --define 'disturl obs://build.opensuse.org/home:doiggl/openSUSE_11.2/b620f3c4a95840a14e7dc941c0f503c8-gimp-lch-selector' /usr/src/packages/SOURCES/gimp-lch-selector.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ycZd4G + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf gimp-lch-selector-0.3 + /usr/bin/gzip -dc /usr/src/packages/SOURCES/gimp-lch-selector-0.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gimp-lch-selector-0.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aDJiP1 + umask 022 + cd /usr/src/packages/BUILD + /bin/rm -rf /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-14.1.x86_64 ++ dirname /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-14.1.x86_64 + /bin/mkdir -p /usr/src/packages/BUILDROOT + /bin/mkdir /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-14.1.x86_64 + cd gimp-lch-selector-0.3 + test -x ./configure + make g++ \ -ansi -pedantic -Wall -Wextra \ -shared -fPIC -O3 \ -o libcolor-selector-lch.so main.cpp \ $(gimptool-2.0 --cflags --libs) /bin/sh: line 1: gimptool-2.0: command not found main.cpp:6:25: error: glib-object.h: No such file or directory main.cpp:7:38: error: libgimpmodule/gimpmodule.h: No such file or directory In file included from main.cpp:8: selector-lch.hpp:12:21: error: gtk/gtk.h: No such file or directory selector-lch.hpp:13:25: error: cairo/cairo.h: No such file or directory selector-lch.hpp:14:36: error: libgimpcolor/gimpcolor.h: No such file or directory selector-lch.hpp:15:40: error: libgimpwidgets/gimpwidgets.h: No such file or directory In file included from selector-lch.hpp:16, from main.cpp:8: color-space.hpp:49: error: ISO C++ forbids declaration of 'GimpRGB' with no type color-space.hpp:49: error: expected ',' or '...' before '&' token color-space.hpp: In function 'bool color::convert(color::Lab&, int)': color-space.hpp:51: error: 'srgb' was not declared in this scope color-space.hpp: At global scope: color-space.hpp:49: warning: unused parameter 'GimpRGB' color-space.hpp:67: error: 'color::convert' declared as an 'inline' variable color-space.hpp:67: error: 'bool color::convert' redeclared as different kind of symbol color-space.hpp:49: error: previous declaration of 'bool color::convert(color::Lab&, int)' color-space.hpp:67: error: 'GimpRGB' was not declared in this scope color-space.hpp:67: error: 'srgb' was not declared in this scope color-space.hpp:67: error: expected primary-expression before 'const' In file included from main.cpp:8: selector-lch.hpp:28: error: expected class-name before '{' token selector-lch.hpp:29: error: ISO C++ forbids declaration of 'GtkAdjustment' with no type selector-lch.hpp:29: error: expected ';' before '*' token selector-lch.hpp:30: error: ISO C++ forbids declaration of 'GtkAdjustment' with no type selector-lch.hpp:30: error: expected ';' before '*' token selector-lch.hpp:31: error: ISO C++ forbids declaration of 'GtkAdjustment' with no type selector-lch.hpp:31: error: expected ';' before '*' token selector-lch.hpp:32: error: ISO C++ forbids declaration of 'GtkDrawingArea' with no type selector-lch.hpp:32: error: expected ';' before '*' token selector-lch.hpp:33: error: ISO C++ forbids declaration of 'cairo_surface_t' with no type selector-lch.hpp:33: error: expected ';' before '*' token selector-lch.hpp:92: error: ISO C++ forbids declaration of 'GimpRGB' with no type selector-lch.hpp:92: error: expected ',' or '...' before '*' token selector-lch.hpp:101: error: 'GtkAdjustment' has not been declared selector-lch.hpp:118: error: 'GtkDrawingArea' has not been declared selector-lch.hpp:118: error: 'GdkEventExpose' has not been declared selector-lch.hpp:184: error: 'cairo_surface_t' has not been declared selector-lch.hpp: In static member function 'static void LchSelector::ctor(LchSelector*)': selector-lch.hpp:37: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:37: error: 'CAIRO_FORMAT_RGB24' was not declared in this scope selector-lch.hpp:37: error: 'cairo_image_surface_create' was not declared in this scope selector-lch.hpp:40: error: 'GtkWidget' was not declared in this scope selector-lch.hpp:40: error: 'vbox' was not declared in this scope selector-lch.hpp:40: error: 'FALSE' was not declared in this scope selector-lch.hpp:40: error: 'gtk_vbox_new' was not declared in this scope selector-lch.hpp:41: error: 'GTK_BOX' was not declared in this scope selector-lch.hpp:41: error: 'TRUE' was not declared in this scope selector-lch.hpp:41: error: 'gtk_box_pack_start' was not declared in this scope selector-lch.hpp:43: error: 'table' was not declared in this scope selector-lch.hpp:43: error: 'gtk_table_new' was not declared in this scope selector-lch.hpp:46: error: 'struct LchSelector' has no member named 'scaleL' selector-lch.hpp:47: error: 'GTK_TABLE' was not declared in this scope selector-lch.hpp:50: error: 'gimp_scale_entry_new' was not declared in this scope selector-lch.hpp:50: error: 'GTK_ADJUSTMENT' was not declared in this scope selector-lch.hpp:52: error: 'struct LchSelector' has no member named 'scaleL' selector-lch.hpp:53: error: 'G_CALLBACK' was not declared in this scope selector-lch.hpp:54: error: 'g_signal_connect' was not declared in this scope selector-lch.hpp:55: error: 'struct LchSelector' has no member named 'scaleC' selector-lch.hpp:61: error: 'struct LchSelector' has no member named 'scaleC' selector-lch.hpp:64: error: 'struct LchSelector' has no member named 'scaleH' selector-lch.hpp:70: error: 'struct LchSelector' has no member named 'scaleH' selector-lch.hpp:74: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:74: error: 'gtk_drawing_area_new' was not declared in this scope selector-lch.hpp:74: error: 'GTK_DRAWING_AREA' was not declared in this scope selector-lch.hpp:75: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:75: error: 'GTK_WIDGET' was not declared in this scope selector-lch.hpp:77: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:81: error: 'gtk_widget_show_all' was not declared in this scope selector-lch.hpp: In static member function 'static void LchSelector::dtor(LchSelector*)': selector-lch.hpp:86: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:87: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:87: error: 'cairo_surface_destroy' was not declared in this scope selector-lch.hpp:88: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp: In static member function 'static void LchSelector::setColor(LchSelector*, int)': selector-lch.hpp:95: error: 'rgb' was not declared in this scope selector-lch.hpp: At global scope: selector-lch.hpp:92: warning: unused parameter 'GimpRGB' selector-lch.hpp: In static member function 'static void LchSelector::onValueChanged(int*, LchSelector*)': selector-lch.hpp:106: error: 'struct LchSelector' has no member named 'rgb' selector-lch.hpp:107: error: 'struct LchSelector' has no member named 'rgb' selector-lch.hpp:107: error: 'struct LchSelector' has no member named 'hsv' selector-lch.hpp:107: error: 'gimp_rgb_to_hsv' was not declared in this scope selector-lch.hpp:109: error: 'gimp_color_selector_color_changed' was not declared in this scope selector-lch.hpp:112: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:112: error: 'GTK_WIDGET' was not declared in this scope selector-lch.hpp:113: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:114: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:115: error: 'gtk_widget_queue_draw_area' was not declared in this scope selector-lch.hpp: In static member function 'static void LchSelector::onExpose(int*, int*, LchSelector*)': selector-lch.hpp:121: error: request for member 'count' in '* ev', which is of non-class type 'int' selector-lch.hpp:126: error: 'GTK_WIDGET' was not declared in this scope selector-lch.hpp:132: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:132: error: 'cairo_image_surface_get_width' was not declared in this scope selector-lch.hpp:133: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:133: error: 'cairo_surface_destroy' was not declared in this scope selector-lch.hpp:134: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:134: error: 'CAIRO_FORMAT_RGB24' was not declared in this scope selector-lch.hpp:134: error: 'cairo_image_surface_create' was not declared in this scope selector-lch.hpp:135: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:139: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:143: error: 'cairo_t' was not declared in this scope selector-lch.hpp:143: error: 'ctx' was not declared in this scope selector-lch.hpp:143: error: 'gdk_cairo_create' was not declared in this scope selector-lch.hpp:144: error: 'cairo_save' was not declared in this scope selector-lch.hpp:146: error: 'struct LchSelector' has no member named 'image' selector-lch.hpp:146: error: 'cairo_set_source_surface' was not declared in this scope selector-lch.hpp:147: error: 'cairo_paint' was not declared in this scope selector-lch.hpp:149: error: 'cairo_scale' was not declared in this scope selector-lch.hpp:150: error: 'cairo_translate' was not declared in this scope selector-lch.hpp:152: error: 'cairo_arc' was not declared in this scope selector-lch.hpp:153: error: 'cairo_close_path' was not declared in this scope selector-lch.hpp:155: error: 'cairo_move_to' was not declared in this scope selector-lch.hpp:156: error: 'cairo_line_to' was not declared in this scope selector-lch.hpp:158: error: 'cairo_restore' was not declared in this scope selector-lch.hpp:159: error: 'cairo_set_source_rgb' was not declared in this scope selector-lch.hpp:160: error: 'cairo_set_line_width' was not declared in this scope selector-lch.hpp:161: error: 'cairo_stroke' was not declared in this scope selector-lch.hpp:163: error: 'cairo_destroy' was not declared in this scope selector-lch.hpp: In static member function 'static void LchSelector::setLch(LchSelector*, const color::Lch&)': selector-lch.hpp:167: error: 'struct LchSelector' has no member named 'scaleL' selector-lch.hpp:167: error: 'gtk_adjustment_set_value' was not declared in this scope selector-lch.hpp:168: error: 'struct LchSelector' has no member named 'scaleC' selector-lch.hpp:169: error: 'struct LchSelector' has no member named 'scaleH' selector-lch.hpp:172: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:172: error: 'GTK_WIDGET' was not declared in this scope selector-lch.hpp:173: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:174: error: 'struct LchSelector' has no member named 'area' selector-lch.hpp:175: error: 'gtk_widget_queue_draw_area' was not declared in this scope selector-lch.hpp: In static member function 'static void LchSelector::getLch(LchSelector*, color::Lch&)': selector-lch.hpp:179: error: 'struct LchSelector' has no member named 'scaleL' selector-lch.hpp:180: error: 'struct LchSelector' has no member named 'scaleC' selector-lch.hpp:181: error: 'struct LchSelector' has no member named 'scaleH' selector-lch.hpp: In static member function 'static void LchSelector::generateColorMap(int*, double)': selector-lch.hpp:185: error: 'cairo_image_surface_get_width' was not declared in this scope selector-lch.hpp:186: error: 'cairo_image_surface_get_height' was not declared in this scope selector-lch.hpp:187: error: 'cairo_image_surface_get_stride' was not declared in this scope selector-lch.hpp:189: error: 'cairo_image_surface_get_data' was not declared in this scope selector-lch.hpp:200: error: 'GimpRGB' was not declared in this scope selector-lch.hpp:200: error: expected ';' before 'srgb' selector-lch.hpp:201: error: 'srgb' was not declared in this scope selector-lch.hpp: At global scope: selector-lch.hpp:216: error: expected class-name before '{' token selector-lch.hpp:217: error: 'GObject' has not been declared selector-lch.hpp:218: error: 'GimpColorSelector' has not been declared selector-lch.hpp:218: error: ISO C++ forbids declaration of 'GimpRGB' with no type selector-lch.hpp:218: error: expected ',' or '...' before '*' token selector-lch.hpp:232: error: 'GObject' has not been declared selector-lch.hpp:237: error: 'GType' does not name a type selector-lch.hpp: In static member function 'static void LchSelectorClass::ctor(LchSelectorClass*)': selector-lch.hpp:223: error: 'G_OBJECT_CLASS' was not declared in this scope selector-lch.hpp:226: error: 'struct LchSelectorClass' has no member named 'name' selector-lch.hpp:227: error: 'struct LchSelectorClass' has no member named 'help_id' selector-lch.hpp:228: error: 'struct LchSelectorClass' has no member named 'stock_id' selector-lch.hpp:228: error: 'GTK_STOCK_COLOR_PICKER' was not declared in this scope selector-lch.hpp:229: error: 'struct LchSelectorClass' has no member named 'set_color' selector-lch.hpp: In static member function 'static void LchSelectorClass::disposeInstance(int*)': selector-lch.hpp:234: error: 'G_OBJECT_GET_CLASS' was not declared in this scope main.cpp: At global scope: main.cpp:11: error: expected initializer before '*' token make: *** [libcolor-selector-lch.so] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.aDJiP1 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aDJiP1 (%build) mount: / is busy System halted. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org