Installation problems | Problèmes à l'installation
Subscription date : 12 December 2009
Messages : 28
|
Using the ebuild for cairo-dock-plugins from vaca overlay which has already successfully compiled in the past, I cannot seem to get it to compile again after uninstall. The cairo-dock package is presently installed on the system. This seems to be the appropriate snippet of the build log:
Scanning dependencies of target cd-motion_blur
make[2]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
make -f motion-blur/src/CMakeFiles/cd-motion_blur.dir/build.make motion-blur/src/CMakeFiles/cd-motion_blur.dir/build
make[2]: Entering directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles 52
[ 49%] Building C object motion-blur/src/CMakeFiles/cd-motion_blur.dir/applet-init.c.o
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/motion-blur/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DMY_APPLET_CONF_FILE=\"motion_blur.conf\" -DMY_APPLET_DOCK_VERSION=\"3.3.2\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"none\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/motion-blur\" -DMY_APPLET_USER_DATA_DIR=\"motion_blur\" -DMY_APPLET_VERSION=\"1.0.5\" -Dcd_motion_blur_EXPORTS -DNDEBUG -march=native -O2 -pipe -fPIC -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/implementations -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libdrm -std=c99 -Wall -Werror-implicit-function-declaration -o CMakeFiles/cd-motion_blur.dir/applet-init.c.o -c /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/motion-blur/src/applet-init.c
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c: In function ‘_cd_logout_check_capabilities_async’:
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:123:4: error: implicit declaration of function ‘up_client_get_properties_sync’ [-Werror=implicit-function-declaration]
up_client_get_properties_sync (pUPowerClient, NULL, &error); // this function always returns false ... and it crashes the dock (Debian 6
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:132:5: error: implicit declaration of function ‘up_client_get_can_hibernate’ [-Werror=implicit-function-declaration]
pSharedMemory->bCanHibernate = up_client_get_can_hibernate (pUPowerClient);
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:133:5: error: implicit declaration of function ‘up_client_get_can_suspend’ [-Werror=implicit-function-declaration]
pSharedMemory->bCanSuspend = up_client_get_can_suspend (pUPowerClient);
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c: In function ‘_upower_action’:
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:635:3: error: implicit declaration of function ‘up_client_suspend_sync’ [-Werror=implicit-function-declaration]
up_client_suspend_sync (pUPowerClient, NULL, NULL);
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:637:3: error: implicit declaration of function ‘up_client_hibernate_sync’ [-Werror=implicit-function-declaration]
up_client_hibernate_sync (pUPowerClient, NULL, NULL);
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c: In function ‘_get_users_list_gdm’:
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:1056:3: warning: ‘g_value_array_get_nth’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:63): Use 'GArray' instead [-Wdeprecated-declarations]
v = g_value_array_get_nth (va, 1); // GValueArray is deprecated from 2.32, yet it's so convenient to map the g_type_ptrarray type ...
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:1062:3: warning: ‘g_value_array_get_nth’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:63): Use 'GArray' instead [-Wdeprecated-declarations]
v = g_value_array_get_nth (va, 2);
^
/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/logout/src/applet-logout.c:1066:3: warning: ‘g_value_array_get_nth’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:63): Use 'GArray' instead [-Wdeprecated-declarations]
v = g_value_array_get_nth (va, 5);
^
cc1: some warnings being treated as errors
logout/src/CMakeFiles/cd-logout.dir/build.make:126: recipe for target 'logout/src/CMakeFiles/cd-logout.dir/applet-logout.c.o' failed
make[2]: *** [logout/src/CMakeFiles/cd-logout.dir/applet-logout.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
CMakeFiles/Makefile2:2206: recipe for target 'logout/src/CMakeFiles/cd-logout.dir/all' failed
make[1]: *** [logout/src/CMakeFiles/cd-logout.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles
[ 49%] Linking C shared library libcd-illusion.so
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/illusion/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cd-illusion.dir/link.txt --verbose=1
Building C object motion-blur/src/CMakeFiles/cd-motion_blur.dir/applet-config.c.o
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/motion-blur/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DMY_APPLET_CONF_FILE=\"motion_blur.conf\" -DMY_APPLET_DOCK_VERSION=\"3.3.2\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"none\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/motion-blur\" -DMY_APPLET_USER_DATA_DIR=\"motion_blur\" -DMY_APPLET_VERSION=\"1.0.5\" -Dcd_motion_blur_EXPORTS -DNDEBUG -march=native -O2 -pipe -fPIC -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/implementations -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libdrm -std=c99 -Wall -Werror-implicit-function-declaration -o CMakeFiles/cd-motion_blur.dir/applet-config.c.o -c /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/motion-blur/src/applet-config.c
/usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libcd-illusion.so -o libcd-illusion.so CMakeFiles/cd-illusion.dir/applet-init.c.o CMakeFiles/cd-illusion.dir/applet-config.c.o CMakeFiles/cd-illusion.dir/applet-notifications.c.o CMakeFiles/cd-illusion.dir/applet-evaporate.c.o CMakeFiles/cd-illusion.dir/applet-fade-out.c.o CMakeFiles/cd-illusion.dir/applet-explode.c.o CMakeFiles/cd-illusion.dir/applet-break.c.o CMakeFiles/cd-illusion.dir/applet-black-hole.c.o CMakeFiles/cd-illusion.dir/applet-lightning.c.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgthread-2.0 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2 -lGLU -lGL -lcurl -lXtst -lXcomposite -lXrandr -lXrender -lX11
Linking C shared library libcd-icon-effect.so
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/icon-effect/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cd-icon-effect.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libcd-icon-effect.so -o libcd-icon-effect.so CMakeFiles/cd-icon-effect.dir/applet-init.c.o CMakeFiles/cd-icon-effect.dir/applet-config.c.o CMakeFiles/cd-icon-effect.dir/applet-notifications.c.o CMakeFiles/cd-icon-effect.dir/applet-fire.c.o CMakeFiles/cd-icon-effect.dir/applet-rain.c.o CMakeFiles/cd-icon-effect.dir/applet-snow.c.o CMakeFiles/cd-icon-effect.dir/applet-star.c.o CMakeFiles/cd-icon-effect.dir/applet-storm.c.o CMakeFiles/cd-icon-effect.dir/applet-firework.c.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgthread-2.0 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2 -lGLU -lGL -lcurl -lXtst -lXcomposite -lXrandr -lXrender -lX11
make[2]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles 46 47 48
[ 49%] Built target cd-illusion
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles
[ 49%] Building C object motion-blur/src/CMakeFiles/cd-motion_blur.dir/applet-notifications.c.o
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/motion-blur/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DMY_APPLET_CONF_FILE=\"motion_blur.conf\" -DMY_APPLET_DOCK_VERSION=\"3.3.2\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"none\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/motion-blur\" -DMY_APPLET_USER_DATA_DIR=\"motion_blur\" -DMY_APPLET_VERSION=\"1.0.5\" -Dcd_motion_blur_EXPORTS -DNDEBUG -march=native -O2 -pipe -fPIC -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/implementations -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libdrm -std=c99 -Wall -Werror-implicit-function-declaration -o CMakeFiles/cd-motion_blur.dir/applet-notifications.c.o -c /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2/motion-blur/src/applet-notifications.c
make[2]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles 43 44 45
[ 49%] Built target cd-icon-effect
Linking C shared library libcd-motion_blur.so
cd /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/motion-blur/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cd-motion_blur.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libcd-motion_blur.so -o libcd-motion_blur.so CMakeFiles/cd-motion_blur.dir/applet-init.c.o CMakeFiles/cd-motion_blur.dir/applet-config.c.o CMakeFiles/cd-motion_blur.dir/applet-notifications.c.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgthread-2.0 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lxml2 -lGLU -lGL -lcurl -lXtst -lXcomposite -lXrandr -lXrender -lX11
make[2]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build/CMakeFiles 52
[ 49%] Built target cd-motion_blur
make[1]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
emake failed
* ERROR: x11-plugins/cairo-dock-plugins-3.3.2-r1::BZ-overlay failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2763: Called cmake-utils_src_compile
* environment, line 703: Called _execute_optionally 'src_compile'
* environment, line 270: Called enable_cmake-utils_src_compile
* environment, line 899: Called cmake-utils_src_make
* environment, line 718: Called emake_src_make
* environment, line 867: Called die
* The specific snippet of code:
* emake VERBOSE=1 "$@" || die;
*
* If you need support, post the output of `emerge --info '=x11-plugins/cairo-dock-plugins-3.3.2-r1::BZ-overlay'`,
* the complete build log and the output of `emerge -pqv '=x11-plugins/cairo-dock-plugins-3.3.2-r1::BZ-overlay'`.
* The complete build log is located at '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/temp/environment'.
* Working directory: '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2_build'
* S: '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.3.2-r1/work/cairo-dock-plugins-3.3.2'
After the build failed, I tried removing all use flags from the plugins package. This failed as well. Then I attempted to recompile both cairo-dock and the plugins package, with similar result.
I am guessing that I have changed some obscure use flag on another package [dependency] at some point (the uninstall was accidental), but that is only a guess. Can someone take a look and see if there is a direction to point me in? Thanks! |
matttbe, Sunday 10 August 2014 à 11:23
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello (and sorry for the delay),
This bug is fixed in the development version of the dock. It's because you're using UPower 0.99 which breaks many things
But if you want to install the 3.3.2 version, you can use this patch: Support_UPower0.99
(or you can also disable UPower support by using this CMake flag -Denable-upower-support=OFF but it's not the best solution ) |
Subscription date : 12 December 2009
Messages : 28
|
Matttbe, thanks for letting me know. At least I am aware now that it's a known problem.
I don't use upower (it's pulled into the dependency graph by an obscure xfce app), so I probably could disable the USE flag that pulls it in.
In the meantime, though, I found a set of packages in the Sabayon overlay that build fine. I might just stay with those until your next stable version with the fix is available. |
Installation problems | Problèmes à l'installation
|