build failure with current 5.x git

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

build failure with current 5.x git

Eric Valette
I'm so desesperately missing digikam in debian unstable that  decided to
gice it a try at building it myslef.

Quite complicated because many package are either missing or too old
(even on debian unstable/experimental)

    1) opencv 3.0.0 that you should manually compile and that in turn
needs libopenexr22 because default installation does not work (that is
in unstable)
     3) libkqoauth-dev that I picked up from ubuntu + some hacking for
multi-arch

After doing this I managed to configure and did almost all the build:

Automatic moc for target facesenginedemo
[ 90%] Built target facesenginedemo_automoc
[ 90%] Linking CXX executable facesenginedemo
/usr/bin/ld: ../../app/libdigikamcore.so.5.0.0: référence au symbole non
défini «_ZNK16KLocalizedString4subsERK7QStringi5QChar»
//usr/lib/x86_64-linux-gnu/libKF5I18n.so.5: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build.make:271:
recipe for target 'core/tests/facesengine/facesenginedemo' failed
make[2]: *** [core/tests/facesengine/facesenginedemo] Error 1
make[2]: Target
'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build' not remade
because of errors.
CMakeFiles/Makefile2:14376: recipe for target
'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all' failed
make[1]: *** [core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all]
Error 2

c++filt _ZNK16KLocalizedString4subsERK7QStringi5QChar
KLocalizedString::subs(QString const&, int, QChar) const


Starting the digikam binary form buiding dir works... So I'm almost
there. Any help to kill this remaining bug appreciated...



-- eric





_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Gilles Caulier-4


2015-11-14 22:26 GMT+01:00 Eric Valette <[hidden email]>:
I'm so desesperately missing digikam in debian unstable that  decided to gice it a try at building it myslef.

Quite complicated because many package are either missing or too old (even on debian unstable/experimental)

   1) opencv 3.0.0 that you should manually compile and that in turn needs libopenexr22 because default installation does not work (that is in unstable)

OpenCV 3.0.0 is in beta stage. and not the most recommended. Use opencv 2.x. There is a cmake option relevant. Take a look in README file
 
    3) libkqoauth-dev that I picked up from ubuntu + some hacking for multi-arch


This lib is optional.

 
After doing this I managed to configure and did almost all the build:

Automatic moc for target facesenginedemo
[ 90%] Built target facesenginedemo_automoc
[ 90%] Linking CXX executable facesenginedemo
/usr/bin/ld: ../../app/libdigikamcore.so.5.0.0: référence au symbole non défini «_ZNK16KLocalizedString4subsERK7QStringi5QChar»
//usr/lib/x86_64-linux-gnu/libKF5I18n.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build.make:271: recipe for target 'core/tests/facesengine/facesenginedemo' failed
make[2]: *** [core/tests/facesengine/facesenginedemo] Error 1
make[2]: Target 'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build' not remade because of errors.
CMakeFiles/Makefile2:14376: recipe for target 'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all' failed
make[1]: *** [core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all] Error 2

c++filt _ZNK16KLocalizedString4subsERK7QStringi5QChar
KLocalizedString::subs(QString const&, int, QChar) const


Linking failure with KDE 5 i18b component for localization of strings. Something is broken in your system...

Gilles Caulier
 

Starting the digikam binary form buiding dir works... So I'm almost there. Any help to kill this remaining bug appreciated...



-- eric





_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Eric Valette
On 15/11/2015 05:57, Gilles Caulier wrote:

> Linking failure with KDE 5 i18b component for localization of strings.
> Something is broken in your system...

Well its the debian default install for KDE 5 i18b. I even reisntalled
it to be sure. Is there any way to disable the build of the faulty
component?

-- eric




_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Eric Valette
In reply to this post by Gilles Caulier-4
On 15/11/2015 05:57, Gilles Caulier wrote:

