Razor-qt / razor-qt

Razor is now LXQt:
http://lxqt.org
Other
366 stars 78 forks source link

lightdm-greeter build fails on Debian Wheezy #283

Closed itoffshore closed 12 years ago

itoffshore commented 12 years ago

Building with lightdm-greeter included fails on Debian Wheezy with the following linking error:

In function `QLightDM::hostname()':
(.text+0x1e): undefined reference to `QHostInfo::localHostName()'
collect2: ld returned 1 exit status
make[3]: *** [razorqt-lightdm-greeter/razor-lightdm-greeter] Error 1
make[3]: Leaving directory `/home/user/{razorqt}_0.4.1_deb/razorqt-0.4.1/obj-i486-linux-gnu'
make[2]: *** [razorqt-lightdm-greeter/CMakeFiles/razor-lightdm-greeter.dir/all] Error 2
make[2]: Leaving directory `/home/user/{razorqt}_0.4.1_deb/razorqt-0.4.1/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/{razorqt}_0.4.1_deb/razorqt-0.4.1/obj-i486-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
mckaygerhard commented 12 years ago

possible causes:

1) u have instaled a qt4 env with a qt3 old env at same time, debian ships still qt3 libraries and devel tools, and if u not proper config the qmake and others qt tools will use qt3 references..... umm but if this case will be, other rzaorqt part dont buld! so i dont thinks so but carefully revise this..

2) u must install libqt4-dev complete packjages, i think u dont have a proper qt4 devel packages, please use aptitude and see "Suggests" and "recommends" over libqt4-dev package in wheeze.. the debian wheeze qt4 version are uden 4.7.4 same as venenux stable.. the venenux package for solve that install all recommends and suggests packages..

3) > the raozrqt Cmakefile must have included a libqt4-network link dependence, and i think so that its the real error! <

in the code commit i put a coment, https://github.com/Razor-qt/razor-qt/commit/e5f19a898dd1fef921860044121852bc4e91d5f6#commitcomment-1296783

pvanek commented 12 years ago

can you test it now, please?

itoffshore commented 12 years ago

The build now completes but with 2 missing files & one duplicate file error at the end:

Check files:
Missing file: /usr/share/xgreeters/lightdm-razor-greeter.desktop
Douplicates:  /usr/lib/libqtservice.so
    razorqt-dev
    librazorqt0
Missing file: /usr/bin/razor-lightdm-greeter

The duplicate /usr/lib/libqtservice.so stops razorqt-dev installing correctly:

Unpacking razorqt-dev (from razorqt-dev_0.4.1-1_i386.deb) ...
dpkg: error processing razorqt-dev_0.4.1-1_i386.deb (--install):
trying to overwrite '/usr/lib/libqtservice.so', which is also in package librazorqt0 0.4.1-1
............. (cropped)
Setting up libqtxdg0 (0.4.1-1) ...
Setting up libqtxdg-dev (0.4.1-1) ...
Setting up librazorqt0 (0.4.1-1) ...
Setting up razorqt-appswitcher (0.4.1-1) ...
Setting up razorqt-data (0.4.1-1) ...
Setting up razorqt-desktop (0.4.1-1) ...
Setting up razorqt-notificationd (0.4.1-1) ...
Setting up razorqt-panel (0.4.1-1) ...
Setting up razorqt-policykit-agent (0.4.1-1) ...
Setting up razorqt-power (0.4.1-1) ...
Setting up razorqt-runner (0.4.1-1) ...
Setting up razorqt-session (0.4.1-1) ...
Setting up razorqt-config (0.4.1-1) ...
Processing triggers for desktop-file-utils ...
Setting up razorqt (0.4.1-1) ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
razorqt-dev_0.4.1-1_i386.deb 
pvanek commented 12 years ago

it's fine then. These packaging issues needs to be solved as well, but they ar epart of new module - notification solution. So it's not decided how to pack it. It can change in the very near future...

mckaygerhard commented 12 years ago

pvanek was fixed a bug around dev rules packagin, please verify this..

i think the packagin issue are due old files.. (previously instaled) i test tomorrow for solve anjd propose a solution for debian rules (if something not yet solved jejeje)

please, try first uninstalling with --purge option using dpkg and then install from clean.. i will see if that error its due old prevoiusly installed files..

itoffshore commented 12 years ago
apt-get remove --purge razorqt*
........................
The following packages will be REMOVED:
librazorqt0* razorqt* razorqt-appswitcher* razorqt-config* razorqt-data*
razorqt-desktop* razorqt-notificationd* razorqt-panel* razorqt-policykit-agent*
razorqt-power* razorqt-runner* razorqt-session*
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
After this operation, 15.4 MB disk space will be freed.
Do you want to continue [Y/n]? y

Which still gives:

Check files:
Missing file: /usr/share/xgreeters/lightdm-razor-greeter.desktop
Douplicates:  /usr/lib/libqtservice.so
razorqt-dev
librazorqt0
Missing file: /usr/bin/razor-lightdm-greeter

& fails to install:

dpkg: error processing razorqt-dev_0.4.1-1_i386.deb (--install):
trying to overwrite '/usr/lib/libqtservice.so', which is also in package librazorqt0 0.4.1-1
.............................
Errors were encountered while processing:
razorqt-dev_0.4.1-1_i386.deb
mckaygerhard commented 12 years ago

ok, thanks now confirmed.. i'll revise packagin files.

On Mon, May 7, 2012 at 9:03 AM, itoffshore < reply@reply.github.com

wrote:

apt-get remove --purge razorqt ........................ The following packages will be REMOVED: librazorqt0* razorqt* razorqt-appswitcher* razorqt-config* razorqt-data razorqt-desktop* razorqt-notificationd* razorqt-panel razorqt-policykit-agent razorqt-power* razorqt-runner* razorqt-session* 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. After this operation, 15.4 MB disk space will be freed. Do you want to continue [Y/n]? y

Which still gives:

Check files: Missing file: /usr/share/xgreeters/lightdm-razor-greeter.desktop Douplicates: /usr/lib/libqtservice.so razorqt-dev librazorqt0 Missing file: /usr/bin/razor-lightdm-greeter

& fails to install:

dpkg: error processing razorqt-dev_0.4.1-1_i386.deb (--install): trying to overwrite '/usr/lib/libqtservice.so', which is also in package librazorqt0 0.4.1-1 ............................. Errors were encountered while processing: razorqt-dev_0.4.1-1_i386.deb


Reply to this email directly or view it on GitHub: https://github.com/Razor-qt/razor-qt/issues/283#issuecomment-5550010

Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com Cofundador de Venenux; debian based multimedia alike free only zealots users (oh well, i try but..too many free guidelines buahhh) http://shutendouji.net creador de massenkoh linux; debian enhanchements for better up to date support on stable brand, including non-free soft.