Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: davidva on September 29, 2017, 01:05:43 AM

Title: Compilation failed in Fedora Rawhide(F28)
Post by: davidva on September 29, 2017, 01:05:43 AM
Hi, my builds works perfectly in Fedora 24 to Fedora 27; but Fedora 28 failed... I am not sure if qt 5.9 is the problem, I need help for build. The complete log is the next: Please help!  :-\

https://paste.fedoraproject.org/paste/aRqP7RW0xldmp5BHoLJKXw/raw


https://paste.fedoraproject.org/paste/09nNVZ3pAg5ZI-0Gat~4bQ/raw
Title: Re: Compilation failed in Fedora Rawhide(F28)
Post by: Jan Gruuthuse on September 29, 2017, 05:31:10 AM
You did use the instruction following instruction?
createRpmFromSourceFedora.bash
If not try again. It checks/installs missing packages. Let us know how this went.
Title: Re: Compilation failed in Fedora Rawhide(F28)
Post by: davidva on September 29, 2017, 05:41:59 AM
yes sure, you can see my "spec.file"

https://github.com/UnitedRPMs/avidemux/blob/master/avidemux.spec ; the above log show  all... It doesn't compile in Fedora 28(rawhide); but compile fine in F24-F27; a succesfull Fedora 26 build here.... https://travis-ci.org/UnitedRPMs/avidemux

also I tested building with clang, also a old cmake and the same result...

also "bootStrap.bash --rpm" same result... check the log...


[ 11%] Linking CXX shared library libADM_openGLQT56.so
cd /builddir/build/BUILD/avidemux2-7895e9e8963c6e8245c403aa40770c39d5c15026/buildQt5/ADM_openGL/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ADM_openGLQT56.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -fmessage-length=0 -O2 -DNDEBUG  -shared -Wl,-soname,libADM_openGLQT56.so -o libADM_openGLQT56.so CMakeFiles/ADM_openGLQT56.dir/ADM_openGl.cpp.o CMakeFiles/ADM_openGLQT56.dir/ADM_openGlDownloadTexture.cpp.o CMakeFiles/ADM_openGLQT56.dir/ADM_openGlDownload_asm.asm.o  -L/builddir/build/BUILD/avidemux2-7895e9e8963c6e8245c403aa40770c39d5c15026/install/usr/lib64 -Wl,-rpath,/builddir/build/BUILD/avidemux2-7895e9e8963c6e8245c403aa40770c39d5c15026/install/usr/lib64: -lGLU -lGL /usr/lib64/libQt5OpenGL.so.5.9.1 /usr/lib64/libQt5Widgets.so.5.9.1 -lADM_coreUI6 -lADM_core6 -lADM_coreUtils6 -lADM_coreImage6 /usr/lib64/libQt5Gui.so.5.9.1 /usr/lib64/libQt5Core.so.5.9.1
make[2]: Leaving directory '/builddir/build/BUILD/avidemux2-7895e9e8963c6e8245c403aa40770c39d5c15026/buildQt5'
[ 11%] Built target ADM_openGLQT56
make[1]: Leaving directory '/builddir/build/BUILD/avidemux2-7895e9e8963c6e8245c403aa40770c39d5c15026/buildQt5'
make: *** [Makefile:155: all] Error 2


Title: Re: Compilation failed in Fedora Rawhide(F28)
Post by: eumagga0x2a on September 29, 2017, 07:25:34 AM
Upon a very quick glance, glibc in F28 has dropped support of pow10f. The issue has nothing to do with qt.
Title: Re: Compilation failed in Fedora Rawhide(F28)
Post by: eumagga0x2a on September 29, 2017, 01:57:31 PM
Should be fixed (https://github.com/mean00/avidemux2/commit/afdd9c4b876d77a4974d3fa7d9f25caeffbdf13d) now.