Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2024 17:53:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280818] mplayer from latest failed to build WITH_DEBUG
Message-ID:  <bug-280818-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280818

            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=3D   1.5.0
MPLAYER_SNAPSHOT_DATE=3D  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=3Ds@entry=3D0x80953b000, stream_index=3Dstream_inde=
x@entry=3D0,
target_ts=3Dtarget_ts@entry=3D2243584, flags=3Dflags@entry=3D0) at
libavformat/utils.c:2190
warning: 2190   libavformat/utils.c: No such file or directory
(gdb) bt
#0  ff_seek_frame_binary (s=3Ds@entry=3D0x80953b000,
stream_index=3Dstream_index@entry=3D0, target_ts=3Dtarget_ts@entry=3D224358=
4,
flags=3Dflags@entry=3D0) at libavformat/utils.c:2190
#1  0x000000080191db33 in seek_frame_internal (s=3D0x80953b000, stream_inde=
x=3D0,
timestamp=3D2243584, flags=3D0) at libavformat/utils.c:2481
#2  av_seek_frame (s=3D0x80953b000, stream_index=3D<optimized out>,
timestamp=3D<optimized out>, flags=3D0) 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=3Dx86-64
-mcpu=3Dgeneric -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOUR=
CE
-D_FILE_OFFSET_BITS=3D64 -I/usr/local/include -I/usr/local/include
-DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/freet=
ype2
-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=3D' for target 'x86_64-unknown-freebsd=
14.1'
cc -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=3Dx86-64
-mcpu=3Dgeneric -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOUR=
CE
-D_FILE_OFFSET_BITS=3D64 -I/usr/local/include -I/usr/local/include
-DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/freet=
ype2
-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=3D' for target 'x86_64-unknown-freebsd=
14.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=3D' for target 'x86_64-unknown-freebsd=
14.1'
gmake: *** [Makefile:730: mixer.o] Error 1
gmake: *** [Makefile:730: mp_fifo.o] Error 1
cc: error: unsupported option '-mcpu=3D' for target 'x86_64-unknown-freebsd=
14.1'
cc: error: unsupported option '-mcpu=3D' for target 'x86_64-unknown-freebsd=
14.1'
gmake: *** [Makefile:730: mplayer.o] Error 1
cc: error: unsupported option '-mcpu=3D' for target 'x86_64-unknown-freebsd=
14.1'
gmake: *** [Makefile:730: parser-mpcmd.o] Error 1
cc: error: unsupported option '-mcpu=3D' for target 'x86_64-unknown-freebsd=
14.1'
gmake: *** [Makefile:730: pnm_loader.o] Error 1
gmake: *** [Makefile:730: input/input.o] Error 1
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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 b=
uild
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280818-7788>