View previous topic :: View next topic |
Author |
Message |
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Oct 12, 2021 12:21 pm Post subject: Cannot compile mpg123 mpg321 ffmpeg (Résolu) |
|
|
If someone know if those multimedia applications have a special problem to compile on arm, even on amd64, I want to know it. I have try many things but they all fail at compile time. If you want more information than tell me. I have compile everything I want but not those ones.
It really stop my multimedia emerging. Is there some alternative to those packages? I am on arm with some packages on ~arm. I just come to convert my Gentoo installation to a desktop profile without problem. No Vlc Mplayer Mpv possible as I know without ffmpeg. _________________ Paul
Last edited by Logicien on Sun Oct 17, 2021 5:33 am; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54805 Location: 56N 3W
|
Posted: Tue Oct 12, 2021 12:40 pm Post subject: |
|
|
Logicien,
wgetpaste the build log(s) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Oct 12, 2021 2:13 pm Post subject: |
|
|
Thank-you Needy to help me. I need to try to emerge again one of those to send you the build log. I am on ffmpeg who is the most important. It take time so maybe in some hours unless I can compile ffmpeg without it's dependancies. I don't know how to tell that to emerge. _________________ Paul |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54805 Location: 56N 3W
|
Posted: Tue Oct 12, 2021 2:21 pm Post subject: |
|
|
Logicien,
We need to see the build log for real.
Do you still have it in the build location? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Oct 12, 2021 2:36 pm Post subject: |
|
|
I made a search on /var/tmp. I have find the work directory of mpg123 but I have not find any file like build.log and any .log extension. ffmpeg is compiling it's dependancies and will arrive at itself soon and fail to compile I suppose. Than I will be able to send you the build log. The path is in the fail message. I hope it will not be too long. I'll send ti as soon as I have it. _________________ Paul |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54805 Location: 56N 3W
|
Posted: Tue Oct 12, 2021 2:38 pm Post subject: |
|
|
Logicien,
I'll see it when you pastebin it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Oct 12, 2021 2:41 pm Post subject: |
|
|
This is what I found in /var/log/portage/summary.log for ffmpeg when I compile vlc. I try explicitely too emerge ffmpeg and with an ~arm version but they all fail:
Code: | >>> Messages generated by process 18818 on 2021-10-03 09:33:28 EDT for package media-video/ffmpeg-4.4-r1. I have try to compile ffmpeg explicitely and with an ~arm version, they all fail:
ERROR: compile
ERROR: media-video/ffmpeg-4.4-r1::gentoo failed (compile phase):
emake failed
If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.4-r1::gentoo'`,
the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.4-r1::gentoo'`.
The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-4.4-r1/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-4.4-r1/temp/environment'.
Working directory: '/var/tmp/portage/media-video/ffmpeg-4.4-r1/work/ffmpeg-4.4-.arm'
S: '/var/tmp/portage/media-video/ffmpeg-4.4-r1/work/ffmpeg-4.4'
>>> Messages generated by process 25626 on 2021-10-03 11:34:10 EDT for package media-video/ffmpeg-4.4-r1:
ERROR: compile
ERROR: media-video/ffmpeg-4.4-r1::gentoo failed (compile phase):
emake failed
If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.4-r1::gentoo'`,
the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.4-r1::gentoo'`.
The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-4.4-r1/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-4.4-r1/temp/environment'.
Working directory: '/var/tmp/portage/media-video/ffmpeg-4.4-r1/work/ffmpeg-4.4-.arm'
S: '/var/tmp/portage/media-video/ffmpeg-4.4-r1/work/ffmpeg-4.4'
'--disable-caca' '--disable-notify' '--disable-libplacebo' '--enable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-ebur128' '--disable-lua' '--disable-osx-notifications' '--disable-mad' '--disable-matroska' '--disable-mod' '--disable-mpg123' '--disable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-nfs' '--disable-ogg' '--disable-omxil' '--disable-optimize-memory' '--disable-opus' '--disable-png' '--disable-projectm' '--disable-pulse' '--disable-freerdp' '--disable-run-as-root' '--disable-smbclient' '--disable-sdl-image' '--disable-sftp' '--disable-shout' '--disable-sid' '--disable-skins2' '--disable-soxr' '--disable-speex' '--disable-srt' '--enable-gnutls' '--disable-svg' '--disable-svgdec' '--disable-taglib' '--disable-theora' '--disable-tremor' '--disable-twolame' '--disable-udev' '--disable-upnp' '--disable-v4l2' '--disable-libva' '--disable-vdpau' '--disable-vnc' '--disable-vpx' '--disable-wayland' '--with-x' '--enable-xcb' '--disable-x264' '--disable-x26410b' '--disable-x265' '--disable-libxml2' '--disable-avahi' '--disable-zvbi' '--enable-telx' '--with-kde-solid=/usr/share/solid/actions' '--disable-asdcp' '--disable-coverage' '--disable-cprof' '--disable-decklink' '--disable-gles2' '--disable-goom' '--disable-kai' '--disable-kva' '--disable-maintainer-mode' '--disable-merge-ffmpeg' '--disable-mfx' '--disable-mmal' '--disable-opencv' '--disable-opensles' '--disable-oss' '--disable-rpi-omxil' '--disable-schroedinger' '--disable-shine' '--disable-sndio' '--disable-spatialaudio' '--disable-vsxu' '--disable-wasapi' '--disable-freetype'
phase-helpers.sh, line 711: Called __helpers_die 'econf failed'
isolated-functions.sh, line 112: Called die
The specific snippet of code:
die "$@"
If you need support, post the output of `emerge --info '=media-video/vlc-9999::gentoo'`,
the complete build log and the output of `emerge -pqv '=media-video/vlc-9999::gentoo'`.
The complete build log is located at '/var/tmp/portage/media-video/vlc-9999/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-9999/temp/environment'.
Working directory: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999'
S: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999'
|
_________________ Paul
Last edited by Logicien on Tue Oct 12, 2021 2:51 pm; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54805 Location: 56N 3W
|
Posted: Tue Oct 12, 2021 2:49 pm Post subject: |
|
|
Logicien,
There are no clues there.
My arm64 build box has
Code: | I] media-video/ffmpeg
Available versions: (~)4.1.1-r2(0/56.58.58)^d[1] 4.1.3-r1(0/56.58.58)^d[1] (~)4.1.4-r1(0/56.58.58)^d[1] (~)4.2-r1(0/56.58.58)^d[1] (~)4.2.1-r3(0/56.58.58)^d[1] (~)4.2.2(0/56.58.58)^td[1] (~)4.2.3-r1(0/56.58.58)^td[1] 4.2.4-r1(0/56.58.58)^td (~)4.3(0/56.58.58)^td[1] 4.3.1(0/56.58.58)^td[1] 4.3.1-r1(0/56.58.58)^td 4.3.2-r1(0/56.58.58)^td 4.4-r1(0/56.58.58)^td{xpak:2} **9999(0/57.59.59)*l^td {X alsa altivec amr amrenc appkit bluray bs2b +bzip2 cdio chromaprint chromium codec2 cpudetection cuda (+)dav1d debug doc +encode fdk flite fontconfig frei0r fribidi gcrypt gme gmp (+)gnutls +gpl gsm (+)hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k kvazaar ladspa libaom libaribb24 libass libcaca libdrm libilbc libressl librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma mipsdspr1 mipsdspr2 mipsfpu mmal modplug mp3 +network openal opencl opengl openh264 openssl opus oss pic +postproc pulseaudio rav1e rubberband samba sdl snappy sndio speex srt ssh static-libs svg test theora +threads truetype twolame v4l v4l2m2m-fix vaapi vdpau vidstab vorbis vpx vulkan wavpack webp x264 x265 xcb xvid zeromq zimg +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_PPC="altivec vsx vsx2" CPU_FLAGS_X86="3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +sidxindex +trasher" VIDEO_CARDS="nvidia"}
Installed versions: 4.4-r1(0/56.58.58)^td{xpak:2}(10:09:54 10/09/21)(X alsa bluray bzip2 dav1d encode fontconfig gnutls gpl iconv jack mp3 network opengl openssl postproc sdl speex svg threads truetype twolame vorbis vulkan x264 x265 xvid zlib -amr -amrenc -appkit -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -frei0r -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -modplug -openal -opencl -openh264 -opus -oss -pic -pulseaudio -rav1e -rubberband -samba -snappy -sndio -srt -ssh -static-libs -test -theora -v4l -vaapi -vdpau -vidstab -vpx -webp -zeromq -zimg -zvbi ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="-32 -64 -x32" CPU_FLAGS_ARM="neon thumb thumb2 v6 v8 vfp vfpv3" CPU_FLAGS_PPC="-altivec -vsx -vsx2" CPU_FLAGS_X86="-3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -mmx -mmxext -sse -sse2 -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia")
Homepage: https://ffmpeg.org/
Description: Complete solution to record/convert/stream audio and video. Includes libavcodec | installed, so it builds on arm64 with the USE flags I have set. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3911 Location: Rasi, Finland
|
Posted: Tue Oct 12, 2021 3:19 pm Post subject: |
|
|
Logicien,
If you still have /var/tmp/portage/media-video/ffmpeg-4.4-r1/temp/build.log, please pastebin it (using wgetpaste, for example). _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Oct 12, 2021 5:25 pm Post subject: |
|
|
I am gone provide it as soon as it will fail. I am going out before the fail and will wgetpaste it in around 8 hours. Thank's for your patience.
_________________ Paul |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Wed Oct 13, 2021 2:10 am Post subject: |
|
|
Here is the pastebin build.log for ffmpeg. _________________ Paul |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sun Oct 17, 2021 5:31 am Post subject: |
|
|
Compiling ffmpeg was failling, from the lowest version to the 9999 one until I just put everything in remark in make.conf except ACCEPT_LICENSE="*". Than ffmpeg compiled, mpg123 and mpg321 too. I may had a syntax error in that file using ( instead of { to set a variable using the value of an other one. emerge --info was showing CFLAGS=" ".
Setting all the variables with their real values do the trick. Other packages have not bother about this. I was close to give up. I can now continue to emerge multimedia packages and emerge the world at the end after an other emerge --sync.
Code: | cat /etc/portage/make.conf
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="*"
CFLAGS="-O2 -march=armv6j -mfloat-abi=hard -mfpu=vfp -pipe"
CHOST="armv6j-unknown-linux-gnueabihf"
CXXFLAGS="-O2 -march=armv6j -mfloat-abi=hard -mfpu=vfp -pipe"
DISTDIR="/var/cache/distfiles"
FCFLAGS="-O2 -march=armv6j -mfloat-abi=hard -mfpu=vfp -pipe"
FFLAGS="-O2 -march=armv6j -mfloat-abi=hard -mfpu=vfp -pipe"
INPUT_DEVICES="evdev kbd libinput mouse"
LC_MESSAGES=C
PKGDIR="/var/cache/binpkgs"
PORTDIR="/var/db/repos/gentoo"
USE="-bluetooth -bluray -cdparanoia -cups -dvd -dvdnav -fortran -gnome -gnome-keyring -graphite -ipv6 -jack -joystick -kde -libass -libav-based -llvm -mariadb -mssql -mysqli -nptl -openmp -policykit -portaudio -postgres -postproc -pulseaudio -qt -qt5 -rust -rustfmt -sanitize -slang -sqlite -ssp -xinerama -xscreensaver cddb symlink"
VIDEO_CARDS="fbdev dummy"
|
_________________ Paul |
|
Back to top |
|
|
|