Summary: | media-video/ffmpeg-4.4.1-r5 build failure: 1sed command not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Luca Santarelli <luca.santarelli> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
complete build log
emerge --info emerge -pqv |
Created attachment 776831 [details]
emerge --info
Created attachment 776834 [details]
emerge -pqv
Do you have a variable called "M" set to "1" in your environment? https://github.com/FFmpeg/FFmpeg/blob/n4.4.1/ffbuild/library.mak#L46 Thank you, that was it. argo-2 ~ # grep "^M" -r /etc/portage/ /etc/portage/env/no-distcc.conf:M=1 /etc/portage/env/no-distcc.conf:MAKEOPTS="-j${N} -l${M}" /etc/portage/make.conf:MAKEOPTS="-j2" argo-2 ~ # This came from an old Handbook which recommented setting N-jobs and M-load. I see the current handbook has no more mention of N and M variables, I'll adapt my configuration. Thank you for suggesting it was an environment variable. The bug can be marked as resolved, I don't know if it should be marked as INVALID or something else. |
Created attachment 776828 [details] complete build log Upgrading media-video/ffmpeg to 4.4.1-r5 fails during build with a weird error: "1sed: command not found". The failing command happens during the build and seems to be setting the MAJOR version in a .ver file that will be used later in the build: 1sed 's/MAJOR//' /var/tmp/portage/media-video/ffmpeg-4.4.1-r5/work/ffmpeg-4.4.1/libavutil/libavutil.v | cat > libavutil/libavutil.ver I have tried to understand the error by looking at the makefiles, but I have been unable to determine its cause.