Bug 3624

Summary: libopenshot FTBFS on F22
Product: Fedora Reporter: leigh scott <leigh123linux>
Component: libopenshotAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: hans
Priority: P5    
Version: unspecified   
Hardware: All   
OS: GNU/Linux   
See Also: https://launchpad.net/bugs/1451272
namespace:
Bug Depends on:    
Bug Blocks: 3612    

Description leigh scott 2015-05-03 11:31:05 CEST
Buildlog

[ 96%] Building CXX object src/CMakeFiles/example.dir/Main.cpp.o
cd /builddir/build/BUILD/libopenshot-0.0.3/src && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Wl,--as-needed  -fPIE  -fPIE  -fPIE  -fPIE  -fPIE  -g -ggdb  -fopenmp  -fPIE -I/usr/include/ImageMagick-6 -I/usr/include/ffmpeg -I/usr/include/libopenshot-audio -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtMultimediaWidgets -I/builddir/build/BUILD/libopenshot-0.0.3/src/../thirdparty/jsoncpp/include    -o CMakeFiles/example.dir/Main.cpp.o -c /builddir/build/BUILD/libopenshot-0.0.3/src/Main.cpp
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:7: Error: Unknown SWIG preprocessor directive: Copyright (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:9: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:10: Error: Unknown SWIG preprocessor directive: delivering (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:11: Error: Unknown SWIG preprocessor directive: world (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:13: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:14: Error: Unknown SWIG preprocessor directive: and (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:15: Error: Unknown SWIG preprocessor directive: as (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:16: Error: Unknown SWIG preprocessor directive: License (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:18: Error: Unknown SWIG preprocessor directive: OpenShot (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:19: Error: Unknown SWIG preprocessor directive: useful (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:20: Error: Unknown SWIG preprocessor directive: MERCHANTABILITY (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:21: Error: Unknown SWIG preprocessor directive: GNU (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:23: Error: Unknown SWIG preprocessor directive: You (if this is a block of target language code, delimit it with %{ and %})
/builddir/build/BUILD/libopenshot-0.0.3/src/bindings/python/openshot.i:24: Error: Unknown SWIG preprocessor directive: along (if this is a block of target language code, delimit it with %{ and %})
/usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libopenshot-0.0.3/CMakeFiles 59
[ 98%] Building CXX object tests/CMakeFiles/tester.dir/tester_automoc.cpp.o
cd /builddir/build/BUILD/libopenshot-0.0.3/tests && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Wl,--as-needed  -fPIE  -fPIE  -fPIE  -fPIE  -fopenmp  -fPIE -I/usr/include/UnitTest++ -I/usr/include/ImageMagick-6 -I/usr/include/ffmpeg -I/usr/include/libopenshot-audio -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtNetwork -I/builddir/build/BUILD/libopenshot-0.0.3/tests/../thirdparty/jsoncpp/include -isystem /usr/include/qt5/QtMultimediaWidgets    -o CMakeFiles/tester.dir/tester_automoc.cpp.o -c /builddir/build/BUILD/libopenshot-0.0.3/tests/tester_automoc.cpp
Linking CXX executable tester
cd /builddir/build/BUILD/libopenshot-0.0.3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/tester.dir/link.txt --verbose=1
/usr/bin/c++   -Wl,--as-needed  -fPIE  -fPIE  -fPIE  -fPIE  -fopenmp    -Wl,-z,relro  CMakeFiles/tester.dir/tests.cpp.o CMakeFiles/tester.dir/tester_automoc.cpp.o  -o tester -rdynamic ../src/libopenshot.so.0.0.3 -lUnitTest++ -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lavformat -lavcodec -lavutil -lavdevice -lswscale -lopenshot-audio /usr/lib/libQt5MultimediaWidgets.so.5.4.1 /usr/lib/libQt5Widgets.so.5.4.1 /usr/lib/libQt5Multimedia.so.5.4.1 /usr/lib/libQt5Gui.so.5.4.1 /usr/lib/libQt5Network.so.5.4.1 /usr/lib/libQt5Core.so.5.4.1 -fopenmp -Wl,-rpath,/builddir/build/BUILD/libopenshot-0.0.3/src 
In file included from /usr/include/ImageMagick-6/magick/magick-config.h:7:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:13,
                 from /usr/include/ImageMagick-6/Magick++.h:9,
                 from /builddir/build/BUILD/libopenshot-0.0.3/src/../include/Frame.h:45,
                 from /builddir/build/BUILD/libopenshot-0.0.3/src/../include/ReaderBase.h:36,
                 from /builddir/build/BUILD/libopenshot-0.0.3/src/../include/AudioReaderSource.h:41,
                 from /builddir/build/BUILD/libopenshot-0.0.3/src/../include/OpenShot.h:100,
                 from /builddir/build/BUILD/libopenshot-0.0.3/src/Main.cpp:33:
/usr/include/ImageMagick-6/magick/magick-config-32.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/include/ImageMagick-6/magick/magick-config-32.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/include/ImageMagick-6/magick/magick-config-32.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/include/ImageMagick-6/magick/magick-config-32.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
src/bindings/python/CMakeFiles/_openshot.dir/build.make:56: recipe for target 'src/bindings/python/openshotPYTHON_wrap.cxx' failed
make[2]: Leaving directory '/builddir/build/BUILD/libopenshot-0.0.3'
CMakeFiles/Makefile2:222: recipe for target 'src/bindings/python/CMakeFiles/_openshot.dir/all' failed
make[2]: *** [src/bindings/python/openshotPYTHON_wrap.cxx] Error 1
make[1]: *** [src/bindings/python/CMakeFiles/_openshot.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 leigh scott 2015-05-03 11:32:15 CEST
Link to buildlog

http://kojihub.kwizart.net/kojifiles/work/tasks/1454/21454/build.log
Comment 2 Richard 2015-05-04 01:22:03 CEST
Looks like it's FTBFS for anything with swig 3.0.x

bug report filed upstream.
Comment 3 Hans de Goede 2015-05-18 17:23:05 CEST
Fixed in cvs/devel / f21, closing.

Note I've also rebased both libopenshot-audio and libopenshot to the latest upstream release, libopenshot-audio must be build first.