darkfeline / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
0 stars 0 forks source link

r5665 - Build error (solidlite) #626

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of Cantata?
r5665

Which build? KDE, Qt4, Qt5, Windows, Ubuntu, Mac?
Arch Linux, both KDE and Qt5 builds

Here's the output of the error:

[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksdeviceint
erface.cpp.o         
[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksgenericin
terface.cpp.o        
[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksopticaldi
sc.cpp.o             
[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksopticaldr
ive.cpp.o            
[ 31%] [ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksmanager.c
pp.o          
Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksstorageac
cess.cpp.o                  
[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksstoragedr
ive.cpp.o            
[ 31%] Building CXX object 
3rdparty/solid-lite/CMakeFiles/solidlite.dir/backends/udisks/moc_udisksstoragevo
lume.cpp.o           
Linking CXX static library libsolidlite.a                                       

[ 31%] Built target solidlite                                                   

Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Original issue reported on code.google.com by ms6676...@gmail.com on 13 Feb 2015 at 4:37

GoogleCodeExporter commented 9 years ago
Oops, forgot my build flags:

Qt5:
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Debug \
    -DENABLE_HTTP_STREAM_PLAYBACK=ON \
    -DENABLE_KDE=OFF -DENABLE_QT5=ON

KDE (may be outdated, I may need to update its PKGBUILD):
        -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) \
        -DCMAKE_BUILD_TYPE=Debug \
        -DENABLE_KWALLET=OFF

Original comment by ms6676...@gmail.com on 13 Feb 2015 at 4:40

GoogleCodeExporter commented 9 years ago
Just tried both sets of build flags, and it compiles just fine for me in Ubuntu 
14.10

Sorry, but this looks like an issue with your system.

BTW, KDE builds do not use solide-lite - as this is a modified copy of the 
solid libraries for Qt only builds. Also, you need to pass -DENABLE_KDE=ON to 
create KDE builds. Even tried a KDE build, and it is fine.

Original comment by craig.p....@gmail.com on 13 Feb 2015 at 6:09

GoogleCodeExporter commented 9 years ago
As I said, my "KDE" PKGBUILD is pretty old and I've been meaning to update it 
for awhile.  Nevertheless, for some reason or another, I've been able to build 
cantata svn packages just fine (the last being r5664).

Anyways, I tried to build KDE packages using the PKGBUILD on AUR with the 
following flags:
    -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
    -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_HTTP_STREAM_PLAYBACK=ON \
    -DENABLE_KDE=ON

The result is the following build error:

[ 19%] Built target cantata_automoc                                             

[ 20%] Building CXX object support/CMakeFiles/support.dir/windowmanager.o
[ 20%] Building CXX object support/CMakeFiles/support.dir/kmessagewidget.o      

Linking CXX executable cantata-tags                                             

[ 20%] Building CXX object support/CMakeFiles/support.dir/dialog.o              

[ 20%] Built target cantata-tags                                                

Linking CXX static library ../lib/libsupport.a
[ 20%] Built target support                                                     

Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I'm actually more interested with the build error thrown up while compiling the 
Qt5 package, as I've switched for LXQT due to the large amount of churn with 
KDE packages in Arch lately while KDE 4.x transtions to KF5.

Original comment by ms6676...@gmail.com on 13 Feb 2015 at 7:34

GoogleCodeExporter commented 9 years ago
Again, this points to an issue on your system. The output above tells me 
nothing. If you can build r5664, then r5665 should also - the change is a 
*very* trivial change. No way would it affect the build.

Sorry, but there is not much I can do. All I can suggest is to re-cechkout 
Cantata's svn to a clean folder, and do a completely clean build.

Original comment by craig.p....@gmail.com on 13 Feb 2015 at 8:16

GoogleCodeExporter commented 9 years ago
I did re-checkout Cantata's svn folder after deleting the one stored locally 
and I still get the same 'Makefile:137: recipe for target 'all' failed' compile 
error.  I mentioned this issue in the appropriate AUR comment sections to see 
if any other Arch users are having the same issue.  The only package updated 
that may affect cantata, following the successful r5664 compile, was cmake 
3.1.3.  But the result is still the same after downgrading cmake to 3.1.2.  
Then again, I compiled r5664 following a massive update to my system (first 
time in 10 days).

Original comment by ms6676...@gmail.com on 14 Feb 2015 at 3:29

GoogleCodeExporter commented 9 years ago
Try checking out r5664 with your current setup (svn update -r5664), the 
recompile this. I'm guessing this will also fail.

Original comment by craig.p....@gmail.com on 14 Feb 2015 at 10:09

GoogleCodeExporter commented 9 years ago
I should have uploaded my entire build log earlier.  It appears that the speex 
package (1.2rc2) is the likely culprit (http://pastebin.com/46Zhftds).  
Confirmed by another Arch user here: 
https://bbs.archlinux.org/viewtopic.php?pid=1502864

Original comment by ms6676...@gmail.com on 14 Feb 2015 at 3:25

GoogleCodeExporter commented 9 years ago
Removing speex (1.2rc2-1) and speexdsp (1.2rc3-1) (Arch packager split the 
speex package recently) and then downgrading to last week's speex package 
(1.2rc1-4) enables both Qt5 and KDE packages (r5667) to compile successfully.  
Should have looked at the build logs... smh, sorry.

Original comment by ms6676...@gmail.com on 14 Feb 2015 at 3:45

GoogleCodeExporter commented 9 years ago
No probs, glad it is sorted now.

Original comment by craig.p....@gmail.com on 14 Feb 2015 at 5:23