avidemux 2.4.4 (and svn version) compiles fine with cmake 2.6.3 (and 2.6.3-r1) but fails with cmake 2.6.4: " CMake Error at avidemux/CMakeLists.txt:95 (ADD_SUBDIRECTORY): The binary directory /var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_build/avidemux/ADM_filter is already used to build another source directory, so it cannot be used to build source directory /var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_filter Specify a unique binary directory name. " Reproducible: Always Steps to Reproduce:
Created attachment 190314 [details] build log See attachment for a complete build log.
verified here
see bug 268569
The same for avidemux 2.4.3 too.
Same here. I've masked =dev-util/cmake-2.6.4 to compile avidemux-2.4.4
*** Bug 268569 has been marked as a duplicate of this bug. ***
The problem is in avidemux/CMakeLists.txt where ADM_filter is listed at line 80 and again at line 87. Removing the second occurrence should help.
(In reply to comment #7) > The problem is in avidemux/CMakeLists.txt where ADM_filter is listed at line 80 > and again at line 87. Removing the second occurrence should help. > After removing the second occurrence ADM_filter have happened compilation error.
(In reply to comment #8) > (In reply to comment #7) > > The problem is in avidemux/CMakeLists.txt where ADM_filter is listed at line 80 > > and again at line 87. Removing the second occurrence should help. > > > After removing the second occurrence ADM_filter have happened compilation > error. > It worked for me with avidemux-2.4.4-cmake.patch in files/ and epatch "${FILESDIR}"/${P}-cmake.patch in ebuild's src_prepare. The ADM_filter is needed twice in library list (at least I didn't found proper order of libraries to link it together successfully), so I duplicated that set once with double ADM_filter for libraries and once without second ADM_filter for cmake subdirs. It was built successfully with gcc-4.3.3, with gcc-4.4* i get this build error: http://lists.rpmfusion.org/pipermail/rpmfusion-developers/2009-February/003870.html
Created attachment 190492 [details, diff] avidemux-2.4.4-cmake.patch
bug confirmed will test the patch (In reply to comment #10) > Created an attachment (id=190492) [edit] > avidemux-2.4.4-cmake.patch >
Fixed in 2.4.4-r1. Thanks for your contributions!