Comment 2 for bug 1248479

Revision history for this message
David Vásquez (davidjeremias82) wrote :

Hi, I have the same error. I made the the rpm for Fedora, and worked great for Fedora 19, but I try make the package for Fedora 20. I don't found where is the problem.

[makerpm@localhost ~]$ rpmbuild -bi /home/makerpm/rpmbuild/SPECS/appcenter-8.spec
Ejecutando(%prep): /bin/sh -e /var/tmp/rpm-tmp.FJDmPW
+ umask 022
+ cd /home/makerpm/rpmbuild/BUILD
+ cd /home/makerpm/rpmbuild/BUILD
+ rm -rf appcenter
+ /usr/bin/gzip -dc /home/makerpm/rpmbuild/SOURCES/appcenter-0.1.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd appcenter
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Ejecutando(%build): /bin/sh -e /var/tmp/rpm-tmp.ZTPUox
+ umask 022
+ cd /home/makerpm/rpmbuild/BUILD
+ cd appcenter
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Vala: /usr/bin/valac
-- checking for a minimum Vala version of 0.18
-- found Vala, version 0.22.0
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Found PkgConfig: pkg-config (found version "0.28")
-- checking for module 'glib-2.0 >= 2.26.0'
-- found glib-2.0 , version 2.38.1
-- checking for module 'gobject-2.0 >= 2.26.0'
-- found gobject-2.0 , version 2.38.1
-- checking for module 'gio-2.0 >= 2.26.0'
-- found gio-2.0 , version 2.38.1
-- checking for module 'gtk+-3.0 >= 3.4'
-- found gtk+-3.0 , version 3.10.2
-- checking for module 'granite'
-- found granite, version 0.2.2
-- checking for module 'libpeas-gtk-1.0'
-- found libpeas-gtk-1.0, version 1.9.0
-- checking for module 'unity'
-- found unity, version 6.12.0
-- checking for module 'appstore'
-- found appstore, version
-- checking for module 'sqlheavy-0.1 >= 0.1'
-- found sqlheavy-0.1 , version 0.1.1
-- checking for module 'gthread-2.0 >= 2.14.0'
-- found gthread-2.0 , version 2.38.1
-- checking for modules 'glib-2.0;gee-1.0;gobject-2.0;gio-2.0;gtk+-3.0;granite;libpeas-1.0;packagekit-glib2;sqlheavy-0.1;appstore;unity;json-glib-1.0;gthread-2.0'
-- found glib-2.0, version 2.38.1
-- found gee-1.0, version 0.6.8
-- found gobject-2.0, version 2.38.1
-- found gio-2.0, version 2.38.1
-- found gtk+-3.0, version 3.10.2
-- found granite, version 0.2.2
-- found libpeas-1.0, version 1.9.0
-- found packagekit-glib2, version 0.8.12
-- found sqlheavy-0.1, version 0.1.1
-- found appstore, version
-- found unity, version 6.12.0
-- found json-glib-1.0, version 0.16.2
-- found gthread-2.0, version 2.38.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/makerpm/rpmbuild/BUILD/appcenter/build
+ make -j2
[ 1%] [ 3%] Generating AppCenter.c, MainWindow.c, Utils.c, config.c, Services/PluginsManager.c, Services/Settings.c, Services/Screenshots.c, Services/Unity.c, Widgets/Boxes.c, Widgets/Buttons.c, Widgets/EmbeddedAlert.c, Widgets/GridView.c, Widgets/PagesView.c, Widgets/ProgressInfo.c, Widgets/Toolbar.c, Widgets/Pages/AppsInfo.c, Widgets/Pages/AppsView.c, Widgets/Pages/CategoriesView.c, Widgets/Pages/ErrorPage.c, Widgets/Pages/HomePage.c, Widgets/Pages/UpdatesView.c, appcentercore.vapi, appcentercore.h, appcentercore_internal.h
Generating AppCenter.c, MainWindow.c, Utils.c, config.c, Services/PluginsManager.c, Services/Settings.c, Services/Screenshots.c, Services/Unity.c, Widgets/Boxes.c, Widgets/Buttons.c, Widgets/EmbeddedAlert.c, Widgets/GridView.c, Widgets/PagesView.c, Widgets/ProgressInfo.c, Widgets/Toolbar.c, Widgets/Pages/AppsInfo.c, Widgets/Pages/AppsView.c, Widgets/Pages/CategoriesView.c, Widgets/Pages/ErrorPage.c, Widgets/Pages/HomePage.c, Widgets/Pages/UpdatesView.c, appcentercore.vapi, appcentercore.h, appcentercore_internal.h
/home/makerpm/rpmbuild/BUILD/appcenter/src/Widgets/Toolbar.vala:33.16-33.24: error: `SearchBar' is an ambiguous reference between `Gtk.SearchBar' and `Granite.Widgets.SearchBar'
        public SearchBar searchbar;
               ^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [src/AppCenter.c] Error 1
make[1]: *** [src/CMakeFiles/appcenter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/makerpm/rpmbuild/BUILD/appcenter/src/Widgets/Toolbar.vala:33.16-33.24: error: `SearchBar' is an ambiguous reference between `Gtk.SearchBar' and `Granite.Widgets.SearchBar'
        public SearchBar searchbar;
               ^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [src/AppCenter.c] Error 1
make[1]: *** [src/CMakeFiles/appcentercore.dir/all] Error 2
make: *** [all] Error 2
error: Estado de salida erróneo de /var/tmp/rpm-tmp.ZTPUox (%build)

Errores de construcción RPM:
    Estado de salida erróneo de /var/tmp/rpm-tmp.ZTPUox (%build)
[makerpm@localhost ~]$