Script to let makepkg build package in RAM storage

Compiling in ramdisk should boost performance, reducing compile time.
copy this script, save it to (e.g.) /usr/local/bin/makepkg-mem
from now on you just need to run  makepkg-mem instead of makepkg
makepkg-mem simply prepare the build environment on ramdisk and then call makepkg to do the job
Note: /dev/shm should be mounted on tmpfs
if you use zram (compressed ramdisk) you may change DIR=/dev/shm  to your zram storage as i find it a better option.
Issue:  Some packages may fail to build, you have to fallback to plain makepkg instead. It is known mesa would fail with makepkg-mem
#!/bin/bash
# A wrapper script for makepkg to put $srcdir on ramdisk
# I call this script "makepkg-mem"
# Author: icarus-c
DIR=/dev/shm/makepkg
if [ ! -d $DIR ]; then
echo "#$DIR doesnt exist, make it.."
mkdir $DIR
chmod 1777 $DIR
fi
echo "#source PKGBUILD"
source $PWD/PKGBUILD || exit
echo "#mkdir $DIR/$pkgname/src"
mkdir -p $DIR/$pkgname/src || exit
echo "#ln -s $DIR/$pkgname/src $PWD/src"
ln -sf $DIR/$pkgname/src $PWD/src || exit
echo "#makepkg $@ now"
makepkg $@
echo "#cleaning up"
rm -rf $DIR/$pkgname $PWD/src $PWD/pkg
Last edited by icarus-c (2011-03-09 09:21:46)

Iphitus > I'm looking 4 something like your script that will allow me to load spca5xx when running my custom kernelbeyond
Unfortunetely spca5xx seems not to be manageable by your abs-module script, as its PKGBUILD doesn't have a variable called _kernver.
Log :
/usr/bin/abs-make-module spca5xx
No kernel specified, building for: 2.6.17-beyond-LLEWELLYN
PKGBUILD does not have .
/usr/bin/abs-make-module: line 52: return: can only `return' from a function or sourced script
sed: -e expression #1, char 0: no previous regular expression
==> Making package: spca5xx-2.6.17-beyond-LLEWELLYN 0.60.00-2 (Sun Jul 23 11:44:52 CEST 2006)
==> Validating source files with MD5sums
    spca5xx-20060501.tar.gz ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf spca5xx-20060501.tar.gz
tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00
==> Starting build()...
./PKGBUILD: line 13: cd: /var/abs/local/spca5xx-2.6.17-beyond-LLEWELLYN/src/spca5xx-2.6.17-beyond-LLEWELLYN-20060501: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...
Build failed

Similar Messages

  • 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 ?

  • 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)

  • 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.

  • 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

  • Insert FLV, let it build player, can't move skins, SWF haults

    I am using Dreamweaver CS4 on a mac... I am inserting an FLV file through the file menu prompts... I let it build out the Skins it needs, which default to the root directory.. my FLV file is in a "Videos" folder... It is also creating a "Scripts" folder... It all plays fine...
    In the dreamweaver File Viewer, I move Clear_Skin_1.swf andFLVPlayer_Progress.swf.. dreamweaver notifies me that i may need to update my paths... i do so with the following code... and now the file doesn't work...
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="234" id="FLVPlayer">
                <param name="movie" value="Videos/FLVPlayer_Progressive.swf" />
                <param name="quality" value="high">
                <param name="wmode" value="opaque">
                <param name="scale" value="noscale">
                <param name="salign" value="lt">
                <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Videos/Clear_Skin_1&streamName=Videos/CDWS_videomanual&autoPlay=true&autoRewind=false" />
                <param name="swfversion" value="8,0,0,0">
                <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                <param name="expressinstall" value="Scripts/expressInstall.swf">
                <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="Videos/FLVPlayer_Progressive.swf" width="350" height="234">
                  <!--<![endif]-->
                  <param name="quality" value="high">
                  <param name="wmode" value="opaque">
                  <param name="scale" value="noscale">
                  <param name="salign" value="lt">
                  <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Videos/Clear_Skin_1&streamName=Videos/CDWS_videomanual&autoPlay=true&autoRewind=false" />
                  <param name="swfversion" value="8,0,0,0">
                  <param name="expressinstall" value="Scripts/expressInstall.swf">
                  <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                  <div>
                    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                  </div>
                  <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
              </object>
    Now when I move the files BACK to the root, let dreamweaver re-write the code... it works... why can't I organize these SWF skins/players?

    The reason (I am told), is because of the streaming video option (you require a streaming enabled server to use this), which establishes a permanent connection to the page, so the flash insert places the progressive option there as well, ease of coding and possibly making the file placement standardized I imagine.
    PZ

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • How to run a unix script from oracle warehouse Builder

    Hi,
    can any one share the information about, running the unix script or scripts using oracle warehouse builder.
    Regards,
    Ak

    One way is define a workflow. Inside the workflow you put
    1)an external process that "points to" the shell script and then
    2)put the mapping
    The external process must have the "COMMAND" parameter set to the name of the shell script. If the script has parameters you must put them in the "PARAMETERS LIST" separated by "?" (for example, ?par1?par2).
    The path where OWB executes the external process I think is the ORACLE_HOME of the OWB.
    f you don't use workflow, you can try with this more complex solution. I tried with 9i and OWB 9.2 and it's working well.
    You create an autonomous procedure (within a package or not) :
    CREATE PROCEDURE Extract_Email_List
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    And use the sys.shell script that you need your dba/unix admin to install first of all, with a call like that.
    sys.shell('sh ' || txt_dir_name || '/send_email_marketing.sh ' || txt_dir_name || ' ' || email_addr );
    Then you import your procedure into OWB and use it in your mapping with the "pre-mapping" icon (you can set parameters for your proc with constants if you want).
    To implement sys.shell, go to metalink and find "Note:168065.1" - "How to call a UNIX shell script from PL/SQL".
    Once it's done once, it's not so bad. But I would still recommend the workflow approach also..
    I hope this helps.

  • [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)

  • 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)

  • 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...

  • I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues,

    I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues, stop, it stops.  How to correct this annoying message?

    Disable Javascript for those webpages.  Note, your Javascript is probably antiquated by now.  Try a different web browser, or contact the website and let them know they aren't as accessible as they could be*:
    http://www.macmaps.com/browser.html

  • 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.

  • Draw line in Action Script project in Flash Builder (Gumbo).

    Hi
    I am working on drawing tool application and want to draw line and rectangle in Action Script project in Flash Builder (Gumbo). Please guide and help me with an example.
    Thanks
    Rangrajan.

    This should be helpful http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7dd9.html

  • 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)

Maybe you are looking for