Results 1 to 3 of 3
  1.    #1  
    Hi:

    Having an issue compiling code on a chroot Ubuntu system. Compiling ffmpeg from source for video playback on my touchpad and keep getting a "no space left on device" error.

    Filesystem has just over 4.9GB free and swap is not full either.

    Using checkinstall to build and install the deb file and install it. Ffmpeg will fail and immediately after I can install something else. Kind of weird. I assumed out of space on my /var/tmp but it has over 5GB free in it. Monitored during the install. Any ideas?

    dpkg-deb: building package ffmpeg in /home/webOS/ffmpeg/ffmpeg_201203060428-git-1_armel.deb
    dpkg-deb (subprocess): data member: internal gzip write error: No space left on device.
    dpkg-deb: error: subprocess <compress> from tar -cf returned error exit status 2
  2. #2  
    i had something similar compiling a new version of npm and nodejs for use with home control, ended up i just needed a little sudo thrown in beforehand and fix some missing dependancies then it worked otherwise id get that same message as you and some permission denied stuff thrown in as well.

    if it is actually a space issue, try installing BLEACHBIT and then doing a sudo bleachbit, tick all the boxes you like except maybe the "free/wipe space hd" option, then press PREVIEW and ittl give a guestimate on whats deleteable, if theres loads to recover, click DELETE and ittl wipe out all forms of junk.
    Attached Images Attached Images
  3.    #3  
    Hi:

    Pretty sure it's not a dependency issue. It's the same script I used for my laptop and desktop. Script fetches source for misc. media tools and compiles it automatically. Works on everything else I've used it on.

    Already tried freeing up space as well as doctoring the tablet and partitioning 8GB for Ubuntu to ensure I had enough free space.

    Also tried creating a virtual filesystem on the internal memory of an additional 8GB (mounted as /tmp) and an additional 8GB (mounted as /var/tmp).

    Right now I have about 1GB of free space left out of my 32GB. Neither worked.

    The ffmpeg creation / installation will fail (no space left on device) but the rest will complete (after the failure).

    Any other ideas?

    Possibly swap / virtual memory?

    The ultimate goal is to access my Media Server (Ubuntu) over WAN through an ssh tunnel and stream content to Ubuntu (HP TouchPad). I'm sure there is a way using WebOS but I didn't look into it. It's hard to teach an old dog new tricks :-)

    Free to use the below code to enable playback / conversion / editing of just about any audio / video you throw at it. If you want the rest of the script let me know, I'll be happy to post.

    EDIt: Added the entire script for reference. Originally written for 10.04 Lucid. Need to change the repo's to natty for 11.04.

    Code:
    #! /bin/bash
    # As of 03062012 this script works to download and install just about every codec needed as well as a bunch of extra stuff.
    #
    # for.i.am.root@xxxxx.com
    #
    # Backup sources.list
    sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup
    # Add medibuntu / multivers / universe repo.
    sudo cat << EOF >> /etc/apt/sources.list
    deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    deb http://packages.medibuntu.org/ lucid free non-free
    deb-src http://packages.medibuntu.org/ lucid free non-free
    EOF
    # Update and install keyring.
    sudo apt-get -y update
    sudo apt-get -y --allow-unauthenticated install medibuntu-keyring
    sudo apt-get -y update
    sudo apt-get -y install libva-dev libx11-dev libogg-dev libfaac-dev libvdpau-dev libsdl1.2-dev libvorbis-dev libxfixes-dev libtheora-dev libvorbis-dev libxvidcore-dev libjack-jackd2-dev libopencore-amrnb-dev libopencore-amrwb-dev libxvidcore4 build-essential checkinstall doxygen git lynx nasm subversion texi2html wget zlib1g-dev
    sudo apt-get -y clean
    # Depending on your system one of these will work. The other will fail.
    #
    sudo apt-get -y install w64codecs
    sudo apt-get -y install w32codecs
    sudo apt-get -y clean
    #
    # Get ready for the new stuff.
    sudo apt-get -y remove ffmpeg x264 libx264-dev libmp3lame-dev libvpx-dev
    cd
    # Install yasm ubuntu 10.04 uses 0.8 need >1.0
    cd && wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz && tar -zxvf ./yasm-1.2.0.tar.gz && cd ./yasm-1.2.0 && ./configure && make && checkinstall --pkgname=yasm --pkgversion=1.2.0 --backup=no --deldoc=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error yasm"
    exit 1
    fi
    # Install x264.
    cd && git clone git://git.videolan.org/x264 && cd x264 && ./configure --enable-static && make && sudo checkinstall --pkgname=x264 --pkgversion="3:$(./#version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error x264"
    exit 1
    fi
    # Install lame.
    cd && wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz && tar xzvf lame-3.99.5.tar.gz && cd lame-3.99.5 && sudo ./configure --enable-nasm --disable-shared && sudo make && sudo checkinstall --pkgname=lame-ffmpeg --pkgversion="3.99.5" --backup=no --deldoc=yes --install=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error lame-ffmpeg"
    exit 1
    fi
    # Install opencore amr.
    cd && wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz && tar -zxvf opencore-amr-0.1.3.tar.gz && cd opencore-amr-0.1.3 && sudo ./configure --disable-shared && sudo make && sudo checkinstall --pkgname="libopencore-amr" --pkgversion="0.1.3" --backup=no --fstrans=no --install=yes --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error opencore"
    exit 1
    fi
    # Install theora.
    cd && wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz && tar xzvf libtheora-1.1.1.tar.gz && cd libtheora-1.1.1 && sudo ./configure --disable-shared && sudo make && sudo checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --fstrans=no --install=yes --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error theora"
    exit 1
    fi
    # Install libvpx-dev
    cd && git clone http://git.chromium.org/webm/libvpx.git && cd libvpx && ./configure && make && sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error libvpx"
    exit 1
    fi
    # Install ffmpeg
    cd && git clone --depth 1 git://source.ffmpeg.org/ffmpeg && cd ffmpeg && ./configure --enable-libvpx --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab --enable-version3 --enable-postproc --enable-libxvid && make && sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error ffmpeg"
    exit 1
    fi
    # Install qt-faststart
    cd ~/ffmpeg && make tools/qt-faststart && sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart /usr/local/bin/qt-faststart
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error faststart"
    exit 1
    fi
    # re-install x264
    cd ~/x264 && make distclean && ./configure --enable-static && make && sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes --fstrans=no --default
    # Make sure the installation was successful.
    if [ $? -ne 0 ]
    then
    echo "error x264"
    exit 1
    fi
    # Make sure it does not get replaced.
    hash x264 ffmpeg ffplay
    echo "ffmpeg hold" | sudo dpkg --set-selections
    echo "x264 hold" | sudo dpkg --set-selections
    echo "lame-ffmpeg hold" | sudo dpkg --set-selections
    echo "libopencore-amr hold" | sudo dpkg --set-selections
    echo "libtheora hold" | sudo dpkg --set-selections
    # Update and install the good stuff.
    sudo apt-get -y install ubuntu-restricted-extras mencoder mplayer vlc sun-java6-jre gettext debian-keyring konqueror-nsplugins msttcorefonts ttf-xfree86-nonfree xfs g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb equivs libasound2-doc nas debhelper fakeroot libfftw3-dev libggi-target-emu libggi-target-monotext libggimisc2 jackd liblrdf0-dev libqt4-dev sidplay-base xsidplay libstdc++6-4.3-doc lynx-cur-wrapper mplayer-doc ladspa-sdk diff-doc subversion-tools db4.6-util sun-java6-plugin sun-java6-fonts latex2html libmyodbc odbc-postgresql mozilla-plugin-vlc videolan-doc cryptsetup k3b gparted devede linux-generic linux-headers-generic linux-image-generic compiz compiz-plugins compiz-gnome compiz-core emerald compiz-fusion-plugins-main compiz-fusion-plugins-extra fusion-icon compizconfig-settings-manager msttcorefonts reiser4progs libdvdcss2 openssh-server ssh wine
    cd
    # Final update and clean up.
    sudo apt-get build-dep virtualbox-ose
    sudo apt-get -y upgrade
    sudo apt-get -y clean
    sudo apt-get -y autoremove
    # Update boot files/images just to be safe.
    sudo update-initramfs -u ALL
    sudo update-grub
    Last edited by for.i.am.root; 03/06/2012 at 06:52 PM. Reason: Added entire code

Posting Permissions