>     Automatic moc for target facesenginedemo
>     [ 90%] Built target facesenginedemo_automoc
>     [ 90%] Linking CXX executable facesenginedemo
>     /usr/bin/ld: ../../app/libdigikamcore.so.5.0.0: référence au symbole
>     non défini «_ZNK16KLocalizedString4subsERK7QStringi5QChar»
>     //usr/lib/x86_64-linux-gnu/libKF5I18n.so.5: error adding symbols:
>     DSO missing from command line
>     collect2: error: ld returned 1 exit status
>     core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build.make:271: recipe
>     for target 'core/tests/facesengine/facesenginedemo' failed
>     make[2]: *** [core/tests/facesengine/facesenginedemo] Error 1
>     make[2]: Target
>     'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build' not
>     remade because of errors.
>     CMakeFiles/Makefile2:14376: recipe for target
>     'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all' failed
>     make[1]: ***
>     [core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all] Error 2
>
>     c++filt _ZNK16KLocalizedString4subsERK7QStringi5QChar
>     KLocalizedString::subs(QString const&, int, QChar) const
>
>
> Linking failure with KDE 5 i18b component for localization of strings.
> Something is broken in your system...

valette@tri-yann4:~/local/src/digikam/build$ find . -name
libdigikamcore.so.5.0.0
./core/app/libdigikamcore.so.5.0.0
valette@tri-yann4:~/local/src/digikam/build$ nm
./core/app/libdigikamcore.so.5.0.0 | grep
_ZNK16KLocalizedString4subsERK7QStringi5QChar
                  U _ZNK16KLocalizedString4subsERK7QStringi5QChar

So libdigikamcore.so.5.0.0 depends on ki18n-5.15.0. I recompiled it from
source and reinstalled to be sure the symbol is there :

valette@tri-yann4:~/local/src/ki18n-5.15.0$ find . -name libKF5I18n.so.5
./obj-x86_64-linux-gnu/src/libKF5I18n.so.5
./debian/tmp/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
./debian/libkf5i18n5/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
valette@tri-yann4:~/local/src/ki18n-5.15.0$ nm
obj-x86_64-linux-gnu/src/libKF5I18n.so.5 | grep
_ZNK16KLocalizedString4subsERK7QStringi5QChar
0000000000009880 T _ZNK16KLocalizedString4subsERK7QStringi5QChar

So the library has the symbol.

The question I have is how is it correctly pulled via the link command?
Is see QT librarries but no KDE libs...

PS : I'm a total newby on QT/KDE cmake build system so forgive me if the
question is stupid...

--eric



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Eric Valette
On 15/11/2015 12:36, Eric Valette wrote:

> On 15/11/2015 05:57, Gilles Caulier wrote:
>
>>     Automatic moc for target facesenginedemo
>>     [ 90%] Built target facesenginedemo_automoc
>>     [ 90%] Linking CXX executable facesenginedemo
>>     /usr/bin/ld: ../../app/libdigikamcore.so.5.0.0: référence au symbole
>>     non défini «_ZNK16KLocalizedString4subsERK7QStringi5QChar»
>>     //usr/lib/x86_64-linux-gnu/libKF5I18n.so.5: error adding symbols:
>>     DSO missing from command line
>>     collect2: error: ld returned 1 exit status
>>
>> core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build.make:271:
>> recipe
>>     for target 'core/tests/facesengine/facesenginedemo' failed
>>     make[2]: *** [core/tests/facesengine/facesenginedemo] Error 1
>>     make[2]: Target
>>     'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build' not
>>     remade because of errors.
>>     CMakeFiles/Makefile2:14376: recipe for target
>>     'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all' failed
>>     make[1]: ***
>>     [core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all] Error 2
>>
>>     c++filt _ZNK16KLocalizedString4subsERK7QStringi5QChar
>>     KLocalizedString::subs(QString const&, int, QChar) const
>>
>>
>> Linking failure with KDE 5 i18b component for localization of strings.
>> Something is broken in your system...
>
> valette@tri-yann4:~/local/src/digikam/build$ find . -name
> libdigikamcore.so.5.0.0
> ./core/app/libdigikamcore.so.5.0.0
> valette@tri-yann4:~/local/src/digikam/build$ nm
> ./core/app/libdigikamcore.so.5.0.0 | grep
> _ZNK16KLocalizedString4subsERK7QStringi5QChar
>                   U _ZNK16KLocalizedString4subsERK7QStringi5QChar
>
> So libdigikamcore.so.5.0.0 depends on ki18n-5.15.0. I recompiled it from
> source and reinstalled to be sure the symbol is there :
>
> valette@tri-yann4:~/local/src/ki18n-5.15.0$ find . -name libKF5I18n.so.5
> ./obj-x86_64-linux-gnu/src/libKF5I18n.so.5
> ./debian/tmp/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
> ./debian/libkf5i18n5/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
> valette@tri-yann4:~/local/src/ki18n-5.15.0$ nm
> obj-x86_64-linux-gnu/src/libKF5I18n.so.5 | grep
> _ZNK16KLocalizedString4subsERK7QStringi5QChar
> 0000000000009880 T _ZNK16KLocalizedString4subsERK7QStringi5QChar
>
> So the library has the symbol.
>
> The question I have is how is it correctly pulled via the link command?
> Is see QT librarries but no KDE libs...
>
> PS : I'm a total newby on QT/KDE cmake build system so forgive me if the
> question is stupid...
Attached is a full build trace:

