[Bug 280818] mplayer from latest failed to build WITH_DEBUG
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280818] mplayer from latest failed to build WITH_DEBUG"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280818] mplayer from latest failed to build WITH_DEBUG"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280818] mplayer from latest failed to build WITH_DEBUG"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280818] multimedia/mplayer from latest failed to build WITH_DEBUG"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Aug 2024 17:53:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280818 Bug ID: 280818 Summary: mplayer from latest failed to build WITH_DEBUG Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: cryptogranny@gmail.com Hello, I've built mplayer and ffmpeg from latest, MPLAYER_PORT_VERSION= 1.5.0 MPLAYER_SNAPSHOT_DATE= 2024-01-06 and ffmpeg 4.4.4 and got a crash on a flac file, which I couldn't debug, apparently because the port is not tested with all the options. Address not mapped to object. ff_seek_frame_binary (s=s@entry=0x80953b000, stream_index=stream_index@entry=0, target_ts=target_ts@entry=2243584, flags=flags@entry=0) at libavformat/utils.c:2190 warning: 2190 libavformat/utils.c: No such file or directory (gdb) bt #0 ff_seek_frame_binary (s=s@entry=0x80953b000, stream_index=stream_index@entry=0, target_ts=target_ts@entry=2243584, flags=flags@entry=0) at libavformat/utils.c:2190 #1 0x000000080191db33 in seek_frame_internal (s=0x80953b000, stream_index=0, timestamp=2243584, flags=0) at libavformat/utils.c:2481 #2 av_seek_frame (s=0x80953b000, stream_index=<optimized out>, timestamp=<optimized out>, flags=0) at libavformat/utils.c:2504 #3 0x00000000012824c9 in ?? () #4 0x41200000012c36d0 in ?? () #5 0x00000008094fa800 in ?? () #6 0x0000000000000000 in ?? () The trace incomplete, but when I tried to build with debug, I've got another error: cc -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mcpu=generic -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DZLIB_CONST -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -c -o pnm_loader.o pnm_loader.c cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' cc -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mcpu=generic -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DZLIB_CONST -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -c -o input/input.o input/input.c cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' gmake: *** [Makefile:730: command.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [Makefile:730: m_property.o] Error 1 cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' gmake: *** [Makefile:730: mixer.o] Error 1 gmake: *** [Makefile:730: mp_fifo.o] Error 1 cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' gmake: *** [Makefile:730: mplayer.o] Error 1 cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' gmake: *** [Makefile:730: parser-mpcmd.o] Error 1 cc: error: unsupported option '-mcpu=' for target 'x86_64-unknown-freebsd14.1' gmake: *** [Makefile:730: pnm_loader.o] Error 1 gmake: *** [Makefile:730: input/input.o] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 I know it's because LLVM is stricked, but I'm not a programmer to fix this. Can't check mplayer crash on binary builds because there aren't. Tried to build the version of mplayer 20220924 that worked, but now it fails with the same file. ffmpeg changes from 4.4.3 to 4.4.4 doesn't affect libavformat/utils.c -- You are receiving this mail because: You are the assignee for the bug.