LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-24-2023, 09:16 AM   #1
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Rep: Reputation: 38
ffmpeg compile error


Hi.

Slackware64-current fully updated today + nVidia Quadro P2000

Compiling ffmpeg from Slackware64-current repository.
As nVidia Quadro P2000 is installed, I explicitly disabled nVidia options in .configure.
All other options are the same as in ffmpeg.Slackbuild created by respected Patrick J. Volkerding.

As compilig fails, I deinstalled nVidia kernel, driver an cuda packages and reboot.

Last successful compilation was on september 28, all latter failed.

Compilation terminate with the following last lines:
Quote:
GEN libpostproc/libpostproc.ver
GEN libavformat/libavformat.ver
GEN libswresample/libswresample.ver
HOSTLD doc/print_options
GEN libavfilter/libavfilter.ver
LD libavutil/libavutil.so.57
GENTEXI doc/avoptions_format.texi
GENTEXI doc/avoptions_codec.texi
HTML doc/ffmpeg.html
HTML doc/ffplay.html
HTML doc/ffprobe.html
HTML doc/ffmpeg-all.html
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/Makefile:70: doc/ffmpeg.html] Error 1
make: *** Waiting for unfinished jobs....
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/Makefile:70: doc/ffplay.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/Makefile:74: doc/ffmpeg-all.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/Makefile:70: doc/ffprobe.html] Error 1
STRIP libavcodec/x86/hevc_mc.o
STRIP libavcodec/x86/vp9itxfm_16bpp.o
STRIP libavcodec/x86/vp9lpf.o
STRIP libavcodec/x86/vp9itxfm.o
LD libswscale/libswscale.so.6
LD libpostproc/libpostproc.so.56
GEN libavcodec/libavcodec.ver
LD libswresample/libswresample.so.4
LD libavcodec/libavcodec.so.59
LD libavformat/libavformat.so.59
LD libavfilter/libavfilter.so.8
LD libavdevice/libavdevice.so.59
HTML doc/ffmpeg.html
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/Makefile:70: doc/ffmpeg.html] Error 1
I left /usr/local/cuda/bin in PATH regardless it's empty.

Icluded is config.log.xz.txt, please remove ".txt" extension and extract. Log file is longer then allowed by this forum.
Attached Files
File Type: txt config.log.xz.txt (44.8 KB, 9 views)
 
Old 10-24-2023, 10:25 AM   #2
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The error does not seem related to cuda or any other library. Instead the error seems to indicate a failure when building html files for documentation.

regards Henrik
 
1 members found this post helpful.
Old 10-24-2023, 10:30 AM   #3
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 631

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Code:
--disable-htmlpages
If you try to build with this option is it building?

some other options you might want to check:
Code:
Documentation options:
  --disable-doc            do not build documentation
  --disable-htmlpages      do not build HTML documentation pages
  --disable-manpages       do not build man documentation pages
  --disable-podpages       do not build POD documentation pages
  --disable-txtpages       do not build text documentation pages

Last edited by rizitis; 10-24-2023 at 10:32 AM.
 
1 members found this post helpful.
Old 10-24-2023, 11:07 AM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Quote:
Originally Posted by henca View Post
The error does not seem related to cuda or any other library. Instead the error seems to indicate a failure when building html files for documentation.

regards Henrik
maybe texinfo?
 
1 members found this post helpful.
Old 10-24-2023, 02:18 PM   #5
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by marav View Post
maybe texinfo?
Almost certainly. That's got a long track record of breakage.
 
1 members found this post helpful.
Old 10-24-2023, 02:31 PM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,785

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
It seems set_from_init_file should be changed to texinfo_set_from_init_file, doesn't it?

EDIT: And then get_conf should be changed to texinfo_get_conf. And after that yet another different error message about t2h.pm...

Last edited by Petri Kaukasoina; 10-24-2023 at 02:57 PM.
 
1 members found this post helpful.
Old 10-24-2023, 04:02 PM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Same for gentoo & ffmpeg 6
Code:
make: *** [/var/tmp/portage/media-video/ffmpeg-6.0-r10/work/ffmpeg-6.0/doc/Makefile:70: 
doc/ffmpeg.html] Error 1
makeinfo: error parsing /var/tmp/portage/media-video/ffmpeg-6.0-r10/work/ffmpeg-6.0/doc/t2h.pm: 
Undefined subroutine &Texinfo::Config::set_from_init_file called at 
/var/tmp/portage/media-video/ffmpeg-6.0-r10/work/ffmpeg-6.0/doc/t2h.pm line 24.
make: *** [/var/tmp/portage/media-video/ffmpeg-6.0-r10/work/ffmpeg-6.0/doc/Makefile:74: 
doc/ffmpeg-all.html] Error 1
echo skipping strip -x libswresample/x86/audio_convert.o
https://bugs.gentoo.org/916104

Last edited by marav; 10-24-2023 at 04:05 PM.
 
Old 10-25-2023, 02:12 AM   #8
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by rizitis View Post
Code:
--disable-htmlpages
If you try to build with this option is it building?

some other options you might want to check:
Code:
Documentation options:
  --disable-doc            do not build documentation
  --disable-htmlpages      do not build HTML documentation pages
  --disable-manpages       do not build man documentation pages
  --disable-podpages       do not build POD documentation pages
  --disable-txtpages       do not build text documentation pages
Thank you rizitis.
Your answer resolved the issue.
 
Old 10-25-2023, 02:34 AM   #9
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 631

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Quote:
Originally Posted by zdolar View Post
Thank you rizitis.
Your answer resolved the issue.
Glad to help you. But on the other hand its not "the solution" for this bug...
 
Old 10-25-2023, 03:20 AM   #10
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Hi zdolar,

Not building documentation doesn't solve the issue of building documentation

Can you remove the "Solved" tag ?
 
Old 10-25-2023, 05:11 AM   #11
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Sorry guys, you are right.

Solved tag removed.
 
1 members found this post helpful.
Old 10-25-2023, 10:12 AM   #12
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 631

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
2 problems here, one is solved as Petri Kaukasoina said by set_from_init_file should be changed to texinfo_set_from_init_file && get_conf should be changed to texinfo_get_conf

Then we stuck in Function float_name_caption because it not exists in Texinfo::Common or Convert::...
 
Old 10-25-2023, 10:28 AM   #13
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Welcome to this amazing Perl/Texinfo world

Last edited by marav; 10-25-2023 at 12:37 PM.
 
1 members found this post helpful.
Old 10-25-2023, 05:09 PM   #14
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 631

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
I think I have the solution for building ffmpeg-6.0 with stock texinfo in Slackware-current
Code:
cat $CWD/texinfo.patch | patch -p1 --verbose || exit 1
I finally builded it but if I close my eyes i see perl and texinfo Butterflies...

So plz test it...

ps:@marav, one fixed 2 broke, 2 fixed, 4 broke... it was nice in perl/texinfo_la-la-land but only for one time

build.log https://easyupload.io/b5tk3r
Attached Files
File Type: txt texinfo.patch.txt (10.6 KB, 78 views)

Last edited by rizitis; 10-25-2023 at 05:11 PM.
 
2 members found this post helpful.
Old 10-26-2023, 09:53 AM   #15
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Quote:
Originally Posted by rizitis View Post
I think I have the solution for building ffmpeg-6.0 with stock texinfo in Slackware-current
Code:
cat $CWD/texinfo.patch | patch -p1 --verbose || exit 1
I finally builded it but if I close my eyes i see perl and texinfo Butterflies...

So plz test it...

ps:@marav, one fixed 2 broke, 2 fixed, 4 broke... it was nice in perl/texinfo_la-la-land but only for one time

build.log https://easyupload.io/b5tk3r
it works ;-) with ffmpeg-5.1.3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ffmpeg for PHP ( ffmpeg-php extension ) shlomi.s Linux - Software 2 02-02-2010 12:52 AM
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avformat_alloc_context YeeHaa4LINUX Linux - Software 2 10-16-2009 11:09 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration