Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546516 - media-libs/avidemux-core-2.6.8 fails to build with dev-util/cmake-3.2.1
Summary: media-libs/avidemux-core-2.6.8 fails to build with dev-util/cmake-3.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-14 04:27 UTC by devsk
Modified: 2015-10-10 17:39 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
attached build.log.gz (build.log.gz,24.43 KB, application/gzip)
2015-04-16 19:01 UTC, devsk
Details
emerge --info '=media-libs/avidemux-core-2.6.8::gentoo' (emerge.info,18.57 KB, text/plain)
2015-04-18 08:14 UTC, Dominique Michel
Details
build log (build.log,651.55 KB, text/plain)
2015-04-18 08:15 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2015-04-14 04:27:27 UTC
Once I downgrade to 3.1.0, it compiles avidemux-core-2.6.8 fine.

The error comes from:

awk '/^@(verbatim)?include/ { printf "doc/fate.txt: doc/%s\n", $2 }' </var/tmp/portage/media-libs/avidemux-core-2.6.8/work/avidemux_2.6.8/buildCore/ffmpeg/source/doc/fate.texi >doc/fate.txt.d
makeinfo --force --no-headers -o doc/fate.txt /var/tmp/portage/media-libs/avidemux-core-2.6.8/work/avidemux_2.6.8/buildCore/ffmpeg/source/doc/fate.texi 2>/dev/null
make[3]: Leaving directory '/var/tmp/portage/media-libs/avidemux-core-2.6.8/work/avidemux_2.6.8/buildCore/ffmpeg/build'
CMakeFiles/libavcodec.dir/build.make:71: recipe for target 'ffmpeg/build/ffmpeg' failed
make[2]: *** [ffmpeg/build/ffmpeg] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/avidemux-core-2.6.8/work/avidemux_2.6.8/buildCore'
CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/libavcodec.dir/all' failed
make[1]: *** [CMakeFiles/libavcodec.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/avidemux-core-2.6.8/work/avidemux_2.6.8/buildCore'
Makefile:119: recipe for target 'all' failed
make: *** [all] Error 2

------------
The code that fails with exit code 1 is doing "cmake -E touch_nocreate ffmpeg/build/ffmpeg". When I strace it, it fails at:
...
access("/usr/bin/ccmake", R_OK)         = 0
access("/usr/share/cmake/Modules/CMake.cmake", R_OK) = 0
utimensat(AT_FDCWD, "ffmpeg/build/ffmpeg", {UTIME_OMIT, UTIME_NOW}, 0) = -1 ENOENT (No such file or directory)
exit_group(1)                           = ?
+++ exited with 1 +++

--------------
if I do touch ffmpeg/build/ffmpeg from the buildCore folder, and run make, the build completes fine. So, its a cmake bug with that system call. May be its because tmpfs does not support that system call? IDK. But cmake-3.1.0 works.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-04-16 13:33:10 UTC
Could you attach the full build log please?
Comment 2 devsk 2015-04-16 15:38:06 UTC
I am not able to attach the log here. Something is wrong with this website. I tried both Firefox and Chrome, and it fails to do anything. In firefox, the submit button just doesn't respond to the click. It clicks and nothing happens.

In chrome, it clicks and says "page not available".

WTH?
Comment 3 devsk 2015-04-16 19:01:03 UTC
Created attachment 401388 [details]
attached build.log.gz

attached build.log.gz
Comment 4 Dominique Michel 2015-04-18 08:09:16 UTC
Same error here:

# 
tux ~ # emerge -pqv '=media-libs/avidemux-core-2.6.8::gentoo'
[ebuild   R   ] media-libs/avidemux-core-2.6.8  USE="nls sdl vdpau xv -debug (-system-ffmpeg) -vaapi*" VIDEO_CARDS="fglrx" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/avidemux-core:2.6

  (media-libs/avidemux-core-2.6.8:2.6/2.6::gentoo, ebuild scheduled for merge) pulled in by
    =media-libs/avidemux-core-2.6.8::gentoo (Argument)

  (media-libs/avidemux-core-2.6.8:2.6/2.6::gentoo, installed) pulled in by
    ~media-libs/avidemux-core-2.6.8:2.6[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?] required by (media-video/avidemux-2.6.8:2.6/2.6::gentoo, installed)
                                                  ^^^^^^                                                                                                                                       


It might be possible to solve this slot collision
by applying one of the following solutions:
   - media-libs/avidemux-core-2.6.8 (Change USE: +vaapi)

# emerge -pqv '=media-video/avidemux-2.6.8:2.6/2.6::gentoo'
[ebuild   R   ] media-video/avidemux-2.6.8  USE="nls opengl qt4 sdl vdpau xv -debug -vaapi*" LINGUAS="es fr -ca -cs -de -el -it -ja -pt_BR -ru -sr -sr@latin -tr" VIDEO_CARDS="fglrx"
Comment 5 Dominique Michel 2015-04-18 08:14:08 UTC
Created attachment 401530 [details]
emerge --info '=media-libs/avidemux-core-2.6.8::gentoo'
Comment 6 Dominique Michel 2015-04-18 08:15:39 UTC
Created attachment 401532 [details]
build log
Comment 7 jospezial 2015-05-17 13:24:04 UTC
works with cmake-3.2.2

Calculating dependencies... done!
[ebuild   R    ] media-libs/avidemux-core-2.6.8:2.6::gentoo  USE="nls sdl vaapi vdpau xv -debug (-system-ffmpeg)" VIDEO_CARDS="-fglrx" 0 KiB
[ebuild   R    ]  dev-util/cmake-3.2.2::gentoo  USE="ncurses qt5 -doc -emacs -internal-jsoncpp -qt4 {-test}" 0 KiB
Comment 8 Andrew Miller 2015-05-25 21:53:12 UTC
Confirming, it builds with cmake-3.1.0, fails with 3.2.1 and builds with 3.2.2.

Maybe we should add a blocker to $DEPEND?
Comment 9 Michael Palimaka (kensington) gentoo-dev 2015-05-26 09:08:39 UTC
cmakae-3.2.1 will be removed soon
Comment 10 Johannes Huber (RETIRED) gentoo-dev 2015-05-31 13:24:01 UTC
Cleanup done. kde herd is out of the game here.

+
+  31 May 2015; Johannes Huber <johu@gentoo.org> -cmake-3.2.1.ebuild:
+  Remove offending version wrt bug #546516.
+
Comment 11 jospezial 2015-07-27 00:18:23 UTC
And it builds with cmake-3.3.0 which is in the tree now.

So close fixed or upstream?
Comment 12 Petr Zima 2015-10-10 11:10:34 UTC
Confirming, that it builds also with cmake-3.3.2.