Author Topic: Compilation failed in Fedora Rawhide(F28)  (Read 175 times)

davidva

  • Newbie
  • *
  • Posts: 2
Compilation failed in Fedora Rawhide(F28)
« 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
« Last Edit: September 29, 2017, 01:09:07 AM by davidva »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5602
Re: Compilation failed in Fedora Rawhide(F28)
« Reply #1 on: September 29, 2017, 05:31:10 AM »
You did use the instruction following instruction?
Code: [Select]
createRpmFromSourceFedora.bashIf not try again. It checks/installs missing packages. Let us know how this went.

davidva

  • Newbie
  • *
  • Posts: 2
Re: Compilation failed in Fedora Rawhide(F28)
« Reply #2 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...


Code: [Select]
[ 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

« Last Edit: September 29, 2017, 06:22:36 AM by davidva »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1473
Re: Compilation failed in Fedora Rawhide(F28)
« Reply #3 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.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1473
Re: Compilation failed in Fedora Rawhide(F28)
« Reply #4 on: September 29, 2017, 01:57:31 PM »
Should be fixed now.