ximion / appstream

Tools and libraries to work with AppStream metadata
http://www.freedesktop.org/wiki/Distributions/AppStream/
GNU Lesser General Public License v2.1
212 stars 115 forks source link

0.9.2 fails to build #30

Closed heirecka closed 8 years ago

heirecka commented 8 years ago

I'm unfamiliar with gobject-introspection and thus unsure how to find out what's wrong or even fix this build error with 0.9.2:

[ 21%] Generating AppStream-1.0.gir
cd /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/build/src && /usr/x86_64-pc-linux-gnu/bin/g-ir-scanner --identifier-prefix=As --symbol-prefix=as --warn-all --add-include-path=/var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src --namespace=AppStream --nsversion=1.0 --no-libtool --library=appstream --include=GObject-2.0 --include=Gio-2.0 --pkg-export=appstream --c-include appstream.h -I/var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/ -DAS_COMPILATION /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-utils.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-cache-builder.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-xmldata.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-yamldata.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-metadata.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-component.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-enums.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-provided.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-data-pool.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-database.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-category.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-menu-parser.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-distro-details.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-screenshot.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-image.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-release.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-validator.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-validator-issue.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-icon.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-translation.c /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/appstream.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-utils.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-metadata.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-component.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-data-pool.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-enums.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-provided.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-database.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-category.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-menu-parser.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-distro-details.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-screenshot.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-image.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-release.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-validator.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-validator-issue.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-icon.h /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/AppStream-0.9.2/src/as-translation.h --output /var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/build/src/AppStream-1.0.gir
AppStream-0.9.2/src/as-cache-builder.c:123: Warning: AppStream: unknown annotation: default
ERROR: can't resolve libraries to shared libraries: appstream
src/CMakeFiles/gir-girs.dir/build.make:101: recipe for target 'src/AppStream-1.0.gir' failed
make[2]: *** [src/AppStream-1.0.gir] Error 1
make[2]: Leaving directory '/var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/build'
CMakeFiles/Makefile2:161: recipe for target 'src/CMakeFiles/gir-girs.dir/all' failed
make[1]: *** [src/CMakeFiles/gir-girs.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/paludis/build/dev-libs-appstream-0.9.2/work/build'
Makefile:141: recipe for target 'all' failed
make: *** [all] Error 2

Full log: http://dpaste.com/29QKDBH.txt

heirecka commented 8 years ago

Sorry for the noise, the gobject-introspection on my system broke. After fixing it up, appstream builds successfully.

ximion commented 8 years ago

I just had a reply written asking you to check if your gir-scanner is fine on itself ^^ Great that it works now!