[Digikam-devel] [Bug 281439] New: libkvkontakte addition break parallel builds

Francesco Riosa francesco+kde at pnpitalia.it
Tue Sep 6 00:27:42 BST 2011


https://bugs.kde.org/show_bug.cgi?id=281439

           Summary: libkvkontakte addition break parallel builds
           Product: digikam
           Version: 2.2.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: francesco+kde at pnpitalia.it


Created an attachment (id=63425)
 --> (http://bugs.kde.org/attachment.cgi?id=63425)
make log

Version:           2.2.0 (using KDE 4.7.0) 
OS:                Linux

At a first look seem to be a generated header which is included in some files,
but without a lock.

If no-one is already familiar with the library I can take a look at this and
provide a patch (it's a good thing to learn ;)

/usr/bin/time -v cmake \
    -DCMAKE_INSTALL_PREFIX=${HOME}/usr \
    -DSYSCONF_INSTALL_DIR=${HOME}/etc \
    -DCMAKE_INSTALL_DO_STRIP=OFF \
    -DCMAKE_BUILD_TYPE=Debugfull \
    -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=1 \
    .. &> log_cmake \
&& tail -n22 log_cmake | egrep -e '^==' -e 'User time|System time|Percent of
CPU|Elapsed' \
&& /usr/bin/time -v make -j --max-load 4 &> log_make


Generating backend-osm-rg.moc
Scanning dependencies of target libmd5
Scanning dependencies of target kvkontakte
[  9%] [  9%] Building CXX object
extra/kipi-plugins/dngconverter/CMakeFiles/libmd5.dir/libmd5_automoc.cpp.o
Building CXX object
extra/kipi-plugins/dngconverter/CMakeFiles/libmd5.dir/dngwriter/extra/md5/MD5.cpp.o
Generating batchdialog.moc
[  9%] [  9%] Building CXX object
extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/kvkontakte_automoc.cpp.o
Building CXX object
extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/authenticationdialog.cpp.o
Generating gpssyncdialog.moc
[  9%] Building CXX object
extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/userinfojob.cpp.o
In file included from
/srv/git/digikam-sc/build/extra/libkvkontakte/libkvkontakte/moc_messageinfo.cpp:10:0,
                 from
/srv/git/digikam-sc/build/extra/libkvkontakte/libkvkontakte/kvkontakte_automoc.cpp:4:
/srv/git/digikam-sc/build/extra/libkvkontakte/libkvkontakte/../../../../extra/libkvkontakte/libkvkontakte/messageinfo.h:24:48:
fatal error: libkvkontakte/libkvkontakte_export.h: File o directory non
esistente
compilation terminated.
make[2]: ***
[extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/kvkontakte_automoc.cpp.o]
Errore 1
make[2]: *** Attesa dei processi non terminati....
In file included from
/srv/git/digikam-sc/extra/libkvkontakte/libkvkontakte/userinfojob.cpp:20:0:
/srv/git/digikam-sc/extra/libkvkontakte/libkvkontakte/userinfojob.h:23:41:
fatal error: libkvkontakte/vkontaktejobs.h: File o directory non esistente
compilation terminated.
make[2]: ***
[extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/userinfojob.cpp.o]
Errore 1
Linking CXX static library ../../../lib/liblibmd5.a
In file included from
/srv/git/digikam-sc/extra/libkvkontakte/libkvkontakte/authenticationdialog.cpp:20:0:
/srv/git/digikam-sc/extra/libkvkontakte/libkvkontakte/authenticationdialog.h:25:48:
fatal error: libkvkontakte/libkvkontakte_export.h: File o directory non
esistente
compilation terminated.
make[2]: ***
[extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/authenticationdialog.cpp.o]
Errore 1
make[1]: *** [extra/libkvkontakte/libkvkontakte/CMakeFiles/kvkontakte.dir/all]
Errore 2
make[1]: *** Attesa dei processi non terminati....



Reproducible: Sometimes

Steps to Reproduce:
make -j --max-load 4


Expected Results:  
Expected Results

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list