[gentoo-user] *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl'
I'm compiling a new system (in (chroot) livecd) and trying to compile a new kernel: Running: make && make modules_install SYNCinclude/config/auto.conf HOSTCC scripts/kconfig/conf.o HOSTLD scripts/kconfig/conf make[1]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop. make: *** [arch/x86/Makefile:242: archheaders] Error 2 kerenl is: linux-6.1.60-gentoo-dist -- Thelma
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Mon, 4 Dec 2023 10:40:20 +0100 Arve Barsnes wrote: > On Mon, 4 Dec 2023 at 09:28, Dale wrote: > > Anyone see a way to fix this? It's getting old seeing this every > > week when I try to do my updates and it may be blocking other > > updates as well. > > Take a look at everything Jigme wrote, but the easy fix seems to > disable USE="ffmpeg" on the opencascade package. What that does to > your use of that package is outside of my knowledge. Oh, I hadn't considered that, thanks for pointing that out. pgpy6sQt9PuQl.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Monday, 4 December 2023 19:20:12 GMT Grant Edwards wrote: > On 2023-12-04, Michael wrote: > >> However, the "h264enc" package has a hard dependency on mplayer. > > > > Which I believe is not needed for mpv. You can set: > The problem is not that h264enc is required by mplyaer, it's that the > h264enc package requires mplayer: > > From the h264enc ebuild > [https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/h264enc/h264enc > -10.4.7-r1.ebuild]: > > RDEPEND="media-video/mplayer[encode,x264] > sys-apps/coreutils > [...] > sys-process/time" > > > vo=gpu > > hwdec=auto > > > > or, > > > > hwdec=auto-safe > > > > in .config/mpv/mpv.conf and all should be good. Check the mpv man page > > for > > "Actively supported hwdecs" to see what applies to your hardware. > > I don't understand how that's relevent to h264enc's dependancy on > mplayer. > > The solution is to probably replace the h264enc script (which requires > mplayer -- more specifically, it appears to require mencoder), with an > equivalent script which uses mpv or ffmpeg instead of mencoder for > transcoding. Oops! I misread it. It is indeed the other way around, mplayer requiring h264enc. My bad. In this case Dale needs to look into using ffmpeg for the odd file he wants to transcode, instead of mplayer's menconder. signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On 2023-12-04, Michael wrote: >> However, the "h264enc" package has a hard dependency on mplayer. > > Which I believe is not needed for mpv. You can set: The problem is not that h264enc is required by mplyaer, it's that the h264enc package requires mplayer: >From the h264enc ebuild >[https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/h264enc/h264enc-10.4.7-r1.ebuild]: RDEPEND="media-video/mplayer[encode,x264] sys-apps/coreutils [...] sys-process/time" > vo=gpu > hwdec=auto > > or, > > hwdec=auto-safe > > in .config/mpv/mpv.conf and all should be good. Check the mpv man page for > "Actively supported hwdecs" to see what applies to your hardware. I don't understand how that's relevent to h264enc's dependancy on mplayer. The solution is to probably replace the h264enc script (which requires mplayer -- more specifically, it appears to require mencoder), with an equivalent script which uses mpv or ffmpeg instead of mencoder for transcoding. FWIW, mpv doesn't have a separate "encoder" utilitity like mplayer does. Instead, you just add some -o "output" options to tell it where to write the stream and what container/codec to use for output. -- Grant
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Monday, 4 December 2023 17:48:43 GMT Grant Edwards wrote: > On 2023-12-04, Dale wrote: > > Grant Edwards wrote: > >> Do you really need both mpv and mplayer? > > > > Given the new one fails to build, that is a good question. Personally, > > I just want to play videos. lol This is what equery shows as needing > > mplayer. > > > > > > > > root@fireball / # equery d media-video/mplayer > > * These packages depend on media-video/mplayer: > > media-video/devedeng-4.17.0-r2 (media-video/mplayer) > > media-video/h264enc-10.4.7-r1 (media-video/mplayer[encode,x264]) > > media-video/smplayer-23.6.0 (media-video/mplayer[bidi?,libass,png,X]) > > root@fireball / # > > > > I use smplayer, a LOT. It's what I use to watch videos on my TV with. > > Can smplayer use mpv instead? > > According to Wikipedia: > > SMPlayer is a cross-platform graphical front-end for MPlayer and > mpv. > > In the smplayer ebuild file is says this: > > RDEPEND="${DEPEND} > > || ( > > media-video/mpv[libass(+),X] > media-video/mplayer[bidi?,libass,png,X] > ) > > So yes, smplayer will use either. > > > Would disabling those USE flags above make it not need mplayer? > > In the devedeng emerge file it too appears to be happy with either mplayer, > vlc, or mpv: > > RDEPEND=" > [...] > > || ( media-video/vlc media-video/mpv media-video/mplayer ) > > [...] > " > > However, the "h264enc" package has a hard dependency on mplayer. Which I believe is not needed for mpv. You can set: vo=gpu hwdec=auto or, hwdec=auto-safe in .config/mpv/mpv.conf and all should be good. Check the mpv man page for "Actively supported hwdecs" to see what applies to your hardware. signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On 2023-12-04, Dale wrote: > Grant Edwards wrote: > >> Do you really need both mpv and mplayer? > > > Given the new one fails to build, that is a good question. Personally, > I just want to play videos. lol This is what equery shows as needing > mplayer. > > > > root@fireball / # equery d media-video/mplayer > * These packages depend on media-video/mplayer: > media-video/devedeng-4.17.0-r2 (media-video/mplayer) > media-video/h264enc-10.4.7-r1 (media-video/mplayer[encode,x264]) > media-video/smplayer-23.6.0 (media-video/mplayer[bidi?,libass,png,X]) > root@fireball / # > > I use smplayer, a LOT. It's what I use to watch videos on my TV with. > Can smplayer use mpv instead? According to Wikipedia: SMPlayer is a cross-platform graphical front-end for MPlayer and mpv. In the smplayer ebuild file is says this: RDEPEND="${DEPEND} || ( media-video/mpv[libass(+),X] media-video/mplayer[bidi?,libass,png,X] ) So yes, smplayer will use either. > Would disabling those USE flags above make it not need mplayer? In the devedeng emerge file it too appears to be happy with either mplayer, vlc, or mpv: RDEPEND=" [...] || ( media-video/vlc media-video/mpv media-video/mplayer ) [...] " However, the "h264enc" package has a hard dependency on mplayer.
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Grant Edwards wrote: > On 2023-12-04, Dale wrote: > >> I either started a thread on this a while back or it was mentioned >> inside another thread. This has been popping up for months now. Either >> I have something set wrong or there is a problem in a ebuild or >> something. I just don't know what. This is what I get. I'm having to >> use this command because it does update everything else. This however >> triggers the same as I get during a regular world update. >> >> root@fireball / # emerge -auDN ffmpeg mpv mplayer > A month or two ago, I had to give up on mplayer and replace it with > mpv [https://en.wikipedia.org/wiki/Mpv_(media_player)]. mplayer > required old versions of various libraries, and that was preventing > other things from getting updated because they depended on more modern > versions of those same libraries. > > Do you really need both mpv and mplayer? Given the new one fails to build, that is a good question. Personally, I just want to play videos. lol This is what equery shows as needing mplayer. root@fireball / # equery d media-video/mplayer * These packages depend on media-video/mplayer: media-video/devedeng-4.17.0-r2 (media-video/mplayer) media-video/h264enc-10.4.7-r1 (media-video/mplayer[encode,x264]) media-video/smplayer-23.6.0 (media-video/mplayer[bidi?,libass,png,X]) root@fireball / # I use smplayer, a LOT. It's what I use to watch videos on my TV with. Can smplayer use mpv instead? Would disabling those USE flags above make it not need mplayer? Hey, it's one less package to deal with and it fails to build at the moment. Dale :-) :-)
[gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On 2023-12-04, Dale wrote: > I either started a thread on this a while back or it was mentioned > inside another thread. This has been popping up for months now. Either > I have something set wrong or there is a problem in a ebuild or > something. I just don't know what. This is what I get. I'm having to > use this command because it does update everything else. This however > triggers the same as I get during a regular world update. > > root@fireball / # emerge -auDN ffmpeg mpv mplayer A month or two ago, I had to give up on mplayer and replace it with mpv [https://en.wikipedia.org/wiki/Mpv_(media_player)]. mplayer required old versions of various libraries, and that was preventing other things from getting updated because they depended on more modern versions of those same libraries. Do you really need both mpv and mplayer?
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Mon, 4 Dec 2023 at 12:41, Dale wrote: > From what I've read so far, opencascade wants a older ffmpeg than > everything else I have installed. It looks like opencascade needs to > upgrade its code to work with newer ffmpeg. If I understand it correctly. Correct, according to the gentoo maintainer. Upstream says it is used for 'video recording', so if you don't use that part of it, you shouldn't miss it. Regards, Arve
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Arve Barsnes wrote: > On Mon, 4 Dec 2023 at 09:28, Dale wrote: >> Anyone see a way to fix this? It's getting old seeing this every week >> when I try to do my updates and it may be blocking other updates as well. > Take a look at everything Jigme wrote, but the easy fix seems to > disable USE="ffmpeg" on the opencascade package. What that does to > your use of that package is outside of my knowledge. > > Regards, > Arve I've done a emerge -C opencascade before to get it to move on a bit. Thing is, it pulls it back in and usually downgrades ffmpeg. I use Kicad on occasion and that is what pulls in opencascade. I don't know if it will affect Kicad or not but for now, I disabled the ffmpeg USE flag for opencascade. When I did that, it gives a better output. It's rebuilding quite a few packages but if it will allow emerge to upgrade everything else, I'm fine with it. >From what I've read so far, opencascade wants a older ffmpeg than everything else I have installed. It looks like opencascade needs to upgrade its code to work with newer ffmpeg. If I understand it correctly. Thanks to you and Jigme, and Wols, for the replies. I'll know in a bit how this works. See what it does after it finishes. Dale :-) :-)
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Mon, 4 Dec 2023 at 09:28, Dale wrote: > Anyone see a way to fix this? It's getting old seeing this every week > when I try to do my updates and it may be blocking other updates as well. Take a look at everything Jigme wrote, but the easy fix seems to disable USE="ffmpeg" on the opencascade package. What that does to your use of that package is outside of my knowledge. Regards, Arve
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On Mon, 4 Dec 2023 02:28:28 -0600 Dale wrote: Trimming for brevity... > Howdy, > > I either started a thread on this a while back or it was mentioned > inside another thread. This has been popping up for months now. > Either I have something set wrong or there is a problem in a ebuild or > something. I just don't know what. This is what I get. I'm having > to use this command because it does update everything else. This > however triggers the same as I get during a regular world update. > > > > root@fireball / # emerge -auDN ffmpeg mpv mplayer > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > Dependency resolution took 269.57 s (backtrack: 0/500). > > > Total: 0 packages, Size of downloads: 0 KiB > > WARNING: One or more updates/rebuilds have been skipped due to a > dependency conflict: > > media-video/ffmpeg:0 > > (media-video/ffmpeg-6.1:0/58.60.60::gentoo, This is the package it's trying to install... Note the version number... (possibly both before and after the : > (sci-libs/opencascade-7.7.0-r2:0/7.7::gentoo, installed) USE="ffmpeg This is a different (though possibly related) issue with nv-codec-headers (NVIDIA driver issues)... > (media-libs/nv-codec-headers-12.1.14.0:0/0::gentoo, ebuild scheduled > for merge) USE="" ABI_X86="(64)" conflicts with > (media-video/ffmpeg-4.4.4-r8:0/56.58.58::gentoo, installed) USE="X > alsa bluray bzip2 dav1d encode fdk fontconfig frei0r gnutls gpl iconv > jpeg2k libass lzma mp3 network nvenc opengl openh264 postproc > pulseaudio sdl svg theora threads truetype vorbis vpx vulkan webp > x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bs2b -cdio > -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -flite > -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 > -ieee1394 -jack -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm > -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 > (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl > -openssl -opus -oss -pic -qsv -rav1e -rubberband -samba -snappy > -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame -v4l > -vaapi -vdpau -verify-sig -vidstab -vmaf -zeromq -zimg -zvbi" > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext > sse sse2 sse3 sse4_1 sse4_2 ssse3 xop -3dnow -3dnowext -avx2" > FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt > graph2dot ismindex pktdumper qt-faststart sidxindex trasher" ^ > !!! The following installed packages are masked: > - sys-kernel/gentoo-sources-5.14.15::gentoo (masked by: package.mask) > - sys-kernel/gentoo-sources-5.6.7::gentoo (masked by: package.mask) > For more information, see the MASKED PACKAGES section in the emerge > man page or refer to the Gentoo Handbook. No idea why this is... Why would these be masked? And why are they listed as installed? Neither of them are showing up as available (ie. even a package.mask being removed would fix this). > I seem to recall something about ffmpeg and opencascade being the > problem. You possibly need to mask versions of ffmpeg that can't be installed (package.mask) I just had to do that. I have been doing it on an individual version basis, as if it gets fixed, a broader mask may not allow the fix to be installed. I'd argue that this behaviour is undesirable, as from what I experienced myself, once masked the update continues successfully, and it knows it can't safely install the troublesome ffmpeg packages... Some way of it acknowledging that *those* updates can't be installed, but continuing any way would be helpful. > When Micheal mentioned me needing to enable a USE flag for > my nvidia card, that got added to the conflict as well. I've tried > keywording all these so it can just pick the best to match but it > seems to not work. I tried backtrack=500 and even added > changed-deps=y just to allow emerge to really think it over. None > helped even tho it did recompile some packages. Is it a USE flag > that I can enable or disable causing this? Is it a bug in a ebuild? > Is there a problem with compatibility between two versions of > packages the upstream needs to fix? Is this me or something > elsewhere? I believe it's (this is more an opinion about *how* this is behaving) it's problematic behaviour in terms of Portage. From what I can see with this problem, nothing breaks if the version 5 or 6 doesn't get installed, and nothing in the dependency indicates that it will/should. That said, on this machine where I was working on this, something did break, which has since been fixed (but not instantly). > Oh, I see the little pointing up there but in Konsole, they never > point up to the right place. If it has a clue, I wouldn't be able to > get help from it. Also, I have some options in make.conf for emerge > so I'm taking this from emerge.log to show the complete command that > is used. Keep in mind, I increased
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
On 04/12/2023 08:28, Dale wrote: Oh, I see the little pointing up there but in Konsole, they never point up to the right place. If it has a clue, I wouldn't be able to get help from it. Also, I have some options in make.conf for emerge so I'm taking this from emerge.log to show the complete command that is used. Keep in mind, I increased backtrack and added changed-deps. 2>&1 tee emerge.log That should give you the output in a file (emerge.log), and in an editor it should all line up (provided the editor is set not to wrap). Cheers, Wol
[gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Howdy, I either started a thread on this a while back or it was mentioned inside another thread. This has been popping up for months now. Either I have something set wrong or there is a problem in a ebuild or something. I just don't know what. This is what I get. I'm having to use this command because it does update everything else. This however triggers the same as I get during a regular world update. root@fireball / # emerge -auDN ffmpeg mpv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 269.57 s (backtrack: 0/500). Total: 0 packages, Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: media-video/ffmpeg:0 (media-video/ffmpeg-6.1:0/58.60.60::gentoo, ebuild scheduled for merge) USE="X alsa bluray bzip2 dav1d encode fdk fontconfig frei0r gnutls gpl iconv jpeg2k lcms libass lzma mp3 network nvenc opengl openh264 postproc pulseaudio sdl svg theora threads truetype vorbis vpx vulkan webp x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -flite -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl -openssl -opus -oss -pic -qsv -rav1e -rubberband -samba -shaderc -snappy -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame -v4l -vaapi -vdpau -verify-sig -vidstab -vmaf -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop -3dnow -3dnowext -avx2" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" conflicts with media-video/ffmpeg:0/56.58.58= required by (kde-frameworks/kfilemetadata-5.112.0:5/5.112::gentoo, installed) USE="epub exif ffmpeg pdf taglib -debug -doc -mobi -test" ABI_X86="(64)" >=media-video/ffmpeg-2:0/56.58.58=[encode] required by (app-text/unpaper-7.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" media-video/ffmpeg:0/56.58.58= required by (media-video/pipewire-1.0.0:0/0.4::gentoo, installed) USE="X dbus extra ffmpeg pipewire-alsa readline sound-server ssl zeroconf -bluetooth -doc -echo-cancel -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -roc (-selinux) (-system-service) -systemd -test -v4l" ABI_X86="(64) -32 (-x32)" media-video/ffmpeg:0/56.58.58= required by (media-video/gpac-2.2.1-r1:0/11::gentoo, installed) USE="X a52 aac alsa ffmpeg jpeg jpeg2k mad opengl png pulseaudio sdl ssl truetype vorbis xml xvid -debug -dvb -jack -oss -static-libs -theora" ABI_X86="(64)" CPU_FLAGS_X86="sse2" >=media-video/ffmpeg-4.4:0/56.58.58=[encode,threads] required by (media-video/mpv-0.37.0:0/2::gentoo, installed) USE="X alsa bluray cdda cli drm dvd egl iconv javascript jpeg lcms libmpv lua nvenc opengl pipewire pulseaudio sdl uchardet vulkan wayland xv zlib (-aqua) -archive (-coreaudio) -debug -dvb -gamepad -jack -libcaca (-mmal) -openal (-raspberry-pi) -rubberband (-selinux) -sixel -sndio -test -tools -vaapi -vdpau -zimg" ABI_X86="(64)" LUA_SINGLE_TARGET="(luajit) (-lua5-1)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" >=media-video/ffmpeg-2.7:0/56.58.58= required by (media-video/ffmpegthumbnailer-2.2.2-r1:0/0::gentoo, installed) USE="gtk jpeg png -gnome -test" ABI_X86="(64)" media-video/ffmpeg:0/56.58.58=[abi_x86_64(-)] required by (media-libs/opencv-4.8.1:0/4.8.1::gentoo, installed) USE="contrib contribdnn eigen features2d ffmpeg gphoto2 java jpeg jpeg2k opengl openmp png python qt5 tiff webp -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -debug -dnnsamples -download -examples -gdal -gflags -glog -gstreamer -gtk3 -ieee1394 -lapack -lto -opencl -opencvapps -openexr -qt6 -tesseract -testprograms -threads -v4l -vaapi -vtk -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f" PYTHON_TARGETS="python3_11 -python3_10" media-video/ffmpeg:0/56.58.58= required by (sci-libs/vtk-9.2.6-r1:0/9.2::gentoo, installed) USE="ffmpeg java logging mysql openmp qt5 rendering sdl threads -all-modules -boost -cuda (-debug) -doc -examples -freetype -gdal -imaging -las -mpi -odbc -openvdb -pdal -postgres -python -qt6 -tbb -test -tk -views -vtkm -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="-nvidi