[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: CMake Error in building KF5 framework
From:       "Sudha M.R." <msrghvn () gmail ! com>
Date:       2015-01-23 13:48:43
Message-ID: CADB2__z3koNFwNwBSB2ztzASM69JeGGpx6Ay2Rcrpxhg2bEArQ () mail ! gmail ! com
[Download RAW message or body]

Hi Arjun AK!
 Yes, I initially used the method given in the wiki only. I installed
all the dependencies too! Since it showed many packages that failed to
build, I decided to run each one separately to figure out what went
wrong.

Sudha M.R.

On 1/22/15, kde-devel-request@kde.org <kde-devel-request@kde.org> wrote:
> Send kde-devel mailing list submissions to
> 	kde-devel@kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.kde.org/mailman/listinfo/kde-devel
> or, via email, send a message with subject or body 'help' to
> 	kde-devel-request@kde.org
>
> You can reach the person managing the list at
> 	kde-devel-owner@kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of kde-devel digest..."
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
>>> <<
>
>
>
> Today's Topics:
>
>    1. Re: Indexing Text Files and Text Encoding (Vishesh Handa)
>    2. Re: CMake Error in building KF5 framework (Arjun AK)
>    3. NetworkManager and DBus issues [was: Re: DBUS issues with KDE
>       4 and Frameworks 5] (Milian Wolff)
>    4. Re: Indexing Text Files and Text Encoding (Albert Astals Cid)
>    5. Re: Indexing Text Files and Text Encoding (David Narvaez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 21 Jan 2015 13:24:02 +0100
> From: Vishesh Handa <me@vhanda.in>
> To: kde-devel@kde.org
> Subject: Re: Indexing Text Files and Text Encoding
> Message-ID: <20940774.QC4sAZ1TSt@vlap>
> Content-Type: text/plain; charset="us-ascii"
>
> On Wednesday, January 21, 2015 11:51:13 AM Milian Wolff wrote:
>> Or just use Qt directly:
>>
>> http://stackoverflow.com/questions/18227530/check-if-utf-8-string-is-valid-i
>> n-qt/18228382#18228382
>>
>> If it fails, either discard the file. Or try again with the system
>> encoding
>> (if that is not UTF-8) and discard otherwise.
>
> That's exactly what I've currently implemented. I was a little concerned
> about
> discarding the file. Oh well.
>
> Thanks
>
> --
> Vishesh Handa
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 21 Jan 2015 20:31:42 +0530
> From: Arjun AK <arjunak234@gmail.com>
> To: kde-devel@kde.org
> Subject: Re: CMake Error in building KF5 framework
> Message-ID: <19215935.jMBHHlKo3A@thinkpad>
> Content-Type: text/plain; charset="us-ascii"
>
> On Tuesday 20 Jan 2015 10:03:35 PM Sudha M.R. wrote:
>> Hi !
>>    I aim to install kholidays. But ended up with a pile of glitches in
>>  building KF5. After looking around, I found that all the frameworks
>>  (kitemmodels, kitemviews etc) had failed to build. So, l tried to
>>  build them separately as in the wiki:
>>  (https://community.kde.org/Frameworks/Building/Details).
>>   I ended up with this error http://paste.ubuntu.com/9795224/
>>
>>  I tried setting KF5 environmental variables as mentioned in here:
>>  http://mail.kde.org/pipermail/plasma-devel/2013-July/026017.html
>>   But it is not helping :(
>>
>>  Thank you !
>>  Sudha
>>
>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>> >> unsubscribe
> <<
>
> Why not use kdesrc-build for building?. Follow the instructions here:
> https://community.kde.org/Frameworks/Building.
>
>> * ECM (required version >= 1.6.0)
>> * Qt5Core (required version >= 5.2.0)
>> * Qt5Test
>> * Qt5Gui (required version >= 5.2.1)
>> * Qt5Widgets
>> * Qt5 (required version >= 5.2.0)
>
> Have you installed all the dependencies?
> https://community.kde.org/Frameworks/Building#Dependencies
> --
> Arjun AK
> GPG: D322 E738 2FE6 8643 AE71 E89A AA7A 0A4C 3DD8 5C3B
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 819 bytes
> Desc: This is a digitally signed message part.
> URL:
> <https://mail.kde.org/mailman/private/kde-devel/attachments/20150121/8b60b472/attachment.sig>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 21 Jan 2015 17:27:35 +0100
> From: Milian Wolff <mail@milianw.de>
> To: kde-devel@kde.org
> Subject: NetworkManager and DBus issues [was: Re: DBUS issues with KDE
> 	4 and Frameworks 5]
> Message-ID: <5065555.y1tJTx0pEP@milian-kdab2>
> Content-Type: text/plain; charset="us-ascii"
>
> On Thursday 13 November 2014 17:54:21 Milian Wolff wrote:
>> Hey all,
>>
>> https://community.kde.org/Frameworks/Building says:
>> > Warning: never start a KDE 4 application in this separate DBus session,
>> > it
>> > would conflict with your running Plasma 4 desktop.
>>
>> I just did that accidentally and now my whole system seems to be
>> completely
>> fubared. Most applications freeze sooner or later with a backtrace like
>> this:
>>
>> (gdb) bt
>> #0  0x00007ffff3b6d5bd in poll () from /usr/lib/libc.so.6
>> #1  0x00007fffefab2028 in ?? () from /usr/lib/libdbus-1.so.3
>> #2  0x00007fffefab0ed8 in ?? () from /usr/lib/libdbus-1.so.3
>> #3  0x00007fffefa9a474 in ?? () from /usr/lib/libdbus-1.so.3
>> #4  0x00007fffefa9ae4d in ?? () from /usr/lib/libdbus-1.so.3
>> #5  0x00007fffefa9b42a in dbus_connection_send_with_reply_and_block ()
>> from
>> /usr/lib/libdbus-1.so.3
>> #6  0x00007ffff4683e20 in ?? () from /usr/lib/libQtDBus.so.4
>> #7  0x00007ffff4685dc2 in ?? () from /usr/lib/libQtDBus.so.4
>> #8  0x00007ffff469166b in ?? () from /usr/lib/libQtDBus.so.4
>> #9  0x00007ffff46917a5 in QDBusInterface::QDBusInterface(QString const&,
>> QString const&, QString const&, QDBusConnection const&, QObject*) ()
>>    from /usr/lib/libQtDBus.so.4
>> #10 0x00007ffff73ec3d2 in ?? () from /usr/lib/libkio.so.5
>>
>> After a very long timeout (30s?) the apps figure out something is wrong
>> and
>> continue to work as intended.
>>
>> Can we somehow improve this situation? I find it very ugly that by
>> accidentally executing a globally installed KDE4 installation in my KF5
>> environment, I can completely screw up my "host" system.
>>
>> Is there anything I should do differently maybe? How do other developers
>> cope with this issue?
>
> I'm hitting this issue again now. I have created a folder which contains
> symlinks to
>
> $kf5-install-prefix/share/dbus-1
> $kf5-install-prefix/share/kservicetypes5
> $kf5-install-prefix/share/kservices5
>
> I thought I got it working, but recently I see the deadlocks again. I'm not
> so
> sure whether its related to KF5 anymore though. I rather think its because I
>
> installed network manager to replace wicd. Indeed, I cannot reproduce the
> issue on a desktop machine that does not use NetworkManager, only on a
> laptop.
> And there, mostly after suspend/resume. Additionally, I see extreme
> performance drains in kded4 when I try to connect to a network with the kde4
>
> plasma network manager utility. Perf shows immense amount of CPU consumption
>
> in __pthread_mutex_lock and __pthread_mutex_unlock_usercnt below
> dbus_connection_send_with_replace_and_block (I'm missing debug symbols for
> kded4 and Qt4 - sorry).
>
> Is this a known issue? On the web I found e.g.
> https://bbs.archlinux.org/viewtopic.php?id=163350 . Is there anything else I
>
> could do to debug this issue? Is there a dbus log or something that I could
>
> figure out what queries are done? Are there log files? It's pretty annoying
> to
> me, and I think I'll get rid of NetworkManager again to see if that really
> is
> the culprit.
>
> Bye
>
> --
> Milian Wolff
> mail@milianw.de
> http://milianw.de
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 21 Jan 2015 22:20:29 +0100
> From: Albert Astals Cid <aacid@kde.org>
> To: kde-devel@kde.org
> Cc: Vishesh Handa <me@vhanda.in>
> Subject: Re: Indexing Text Files and Text Encoding
> Message-ID: <7272001.YoYOGTu5vR@xps>
> Content-Type: text/plain; charset="us-ascii"
>
> El Dimecres, 21 de gener de 2015, a les 13:24:02, Vishesh Handa va
> escriure:
>> On Wednesday, January 21, 2015 11:51:13 AM Milian Wolff wrote:
>> > Or just use Qt directly:
>> >
>> > http://stackoverflow.com/questions/18227530/check-if-utf-8-string-is-valid
>> > -i n-qt/18228382#18228382
>> >
>> > If it fails, either discard the file. Or try again with the system
>> > encoding
>> > (if that is not UTF-8) and discard otherwise.
>>
>> That's exactly what I've currently implemented. I was a little concerned
>> about discarding the file. Oh well.
>
> Maybe you can also use KEncodingProber as third step?
>
> Cheers,
>   Albert
>
>>
>> Thanks
>>
>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>> >> unsubscribe
>> >> <<
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 22 Jan 2015 01:27:44 -0500
> From: David Narvaez <david.narvaez@computer.org>
> To: kde-devel@kde.org
> Cc: Vishesh Handa <me@vhanda.in>
> Subject: Re: Indexing Text Files and Text Encoding
> Message-ID:
> 	<CACFh1D6M9PpZbR1GzEiL0RgZW2g-njTzJ4c+OLjnmMj9+UbA_w@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, Jan 21, 2015 at 4:20 PM, Albert Astals Cid <aacid@kde.org> wrote:
>> El Dimecres, 21 de gener de 2015, a les 13:24:02, Vishesh Handa va
>> escriure:
>>> On Wednesday, January 21, 2015 11:51:13 AM Milian Wolff wrote:
>>> > Or just use Qt directly:
>>> >
>>> > http://stackoverflow.com/questions/18227530/check-if-utf-8-string-is-valid
>>> > -i n-qt/18228382#18228382
>>> >
>>> > If it fails, either discard the file. Or try again with the system
>>> > encoding
>>> > (if that is not UTF-8) and discard otherwise.
>>>
>>> That's exactly what I've currently implemented. I was a little concerned
>>> about discarding the file. Oh well.
>>
>> Maybe you can also use KEncodingProber as third step?
>
> >From what I understand from the original question, KEncodingProber
> would be the one step and the question from StackOverflow is just as
> bad as the current state.
>
> David E. Narvaez
>
>
> ------------------------------
>
> _______________________________________________
> kde-devel mailing list
> kde-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kde-devel
>
>
> End of kde-devel Digest, Vol 142, Issue 21
> ******************************************
>


-- 
*Sudha*

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic