Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9980 closed defect (duplicate)

Can't build ffmpeg 5.1 64bits version

Reported by: jd750 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by jd750)

Summary of the bug:
I'm trying to build ffmpeg, the 32 bits version is building fine but when I try to build the 64 bits version, the build stop and doesn't want to finish.

I'm building on a windows10 machine using msys2 and msvc. The build freeze at this line: Creating library libavcodec/avcodec.lib and object libavcodec/avcodec.exp

when I try to exist after waiting for a long time because the build does not proceed, I get this message:
make: * Deleting file 'libavcodec/avcodec-59.dll'
make: unlink: libavcodec/avcodec-59.dll: Device or resource busy

How to reproduce:
Step 1
./configure --toolchain=msvc --target-os=win64 --arch=x86_64 --enable-shared --disable-static --prefix=./build64 --extra-ldflags="/SOURCELINK:sourcelink.json" --disable-mediafoundation

Step 2
make install -j8

Attachments (2)

config.log (489.1 KB ) - added by jd750 2 years ago.
config.2.log (489.1 KB ) - added by jd750 2 years ago.
Log

Download all attachments as: .zip

Change History (11)

comment:1 by jd750, 2 years ago

Summary: Can'T build ffmpeg 64bits versionCan't build ffmpeg 64bits version

by jd750, 2 years ago

Attachment: config.log added

by jd750, 2 years ago

Attachment: config.2.log added

Log

comment:2 by jd750, 2 years ago

Summary: Can't build ffmpeg 64bits versionCan't build ffmpeg 5.1 64bits version

comment:3 by jd750, 2 years ago

Description: modified (diff)

comment:4 by mkver, 2 years ago

Looks like the 5.1 analogue of ticket #9909. Backporting 60e87faf7f32a84a0aecf9a2969c7ce89b5e5f29 should fix this.

comment:5 by Carl Eugen Hoyos, 2 years ago

Component: ffmpegundetermined
Keywords: build removed
Resolution: duplicate
Status: newclosed

comment:6 by Carl Eugen Hoyos, 2 years ago

Please remember that only current FFmpeg git head is supported on this bug tracker and that there is no release support for Windows.

in reply to:  6 comment:7 by jd750, 2 years ago

Replying to Carl Eugen Hoyos:

Please remember that only current FFmpeg git head is supported on this bug tracker and that there is no release support for Windows.

Ok it's a know issue but it won't be solved for ffmpeg 5.1 yet?
This bug will only be fixed for ffmpeg 4.4.1 and down?

comment:8 by mkver, 2 years ago

The bug only exists in 5.1. 5.0 and below were never affected, master has been fixed by the patch I mentioned.

in reply to:  8 comment:9 by jd750, 2 years ago

Replying to mkver:

The bug only exists in 5.1. 5.0 and below were never affected, master has been fixed by the patch I mentioned.

Alright, thank you

Note: See TracTickets for help on using tickets.