ArchBuilder: building packages in chroot

ArchBuilder builds packages in chroots, like pbuilder does in debian.
Usage: archbuilder command [options]
Commands:
init: Initializes archbuilder
update: Updates archbuilder's caches
build: Builds a package.
shell: Starts a shell in a chroot
Options:
--verbose: Show pacman output
--shellonerror: Start a shell if the build fails
--copypkgbuild: Copy the PKGBUILD when starting a shell
Config:
ArchBuilder reads it's configuration from ~/.archbuilderrc
Valid options are:
CHROOT=/var/cache/archbuilder/chroot.$$ : Directorty to create the chroot in, $$ is the current PID.
CACHE=/var/cache/archbuilder/cache : Directory to cache the sync db and packages.
RESULT=$(pwd) : Directory to copy the resulting package to.
CHOWN=root : User to chown the resulting package to.
COLOR=1 : Use color, set to 0 to disable.
PACMAN_BIN=pacman : Binary to use instead of pacman, eg: powerpill.
PACMAN_PKG= : Set this to the package that contains PACMAN_BIN.
Webpage:
http://miffe.org/wiki/ArchBuilder/
Download:
http://aur.archlinux.org/packages.php?ID=23575
Last edited by miffe (2009-02-12 15:45:53)

If I'm not mistaken, running makepkg as a root user, be it with the --asroot flag or as the root user is supposed to fail because of the changes to makepkg. It's been removed because the issues with fakeroot (which caused the --asroot flag to appear) have been fixed.
If you create a normal user and then build in the chroot, it should work normally.
EDIT: There's also something to do with sudo-ing to nobody somewhere in this thread.
Last edited by clfarron4 (2015-01-06 20:46:13)

