Am 11.01.2018 um 11:44 schrieb Carl Eugen Hoyos:
Include the log file "ffbuild/config.log" produced by configure as this
will help solve the problem.
Did you do this?
did you *really* read the initial mail?
i can't include something which don't exist at all
[builduser@buildserver:/rpmbuild/BUILD/ffmpeg-20171225/ffbuild]$ ls
insgesamt 28K
-rw-r--r-- 1 builduser builduser 829 2017-12-25 22:17 arch.mak
-rw-r--r-- 1 builduser builduser 5,0K 2017-12-25 22:17 common.mak
-rw-r--r-- 1 builduser builduser 3,7K 2017-12-25 22:17 library.mak
-rwxr-xr-x 1 builduser builduser 478 2017-12-25 22:17 libversion.sh
-rwxr-xr-x 1 builduser builduser 1,5K 2017-12-25 22:17 pkgconfig_generate.sh
-rwxr-xr-x 1 builduser builduser 1,9K 2017-12-25 22:17 version.sh
This sounds like a serious bug (your original issue is easy to work-around):
How can I reproduce this?
likely by just build last recent x264 to a non defualt location and try
to link it static to ffmpeg
see rpm-specs and scripts how the snaphots get downloaded attached
[builduser@testserver:/rpmbuild/SPECS]$ rpmbuild -bb ffmpeg-latest.spec
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.z9KjMe
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ cd /home/builduser/rpmbuild/BUILD
+ rm -rf ffmpeg-20180111
+ /usr/bin/xz -dc /home/builduser/rpmbuild/SOURCES/ffmpeg-20180111.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ffmpeg-20180111
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.Wzc66h
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ cd ffmpeg-20180111
+ mkdir generic
+ pushd generic
~/rpmbuild/BUILD/ffmpeg-20180111/generic ~/rpmbuild/BUILD/ffmpeg-20180111
+ ../configure --prefix=/usr/local --bindir=/usr/local/bin
--mandir=/usr/local/man '--extra-cflags=-I/usr/local/x264 -m64 -O2 -g0
-mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2
-Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math
-funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops
-fno-strict-aliasing -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack' '--extra-ldflags=-I/usr/local/x264 -L/usr/local/x264
-ldl -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -m64 -O2
-g0 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2
-Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math
-funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops
-fno-strict-aliasing -pie -fPIE -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack' --ar=gcc-ar --ranlib=true --enable-nonfree
--enable-gpl --enable-pic --enable-version3 --enable-libmp3lame
--enable-libtheora --enable-libx264 --enable-libx265 --enable-libvpx
--enable-openssl --enable-static --enable-runtime-cpudetect
--disable-amd3dnow --disable-amd3dnowext --disable-avdevice
--disable-debug --disable-devices --disable-ffplay --disable-ffprobe
--disable-htmlpages --disable-hwaccels --disable-iconv
--disable-libdc1394 --disable-libfreetype --disable-libgsm
--disable-libopencore-amrnb --disable-libopencore-amrwb
--disable-libopencv --disable-libopenjpeg --disable-libopus
--disable-librtmp --disable-libspeex --disable-libvorbis
--disable-libxvid --disable-podpages --disable-postproc
--disable-protocol=gopher --disable-shared --disable-txtpages
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this
will help
solve the problem.
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.Wzc66h (%build)
[builduser@testserver:/rpmbuild/SPECS]$ ls
/rpmbuild/BUILD/ffmpeg-20180111/ffbuild/
insgesamt 28K
-rw-r--r-- 1 builduser builduser 829 2018-01-11 10:13 arch.mak
-rw-r--r-- 1 builduser builduser 5,0K 2018-01-11 10:13 common.mak
-rw-r--r-- 1 builduser builduser 3,7K 2018-01-11 10:13 library.mak
-rwxr-xr-x 1 builduser builduser 478 2018-01-11 10:13 libversion.sh
-rwxr-xr-x 1 builduser builduser 1,5K 2018-01-11 10:13 pkgconfig_generate.sh
-rwxr-xr-x 1 builduser builduser 1,9K 2018-01-11 10:13 version.sh
%global snapshot 20180111
Summary: Audio/Video-Encoder (static build)
Name: ffmpeg-latest
Version: 3.4.1
Release: 1%{?dist}
License: GPLv3+
Group: Applications/Multimedia
URL: http://ffmpeg.org/
Source0: ffmpeg-%{snapshot}.tar.xz
Source1: ffmpeg-snapshot-latest.sh
BuildRequires: bzip2-devel
BuildRequires: imlib2-devel
BuildRequires: lame-devel
BuildRequires: libtheora-devel
BuildRequires: x264-latest
BuildRequires: x265-devel
BuildRequires: zlib-devel
BuildRequires: libvpx-devel
BuildRequires: openssl-devel
BuildRequires: yasm
Provides: ffmpeg
Obsoletes: ffmpeg
%description
FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux
%package manpages
Group: Manpages
Summary: Manpages for ffmpeg-latest
BuildArch: noarch
%description manpages
%prep
%setup -q -n ffmpeg-%{snapshot}
%build
mkdir generic
pushd generic
../configure \
--prefix=%{_prefix}/local \
--bindir=%{_prefix}/local/bin \
--mandir=%{_prefix}/local/man \
--extra-cflags="-I%{_prefix}/local/x264 %{optflags} -Ofast -ffast-math -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing -fuse-ld=gold -fuse-linker-plugin -Wa,--noexecstack" \
--extra-ldflags="-I%{_prefix}/local/x264 -L%{_prefix}/local/x264 -ldl -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack %{optflags} -Ofast -ffast-math -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing -pie -fPIE -fuse-ld=gold -fuse-linker-plugin -Wa,--noexecstack" \
--ar=gcc-ar \
--ranlib=true \
--enable-nonfree \
--enable-gpl \
--enable-pic \
--enable-version3 \
--enable-libmp3lame \
--enable-libtheora \
--enable-libx264 \
--enable-libx265 \
--enable-libvpx \
--enable-openssl \
--enable-static \
--enable-runtime-cpudetect \
--disable-amd3dnow \
--disable-amd3dnowext \
--disable-avdevice \
--disable-debug \
--disable-devices \
--disable-ffplay \
--disable-ffprobe \
--disable-htmlpages \
--disable-hwaccels \
--disable-iconv \
--disable-libdc1394 \
--disable-libfreetype \
--disable-libgsm \
--disable-libopencore-amrnb \
--disable-libopencore-amrwb \
--disable-libopencv \
--disable-libopenjpeg \
--disable-libopus \
--disable-librtmp \
--disable-libspeex \
--disable-libvorbis \
--disable-libxvid \
--disable-podpages \
--disable-postproc \
--disable-protocol=gopher \
--disable-shared \
--disable-txtpages
%{__make} %{?_smp_mflags}
make documentation
popd
CURRENT_DIR=`pwd`
mkdir -p %{buildroot}%{_prefix}/local/bin/
gcc -fPIC -fPIE -pie -Wl,-z,now -Wl,-z,relro,-z,noexecstack $CURRENT_DIR/tools/qt-faststart.c -o qt-faststart
%install
pushd generic
make install DESTDIR=%{buildroot}
popd
install -D -m0755 qt-faststart "%{buildroot}%{_prefix}/local/bin/qt-faststart"
mkdir %{buildroot}%{_bindir}
ln -s %{_prefix}/local/bin/ffmpeg %{buildroot}%{_bindir}/ffmpeg
rm -rf %{buildroot}%{_prefix}/local/include %{buildroot}%{_prefix}/local/lib %{buildroot}%{_prefix}/local/lib64 %{buildroot}%{_prefix}/local/share
strip -s %{buildroot}%{_prefix}/local/bin/qt-faststart %{buildroot}%{_prefix}/local/bin/ffmpeg
%files
%{_prefix}/local/bin/ffmpeg
%{_prefix}/local/bin/qt-faststart
%{_bindir}/ffmpeg
%files manpages
%{_prefix}/local/man/man1/*
%{_prefix}/local/man/man3/*
%changelog
* Mon Dec 25 2017 Reindl Harald <[email protected]>
- rebuild against x264 snapshot 0.155.2893
* Tue Dec 12 2017 Reindl Harald <[email protected]>
- update to 3.4.1
* Mon Oct 16 2017 Reindl Harald <[email protected]>
- update to 3.4.0
* Mon Sep 18 2017 Reindl Harald <[email protected]>
- update to 3.3.4
- rebuild against PGO enabled libx264
* Sun Jul 30 2017 Reindl Harald <[email protected]>
- update to 3.3.3
* Thu Jun 29 2017 Reindl Harald <[email protected]>
- rebuild against x264 0.152.2851
* Wed Jun 7 2017 Reindl Harald <[email protected]>
- update to 3.3.2
* Mon May 22 2017 Reindl Harald <[email protected]>
- rebuild against x264 150.2829
* Mon May 15 2017 Reindl Harald <[email protected]>
- update to 3.3.1
* Thu Apr 13 2017 Reindl Harald <[email protected]>
- update to 3.3.0
* Sat Feb 11 2017 Reindl Harald <[email protected]>
- update to 3.2.4
* Wed Feb 8 2017 Reindl Harald <[email protected]>
- update to 3.2.3
* Wed Dec 7 2016 Reindl Harald <[email protected]>
- update to 3.2.2
* Tue Nov 29 2016 Reindl Harald <[email protected]>
- update to 3.2.1
* Sun Oct 30 2016 Reindl Harald <[email protected]>
- update to 3.2.0
* Sun Oct 23 2016 Reindl Harald <[email protected]>
- update to 3.1.5
* Sun Oct 2 2016 Reindl Harald <[email protected]>
- update to 3.1.4
* Sun Sep 4 2016 Reindl Harald <[email protected]>
- build with '--enable-libx265'
* Sat Aug 27 2016 Reindl Harald <[email protected]>
- update to 3.1.3
* Fri Aug 12 2016 Reindl Harald <[email protected]>
- update to 3.1.2
* Mon Jul 4 2016 Reindl Harald <[email protected]>
- update to 3.1.1
* Mon Jun 27 2016 Reindl Harald <[email protected]>
- update to 3.1.0
* Thu Apr 28 2016 Reindl Harald <[email protected]>
- update to 3.0.2
* Wed Mar 30 2016 Reindl Harald <[email protected]>
- update to 3.0.1
* Mon Feb 15 2016 Reindl Harald <[email protected]>
- update to 3.0
* Thu Feb 4 2016 Reindl Harald <[email protected]>
- update to 2.8.6
* Sun Jan 17 2016 Reindl Harald <[email protected]>
- update to 2.8.5
* Sun Dec 20 2015 Reindl Harald <[email protected]>
- update to 2.8.4
* Sat Nov 28 2015 Reindl Harald <[email protected]>
- update to 2.8.3
* Thu Nov 12 2015 Reindl Harald <[email protected]>
- update to 2.8.2
* Thu Oct 15 2015 Reindl Harald <[email protected]>
- update to 2.8.1
* Thu Sep 10 2015 Reindl Harald <[email protected]>
- update to 2.8.0
* Tue Jul 21 2015 Reindl Harald <[email protected]>
- update to 2.7.2
* Sun Jun 21 2015 Reindl Harald <[email protected]>
- update to 2.7.1
* Thu Jun 11 2015 Reindl Harald <[email protected]>
- update to 2.7.0
* Sun May 17 2015 Reindl Harald <[email protected]>
- update to 2.6.3
* Mon Apr 13 2015 Reindl Harald <[email protected]>
- update to 2.6.2
* Tue Mar 17 2015 Reindl Harald <[email protected]>
- update to 2.6.1
* Mon Mar 9 2015 Reindl Harald <[email protected]>
- update to 2.6.0
* Sat Feb 14 2015 Reindl Harald <[email protected]>
- update to 2.5.4
* Wed Jan 14 2015 Reindl Harald <[email protected]>
- update to 2.5.3
* Fri Dec 26 2014 Reindl Harald <[email protected]>
- update to 2.5.2
* Wed Dec 17 2014 Reindl Harald <[email protected]>
- update to 2.5.1
* Sat Dec 6 2014 Reindl Harald <[email protected]>
- update to 2.5.0
* Mon Dec 1 2014 Reindl Harald <[email protected]>
- update to 2.4.4
* Mon Nov 3 2014 Reindl Harald <[email protected]>
- update to 2.4.3
* Tue Oct 7 2014 Reindl Harald <[email protected]>
- update to 2.4.2
* Sat Sep 27 2014 Reindl Harald <[email protected]>
- update to 2.4.1
* Thu Sep 18 2014 Reindl Harald <[email protected]>
- update to 2.4.0
* Mon Aug 18 2014 Reindl Harald <[email protected]>
- update to 2.3.3
* Wed Aug 13 2014 Reindl Harald <[email protected]>
- update to 2.3.2
* Thu Jul 31 2014 Reindl Harald <[email protected]>
- update to 2.3.1
* Wed Jul 16 2014 Reindl Harald <[email protected]>
- update to 2.3.0
* Tue Jun 24 2014 Reindl Harald <[email protected]>
- update to 2.2.4
* Thu Jun 5 2014 Reindl Harald <[email protected]>
- update to 2.2.3
* Tue May 6 2014 Reindl Harald <[email protected]>
- update to 2.2.2
* Mon Apr 14 2014 Reindl Harald <[email protected]>
- update to 2.2.1
* Mon Mar 24 2014 Reindl Harald <[email protected]>
- update to 2.2.0
* Mon Feb 24 2014 Reindl Harald <[email protected]>
- update to 2.1.4
* Sun Jan 19 2014 Reindl Harald <[email protected]>
- update to 2.1.3
* Wed Jan 15 2014 Reindl Harald <[email protected]>
- update to 2.1.2
* Thu Nov 21 2013 Reindl Harald <[email protected]>
- update to 2.1.1
* Thu Oct 10 2013 Reindl Harald <[email protected]>
- update to 2.1.0
* Thu Oct 10 2013 Reindl Harald <[email protected]>
- update to 2.0.2
* Mon Aug 12 2013 Reindl Harald <[email protected]>
- update to 2.0.1
* Wed Jul 10 2013 Reindl Harald <[email protected]>
- update to 2.0.0
* Mon May 27 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
- build without 'libfaac', 'libvorbis' and 'libxvidcore'
- change 'fwx_module_ffmpeg.inc.php' to use internal aac/vorbis-encoder
* Sun May 12 2013 Reindl Harald <[email protected]>
- update to 1.2.1
* Wed Apr 17 2013 Reindl Harald <[email protected]>
- update to 1.2.0
* Tue Dec 04 2012 Reindl Harald <[email protected]>
- update to 1.0.1
* Fri Oct 12 2012 Reindl Harald <[email protected]>
- refresh snapshot
- link x264-latest also static
* Wed Oct 03 2012 Reindl Harald <[email protected]>
- build ffmpeg 1.0 as package under %{_prefix}/local/
- static build to not collide with fedora packages
#!/usr/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
date=$(date +%Y%m%d)
echo "$tmp"
cd "$tmp"
git clone git://git.videolan.org/ffmpeg.git
mv ffmpeg ffmpeg-$date
cd ffmpeg-$date
pushd libswscale
popd
find . -type d -name .git -print0 | xargs -0r rm -rf
cd ..
tar Jcf "$pwd"/ffmpeg-$date.tar.xz ffmpeg-$date
cd - >/dev/null
%global snapshot 20180111
Summary: H264/AVC video encoder (static build)
Name: x264-latest
Version: 0.155.2893
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://www.videolan.org/developers/x264.html
Source0: x264-%{snapshot}.tar.xz
Source1: x264-snapshot-latest.sh
Source2: 720x400.yuv
Source3: 480x270.yuv
Source4: 1200x672.yuv
BuildRequires: yasm
%description
x264 is a free library for encoding H264/AVC video streams, written from scratch
%prep
%setup -q -n x264-%{snapshot}
%build
./configure \
--prefix=%{_prefix}/local \
--exec-prefix=%{_prefix}/local \
--bindir=%{_prefix}/local/bin \
--libdir=%{_prefix}/local/lib64 \
--includedir=%{_prefix}/local/include \
--extra-cflags="%{optflags} -Ofast -ffast-math -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing" \
--extra-ldflags="-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack %{optflags} -Ofast -ffast-math -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing" \
--enable-static \
--enable-pic \
--enable-strip \
--disable-avs \
--disable-cli \
--disable-ffms \
--disable-gpac \
--disable-lavf \
--disable-opencl \
--disable-swscale
make fprofiled VIDS="%{SOURCE2} %{SOURCE3} %{SOURCE4}" %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_prefix}/local/bin/
rm -rf %{buildroot}%{_prefix}/local/lib64/pkgconfig/x264.pc
mkdir %{buildroot}%{_prefix}/local/x264/
mv %{buildroot}%{_prefix}/local/lib64/libx264.a %{buildroot}%{_prefix}/local/x264/
mv %{buildroot}%{_prefix}/local/include/x264.h %{buildroot}%{_prefix}/local/x264/
mv %{buildroot}%{_prefix}/local/include/x264_config.h %{buildroot}%{_prefix}/local/x264/
strip --strip-unneeded --strip-debug %{buildroot}%{_prefix}/local/x264/libx264.a
%files
%{_prefix}/local/x264/libx264.a
%{_prefix}/local/x264/x264.h
%{_prefix}/local/x264/x264_config.h
%changelog
* Mon Dec 25 2017 Reindl Harald <[email protected]>
- update to upstream snapshot 0.155.2893
* Thu Jun 29 2017 Reindl Harald <[email protected]>
- enable profile-guided-optimization (make fprofiled VIDS=)
* Thu Jun 29 2017 Reindl Harald <[email protected]>
- update to upstream snapshot 0.152.2851
* Wed Jun 7 2017 Reindl Harald <[email protected]>
- update to upstream snapshot 0.150.2833
* Mon May 22 2017 Reindl Harald <[email protected]>
- update to upstream snapshot 150.2829 with AVX512 support
- needs nasm-update for build (https://bugzilla.redhat.com/show_bug.cgi?id=1453012)
* Sun Jan 29 2017 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Wed Dec 7 2016 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Thu Sep 22 2016 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Mon Jun 27 2016 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Thu Apr 28 2016 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sun Jan 17 2016 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sun Oct 11 2015 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Tue Sep 15 2015 Reindl Harald <[email protected]>
- enable link-time-optimization
* Mon Jul 27 2015 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sun Mar 1 2015 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sat Dec 20 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sun Nov 16 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sat Aug 30 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Mon Jul 21 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sun Jul 20 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Mon Apr 28 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Tue Apr 22 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Thu Mar 13 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Wed Jan 22 2014 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Tue Dec 24 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Wed Oct 30 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Thu Sep 5 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Sat Aug 24 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Thu Jul 4 2013 Reindl Harald <[email protected]>
- update to latest upstream-snapshot
* Fri Oct 12 2012 Reindl Harald <[email protected]>
- static snapshot-build
- used for static ffmpeg-latest package
#!/usr/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
git=$(date +%Y%m%d)
pushd "$tmp"
git clone git://git.videolan.org/x264.git x264-$git
pushd x264-$git
./version.sh .
find . -type d -name .git -print0 | xargs -0r rm -rf
popd
tar Jcf "$pwd"/x264-$git.tar.xz x264-$git
popd >/dev/null
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".