Kwin 5.8.4 fails with "file not recognized" (plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/local/lib)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	I'm compiling Kwin 5.8.4 and I get this error:

[ 88%] Linking CXX shared module KWinWaylandWaylandBackend.so
cd /home/fraga/git/kde5/kwin/b/plugins/platforms/wayland && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/KWinWaylandWaylandBackend.dir/link.txt --verbose=1
/usr/local/bin/c++  -fPIC -march=native -O3 -pipe -I/usr/xorg/include -I/usr/xorg/include -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -O3 -DNDEBUG -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -L/usr/local/BerkeleyDB/lib -L/usr/X11/lib -L/usr/local/lib64 -shared  -o KWinWaylandWaylandBackend.so CMakeFiles/KWinWaylandWaylandBackend.dir/egl_wayland_backend.cpp.o CMakeFiles/KWinWaylandWaylandBackend.dir/logging.cpp.o CMakeFiles/KWinWaylandWaylandBackend.dir/scene_qpainter_wayland_backend.cpp.o CMakeFiles/KWinWaylandWaylandBackend.dir/wayland_backend.cpp.o CMakeFiles/KWinWaylandWaylandBackend.dir/KWinWaylandWaylandBackend_automoc.cpp.o -Wl,-rpath,/home/fraga/git/kde5/kwin/b:/home/fraga/git/kde5/kwin/b/libkwineffects:/home/fraga/git/kde5/kwin/b/effects:/usr/local/kde5/lib:/usr/local/qt/lib:/usr/X11R6/lib:/usr/xorg/lib: ../../../l
 ibkwin.so.5.8.4 /usr/local/kde5/lib/libKF5WaylandClient.so.5.28.0 /usr/local/lib ../../../libkwineffects/libkwineffects.so.5.8.4 ../../../libkwineffects/libkwinxrenderutils.so.5.8.4 ../../../effects/libkwin4_effect_builtins.so.1.0.0 /usr/local/qt/lib/libQt5Script.so.5.7.0 /usr/local/kde5/lib/libKF5GlobalAccelPrivate.so.5.28.0 /usr/local/kde5/lib/libKF5Plasma.so.5.28.0 /usr/local/qt/lib/libQt5Quick.so.5.7.0 /usr/local/kde5/lib/libKF5Package.so.5.28.0 /usr/local/qt/lib/libQt5Qml.so.5.7.0 /usr/local/kde5/lib/libKF5Service.so.5.28.0 /usr/local/qt/lib/libQt5Network.so.5.7.0 /usr/local/kde5/lib/libKF5ConfigWidgets.so.5.28.0 /usr/local/kde5/lib/libKF5Auth.so.5.28.0 /usr/local/kde5/lib/libKF5WidgetsAddons.so.5.28.0 /usr/local/kde5/lib/libkdecorations2.so.5.8.4 /usr/local/kde5/lib/libkdecorations2private.so.5.8.4 /usr/local/kde5/lib/libKScreenLocker.so.5.8.4 /usr/local/kde5/lib/libKF5GlobalAccel.so.5.28.0 /usr/local/kde5/lib/libKF5I18n.so.5.28.0 /usr/local/kde5/lib/libKF5Notifications.so.5.2
 8.0 /usr/local/kde5/lib/libKF5Codecs.so.5.28.0 /usr/local/kde5/lib/libKF5ConfigGui.so.5.28.0 /usr/local/kde5/lib/libKF5ConfigCore.so.5.28.0 /usr/local/qt/lib/libQt5Xml.so.5.7.0 /usr/local/kde5/lib/libKF5Activities.so.5.28.0 /usr/X11R6/lib/libX11.so /usr/X11R6/lib/libICE.so /usr/X11R6/lib/libSM.so /usr/xorg/lib/libxcb-damage.so /usr/xorg/lib/libxcb-composite.so /usr/xorg/lib/libxcb-xfixes.so /usr/xorg/lib/libxcb-shape.so /usr/xorg/lib/libxcb-sync.so /usr/xorg/lib/libxcb-render.so /usr/xorg/lib/libxcb-randr.so /usr/xorg/lib/libxcb-keysyms.so /usr/xorg/lib/libxcb-shm.so /usr/xorg/lib/libxcb-glx.so /usr/local/lib/libxkbcommon.so /usr/local/kde5/lib/libKF5WaylandServer.so.5.28.0 /usr/local/qt/lib/libQt5Concurrent.so.5.7.0 /usr/local/lib/libwayland-cursor.so -lpthread -ludev /usr/local/lib/libinput.so ../../../libkwineffects/libkwinglutils.so.5.8.4 /usr/local/qt/lib/libQt5DBus.so.5.7.0 /usr/local/kde5/lib/libKF5CoreAddons.so.5.28.0 /usr/local/kde5/lib/libKF5WindowSystem.so.5.28.0 /usr/loc
 al/qt/lib/libQt5X11Extras.so.5.7.0 /usr/local/qt/lib/libQt5Widgets.so.5.7.0 /usr/local/qt/lib/libQt5Gui.so.5.7.0 /usr/local/qt/lib/libQt5Core.so.5.7.0 /usr/xorg/lib/libxcb.so -lepoxy -ldl /usr/local/lib/libwayland-client.so -Wl,-rpath-link,/usr/local/kde5/lib:/usr/X11R6/lib 
/usr/local/lib: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/build.make:221: plugins/platforms/wayland/KWinWaylandWaylandBackend.so] Error 1
make[2]: Leaving directory '/usr/local/src/git/kde5/kwin/b'
make[1]: *** [CMakeFiles/Makefile2:5221: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/all] Error 2
make[1]: Leaving directory '/usr/local/src/git/kde5/kwin/b'
make: *** [Makefile:128: all] Error 2

	******************************************

	The problem is here (the "/usr/local/lib" directory isn't a file and I don't know why it's being included):

plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/build.make:

# External object files for target KWinWaylandWaylandBackend
KWinWaylandWaylandBackend_EXTERNAL_OBJECTS =

	(...)

plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/egl_wayland_backend.cpp.o
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/logging.cpp.o
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/scene_qpainter_wayland_backend.cpp.o
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/wayland_backend.cpp.o
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/KWinWaylandWaylandBackend_automoc.cpp.o
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: plugins/platforms/wayland/CMakeFiles/KWinWaylandWaylandBackend.dir/build.make
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/local/lib <======= *** THE PROBLEM ***
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/X11R6/lib/libX11.so
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/X11R6/lib/libICE.so
plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/X11R6/lib/libSM.so

	(...)

	So the following line:

plugins/platforms/wayland/KWinWaylandWaylandBackend.so: /usr/local/lib

	shouldn't be here. Any idea how to discover what's causing this issue? This only happens with Kwin. The rest of KDE packages 
compile just fine.

	Thanks!

-- 





[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux