I've had
# ffmpeg needs a temporary directory without noexec set
[ -d ${srcdir}/tmp ] && rm -rf ${srcdir}/tmp
install -d -m755 ${srcdir}/tmp
and
TMPDIR=${srcdir}/tmp make
in my local PKGBUILD ever since I set /tmp noexec.
Search Criteria
Package Details: handbrake-cli-git 1.10.0.r0.gdba479e9f-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/handbrake-git.git (read-only, click to copy) |
|---|---|
| Package Base: | handbrake-git |
| Description: | Multithreaded video transcoder (CLI) |
| Upstream URL: | https://github.com/HandBrake/HandBrake |
| Licenses: | GPL-2.0-only |
| Conflicts: | handbrake-cli |
| Provides: | handbrake-cli |
| Submitter: | haawda |
| Maintainer: | FabioLolix |
| Last Packager: | FabioLolix |
| Votes: | 109 |
| Popularity: | 0.011403 |
| First Submitted: | 2015-08-30 09:06 (UTC) |
| Last Updated: | 2025-08-09 14:14 (UTC) |
Dependencies (46)
- jansson (jansson-gitAUR)
- lame (lame-altivecAUR, lame-svnAUR)
- libass (libass-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- libtheora (libtheora-gitAUR)
- libva (libva-gitAUR, intel-media-stack-legacy-binAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libx264.so (x264-tmod-gitAUR, x264-gitAUR, lib32-x264AUR, x264-patmanmod-gitAUR, x264)
- libxml2 (libxml2-gitAUR, libxml2-meson-gitAUR)
- numactl (numactl-gitAUR)
- opus (opus-gitAUR)
- speex (speex-gitAUR)
- x264 (x264-tmod-gitAUR, x264-gitAUR, x264-patmanmod-gitAUR)
- cargo-c (cargo-c-gitAUR) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR, clang-static-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- gst-plugins-base (gst-plugins-base-gitAUR) (make)
- gtk4 (gtk4-paper-planeAUR, gtk4-develAUR, gtk4-gitAUR) (make)
- Show 26 more dependencies...
Required by (1)
- automatic-ripping-machine (requires handbrake-cli)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 25 Next › Last »
azleifel commented on 2010-11-04 19:23 (UTC)
haawda commented on 2010-11-04 07:25 (UTC)
Great taht you figured it out!
graysky commented on 2010-11-03 23:42 (UTC)
Figured it out! Problem was with my /tmp having a noexec mount option! I found it out by carefully reading the output of the ./configure step (doing it manually). Here's the line from my /etc/fstab:
none /tmp tmpfs nodev,nosuid,nodiratime,noatime,noexec,size=2000M,mode=1777 0 0
Upon removing that option and remounting, no problems. It worked on my chroot because I didn't setup the /tmp there as fancy as I did on my main box. For security reasons, that noexec should be used. Pitty I couldn't keep it AND build the package.
graysky commented on 2010-11-03 23:09 (UTC)
Truly crazy. Doesn't build in my x86_64 system but when I chroot into my /opt/arch32 minimal i686 install it builds just fine. wtf? Is your system x86_64 or i686?
graysky commented on 2010-11-03 23:01 (UTC)
TMPDIR=/dev/shm
echo $TMPDIR
/dev/shm
makepkg -s
.o src/cmeta.o src/descriptors.o src/exception.o src/isma.o src/mp4.o src/mp4atom.o src/mp4container.o src/mp4descriptor.o src/mp4file.o src/mp4file_io.o src/mp4info.o src/mp4property.o src/mp4track.o src/mp4util.o src/ocidescriptors.o src/odcommands.o src/qosqualifiers.o src/rtphint.o src/text.o src/bmff/typebmff.o src/itmf/CoverArtBox.o src/itmf/Tags.o src/itmf/generic.o src/itmf/type.o src/qtff/ColorParameterBox.o src/qtff/PictureAspectRatioBox.o src/qtff/coding.o libplatform/io/File.o libplatform/io/FileSystem.o libplatform/prog/option.o libplatform/sys/error.o libplatform/time/time.o libplatform/io/File_posix.o libplatform/io/FileSystem_posix.o libplatform/number/random_posix.o libplatform/process/process_posix.o libplatform/time/time_posix.o
libtool: link: ranlib .libs/libmp4v2.a
libtool: link: ( cd ".libs" && rm -f "libmp4v2.la" && ln -s "../libmp4v2.la" "libmp4v2.la" )
make[1]: Leaving directory `/dev/shm/handbrake-svn/src/hb-trunk-build/build/contrib/mp4v2/mp4v2-trunk-r355'
touch contrib/mp4v2/.stamp.build
Aborting...
haawda commented on 2010-11-03 22:34 (UTC)
TMPDIR=/somewher/you/may/write/to makepkg
graysky commented on 2010-11-03 22:31 (UTC)
patching file libavformat/avidec.c
Hunk #1 succeeded at 1206 (offset 134 lines).
Hunk #2 succeeded at 1243 (offset 134 lines).
Hunk #3 succeeded at 1269 (offset 139 lines).
Hunk #4 succeeded at 1291 (offset 139 lines).
touch contrib/ffmpeg/.stamp.patch
set -e; cd ./contrib/ffmpeg/ffmpeg-r25374/; ./configure --prefix=/dev/shm/handbrake-svn/src/hb-trunk-build/build/contrib/ --disable-shared --enable-static --disable-doc --disable-bsfs --disable-encoders --disable-ffmpeg --disable-ffserver --disable-muxers --disable-network --disable-vaapi --disable-dxva2 --enable-bzlib --enable-encoder=ac3 --enable-encoder=mpeg4 --enable-encoder=snow --enable-gpl --enable-muxer=ipod --enable-zlib --cc="/usr/bin/gcc" --extra-cflags=" -I/dev/shm/handbrake-svn/src/hb-trunk-build/build/contrib/include" --extra-ldflags=" -L/dev/shm/handbrake-svn/src/hb-trunk-build/build/contrib/lib" --enable-pthreads
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [contrib/ffmpeg/.stamp.configure] Error 1
Aborting...
Pinned Comments
FabioLolix commented on 2025-08-10 21:05 (UTC)
This pkgbuild is maintained at: https://github.com/FabioLolix/PKGBUILD