[MacPorts] #68768: Installation failed on Mac Studio M1 Ultra with Sonoma 14.1
MacPorts
noreply at macports.org
Fri Nov 24 09:10:01 UTC 2023
#68768: Installation failed on Mac Studio M1 Ultra with Sonoma 14.1
-------------------------------+--------------------
Reporter: robertobissanti | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.8.1
Keywords: doc, error, build | Port: ffmpeg
-------------------------------+--------------------
**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
--
Ticket URL: <https://trac.macports.org/ticket/68768>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list