Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] ffmpeg/4.4.4: Build failed #24034

Open
nagayev opened this issue May 20, 2024 · 0 comments
Open

[package] ffmpeg/4.4.4: Build failed #24034

nagayev opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nagayev
Copy link

nagayev commented May 20, 2024

Description

  1. Try to install ffmpeg/4.4.4 with disabled ssl.
  2. Get Error: operand type mismatch for 'shr'

See ffvvc/FFmpeg#116

Package and Environment Details

  • Package Name/Version: ffmpeg/4.4.4
  • Operating System+version: Linux Ubuntu 24.04
  • Compiler+version: GCC 13.2
  • Conan version: conan 2.3.1
  • Python version: Python 3.7.4

Conan profile

arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

Steps to reproduce

conan install . -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True --build=missing -of build

Logs

Click to expand log
2024-05-20T00:10:36.1049629Z ffmpeg/4.4.4: RUN: make -j2
2024-05-20T00:10:36.2480675Z GEN	libavutil/libavutil.version
2024-05-20T00:10:36.2621004Z GEN	libavcodec/libavcodec.version
2024-05-20T00:10:36.2739643Z GEN	libavformat/libavformat.version
2024-05-20T00:10:36.2797718Z GEN	libavfilter/libavfilter.version
2024-05-20T00:10:36.2895990Z GEN	libavdevice/libavdevice.version
2024-05-20T00:10:36.2947609Z GEN	libswscale/libswscale.version
2024-05-20T00:10:36.2957569Z GEN	libswresample/libswresample.version
2024-05-20T00:10:36.3019247Z GEN	libpostproc/libpostproc.version
2024-05-20T00:10:36.4320287Z CC	libavdevice/alldevices.o
2024-05-20T00:10:36.4326012Z CC	libavdevice/alsa.o
2024-05-20T00:10:36.6281049Z CC	libavdevice/alsa_dec.o
2024-05-20T00:10:36.7433684Z CC	libavdevice/alsa_enc.o
2024-05-20T00:10:36.7939075Z CC	libavdevice/avdevice.o
2024-05-20T00:10:36.9110342Z CC	libavdevice/fbdev_common.o
2024-05-20T00:10:36.9388267Z CC	libavdevice/fbdev_dec.o
2024-05-20T00:10:37.0607561Z CC	libavdevice/fbdev_enc.o
2024-05-20T00:10:37.1219141Z CC	libavdevice/lavfi.o
2024-05-20T00:10:37.2338384Z CC	libavdevice/oss.o
2024-05-20T00:10:37.3805244Z CC	libavdevice/oss_dec.o
2024-05-20T00:10:37.4024903Z CC	libavdevice/oss_enc.o
2024-05-20T00:10:37.5287327Z CC	libavdevice/pulse_audio_common.o
2024-05-20T00:10:37.5394435Z CC	libavdevice/pulse_audio_dec.o
2024-05-20T00:10:37.7115542Z CC	libavdevice/pulse_audio_enc.o
2024-05-20T00:10:37.7495087Z CC	libavdevice/timefilter.o
2024-05-20T00:10:37.8377939Z CC	libavdevice/utils.o
2024-05-20T00:10:37.9478959Z CC	libavdevice/v4l2-common.o
2024-05-20T00:10:38.0961093Z CC	libavdevice/v4l2.o
2024-05-20T00:10:38.1147175Z CC	libavdevice/v4l2enc.o
2024-05-20T00:10:38.2781837Z CC	libavdevice/xcbgrab.o
2024-05-20T00:10:38.3121189Z src/libavdevice/v4l2.c: In function ‘v4l2_get_device_list’:
2024-05-20T00:10:38.3127311Z src/libavdevice/v4l2.c:1054:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=]
2024-05-20T00:10:38.3129745Z  1054 |         snprintf(device_name, sizeof(device_name), "/dev/%s", entry->d_name);
2024-05-20T00:10:38.3131062Z       |                                                          ^~
2024-05-20T00:10:38.3132461Z In file included from /usr/include/stdio.h:980,
2024-05-20T00:10:38.3133482Z                  from src/libavformat/avformat.h:311,
2024-05-20T00:10:38.3134478Z                  from src/libavformat/internal.h:27,
2024-05-20T00:10:38.3135588Z                  from src/libavdevice/v4l2-common.h:24,
2024-05-20T00:10:38.3136662Z                  from src/libavdevice/v4l2.c:35:
2024-05-20T00:10:38.3137598Z In function ‘snprintf’,
2024-05-20T00:10:38.3138421Z     inlined from ‘v4l2_get_device_list’ at src/libavdevice/v4l2.c:1054:9:
2024-05-20T00:10:38.3140187Z /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 6 and 261 bytes into a destination of size 256
2024-05-20T00:10:38.3141994Z    54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
2024-05-20T00:10:38.3142892Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-05-20T00:10:38.3143644Z    55 |                                    __glibc_objsize (__s), __fmt,
2024-05-20T00:10:38.3144377Z       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-05-20T00:10:38.3145138Z    56 |                                    __va_arg_pack ());
2024-05-20T00:10:38.3145822Z       |                                    ~~~~~~~~~~~~~~~~~
2024-05-20T00:10:38.6073345Z CC	libavdevice/xv.o
2024-05-20T00:10:38.6696464Z GEN	libavdevice/libavdevice.pc
2024-05-20T00:10:38.7138156Z GEN	libavfilter/libavfilter.pc
2024-05-20T00:10:38.7277432Z CC	libavformat/3dostr.o
2024-05-20T00:10:38.8450485Z CC	libavformat/4xm.o
2024-05-20T00:10:38.8934157Z CC	libavformat/a64.o
2024-05-20T00:10:39.0070961Z CC	libavformat/aacdec.o
2024-05-20T00:10:39.0553998Z CC	libavformat/aadec.o
2024-05-20T00:10:39.1761982Z CC	libavformat/aaxdec.o
2024-05-20T00:10:39.3614222Z CC	libavformat/ac3dec.o
2024-05-20T00:10:39.4066402Z CC	libavformat/acedec.o
2024-05-20T00:10:39.5116541Z CC	libavformat/acm.o
2024-05-20T00:10:39.5420033Z CC	libavformat/act.o
2024-05-20T00:10:39.6314259Z CC	libavformat/adp.o
2024-05-20T00:10:39.6989635Z CC	libavformat/ads.o
2024-05-20T00:10:39.7658402Z CC	libavformat/adtsenc.o
2024-05-20T00:10:39.8236116Z CC	libavformat/adxdec.o
2024-05-20T00:10:39.9665111Z CC	libavformat/aea.o
2024-05-20T00:10:40.0697317Z src/libavcodec/x86/mathops.h: Assembler messages:
2024-05-20T00:10:40.0703056Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0704828Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0706452Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0708536Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0709965Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0711107Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0712618Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0713733Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0715010Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0716426Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0717626Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0718749Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0728614Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0730059Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0731435Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0733075Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0735925Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0754000Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0756460Z src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
2024-05-20T00:10:40.0843367Z CC	libavformat/afc.o
2024-05-20T00:10:40.0911289Z make: *** [/home/runner/.conan2/p/b/ffmpe346528a358a23/b/src/ffbuild/common.mak:67: libavformat/adtsenc.o] Error 1
2024-05-20T00:10:40.0914272Z make: *** Waiting for unfinished jobs....
2024-05-20T00:10:40.1620415Z 
2024-05-20T00:10:40.1653018Z ffmpeg/4.4.4: ERROR: 
2024-05-20T00:10:40.1658536Z Package 'b5b708f47d8ef22bc5a82002a804470f8d7787bc' build failed
2024-05-20T00:10:40.1659759Z ffmpeg/4.4.4: WARN: Build folder /home/runner/.conan2/p/b/ffmpe346528a358a23/b/build-release
2024-05-20T00:10:40.1660879Z ERROR: ffmpeg/4.4.4: Error in build() method, line 711
2024-05-20T00:10:40.1661484Z 	autotools.make()
2024-05-20T00:10:40.1662278Z 	ConanException: Error 2 while executing
2024-05-20T00:10:40.2457156Z ##[error]Process completed with exit code 1.
@nagayev nagayev added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant