recent git build failed on fedora 22 x86

Started by kuh3h3, March 27, 2016, 09:40:45 AM

Previous topic - Next topic

kuh3h3

[reandr@kuh3h3 avidemux2]$ git log
commit 478bae5b4f8bcd552f51d9e89cb503a0839e5c0

Run CPack packaging tool...
/usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: admCore
CPack: - Install project: admCore
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/SPECS/avidemux3-core.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug:    - /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/rpmbuild.err
CPackRPM:Debug: *** + umask 022
+ cd /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/BUILD
+ mv /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386 /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/BUILD
+ '[' /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386 '!=' / ']'
+ rm -rf /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386
++ dirname /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386
+ mkdir -p /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM
+ mkdir /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386
+ '[' -e /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386 ']'
+ rm -rf /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386
+ mv /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/tmpBBroot /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386
+ '[' '%{buildarch}' = noarch ']'
+ QA_CHECK_RPATHS=1
+ case "${QA_CHECK_RPATHS:-}" in
+ /usr/lib/rpm/check-rpaths
+ /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/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386/usr/include/avidemux/2.6/ADM_coreSubtitles
    Directory not found: /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386/usr/include/avidemux/2.6/ADM_coreSubtitles
***
CPackRPM:Debug:    - /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/rpmbuild.out
CPackRPM:Debug: *** Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KFWzuu
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tshDIr
Processing files: avidemux3-core-2.6.12-1.r160327_478bae5b4f8.bootstrap.i386


RPM build errors:
***
CPack Error: Problem copying the package: /home/reandr/avidemux2/buildCore/_CPack_Packages/Linux/RPM/avidemux3-core-2.6.12-160327.i386.rpm to /home/reandr/avidemux2/buildCore/avidemux3-core-2.6.12-160327.i386.rpm
CPack Error: Error when generating package: admCore
Makefile:141: recipe for target 'package' failed
make: *** [package] Error 1
** Failed at package**

kuh3h3

maybe this error come from recent git commit  15801f335d102b38fcbe50497ea6132055a195fe.

avidemux_core/CMakeLists.txt

+FOREACH( subfolder ${SUBFOLDERS})
+ ADM_INSTALL_INCLUDE_FOLDER("${CMAKE_CURRENT_SOURCE_DIR}/${subfolder}/include/" ${subfolder})
+ENDFOREACH( subfolder ${SUBFOLDERS})

but some directory name is not "include" BUT "inc"

avidemux_core/ADM_coreSubtitles/inc


kuh3h3

#2
so i made new directory "avidemux_core/ADM_coreSubtitles/include" and copied avidemux_core/ADM_coreSubtitles/inc directory`s header files to there. now compile ok.

mean