Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[BUG REPORTED]Can not recompile ffmpeg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 7:39 am    Post subject: [BUG REPORTED]Can not recompile ffmpeg Reply with quote

Hello all:
I've changed profile to plasma-enabled one,and entered the plasma desktop successfully
Then during emerge kdenlive,my laptop is automaticly hibernated......
And I could not wake it up,so I long pressed power botton to power off
After reboot I found [kdenlive][/b] is not installed yet,so I changed the power strategy,tried to reinstall it
And I found I can not install ffmpeg anymore
build.log => http://0x0.st/Xzhk.txt
emerge --info => http://0x0.st/Xzhd.bin #Note:This is a regular text file,I don't know why become a .bin(maybe a bug of 0x0.st).Discussed below
emerge -pqv => http://0x0.st/Xzhn.txt

Please somebody check
(ffmpeg-6.0.1-r4 can be compiled successfully,latest one can not)


Last edited by nurali on Fri Apr 05, 2024 4:01 am; edited 2 times in total
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 195
Location: Somewhere in the 77

PostPosted: Thu Apr 04, 2024 8:30 am    Post subject: Reply with quote

Hello,

Why the second link is a binary ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 8:37 am    Post subject: Reply with quote

kgdrenefort wrote:
Hello,

Why the second link is a binary ?

Regards,
GASPARD DE RENEFORT Kévin

I don't actually know,it is a text file,but I don't know why it becomes .bin when uploaded to 0x0.st
Happened before,download it,rename it to .txt will work
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30929
Location: here

PostPosted: Thu Apr 04, 2024 8:39 am    Post subject: Reply with quote

kgdrenefort wrote:
Why the second link is a binary ?

I don't know why it's named .bin, but it is a regular text file
Code:
$ file Xzhd.bin
Xzhd.bin: makefile script, ASCII text, with very long lines (2149)
$ tail aaa.txt
XDG_SESSION_TYPE="wayland"
XDG_VTNR="7"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ZSH="/usr/share/zsh/site-contrib/oh-my-zsh"
_JAVA_AWT_WM_NONREPARENTING="1"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes

(not sure because file command say makefile script but is normal with emerge --info output)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 195
Location: Somewhere in the 77

PostPosted: Thu Apr 04, 2024 8:39 am    Post subject: Reply with quote

nurali wrote:
kgdrenefort wrote:
Hello,

Why the second link is a binary ?

Regards,
GASPARD DE RENEFORT Kévin

I don't actually know,it is a text file,but I don't know why it becomes .bin when uploaded to 0x0.st
Happened before,download it,rename it to .txt will work


Sorry if I’m being paranoid, but I would prefer not.

It would be probably better to re-upload properly the content and be sure it’s not making you download a .bin file.

It’s dangerous out there, on Internet !  :twisted:

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 8:45 am    Post subject: Reply with quote

kgdrenefort wrote:

Sorry if I’m being paranoid, but I would prefer not.

It would be probably better to re-upload properly the content and be sure it’s not making you download a .bin file.

It’s dangerous out there, on Internet !  :twisted:

Regards,
GASPARD DE RENEFORT Kévin

No need to be sorry man,I understand what you're thinking and if I were you,I will ask the same question
Let me check if the log file still there
Because I masked the latest one and did a lot of installation after that

Unfortunately,still .bin(giving me the old url)
Code:

❯ curl -F 'file=@-' 0x0.st < emerge-info.txt
http://0x0.st/Xzhd.bin
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2575
Location: Here and Away Again

PostPosted: Thu Apr 04, 2024 11:46 am    Post subject: Reply with quote

It's the 'CFLAGS' string.

Code:
$ cat test.txt
CFLAGS

$ curl -F 'file=@-' 0x0.st < test.txt
http://0x0.st/XzCm.bin

$ cat test.txt
CFLAG

$ curl -F 'file=@-' 0x0.st < test.txt
http://0x0.st/XzCa.txt

Same for the 'file' command.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 11:49 am    Post subject: Reply with quote

