Opened 6 months ago

Closed 6 months ago

#68768 closed defect (duplicate)

ffmpeg installation failed on Mac Studio M1 Ultra with Sonoma 14.1 and MacPort 2.8.1

Reported by: robertobissanti (Roberto Bissanti) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

BUILD ERROR

When I tried to install ffmpeg in my Mac Studio M1 Ultra with Sonoma 14.1 and MacPort 2.8.1, I received this type of error:

Error: Failed to build ffmpeg: command execution failed  
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

MAIN.LOG

In the main.log we can read this error:

:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-utils.html] Error 1
:info:build gmake: *** Waiting for unfinished jobs....
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-bitstream-filters.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-resampler.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:71: doc/ffplay-all.html] Error 1
:info:build gmake: *** [doc/Makefile:67: doc/ffplay.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-scaler.html] Error 1
:info:build gmake: *** [doc/Makefile:71: doc/ffprobe-all.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-codecs.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffprobe.html] Error 1
:info:build gmake: *** [doc/Makefile:71: doc/ffmpeg-all.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-protocols.html] Error 1
:info:build makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
:info:build gmake: *** [doc/Makefile:67: doc/ffmpeg-formats.html] Error 1
:info:build gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4" && /opt/local/bin/gmake -j20 -w all 
:info:build Exit code: 2
:error:build Failed to build ffmpeg: command execution failed
:debug:build Error code: CHILDSTATUS 6380 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.

SOLUTION TRIED

I tried this solution without success:

> sudo port install ffmpeg --disable-htmlpages

with all option variants: --disable-doc, --disable-manpages, --disable-txtpages and --disable-podpages

Attachments (1)

main.log (4.1 MB) - added by robertobissanti (Roberto Bissanti) 6 months ago.
Mail.log of ffmpeg installation

Change History (4)

Changed 6 months ago by robertobissanti (Roberto Bissanti)

Attachment: main.log added

Mail.log of ffmpeg installation

comment:1 Changed 6 months ago by robertobissanti (Roberto Bissanti)

Summary: Installation failed on Mac Studio M1 Ultra with Sonoma 14.1ffmpeg installation failed on Mac Studio M1 Ultra with Sonoma 14.1 and MacPort 2.8.1

comment:2 Changed 6 months ago by jmroot (Joshua Root)

Cc: dbevans jeremyhu added
Keywords: doc error build removed
Owner: set to mascguy
Priority: HighNormal
Status: newassigned

comment:3 Changed 6 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.