./bootstrap.linux > /tmp/digikam_trace.txt 2>&1
valette@tri-yann4:~/local/src/digikam$ cd build/
valette@tri-yann4:~/local/src/digikam/build$ make -j 8 >>
/tmp/digikam_trace.txt 2>&1
valette@tri-yann4:~/local/src/digikam/build$





_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

digikam_trace.txt.gz (39K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Gilles Caulier-4

2015-11-15 15:59 GMT+01:00 Eric Valette <[hidden email]>:
On 15/11/2015 12:36, Eric Valette wrote:
On 15/11/2015 05:57, Gilles Caulier wrote:

    Automatic moc for target facesenginedemo
    [ 90%] Built target facesenginedemo_automoc
    [ 90%] Linking CXX executable facesenginedemo
    /usr/bin/ld: ../../app/libdigikamcore.so.5.0.0: référence au symbole
    non défini «_ZNK16KLocalizedString4subsERK7QStringi5QChar»
    //usr/lib/x86_64-linux-gnu/libKF5I18n.so.5: error adding symbols:
    DSO missing from command line
    collect2: error: ld returned 1 exit status

core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build.make:271:
recipe
    for target 'core/tests/facesengine/facesenginedemo' failed
    make[2]: *** [core/tests/facesengine/facesenginedemo] Error 1
    make[2]: Target
    'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/build' not
    remade because of errors.
    CMakeFiles/Makefile2:14376: recipe for target
    'core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all' failed
    make[1]: ***
    [core/tests/facesengine/CMakeFiles/facesenginedemo.dir/all] Error 2

    c++filt _ZNK16KLocalizedString4subsERK7QStringi5QChar
    KLocalizedString::subs(QString const&, int, QChar) const


Linking failure with KDE 5 i18b component for localization of strings.
Something is broken in your system...

valette@tri-yann4:~/local/src/digikam/build$ find . -name
libdigikamcore.so.5.0.0
./core/app/libdigikamcore.so.5.0.0
valette@tri-yann4:~/local/src/digikam/build$ nm
./core/app/libdigikamcore.so.5.0.0 | grep
_ZNK16KLocalizedString4subsERK7QStringi5QChar
                  U _ZNK16KLocalizedString4subsERK7QStringi5QChar

So libdigikamcore.so.5.0.0 depends on ki18n-5.15.0. I recompiled it from
source and reinstalled to be sure the symbol is there :

valette@tri-yann4:~/local/src/ki18n-5.15.0$ find . -name libKF5I18n.so.5
./obj-x86_64-linux-gnu/src/libKF5I18n.so.5
./debian/tmp/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
./debian/libkf5i18n5/usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
valette@tri-yann4:~/local/src/ki18n-5.15.0$ nm
obj-x86_64-linux-gnu/src/libKF5I18n.so.5 | grep
_ZNK16KLocalizedString4subsERK7QStringi5QChar
0000000000009880 T _ZNK16KLocalizedString4subsERK7QStringi5QChar

So the library has the symbol.

The question I have is how is it correctly pulled via the link command?
Is see QT librarries but no KDE libs...

PS : I'm a total newby on QT/KDE cmake build system so forgive me if the
question is stupid...

Attached is a full build trace:

./bootstrap.linux > /tmp/digikam_trace.txt 2>&1
valette@tri-yann4:~/local/src/digikam$ cd build/
valette@tri-yann4:~/local/src/digikam/build$ make -j 8 >> /tmp/digikam_trace.txt 2>&1
valette@tri-yann4:~/local/src/digikam/build$






_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: build failure with current 5.x git

Eric Valette
On 15/11/2015 16:32, Gilles Caulier wrote:
> Try my commit :
>
> http://commits.kde.org/digikam/9f791ebce5344ba784618c3f7f762932b5996f7a

That indeed fixes the problem. Thanks a lot! It will be an argument to
push for inclusion of beta2 in debian unstable...

-- eric



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel