News:

--

Main Menu

Git head broken for a few days

Started by mean, August 01, 2016, 05:24:35 PM

Previous topic - Next topic

mean

I have to shuffle files around and do some cleanup. It should be over in a few days.

The idea is to be able to build the 3 main components core/app/plugins
without having them to look under the skirt of the other components but just use their public API

It means you could do 3 different tarballs (core/app/plugins) and successfully build them independently.

For information, the files are located in /usr/include/avidemux/2.6/xxxx on linux



mean


eumagga0x2a

Thank you, the build indeed succeeds. However, packaging as RPM fails:

Run CPack packaging tool...
/usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: Avidemux_qt4
CPack: - Install project: Avidemux_qt4
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/SPECS/avidemux3-qt5.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug:    - /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/rpmbuildavidemux3-qt5.err
CPackRPM:Debug: *** + umask 022
+ cd /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/BUILD
+ mv /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64 /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/BUILD
+ '[' /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64 '!=' / ']'
+ rm -rf /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64
++ dirname /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64
+ mkdir -p /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM
+ mkdir /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64
+ '[' -e /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64 ']'
+ rm -rf /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64
+ mv /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/tmpBBroot /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
error: Directory not found: /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64/usr/include/avidemux/2.6/ADM_audioCodec
    Directory not found: /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64/usr/include/avidemux/2.6/ADM_audioCodec
***
CPackRPM:Debug:    - /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/rpmbuildavidemux3-qt5.out
CPackRPM:Debug: *** Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MZVp4W
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WhNhyx
Processing files: avidemux3-qt5-2.6.12-1.r0.bootstrap.x86_64


RPM build errors:
***
CPack Error: Problem copying the package: /home/eumagga/avidemux/git/avidemux2/buildQt5/_CPack_Packages/Linux/RPM/avidemux3-qt5-2.6.12-160802.x86_64.rpm to /home/eumagga/avidemux/git/avidemux2/buildQt5/avidemux3-qt5-2.6.12-160802.x86_64.rpm
CPack Error: Error when generating package: Avidemux_qt4
Makefile:97: recipe for target 'package' failed
make: *** [package] Error 1
** Failed at package**

mean


Jan Gruuthuse

#4
e71e4e2    [i18n] Dk translation by scootergrisen
on ubuntu 14.04.4 LTS QT4 amd64
upon building several:
make[2]: warning: Clock skew detected. Your build may be incomplete.

then near the end of build:

CMake Error at ADM_videoFilters6/avsfilter/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/home/jan/avidemux2/buildPluginsSettings/ADM_videoFilters6/avsfilter/avsload.exe".
Call Stack (most recent call first):
  ADM_videoFilters6/cmake_install.cmake:40 (INCLUDE)
  cmake_install.cmake:38 (INCLUDE)


debs are created

Jan Gruuthuse

e71e4e2    [i18n] Dk translation by scootergrisen
on ubuntu 16.04.1 LTS QT4 amd64
near the end of build:

Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/iPhone.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/fast.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/veryFast.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/ultraFast.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/PSP.json
CMake Error at ADM_videoFilters6/avsfilter/cmake_install.cmake:44 (file):
  file INSTALL cannot find
  "/home/jan/avidemux2/buildPluginsSettings/ADM_videoFilters6/avsfilter/avsload.exe".
Call Stack (most recent call first):
  ADM_videoFilters6/cmake_install.cmake:40 (include)
  cmake_install.cmake:38 (include)
 


Makefile:140: recipe for target 'install' failed
make: *** [install] Error 1
** Preparing debs **
Preparing packages
** debs directory ready

Jan Gruuthuse

currently building:
10bf18c    [plugin/script] Temporary fix for scripts needing Editor interface

Jan Gruuthuse

after build
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/PSP.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/ultraFast.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/iPhone.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/fast.json
-- Installing: /home/jan/avidemux2/install/usr/lib/ADM_plugins6/pluginSettings/x264/3/veryFast.json
CMake Error at ADM_videoFilters6/avsfilter/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/home/jan/avidemux2/buildPluginsSettings/ADM_videoFilters6/avsfilter/avsload.exe".
Call Stack (most recent call first):
  ADM_videoFilters6/cmake_install.cmake:40 (INCLUDE)
  cmake_install.cmake:38 (INCLUDE)


make: *** [install] Error 1
** Preparing debs **
Preparing packages
** debs directory ready **

mean

That one is normally extracted from the avsbinary.tar.bz2 file
Does
tar xvf avsbinary.tar.bz2

work for you ?
(You might miss bunzip2 )

Jan Gruuthuse

#9
bunzip2 from libio-compress-perl (bundle of IO::Compress modules?)
installed and testing again.

Jan Gruuthuse

CMake Error at ADM_videoFilters6/avsfilter/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/home/jan/avidemux2/buildPluginsSettings/ADM_videoFilters6/avsfilter/avsload.exe".
Call Stack (most recent call first):
  ADM_videoFilters6/cmake_install.cmake:40 (INCLUDE)
  cmake_install.cmake:38 (INCLUDE)

nope: checking if I can find the "avsbinary.tar.bz2 " on avidemux git?

Jan Gruuthuse

I can't locate avsbinary.tar.bz2 in my avidemux git

I can find folder ~/avidemux2/buildPluginsSettings/ADM_videoFilters6/avsfilter:
- cmake_install.cmake
- libADM_vf_avsfilter.so
- Makefile
folder CMakeFiles:
- CMakeDirectoryInformation.cmake
- progress.marks
folder ADM_vf_avsfilter.dir contains:
- avsfilter.cpp.o
- avspipecomm.cpp.o
- cdebug.cpp.o
- CXX.includecache
- depend.internal
- flags.make   
- progress.make
- avsfilterparam_json.cpp.o 
- build.make        
- cmake_clean.cmake 
- DependInfo.cmake 
- depend.make
- link.txt
- strnew.cpp.o

eumagga0x2a

The things start to go wrong here:

-- Checking for tar
-- ****************
-- Found tar
-- Path: /usr/bin/tar

-- avsfilter binary uncompressed
/usr/bin/tar: /addons/avsfilter/avsload_pipe_binary.tar.bz2: Funktion open fehlgeschlagen: No such file or directory
/usr/bin/tar: Error is not recoverable: exiting now


${AVIDEMUX_TOP_SOURCE_DIR} or such is missing in front of /addons/avsfilter/avsload_pipe_binary.tar.bz2.

Jan Gruuthuse

confirmed found:
~/avidemux2/addons/avsfilter/avsload_pipe_binary.tar.bz2

mean