Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: hobbes1069 on July 16, 2015, 06:13:38 PM

Title: Fedora build failure with 2.6.10
Post by: hobbes1069 on July 16, 2015, 06:13:38 PM
I'm attempting to update the version for Fedora at RPM Fusion but in my local builds I'm getting a failure:

make: Leaving directory '/home/build/rpmbuild/avidemux/BUILD/avidemux_2.6.10/build_plugins_cli'
+ make -C build_plugins_qt4 install DESTDIR=/home/build/rpmbuild/avidemux/BUILDROOT/avidemux-2.6.10-1.fc21.x86_64
make: Entering directory '/home/build/rpmbuild/avidemux/BUILD/avidemux_2.6.10/build_plugins_qt4'
make: *** No rule to make target 'install'.  Stop.
make: Leaving directory '/home/build/rpmbuild/avidemux/BUILD/avidemux_2.6.10/build_plugins_qt4'
error: Bad exit status from /var/tmp/rpm-tmp.gb1eGx (%install)


In order to ensure build flags are being used I'm not using, but pretty much simulating the bootstrap script in my RPM Spec file...

Thanks,
Richard
Title: Re: Fedora build failure with 2.6.10
Post by: mean on July 18, 2015, 10:21:33 AM
I think i have a fedora vm somewhere
Title: Re: Fedora build failure with 2.6.10
Post by: hobbes1069 on July 21, 2015, 07:46:36 PM
On the surface it looks like there are no install targets for the qt4 plugins... I'm trying the bootStrap method now to see if I run into the same issue.

Thanks,
Richard
Title: Re: Fedora build failure with 2.6.10
Post by: hobbes1069 on November 04, 2015, 08:00:03 PM
I figured it out...

I have both qt4 and qt5 development packages installed, and although I was specifying qt4, and cmake was finding qt4, somehow during the build it was picking up qt5.

The cmake config actually prints a one line error about it but it's not fatal (probably should be).


-- QT4 libraries found, good
-- Checking for avidemux/qt4 includes and lib...
-- It should be /home/build/rpmbuild/avidemux/BUILD/avidemux_2.6.10/fakeRoot//usr/include/avidemux/2.6/qt4/config.h
-- Include for qt4 not found


But config.h was installed to qt5, not qt4.

Thanks,
Richard
Title: Re: Fedora build failure with 2.6.10
Post by: mean on November 04, 2015, 08:19:34 PM
On a side note, Qt4 will be obsoleted soon