Similar Messages

  • Problem with building packages in chroot

    I set up a clean chroot with 'sudo mkarchroot <chrootdir>/root base base-devel sudo', but I can't build packages with 'sudo makechrootpkg -c -r <chrootdir>' command:
    creating clean working copy...done
    ==> Making package: empathy 2.32.2-2.1 (Sun Mar 13 21:35:44 UTC 2011)
    ==> Checking Runtime Dependencies...
    ==> Installing missing dependencies...
    sudo: must be setuid root
    ==> ERROR: 'pacman' failed to install missing dependencies.
    Build failed, check /media/a9317af4-033b-40e5-8076-9fa120dd3ca1__/chroot/copy/build
    I don't know what is the problem. I tried to set permissions on sudo binary in chroot, but no helps.

    City-busz wrote:It's an ext4 partition on external hard drive. Now I tried to set up chroot on my system's partition, and it works fine. I don't know it's why not works on external partition.
    Most likely your mount options have some issue, or perhaps an ownership issue.

  • Building packages in chroot

    Hi Guys,
    i wan't to build some packages, e.g. teamviewer, in a clean chroot ... as even in the last years.
    So i followed this wiki article: https://wiki.archlinux.org/index.php/De … ean_Chroot
    If i run 'makechrootpkg -c -r /opt/arch64' as root, i got the error:
    root@toaster ~/teamviewer # makechrootpkg -c -r /opt/arch64 :(
    ==> Creating clean working copy [copy]...done
    makepkg: invalid option '--asroot'
    ==> ERROR: Could not download sources.
    Without root privileges i was asked for the root password and got later the same error.
    I will not install base-devel on my live system and i know that the --asroot option was removed from makepkg.
    Is the way by using a virtual maschine the only one?
    Sorry for my english :-)
    Greetz
    IICore

    If I'm not mistaken, running makepkg as a root user, be it with the --asroot flag or as the root user is supposed to fail because of the changes to makepkg. It's been removed because the issues with fakeroot (which caused the --asroot flag to appear) have been fixed.
    If you create a normal user and then build in the chroot, it should work normally.
    EDIT: There's also something to do with sudo-ing to nobody somewhere in this thread.
    Last edited by clfarron4 (2015-01-06 20:46:13)

  • Can i tell Yaourt to just build packages?

    I'd like yaourt to just build my packages, but not install them and i'd like this to happens without user interaction.
    Is this possible?
    Thanks.

    What I do in my build automation script is essentially:
    cd ~/builds && yaourt -G $packagename && cd $packagename && sudo $makechrootpkghelper
    The problem with trying to automate things with makepkg or a makepkg wrapper, is that to install the needed dependencies, you need root permissions, but you shouldn't run makepkg as root, as the PKGBUILD may be malicious. The helperscripts in devtools build packages in clean chroots, so you don't need to worry about fecking up your install, just give your build user NOPASSWD sudo access for that command.
    My script still has problems with pkgbase PKGBUILDs, though that's more due to my laziness than anything, yaourt has logic to get around it, so it must be possible.

  • Mplayer - can't build package with ABS

    Hi,
    I'm new to Arch and its Building System, so maybe this problem isn't a problem for you, but I can't find a solution...
    I wanted to install mplayer, but pacman wants to install the GTK1 package, which I will never use because I don't run software using GTK1.
    So I decided to build the package on my own, it worked fine for me on Debian, but in Arch I can't compile it.
    Here is my PKGBUILD, I removed the dependency (gtk) and the theme-package (blue), removed the gui configure option and the v4l options:
    # $Id: PKGBUILD,v 1.64 2006/03/28 18:28:47 arjan Exp $
    # Maintainer: dorphell <dorphell>
    pkgname=mplayer
    pkgver=1.0pre7
    pkgrel=6
    pkgdesc="A movie player for linux"
    depends=('libmad' 'libungif' 'cdparanoia'
    'codecs' 'sdl' 'libjpeg' 'lame' 'libtheora'
    'esd' 'faad2' 'ttf-bitstream-vera' 'libxxf86dga'
    'fontconfig' 'libxinerama' 'libxv' 'libpng'
    'libxxf86vm' 'xvidcore' 'freetype2')
    source=(ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-${pkgver}try2.tar.bz2
    http://www.mplayerhq.hu/MPlayer/patches/demuxer_h_fix_20060212.diff
    mplayer-1.0_pre7-gcc4.patch)
    url="http://www.mplayerhq.hu/"
    md5sums=('aaca4fd327176c1afb463f0f047ef6f4'
    'ad36895346d36b51005c9f0d0c78effe' '99915b6272bb8ddeda36ce046d8a284a')
    build() {
    cd $startdir/src/MPlayer-${pkgver}try2
    patch -Np1 -i $startdir/src/mplayer-1.0_pre7-gcc4.patch || return 1
    patch -Np0 -i $startdir/src/demuxer_h_fix_20060212.diff || return 1
    # *hint* next time build mplayer in chroot with only current on
    ./configure --prefix=/usr --disable-arts --enable-x11
    --enable-runtime-cpudetection --enable-sdl
    --enable-theora --with-win32libdir=/usr/lib/win32 --confdir=/etc/mplayer
    --enable-xvid --enable-gl
    make || return 1
    make DESTDIR=${startdir}/pkg install
    cp etc/{codecs.conf,input.conf,example.conf} ${startdir}/pkg/etc/mplayer/
    ln -s /usr/share/fonts/TTF/Vera.ttf ${startdir}/pkg/usr/share/mplayer/subfont.ttf
    rm -rf ${startdir}/pkg/usr/share/mplayer/font
    mv ${startdir}/src/Blue ${startdir}/pkg/usr/share/mplayer/Skin/default
    After running makepkg -s I get the following error:
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o codec-cfg.o codec-cfg.c
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o spudec.o spudec.c
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o playtree.o playtree.c
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o playtreeparser.o playtreeparser.c
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o asxparser.o asxparser.c
    cc -c -I../libvo -I../../libvo  -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -o vobsub.o vobsub.c
    vobsub.c:231: error: conflicting types for 'getline'
    /usr/include/bits/stdio.h:103: error: previous definition of 'getline' was here
    vobsub.c: In function 'vobsub_set_from_lang':
    vobsub.c:1223: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    vobsub.c:1226: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
    make: *** [vobsub.o] Error 1
    ==> ERROR: Build Failed.  Aborting...
    I've marked the error line...
    I also tried to disable all config optione except
    --prefix=/usr --with-win32libdir=/usr/lib/win32 --confdir=/etc/mplayer
    but still the error shows up.
    Any suggestions what I can do??

    Use mplayer 1.0pre8. There are many bugs fixed and it compiles without complaining with gcc4. You don't need the patches any more.

  • Replacing a package with a self-build package

    If I have a self-build package that provides something (another package) that I allready have installed and also conflicts with, how do I replace the installed package with the self-build?
    When I try to install it with
    pacman -A /path/to/package
    pacman first tells me that my self-build package conflicts with the installed and whether I want to remove it. If I tell him that he should remove the installed package I get a list of dependencies that would get broke and the installation aborts.
    Any hints on how to solve that problem?

    Use -U (upgrade) switch if updating the package with the same name.
    Use -Rd (remove without dependencies) to uninstall a package and then install the one that provides the same.
    Last edited by lucke (2007-02-11 23:15:27)

  • [SOLVED]fail to build package: no such file or directory error

    EDIT1: read my last post
    I'm getting an error while installing pacman-color from the aur repository. I'm still a newbie so my only guess is to make such directory? why should I have to do that? anyone help?
    ==> Validating source files with md5sums...
        pacman-3.4.2.tar.gz ... Passed
        pacman-color-3.4.2-1.patch ... Passed
        color.conf ... Passed
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    /tmp/yaourt-tmp-root/aur-pacman-color/./PKGBUILD: line 21: cd: pacman-3.4.2: No such file or directory
        Aborting...
    ==> ERROR: Makepkg was unable to build pacman-color.
    Last edited by aluser (2011-01-21 04:48:16)

    Here once again a failed attempt after removing pacman-color. I am beginning to think that maybe running yaourt as sudo is probably a bad idea. I think that may have had something to do with it.
    archuser@archws ~ % sudo yaourt -S abiword-light <11:54>
    Password:
    ==> Downloading abiword-light PKGBUILD from AUR...
    x PKGBUILD
    Comment by: mango on Thu, 25 Mar 2010 21:53:12 +0000
    ./configure --prefix=/usr \
    --disable-spell \
    --disable-print
    Comment by: chessboxing on Wed, 19 May 2010 14:33:51 +0000
    doesn't want to build
    rule 23: make: command not found
    == ERROR: Build Failed.
    Aborting...
    Eventhough I Had to install flex psiconv, it didn't help.
    Its a minefield man.
    Comment by: sHyLoCk on Wed, 02 Jun 2010 13:54:43 +0000
    http://aur.archlinux.org/packages.php?ID=37738
    Comment by: zenny on Thu, 02 Sep 2010 05:59:05 +0000
    Quite confusing statements. Below sHyLoCk recommends http://aur.archlinux.org/packages.php?ID=37738 on June 2 2010 and on June 27 he declares his recommended package obsolet and ask a TU to delete! The problem with the sHyLoCk package is there is not page setup option. So I installed this package, it has got the page setup menu, but once I click the option, the application dies with the following output (Maybe helpful to debug for the maintainer, I am not an expert):
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): GLib-GObject-WARNING **: invalid (NULL) pointer instance
    (abiword:32455): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
    (abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_image_set_from_pixmap: assertion `mask == NULL || GDK_IS_PIXMAP (mask)' failed
    (abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    (abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
    (abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
    Aborted
    First Submitted: Wed, 15 Apr 2009 17:01:46 +0000
    abiword-light 2.8.6-2 : A fully-featured word processor without some gnome dependencies
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> abiword-light dependencies:
    - fribidi>=0.10.9 (already installed)
    - wv>=1.2.4 (already installed)
    - libglade>=2.0 (already installed)
    - pkgconfig (already installed)
    ==> Continue building abiword-light ? [Y/n]
    ==> ---------------------------------------
    ==>
    ==> Building and installing package
    ==> WARNING: Building package as root is dangerous.
    Please run yaourt as a non-privileged user.
    ==> Making package: abiword-light 2.8.6-2 (Fri Jan 21 11:54:35 JST 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading abiword-2.8.6.tar.gz...
    --2011-01-21 11:54:35-- http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
    Resolving www.abisource.com... 130.89.149.216
    Connecting to www.abisource.com|130.89.149.216|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9218827 (8.8M) [application/x-gzip]
    Saving to: "abiword-2.8.6.tar.gz.part"
    100%[=======================================>] 9,218,827 414K/s in 28s
    2011-01-21 11:55:04 (325 KB/s) - "abiword-2.8.6.tar.gz.part" saved [9218827/9218827]
    ==> Validating source files with md5sums...
    abiword-2.8.6.tar.gz ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    /tmp/yaourt-tmp-root/aur-abiword-light/./PKGBUILD: line 16: cd: /tmp/yaourt-tmp-root/aur-abiword-light/src/abiword-2.8.6/: No such file or directory
    Aborting...
    ==> ERROR: Makepkg was unable to build abiword-light.
    ==> Restart building abiword-light ? [y/N]
    ==> --------------------------------------
    ==> archuser@archws ~ % <11:find /usr/{bin,lib} -type f -size 0
    /usr/lib/python3.1/tkinter/test/__init__.py
    /usr/lib/python3.1/tkinter/test/test_ttk/__init__.py
    /usr/lib/python3.1/tkinter/test/test_tkinter/__init__.py
    /usr/lib/python3.1/test/nullcert.pem
    /usr/lib/python3.1/site-packages/ranger/gui/__init__.py
    /usr/lib/python3.1/email/mime/__init__.py
    /usr/lib/python3.1/email/test/__init__.py
    /usr/lib/python3.1/urllib/__init__.py
    /usr/lib/python3.1/sqlite3/test/__init__.py
    /usr/lib/python3.1/pydoc_data/__init__.py
    /usr/lib/python3.1/lib2to3/tests/data/fixers/myfixes/__init__.py
    /usr/lib/python2.7/test/nullcert.pem
    /usr/lib/python2.7/site-packages/git_remote_helpers/git/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GL/MESAX/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GL/VERSION/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GLU/EXT/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/AGL/__init__.py
    /usr/lib/python2.7/site-packages/pychess/__init__.py
    /usr/lib/python2.7/site-packages/pychess/widgets/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Utils/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Utils/lutils/__init__.py
    /usr/lib/python2.7/site-packages/pychess/ic/__init__.py
    /usr/lib/python2.7/site-packages/pychess/ic/managers/__init__.py
    /usr/lib/python2.7/site-packages/pychess/System/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Players/__init__.py
    /usr/lib/python2.7/site-packages/pychess/gfx/__init__.py
    /usr/lib/python2.7/site-packages/xml2po/modes/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/gen_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/pyrex_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_f90_ext/__init__.py
    /usr/lib/python2.7/site-packages/bzrlib/util/__init__.py
    /usr/lib/python2.7/site-packages/bzrlib/util/configobj/__init__.py
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/__init__.py
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_LINK_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_EXCEPTION
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNPARSEABLE
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_INVALID
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNKNOWN
    /usr/lib/python2.7/site-packages/pygame/examples/__init__.py
    /usr/lib/python2.7/site-packages/gtk-2.0/egg/__init__.py
    /usr/lib/python2.7/site-packages/gtk-2.0/gi/overrides/__init__.py
    /usr/lib/python2.7/site-packages/sonata/__init__.py
    /usr/lib/python2.7/site-packages/sonata/plugins/__init__.py
    /usr/lib/python2.7/email/mime/__init__.py
    /usr/lib/python2.7/email/test/__init__.py
    /usr/lib/python2.7/sqlite3/test/__init__.py
    /usr/lib/python2.7/pydoc_data/__init__.py
    /usr/lib/python2.7/bsddb/test/__init__.py
    /usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
    /usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
    /usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes/__init__.py
    /usr/lib/purple-2/perl/auto/Purple/Purple.bs
    /usr/lib/perl5/vendor_perl/auto/HTML/Parser/Parser.bs
    /usr/lib/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.bs
    /usr/lib/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/UI/UI.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/Irc/Irc.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/TextUI/TextUI.bs
    /usr/lib/pidgin/perl/auto/Pidgin/Pidgin.bs
    /usr/lib/firefox-3.6/.autoreg
    archuser@archws ~ %
    Last edited by aluser (2011-01-21 03:02:22)

  • Building packages remotely / build server?

    Hello.
    I'm not sure whether this is the right sub forum to post to, so feel free to move my thread if it's in the wrong place.
    My situation: I've got a fairly weak Asus EEE netbook (with a Atom N450 inside). This is obviously not ideal for when you want to build bigger packages, such as the Linux kernel. First off, it's pretty slow. Second, I'd like to use the netbook for stuff besides building packages. Third, having a high load over a long time is probably not healthy.
    Now, I have a relatively powerful desktop computer. This machine can be on pretty much 24/7. So, here's my question: Is it possible to have makepkg build a package on a remote machine?
    I imagine I would setup some kind of daemon listening to incoming connections on the desktop computer, and on the netbook side I would just "makepkg -si --remote xxx.xxx.xxx.xxx" or something like that.
    The benefit would be that you can build a optimized package for an older machine you have utilizing a newer (and hopefully better) machine, thus decreasing compilation time immensely.
    Or maybe I could somehow get all the relevant flags etc. off of the netbook, make a Bash script on the desktop computer that setups the environment and executes makepkg? That would be fine by me. I'm guessing that's a slightly easier way to do it, as the flags are just some text strings.
    If I recall correctly, I was searching on this matter a couple of months ago, and I found some old project (on the Arch Wiki) that would do exactly this, but I can't find it again. It didn't really seem to work, so maybe it was removed because it was useless information.
    So yeah, this would be sort of like a "ordinary" build server, except that I don't need my own repository, and the flags wouldn't be safe/generic.

    What is running on that desktop computer?
    Can you connect via ssh and set up https://wiki.archlinux.org/index.php/De … ean_Chroot

  • How to build package in makefile?

    i want to build the package(pkgadd commond) in the makefile , is there any suggestion of how to make it ?

    i want to build a package (pkgmk),
    what i am doing now is to call a script in makefile, and build package in script, it can work, but i am wondering if there is any better way to do so ?

  • Can't build packages not enough space [Solved]

    I'm trying to compile latest -ck kernel but after it gets built I get an error saying: there is not enough space to build package.
    I remember that last time I was compiling the kernel, I've set-up so that /tmp is loaded in memory or something like that..
    And now when I try to compile the kernel, even though I choose menuconfig I still don't get in ti, to turn it off or even check what it was.
    My /tmp just have 1,3GB free space left, so that could be it, but I doubt it...
    Last edited by Primoz (2010-06-03 11:46:33)

    fukawi2 wrote:
    Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
    EDIT: Spelling
    Yeah I tought so... Sorry for not including it in my OP, but I've just done it then and forgot to copy-paste and didn't want to do it again.
    /bin/sh: line 0: echo: write error: No space left on device
    make[1]: *** [crypto/lrw.ko] Error 1
    make: *** [modules] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    ERROR: makepkg exited with an error (512)
    WARNING: expected package does not exist: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
    --> scanning /tmp/bauerbill/build/aur/kernel26-ck for matching packages...
    ERROR: no package found: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
    :: Abort? [Y/n]
    aborting...
    That's what happens, but I think it is problem with root, as when this happens there's only 9,7MB free space left.
    I guess I have either remove unneeded packages or make root bigger...

  • How to build packages which contains dependency loop

    I'm building packages for sh4 CPU.
    And I found these packages contains make dependency loop.
    gobject-introspection
    gdk-pixbuf2
    librsvg
    cairo
    Any suggestion to solve this?  Which one is the first I could build?
    Last edited by dlin (2013-02-13 17:21:20)

    FS#33874 wrote:if PKGBUILD developers keep their build experience on such files will simplified try-and-error process.
    I agree with this, but maybe this kind of info about ground-up building can go in a wiki.
    I mentioned this dep cycle topic in #archlinux-arm:
    2013-02-14 11:13:18 @WarheadsSE tdy, they will want to drop from deps, then rebuild w/ them back in
    2013-02-14 11:14:03 tdy yea, that seems to be the easiest way.. e.g. build cairo w/o svg, build the chain, then rebuild cairo with svg
    2013-02-14 11:14:12 @WarheadsSE yup
    2013-02-14 11:14:31 @WarheadsSE thats a very simplified method of how we fix spaghetti monsters
    Maybe you can check with them to see if they've kept some documentation about build orders or any tips in general.
    Last edited by tdy (2013-02-15 16:54:36)

  • How to build, package & deploy web services manually without ant on JWSDP

    Hello,
    How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
    Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
    I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
    Any help would be greatly appreciated.
    Thanks,
    Iftikhar.

    Just follow the step of the JWSDP1.3 tutorial..

  • Building package using makepkg does not resolve dependency for another

    I am trying to install yaourt from the AUR. Yaourt required that package-query be installed, and this package further required another, etc.
    In short, package-query required yajl, which I downloaded from the AUR. This package does not actually have a PKGBUILD, but rather un-tars into a file that you need to merge with /usr. After doing so I tried to make the package-query package but was still met with a dependency discrepancy. Luckily, yajl was available in the official repositories (same version). After using pacman to install it everything went fine and package-query built and installed fine.
    When I went to build yaourt, using makepkg, it failed and informed that I was missing a dependency, package-query.
    So, in short, is there a registry or something that keeps track of these installed packages? I imagine that when running makepkg there is a query against installed packages to see if you meet the dependency requirements. What can I do to build yaourt in this situation?
    Last edited by sherrellbc (2014-06-08 18:37:19)

    cower doesn't have any dependencies that are not in the official repositories.  It doesn't build packages automatically, but it will download the source tarballs and unpack them for you.  It can also handle dependencies with the official repos and the AUR. 
    So for example, if you were to do cower -dd yaourt it would tell you that gettext, diffutils, and pacman are in the official repos.  Then it would download the source tarball for package-query and resolve all of its dependencies.  And it would download the yauort source tarball and unpack that for you.  So it gives you an idea of what depends on what and in which order you should build and install.
    But you really just shouldn't use yaourt.  Many of the upgrade issues that arise on these forums stem from people using yaourt (particularly those who blindly run yaourt -Syua).  The pacaur I mentioned above is a bash script that wraps cower.  So it too should be able to be built and installed without having to resolve other AUR dependencies.
    Edit:
    But none of this is really answering the question though. When I make a package from the AUR, the dependency requirement when trying to install another package is never met. That is, if package A requires B and I then installed B (from the AUR), when I try to make A again it still informs me that B was never installed.
    If this is the case, then you really don't know how to properly use the AUR, and thus should be reading up on that rather than trying to work around it with an AUR helper.
    Last edited by WonderWoofy (2014-06-08 19:18:47)

  • Run time engine install from build package failure

    when trying to install LV 8.0 Run Time engine from build package, an error is generated that the target computer needs to have LabView 8.0 installed.
    i have verified that the run time engine is included as an additional installer under the build project.

    Hi MJK34,
    If you are being prompted to install LabVIEW there must be something in the build that requires LabVIEW, not just the runtime.  Can you post a screenshot of your build specification?  Thanks.
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • [SOLVED]/tmp fills up when building packages

    When I try to install Red Eclipse with:
    yaourt redeclipse
    I get a BUNCH of write failed errors then:
    redeclipse/bin/reserver_freebsd_64: Write failed
    redeclipse/bin/reclient_freebsd_32: Write failed
    redeclipse/bin/reserver_linux_32: Write failed
    redeclipse/bin/reclient_freebsd_64: Write failed
    redeclipse/bin/reserver_linux_64: Write failed
    redeclipse/bin/reclient_linux_32: Write failed
    redeclipse/readme.txt: Write failed
    redeclipse/redeclipse.sh: Write failed
    redeclipse/server.sh: Write failed
    bsdtar: Error exit delayed from previous errors.
    ==> ERROR: Failed to extract redeclipse_1.1_linux_bsd.tar.bz2
    Aborting...
    ==> ERROR: Makepkg was unable to build redeclipse.
    ==> Restart building redeclipse ? [y/N]
    ==> -----------------------------------
    ==>
    sort: fflush failed: standard output: No space left on device
    sort: write error
    sort: write failed: standard output: No space left on device
    sort: write error
    ==> WARNING: Following packages have not been installed:
    redeclipse
    ┌─[11:22 PM]─[eric]─[~]
    └─[$]─>
    df -h
    ┌─[11:22 PM]─[eric]─[~]
    └─[$]─> df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 228G 2.6G 214G 2% /
    udev 10M 0 10M 0% /dev
    /run 10M 256K 9.8M 3% /run
    /dev/sda3 228G 2.6G 214G 2% /
    shm 497M 132K 497M 1% /dev/shm
    tmpfs 497M 497M 0 100% /tmp
    /dev/sda2 92M 24M 63M 28% /boot
    ┌─[11:23 PM]─[eric]─[~]
    └─[$]─>
    says that /tmp is full.  I'm guessing I need to increase the size of the /tmp tmpfs.  How would I do this?
    EDIT: after I try to install if I try to gksudo thunar I get an error "unable to copy xauthorization file" unless I delete all the files in /tmp and reboot
    Last edited by TheCash (2011-12-27 07:02:48)

    You can tell yaourt to build somewhere else, use --tmp commandline switch or edit /etc/yaourtrc, uncomment and change
    #TMPDIR="/tmp"
    to somewhere else.

Maybe you are looking for

  • Extend vendors to a new company code

    Hi, We are creating a new company code and I want  to know whether there is any standard transcation code to  mass create the vendors master from  the existing company code to the new company code without any BDC or LSMW. Thanks, SS

  • Upgraded to 7.0.2

    I just upgraded 7.0.2 on my new mac mini CD 2GHZ. As per my previous mac mini my iphoto library is on an external HD which worked fine under 7.0 or 7.0.1 (didn't really look). As soon as I launched 7.0.2 no pictures shows 99 when it 1st launches no t

  • Trouble Registering Custom MBean in WLS 6.1 (Example from JMX Guide)

    Hi there, I have trouble getting an example to work provided in the BEA Manual "Programming WebLogic JMX Services". The example of registering a custom MBeans produces in my case: java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient Gett

  • Error durig FTP Command Execution

    Hi All, I run the SE38 --> RSFTP002 and putting below parameters User: ENGO Pass: xxxxx Host: 195.212.13.22 10001 Command: put c:/ftp.txt /In_test/ftp.txt it takes 10 minutes when execute and got bellow error. Execute FTP Command put c:/ftp.txt  /In_

  • Updating data throug a view in forms

    Hi, How is it possible to update data through a updateable view, when there is no rowids in a view? Can i define primary key some how to the form instead of rowid? Regards Tarja