Download shared source tarball once when automated building from aur

example: I want to install catalyst, catalyst-utils and lib32-catalyst-utils
yaourt downloads ati-driver-installer-11-8-x86.x86_64.run 3 times.
Is there a tool similar to yaourt that would check the downloaded *.run file after building catalyst-utils and put it to catalyst build directory if md5sum matches?

I suppose that you'll need to set the SRCDEST variable in makepkg.conf

Similar Messages

  • Haguichi won't build from AUR, and won't build from source tarball.

    I managed to get Hamachi installed. Go me. But I like having a frontend for things like that, so I tried to build Haguichi from the AUR. Didn't work. I downloaded the source tarball, and running ./configure returned the same error as yaourt.
    redpill% ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for pkg-config... /usr/bin/pkg-config
    checking for dmcs... /usr/bin/dmcs
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK_SHARP_20... yes
    checking for NOTIFY_SHARP... yes
    checking for GCONF_SHARP_20... yes
    checking for GLIB_SHARP_20... yes
    checking for DBUS_SHARP_10... no
    configure: error: Package requirements (dbus-sharp-1.0) were not met:
    No package 'dbus-sharp-1.0' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables DBUS_SHARP_10_CFLAGS
    and DBUS_SHARP_10_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    I made sure the dependencies were installed and updated to the latest versions, but it still won't build. What am I doing wrong?

    Scimmia wrote:Did you read the comments on the AUR page?
    Just did. I guess I'm still a bit noobish

  • Built and captured new wim and included all updates but more updates get applied when I build from that wim

    EDIT: This is on SCCM 2012 R2 CU3
    (EDIT: simplified title)
    I have a task sequence for building reference images from. This runs the Software Updates Step last and seems to work fine. When it completes I reboot the target machine then do a capture to wim (using the SCCM capture iso).
    I import the new wim and link it to the GOLD build task sequence, but when I build from from it the machine tries to install another bunch of updates.
    The OS I'm building is 2008 R2 SP1. I have all updates from year 2008 deployed to the right collection.
    Why does it try to install more updates??
    I was considering using SCCM to install the updates directly into the WIM but I'm no longer convinced it will work. I just want a gold image, built from scratch, with all updates in it.
    Andy

    P1: Agreed. I didn't do a very good job of explaining myself.
    I have failed to get the multiple "install updates" methods to work at all, though I would love it to work. For Server 2008 installs the process gets stuck for 20mins on the "Detecting Updates..." stage, and loops round again to download
    the same set of updates it did the previous time never reboots, and gets stuck at "Detecting Updates" again. For server 2012 installs it seems to work but it never get all the updates, even after 5 loops of the install updates step.
    I've read sp many posts saying they've got the multiple "install updates" method to work fine. I've tried building my Task Sequence to be exactly as posted by several different people. I've also tried my own improvements. The result is the
    same every time, so I don't think there is a problem with the TS.
    Thanks for you feed back. It is useful to know it "can" work as it implies there is a problem someone (either with me or SCCM). You help is appreciated.
    Thanks.
    As a side note, I'm going to make a new post for the following. I did a bit of further digging and it seems like this might be related to why the above is not working....
    I've built a 2012 and a 2008 server with a single "install updates" step in the task sequence. When the build is finished I then run windows updates within the OS. The result is "No More Updates Found", I felt this was suspicions
    as there were no were near enough updates installed already. I then pointed the machines at Microsoft's update servers and, bingo, it finds more updates. I assumed these updates where missing from my Updates Package in SCCM but that turned out to
    be wrong, they are right there, distributed to the DP, and deployed to the right collection.
    As far as I understand it, you don't need to touch the WSUS console, but seeing as I didn't build this SCCM environment, I thought I would check it out anyway. It looks like WSUS may have been partly configured directly at some point, rather letting
    SCCM to it all. Example: I searched in the WSUS console for appoved updates and found 6 old ones (2003 server and XP) approved for Install. A further search found 421 "Declined" updates. Everything else is marked "Not Approved".
    Does any of this matter if SCCM is supposed to be managing it? Should I trash WSUS and the SCUP and reinstall it, or is there something else I should be doing?

  • Can't get ET to work after building from AUR

    I have downloaded Enemy Territory tar from AUR and am trying to build it, here is what I am getting:
    bobby@dabox:~/installs/enemy-territory$ ls
    enemy-territory.desktop et-ded et-pbupdate.sh PKGBUILD
    enemy-territory.install etded.sh et.sh
    bobby@dabox:~/installs/enemy-territory$ makepkg
    ==> Entering fakeroot environment
    ==> Making package: enemy-territory 2.60b-8 (Tue Jan 8 14:44:27 EST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading et-linux-2.60.x86.run
    --14:44:28-- http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
    => `et-linux-2.60.x86.run'
    Resolving ftp.games.skynet.be... 195.238.1.6
    Connecting to ftp.games.skynet.be|195.238.1.6|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 270,965,248 (258M) [text/plain]
    89% [============================================> ] 241,461,216 458.72K/s ETA 01:03^100%[==================================================>] 270,965,248 467.87K/s ETA 00:00
    14:54:12 (453.47 KB/s) - `et-linux-2.60.x86.run' saved [270965248/270965248]
    -> Downloading ET-2.60b.zip
    --14:54:15-- http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/ET-2.60b.zip
    => `ET-2.60b.zip'
    Resolving ftp.gwdg.de... 134.76.12.3
    Connecting to ftp.gwdg.de|134.76.12.3|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4,143,401 (4.0M) [application/zip]
    100%[==================================================>] 4,143,401 326.94K/s ETA 00:00
    14:54:36 (201.11 KB/s) - `ET-2.60b.zip' saved [4143401/4143401]
    -> Found enemy-territory.desktop in build dir
    -> Found et-ded in build dir
    -> Found et-pbupdate.sh in build dir
    -> Found et.sh in build dir
    -> Found etded.sh in build dir
    ==> Validating source files with md5sums
    et-linux-2.60.x86.run ... Passed
    ET-2.60b.zip ... Passed
    enemy-territory.desktop ... Passed
    et-ded ... Passed
    et-pbupdate.sh ... Passed
    et.sh ... Passed
    etded.sh ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    Creating directory enemy-territory
    Verifying archive integrity... All good.
    Uncompressing Enemy Territory 2.60 Full Install..............................................................................................................................................................................................................................................................................................................................
    [b]cp: cannot stat `Enemy Territory 2.60b/linux/et.x86': No such file or directory
    cp: cannot stat `Enemy Territory 2.60b/linux/etded.x86': No such file or directory[/b]
    ==> Removing info/doc files...
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .FILELIST file...
    ==> Generating .PKGINFO file...
    ==> Copying install script...
    ==> Compressing package...
    ==> Finished making: enemy-territory (Tue Ja
    I have bolded those 2 lines as when I try to run enemy-territory after finishing, I keep getting this:
    bobby@dabox:~$ enemy-territory
    /usr/bin/enemy-territory: line 6: /opt/enemy-territory/et.x86: No such file or directory
    /usr/bin/enemy-territory: line 6: exec: /opt/enemy-territory/et.x86: cannot execute: No such file or directory
    bobby@dabox:~$

    colbert wrote:So this cannot work since it is trying to use a .zip? But others have gotten this to work, I don't understand?
    It was caused by the upgrade of the file package.

  • Error building from AUR (ppc)

    Hi,
       in my archppc I try to build unshield from AUR
    I have change ARCH in PKGBUILD, but I have error:
    BUILDSCRIPT non è definito! Assicurarsi di aver aggiornato /etc/makepkg.conf
    I view that I have /etc/makepkg.conf.new
    then I renamed ..new into makepkg.conf
    but now error is:
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No targets specified and no makefile found.  Stop.
    ==> ERRORE: Compilazione interrotta.
    can you help me ?

    sacarde wrote:
    ok
    -mtune=common
    works OK
    p.s.
    which suggest for:
    apple G4  7447A, altivec supported
    -mtune=G4 instead of -mtune=common of course
    You can also add -mabi=altivec -maltivec if you'd like. It compiles with that, but I'm not sure if it will help any since the compiler was built with --disable-multilib.
    Also, you may want to file a bug report or ask on the mailing list if it's fixed. I mentioned it in IRC right after posting that but didn't get a reply.

  • Virtual memory exhausted when compiling packages from AUR

    Recently I've seen this error more and more often. When I tried compiling some packages from AUR, I ended up getting "virtual memory exhausted" error. The first time it happened with clementine-git, then android-studio. Can I do something about it?

    I am also facing the same problem.  I am trying to install a package, and the installations aborts saying 'virtual memory exhausted'. The RAM is 2 GB and i have alloted 2 GB as swap.  Things i have tried so far
    -install  using yaourt
    -install using  makepkg.
    -change  TMPDIR to HDD.
    Even when i tried it without any window manager to start, limiting the RAM usage, the problem still persists. The only way is to allot an extra swap space, but that would mean that i will have to delete a partition, which is not a feasible solution. Is there anything else one could do. ?
    if it helps,
    ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 20
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 16033
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16033
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited

  • JWS is downloading  the Application every time when I launch from desktop

    Hello All,
    We are Facing a strange issue with the JRE6U14 version. first let me tell you about the jnlp config file we have. we Use JWS to install a SWT Based application. For that we are using two JNLP descriptors . One is the main JNLP <application-desc> and the other is <installer-desc> which we use inside it.
    The application is working fine with the JRE6u13. with no exceptions on a windows XP and Vista systems with IE 6&7 browsers . Recently one of our client installed JRE6u14 and they upgraded their IE browser to IE8, after that they installed our application also through Java Web start. Application got installed without any problem , but the problem they faced is when they try to open the application for the next time from the application shortcut on desktop, web start is not launching the application directly ,instead it is trying to download the application again.
    Our jnlp file has the following configuration for <shortcut> element
    *<shortcut online="true">*
    *<desktop/>*
    *<menu submenu="Course Builder"/>*
    *</shortcut>*
    This was working perfect in JRE6u13 but the mess started with JRE6U14 on windows Vista system with IE 8 . This behavior is not consistent again, the JRE6u14 works fine with IE 7 on windows XP. I have no clue about why it fails , Is any body faced this type of issue with Web start deployment.
    Any suggestion or solution will be much appreciated
    Thanks
    Pavan

    Hello Jorge,
    Make sure your computer's software is completely up to date by going to Apple Menu > Software update.
    Remove the following files to the trash and restart the computer (do not empty the trash until you are sure the issue is resolved):
    Home > Library > Preferences > com.apple.ical (There may be more than one of these files. Remove them all.)
    Home > Library > Caches
    Home > Library > Calendars > Caches (There may be more than one of these files. Remove them all.)
    If after restarting the same thing happens try testing iCal in a new user account http://docs.info.apple.com/article.html?path=Mac/10.6/en/8235.html.
    If the issue only happens in your user account follow http://support.apple.com/kb/TS1627.
    If the issue happens system wide reinstall iCal by moving the iCal application to the trash and following: http://docs.info.apple.com/article.html?path=Mac/10.6/en/19535.html.
    Hope that helps.

  • Getting error Can't read from the source or disk when moving documents from one folder to another folder in the library

    Hi,
    When we try to move documents from one folder to another folder in the document library using "Open with explorer" getting beloe error.
         Can read from the source file or disk.
        The user having below permission for the Library as well as site.
    Fullcontrol,Limited access--->Given directly
    Read,Limited access--->Givin through the all Test grp
    Contribute,Limited Access-->given through test members grp
    Read,Limited access---> givin through The group grp
    Could you please help me anyone....
    Thanks

    Hi Reddy,
    If you are moving files in two libraries in different sites, then the error will occur and it is by design that there are limitations on the DAV move commands that the DAV client is respecting.
    https://social.msdn.microsoft.com/Forums/en-US/6245f332-c609-4a7b-8e00-c8b5e46f7759/cant-move-files-using-windows-explorer-cant-read-from-source?forum=sharepointgeneral
    If you are moving files in the same library, I recommend you to use Wireshark to reveal the error message and enable IIS
    Trace Logging for Failed Requests to examine the IIS log file for troubleshooting.
    https://social.msdn.microsoft.com/Forums/en-US/47cd569d-98f2-4cca-b78e-fd178c097285/cant-read-from-the-source-file-or-disk?forum=sharepointgeneralprevious
    To narrow down the issue scope, I recommend you to test with another library and see if the copy in explorer can work.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I'm wondering were my favourites list went when I downloaded firefox ? Everything dissapeared when I changed from internet explorer

    I had a list of sites that I regularly use for banking Gov't. agencies etc. etc. it was labeled my favourites whic I could add or delete at any time when I whent to my browser which happens to be google it apeared on the very left hand side of the screen. Since I have downloaded Firefox I cannot seem to find this list. Can anyone tell me where to look please?

    You can usually find the imported IE Favorites in a folder ("From Internet Explorer") at the bottom of the Bookmarks Menu folder (Bookmarks > Organize Bookmarks).
    If you can't find them in the "From Internet Explorer" folder then try this:
    * Export the favorites in IE to an HTML file (bookmarks.html): File > Import and Export
    * Import the HTML file in Firefox: Bookmarks > Organize Bookmarks > Import & Backup > Import HTML: From File
    See also:
    * http://kb.mozillazine.org/Import_bookmarks ("Import from another browser" and "Import from file")

  • Weird error when installing caps from AUR

    I get this error:
    ==> Starting build()...
    Traceback (most recent call last):
      File "./configure.py", line 30, in <module>
        store()
      File "./configure.py", line 20, in store
        print >> f, "_CFLAGS=" + ' '.join (CFLAGS)
    TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'
        Aborting...
    ==> ERROR: Makepkg was unable to build caps
    Am i missing some package or something?
    I need caps for alsaequal.

    Hello, I have exactly the same problem.
    So I replaced
    type -p python 1>/dev/null && ./configure.py 
    by
    type -p python2.7 1>/dev/null && ./configure.py
    The compilation does not work and I have the following error message:
    Lancer la compilation de caps ? [O/n]
    ==> -------------------------------------
    ==>
    ==> Construction et installation du paquet
    ==> Création du paquet caps 0.4.4-1 (lun. oct. 25 08:28:06 CEST 2010)
    ==> Vérification des dépendances...
    ==> Vérification des dépendances pour la compilation...
    ==> Récupération des sources...
      -> caps_0.4.4.tar.gz trouvé
    ==> Validation des fichiers sources avec md5sums...
        caps_0.4.4.tar.gz ... Réussite
    ==> Validation des fichiers sources avec sha256sums...
        caps_0.4.4.tar.gz ... Réussite
    ==> Extraction des sources...
      -> Extraction de caps_0.4.4.tar.gz avec bsdtar
    ==> Suppression du répertoire pkg/ existant...
    ==> Lancement de build()...
    Traceback (most recent call last):
      File "./configure.py", line 30, in <module>
        store()
      File "./configure.py", line 20, in store
        print >> f, "_CFLAGS=" + ' '.join (CFLAGS)
    TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'
        Abandon...
    ==> ERROR: Makepkg n'a pas pu construire caps.

  • WEC7 Wave 2 - WEDU download fails to find shared source component, doesn't offer "download" option. Cancel is the only option.

    Deja vu, all over again.
    WEDU has spotted the arrival of Windows Embedded Compact 7 Wave 2; Unfortunately, I have installed shared source - and like when Wave 1 arrived, the shared source update doesn't seem to be available via WEDU; last time, this was fixed by a DVD ISO being
    made available on MSDN, so that the shared source MSI could be found by the layout manager from the DVD.
    I don't see any updated DVD ISO on MSDN, so am I stuck, unable to update WEC7 again.
    Does anyone know when the necessary update DVD is likely to tip up on MSDN?

    Same problem here. They need to just fix the download. As part of the update the Shared Source agreement is presented and accepted ... just can't download. I have a valid license from my original install but no longer have an MSDN subscription so a new
    ISO on MSDN would be no help for me.
    Dave

  • Autogen PKGBUILD from source tarball

    I had an idea while reading about the (lackluster) checkinstall utility:
    http://asic-linux.com.mx/~izto/checkinstall/
    The basic problem is that the user still needs to run ./configure, which will fail if the user is missing any dependencies.  It's a simple shell script that somewhat automates the best-case scenario for source-based package management.
    But what if Arch had a tool that extracts a source tarball, parses its configure script to find compile-time and runtime dependencies (and a few flags maybe), looks at the Makefile to determine the correct variable to set the install path, and generates a default PKGBUILD from this information.  It might not always produce a working PKGBUILD, but it should produce something pretty close.
    How feasible do you think this is?  Do you think this might be one more step towards empowering the user to get involved and create a first PKGBUILD?  Is this idea useless it it doesn't always produce a working PKGBUILD, or is anything better than starting with PKGBUILD.proto?

    I once had a similar (but then again, quite different) idea. Because alot of the PKGBUILDs I wrote only differed from the prototype in $pkgname, $pkgver, $source and $depends, and I actually often filled in the latter with info from namcap after building the package, I thought; hey, why not have makepkg get the dependencies from namcap rather than $depends? And if the build process could be guessed by analyzing the source archive (gobolinux has an interesting script), you might not need to write a PKGBUILD at all!!
    Your idea is probably better because you don't have to modify makepkg.
    Wouldn't this be fun?:
    ~$ automakepkg ftp://ftp.gnu.org/gnu/wget/wget-1.10.1.tar.gz
    Fetching source archive...................................Done
    Extracting source archive.................................Done
    Analysing source files....................................Done
    Generated build instructions:
    pkgname=wget
    pkgver=1.10.1
    pkgrel=1
    depends=('glibc' 'openssl')
    backup=('etc/wgetrc')
    source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=('879a15cc9093796b8a5035ff0d0d25ad')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr --sysconfdir=/etc
    make || return 1
    make DESTDIR=$startdir/pkg install
    Does this look ok? [Yn]y
    Let's go then, starting build()
    Finished building
    Do you want to install the package now? [yN]y
    sudo pacman -A wget-1.10.1-1.pkg.tar.gz
    Password:
    A script, generate-pkgbuild which takes a source tarball as argument, would be an interesting experiment. The level of integration shown above would not be hard if we had a script that actually got the PKGBUILD right most of the time. Now, imagine a graphical interface for answering "yes" to those questions - the user would be able to download a source tarball and double-click it to install - under control of pacman!!
    The idea of setting depends by analyzing $startdir/pkg after build() has finished still appeals to me though. This has a greater chance of finding the right dependencies. On the other hand, finding deps in two ways, first by the generate script, then by checking the pkg with namcap, makes it more waterproof.

  • [SOLVED]yaourt wants to build dependencies from AUR

    Hi,
    I've installed kdemod4... the only problem is that yaourt wants ti install all the dependences of the package(s) i've choose from aur, altough dependencies are present in extra (correct version). How can i solve this??
    An example is:
    cairo-lcd: i have to build all the dependencies from aur, like libpng,etc; but i see from PKGBUILD that the version that needs cairo-lcd is present in extra repository...
    thanks in advance
    Last edited by chesterfork (2009-07-13 10:07:26)

    ..i'm running kdemod 4 x86_64...so if i try install everything using yaourt the dependencies are shown in this way:
    ==> lib32-cairo-lcd dependencies:
    - lib32-gcc-libs (building from AUR)
    - lib32-libpng (building from AUR)
    - lib32-libxrender (building from AUR)
    - lib32-fontconfig (building from AUR)
    - lib32-pixman (building from AUR)
    - lib32-xcb-util (building from AUR)
    if it could help i found this:
    chesterfork ~ $ yaourt -S lib32-cairo
    lib32-cairo not found on AUR
    Packages that were installed as dependencies but are no longer required by any installed package:
    error:
    what about the error? it's a blank line.... i checked yaourtrc in /etc but it seems ok..
    It's happen even if i have these packages installed (and checking in pkg build they have are the same version). EVERYTIME yaourt shows that; cairo, cairo-lcd, bin32-skype-lib32-cairo-lcd....eveything i tried it needs dependencies from aur ONLY. That's the problem....there is a solution??

  • Automated download/extract of source tarball, a suggestion

    (I Just switched from FreeBSD to Arch...Surprised to see the resemblance.)
    Every time I customize an existing package, I have to manually download the source from some hosting website.
    Is it possible for ABS to download and extract the source automatically, by looking up some keyword in PKGBUILD?
    The package maintainer takes the trouble to add that keyword, and all the rest who wish to customize it will benefit...

    makepkg --help first, man makepkg next.
    But you are probably looking for something like makepkg -o.

  • When i download any file it start in a second but when i pause the downloading file & after some time when i open it amessage flash 'download error' source file could not be read please try again later or contact the server administrator.

    when i download any file it works frequently and downloading start in a second but when i pause the downloading file & after some time when i open it,The downloading not start proper and after some time a message flash 'download error' source file could not be read please try again later or contact the server administrator.

    I downloaded the Microsoft Autoruns package and ran it.  There are no programs in the LSA Providers tab, and Apple's Bonjour is the only program in the Winsock Providers tab.  I also did the "netsh winsock reset" and rebooted.  It didn't fix the problem.  Any more ideas?

Maybe you are looking for