News:

--

Main Menu

Failed to build Avidemux

Started by thursdaychild, September 02, 2019, 02:27:52 AM

Previous topic - Next topic

thursdaychild

Hi!

I tried to install a new Avidemux-version from Github using Jan Gruthuuse's instructions. In former days it always worked, at last on july, 28th, 2019.
But now I get the following error-message during the build-process:

Quote
.....
-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring incomplete, errors occurred!
See also "/home/frank/avidemux2/buildQt5/CMakeFiles/CMakeOutput.log".
See also "/home/frank/avidemux2/buildQt5/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**
Build failed, please inspect /tmp/log-bootstrap-2019-09-02_04:18:45.log and /tmp/logbuild* files.
Cancelling installation.
frank@ASUS-NOTEBOOK:~/avidemux2$

From Bootstrap-log:
Quote
-- CPP:Q_mainfilter.h;Q_seekablePreview.h -> ADM_filtersQT5_source=
-- CPP:Q_mainfilter.h;Q_seekablePreview.h -> ADM_filtersQT5_source=/home/frank/avidemux2/buildQt5/ADM_userInterfacesQT5/ADM_filters/moc_Q_mainfilter.cpp;/home/frank/avidemux2/buildQt5/ADM_userInterfacesQT5/ADM_filters/moc_Q_seekablePreview.cpp
CMake Error at CMakeLists.txt:213 (ADD_SUBDIRECTORY):
  The source directory

    /home/frank/avidemux2/avidemux/qt4/i18n

  does not contain a CMakeLists.txt file.



**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Video Encoder      ***
    NVENC          No
*** Miscellaneous      ***
    gettext        Yes
    SDL            No
    XVideo         Yes
    OpenGL         Yes
**************************
***   Release Build    ***
**************************

-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring incomplete, errors occurred!
See also "/home/frank/avidemux2/buildQt5/CMakeFiles/CMakeOutput.log".
See also "/home/frank/avidemux2/buildQt5/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**

Can anyone give me a hint, what's the cause for it? In former days the build-process everytime worked fine.

eumagga0x2a

You need to execute

git submodule update --init --recursive

in the avidemux2 folder once. When pulling later changes from git, please use

git pull --recurse

eumagga0x2a

A brief explanation: translation files (the content of avidemux/qt4/i18n directory) have been moved to a separate git repository and are now pulled as a submodule into the main code tree. The rationale is to allow to package them independently from the application so that at some later point translations could be updated during lifetime of a release.

thursdaychild

Okay, thanks. Everything worked while building now.

cord-factor

I took sources from release page https://github.com/mean00/avidemux2/releases -> Source Code (tar.gz).
And there's the same error. Unprepared? Outdated tar.gz release?


eumagga0x2a

1. Using 2.8.0 instead of a current 2.8.1 git master when one is able to build from source is IMHO a deeply flawed idea.

2. The official tarball avidemux_2.8.0.tar.gz already includes translations pulled from the avidemux2_i18n repo, the automatically generated by GitHub one doesn't.

cord-factor

Quote from: eumagga0x2a on August 24, 2022, 07:01:23 PM1. Using 2.8.0 instead of a current 2.8.1 git master when one is able to build from source is IMHO a deeply flawed idea.
Where is it? I can't see any sources tarball with 2.8.1.

https://github.com/mean00/avidemux2/archive/refs/heads/master.zip
Is it that? If so, it results the same error too.

Quote from: eumagga0x2a on August 24, 2022, 07:01:23 PM2. The official tarball avidemux_2.8.0.tar.gz already includes translations pulled from the avidemux2_i18n repo, the automatically generated by GitHub one doesn't.
Strange. Why it isn't noted as source code (src)? I thought, that it was binary build in tar.gz
While source code link is to outdated source tarball.
Anyway, it's failed with another error:
-- CPP:Q_mainfilter.h;Q_seekablePreview.h -> ADM_filtersQT5_source=
-- CPP:Q_mainfilter.h;Q_seekablePreview.h -> ADM_filtersQT5_source=/home/user/avidemux_2.8.0/buildQt5/ADM_userInterfacesQT5/ADM_filters/moc_Q_mainfilter.cpp;/home/user/avidemux_2.8.0/buildQt5/ADM_userInterfacesQT5/ADM_filters/moc_Q_seekablePreview.cpp
CMake Error at i18n/Ts.cmake:14 (MESSAGE):
  LRELEASE_EXECUTABLE-NOTFOUND not found - ts files can't be processed
Call Stack (most recent call first):
  i18n/Ts.cmake:69 (FIND_LRELEASE)
  i18n/CMakeLists.txt:4 (COMPILE_TS_FILES)


-- Configuring incomplete, errors occurred!
See also "/home/user/avidemux_2.8.0/buildQt5/CMakeFiles/CMakeOutput.log".
** Failed at cmakeZ**
You cannot view this attachment.

eumagga0x2a

Quote from: cord-factor on August 26, 2022, 04:45:41 PMWhere is it? I can't see any sources tarball with 2.8.1.

Please read and follow the README szlldm already pointed you to.

Quote from: cord-factor on August 26, 2022, 04:45:41 PMCMake Error at i18n/Ts.cmake:14 (MESSAGE):
  LRELEASE_EXECUTABLE-NOTFOUND not found - ts files can't be processed

Either Qt5 devel packages or Qt5 Linguist package not installed (it depends on the particular distribution where it puts the lrelease executable).

I repeat that building the 2.8.0 release is a bad idea when you are technically able to build git master.