Chiitoo wrote:
It's the 'CFLAGS' string.

Code:
$ cat test.txt
CFLAGS

$ curl -F 'file=@-' 0x0.st < test.txt
http://0x0.st/XzCm.bin

$ cat test.txt
CFLAG

$ curl -F 'file=@-' 0x0.st < test.txt
http://0x0.st/XzCa.txt

Same for the 'file' command.

Understood,thank you
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Apr 04, 2024 2:05 pm    Post subject: Reply with quote

I have two intalls of ffmpeg with -vulkan (disabled not related to this issue).

Do you have vulkan-headers installed?

Bug 865201 - media-video/ffmpeg-4.4.2:0/56.58.58::gentoo | vulkan use flag / missing vulkan-headers req.

If I search ebuilds for vulkan-headers, only 2 versions include it:
Code:
 grep vulkan-headers *.ebuild
ffmpeg-6.1.1-r5.ebuild: vulkan? ( >=dev-util/vulkan-headers-1.3.255 )
ffmpeg-9999.ebuild:     vulkan? ( >=dev-util/vulkan-headers-1.3.255 )
Per the user reporting the bug, manually installing vulkan-headers helped, although they didn't provide a build.log to see if it has similar errors.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 2:46 pm    Post subject: Reply with quote

pjp wrote:
I have two intalls of ffmpeg with -vulkan (disabled not related to this issue).

Do you have vulkan-headers installed?

Bug 865201 - media-video/ffmpeg-4.4.2:0/56.58.58::gentoo | vulkan use flag / missing vulkan-headers req.

If I search ebuilds for vulkan-headers, only 2 versions include it:
Code:
 grep vulkan-headers *.ebuild
ffmpeg-6.1.1-r5.ebuild: vulkan? ( >=dev-util/vulkan-headers-1.3.255 )
ffmpeg-9999.ebuild:     vulkan? ( >=dev-util/vulkan-headers-1.3.255 )
Per the user reporting the bug, manually installing vulkan-headers helped, although they didn't provide a build.log to see if it has similar errors.


Sorry for the late reply
Yes,I have installed the vulkan-headers
Code:

qlist -Iv | grep vulkan
dev-util/vulkan-headers-1.3.280.0
media-libs/vulkan-loader-1.3.280.0

I checked this at the first time when installation was failed....
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 223
Location: Barcelona, Catalonia

PostPosted: Thu Apr 04, 2024 3:02 pm    Post subject: Reply with quote

I had a similar issue with ffmpeg, but my error was related to nvenc. I could not reinstall due to errors in compilation.

It drove me crazy until I re-installed the nv-codec-headers package, and after that I could compile again ffmpeg. For some odd reason the package was uninstalled, but portage was not aware of it and did not pull the dependency. How it got removed is also a mistery....

Perhaps you could reinstall the vulkan headers to see if that helps.
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 3:08 pm    Post subject: Reply with quote

Hammett wrote:
I had a similar issue with ffmpeg, but my error was related to nvenc. I could not reinstall due to errors in compilation.

It drove me crazy until I re-installed the nv-codec-headers package, and after that I could compile again ffmpeg. For some odd reason the package was uninstalled, but portage was not aware of it and did not pull the dependency. How it got removed is also a mistery....

Perhaps you could reinstall the vulkan headers to see if that helps.

Thanks for replying
Actually I reinstalled vulkan-headers once already,did not work
Maybe I am missing some USE flag,I don't know.....
But 6.0.1 is fine,weird....
I'll try again
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1667

PostPosted: Thu Apr 04, 2024 3:20 pm    Post subject: Reply with quote

This is due to changes with Mesa's vulkan support. Please report as a bug.
Back to top
View user's profile Send private message
nurali
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2022
Posts: 146
Location: Somewhere,Earth

PostPosted: Thu Apr 04, 2024 3:23 pm    Post subject: Reply with quote

grknight wrote:
This is due to changes with Mesa's vulkan support. Please report as a bug.

Thanks for replying
Understood

Reported as a bug (#928611)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum