Summary: | media-video/avidemux-2.5.3-r2: build error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vitaliy V. Osypenko <vitaliy.osypenko> |
Component: | Current packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | flameeyes, media-video, qt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Another build.log without ccache |
Description
Vitaliy V. Osypenko
2010-08-28 13:22:11 UTC
[ 2%] Building C object plugins/ADM_videoFilters/Ass/ADM_libAss/CMakeFiles/ADM_libass.dir/ass.c.o In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoFilters/Ass/ADM_libAss/ass.c:21: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoFilters/Ass/ADM_libAss/config.h:1:28: error: ADM_coreConfig.h: No such file or directory make[2]: *** [plugins/ADM_videoFilters/Ass/ADM_libAss/CMakeFiles/ADM_libass.dir/ass.c.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build' make[1]: *** [plugins/ADM_videoFilters/Ass/ADM_libAss/CMakeFiles/ADM_libass.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build' make[2]: Entering directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build' [ 2%] [ 2%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/ad_layer.cc.o Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/fdct_x86.cc.o [ 2%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/mblock_bsad_mmx.cc.o In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:1: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/config.h:1:28: error: ADM_coreConfig.h: No such file or directory In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:5: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mjpeg_types.h:49:2: error: #error You don't seem to have sys/types.h, inttypes.h or stdint.h! This might mean two things: Either you really don't have them, in which case you should install the system headers and/or C-library headers. You might also have forgotten to define whether you have them. You can do this by either defining their presence before including mjpegtools' header files (e.g. "#define HAVE_STDINT_H"), or you can check for their presence in a configure script. mjpegtools' configure script is a good example of how to do this. You need to check for PRId64, stdbool.h, inttypes.h, stdint.h and sys/types.h In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:21: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/config.h:1:28: error: ADM_coreConfig.h: No such file or directory In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:23: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mjpeg_types.h:49:2: error: #error You don't seem to have sys/types.h, inttypes.h or stdint.h! This might mean two things: Either you really don't have them, in which case you should install the system headers and/or C-library headers. You might also have forgotten to define whether you have them. You can do this by either defining their presence before including mjpegtools' header files (e.g. "#define HAVE_STDINT_H"), or you can check for their presence in a configure script. mjpegtools' configure script is a good example of how to do this. You need to check for PRId64, stdbool.h, inttypes.h, stdint.h and sys/types.h In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:6: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:31: error: ‘int64_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:32: error: ‘uint64_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:33: error: ‘int32_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:34: error: ‘uint32_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:35: error: ‘int16_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:36: error: ‘uint16_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:37: error: ‘int8_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:38: error: ‘uint8_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:25: error: variable or field ‘mp2_fdct_sse’ declared void /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:25: error: ‘int16_t’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:25: error: ‘block’ was not declared in this scope In file included from /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:25: /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:31: error: ‘int64_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:32: error: ‘uint64_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:33: error: ‘int32_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:34: error: ‘uint32_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:35: error: ‘int16_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:36: error: ‘uint16_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:37: error: ‘int8_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mmx.h:38: error: ‘uint8_t’ does not name a type /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘uint8_t’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘pf’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘uint8_t’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘pb’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘uint8_t’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: ‘p2’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: expected primary-expression before ‘int’ /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:56: error: initializer expression list treated as compound expression /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/mblock_bsad_mmx.cc:57: error: expected ‘,’ or ‘;’ before ‘{’ token make[2]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/mblock_bsad_mmx.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:201: error: variable or field ‘mp2_fdct_sse’ declared void /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:201: error: ‘int16_t’ was not declared in this scope /var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/fdct_x86.cc:201: error: ‘block’ was not declared in this scope make[2]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/fdct_x86.cc.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build' make[1]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeFiles/mpeg2enc.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build' make: *** [all] Error 2 make: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.3-r2/work/avidemux-2.5.3_build/plugins' emake failed * ERROR: media-video/avidemux-2.5.3-r2 failed: * building plugins failed * full build.log and emerge --info plz It seems like your system is kinda borked based on this error error: #error You don't seem to have sys/types.h, inttypes.h or stdint.h! This might mean two things: Either you really don't have them, in which case you should install the system headers and/or C-library headers. You might also have forgotten to define whether you have them. You can do this by either defining their presence before including mjpegtools' header files (e.g. "#define HAVE_STDINT_H"), or you can check for their presence in a configure script. mjpegtools' configure script is a good example of how to do this. You need to check for PRId64, stdbool.h, inttypes.h, stdint.h and sys/types.h Created attachment 245238 [details]
Build log
Your CFLAGS are far from safe. Try rebuild this package with -O2 -pipe -march=native Created attachment 245383 [details]
Another build.log
It is the same. :(
CFLAGS="-O2 -pipe -march=native" emerge avidemux
Thanks. Please try with ccache disabled. I still can't reproduce it Created attachment 245652 [details]
without ccache
Now it is with safe CFLAGS and without ccache. Same error.
Strange error I must say. You could try to emerge mjpegtools again and try again. In the meantime I will try to poke upstream on that I've tried everything you'd advised. Nothing helped. :( I did some changes to the ebuild. Please sync your tree in 1-2 hours then try to build it again. Read the ChangeLog just to make sure that you have the updated ebuild anyway Reopen the bug if you still have problems with it Thank you |