Makepkg does not extract anything before trying to make [SOLVED]

I have a puzzeling problem with my makepkg. When trying to install any package from the aur (with or without yaourt) I get an error similar to this:
[chris@cow ~]$ wget http://aur.archlinux.org/packages/opera/opera.tar.gz
--2009-09-14 16:55:28--  http://aur.archlinux.org/packages/opera/opera.tar.gz
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2724 (2.7K) [application/x-tgz]
Saving to: `opera.tar.gz'
100%[=====================================================================================================================================================================================================>] 2,724       --.-K/s   in 0.001s 
2009-09-14 16:55:28 (2.87 MB/s) - `opera.tar.gz' saved [2724/2724]
[chris@cow ~]$ tar -xzvf opera.tar.gz
opera
opera/opera.desktop
opera/PKGBUILD
opera/opera-qt4-theme.patch
tar: Record size = 18 blocks
[chris@cow ~]$ cd opera
opera/        opera.tar.gz 
[chris@cow ~]$ cd opera
[chris@cow opera]$ makepkg
==> Making package: opera 10.00-3 x86_64 (Mon Sep 14 16:56:23 PDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading opera-10.00.gcc4-qt4.x86_64.tar.bz2...
--2009-09-14 16:56:24--  http://ftp.opera.com/pub/opera/linux/10 … 64.tar.bz2
Resolving ftp.opera.com... 195.189.143.122
Connecting to ftp.opera.com|195.189.143.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9262414 (8.8M) [application/x-tar]
Saving to: `opera-10.00.gcc4-qt4.x86_64.tar.bz2.part'
100%[=====================================================================================================================================================================================================>] 9,262,414   79.7K/s   in 23s     
2009-09-14 16:56:47 (399 KB/s) - `opera-10.00.gcc4-qt4.x86_64.tar.bz2.part' saved [9262414/9262414]
  -> Found opera.desktop in build dir
  -> Found opera-qt4-theme.patch in build dir
==> Validating source files with md5sums...
    opera-10.00.gcc4-qt4.x86_64.tar.bz2 ... Passed
    opera.desktop ... Passed
    opera-qt4-theme.patch ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
/home/chris/opera/PKGBUILD: line 24: cd: /home/chris/opera/src/opera-10.00-4585.gcc4-qt4.x86_64: No such file or directory
sed: can't read usr/share/opera/defaults/pluginpath.ini: No such file or directory
==> ERROR: Build Failed.
    Aborting...
[chris@cow opera]$
With the good help of irc people I discovered that makepkg was not extracting archives before it tried to use them to make a package. (An example in this case would be it not extracting opera-10.00.gcc4-qt4.x86_64.bz2 and then trying to use what would have resulted from its extraction to actually make the application.) This is why it would give the "No such file or directory" error.
I havn't the slightest clue why packages aren't extracting. Any ideas?
Last edited by opothehippo (2009-09-23 03:14:19)

I edited my makepkg as follows:
642 # fix flyspray #6246
643 local file_type=$(file -bizL "$file")
644 echo "FILE TYPE: $file_type"
645 local cmd=''
646 case "$file_type" in
647 *application/x-tar*|*application/zip*|*application/x-zip*|*application/x-cpio*)
648 echo "CASE TAR"
649 cmd="bsdtar -x -f" ;;
650 *application/x-gzip*)
651 echo "CASE GZIP"
652 cmd="gunzip -d -f" ;;
653 *application/x-bzip*)
654 echo "CASE BZIP"
655 cmd="bunzip2 -f" ;;
656 *application/x-xz*)
657 echo "CASE XZ"
658 cmd="xz -d -f" ;;
659 *)
660 # Don't know what to use to extract this file,
661 # skip to the next file
662 echo "CASE SKIP"
663 continue;;
664 esac
665
I ran makepkg again and received this:
==> Extracting Sources...
FILE TYPE: application/x-tar; charset=binary compressed-encoding=application/x-bzip2; charset=binary; charset=binary
CASE SKIP
FILE TYPE: text/plain; charset=utf-8
CASE SKIP
FILE TYPE: text/plain; charset=us-ascii
CASE SKIP
==> Entering fakeroot environment...
==> Starting build()...
/tmp/yaourt-tmp-chris/aur-opera/opera/./PKGBUILD: line 24: cd: /tmp/yaourt-tmp-chris/aur-opera/opera/src/opera-10.00-4585.gcc4-qt4.x86_64: No such file or directory
sed: can't read usr/share/opera/defaults/pluginpath.ini: No such file or directory
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build opera package.
I have a limited understanding of this, I'm guessing makepkg does not recognize the binary and so it skips it?
@iBertus: Thanks for veryifying it works on you 64 bit arch. However I've had this problem on 32 bit arch also.

Similar Messages

  • Satellte C870 (PSC8EE) - Display driver for Win8 does not install anything

    Hi,
    I have a Satellite C870 bought in october last year.
    I upgrade it from Windows 7 to Windows 8 a first time just before Christmas and worked fine.
    (Some small issues suchas Bios upgrade needed before installing the display driver but all worked well)
    Few days ago I had a system crash and the HDD died.
    Send out the Sateite for HDD replacement and got it back with Windows 7
    Started last evening installation back to window 8 64.
    But the display driver from Toshiba site does not install anything ? Not even catalyst....
    Just get the request to confirm if I want to install the product and then nothing...
    Tried both drivers proposed from 19/02 and 26/02 but with the same result....
    Tried to install the driver directly from AMD ad got a message my card was not supported
    Tried Windows 7 driver from Toshiba site for my machine and got the same message....
    Graphic card is an AMD 75610M
    And of course I have admin access, and also tried to launch the Setup files in admin mode.
    And other drivers install normally (Lan Drivers, Wifi Drivers, Tempro, Eco mode etc)
    Thanks for your Help

    Thanks for your kind answer ....
    I had unfortunatly tried this option already before posting...
    Should have been more explicit in my post....
    *I have a solution working right now as I finally achieved to install Drive 13.1 from AMD site.*
    Even though I had to proceed with a manual installation.
    Sill consider a pitty the file from Toshiba is not working.

  • MachineExceptions.h:245: error: declaration does not declare anything

    I've been having a terrible time trying to compile something and have worked through most issues, but running into this error:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor k/Headers/MachineExceptions.h:245: error: declaration does not declare anything
    What little there is on the web seems to indicate that there's something perhaps messed up with vtk on intel macs? Or perhaps something else. I also can't seem to compile vtk from source at all, so couldn't fix it that way.
    Anyone have any suggestions?
    Mac Pro   Mac OS X (10.4.9)   8-core, x1900 vid

    Hi Jeff,
    > Well, geometric algebra need not encompass the
    whole of Clifford algebras in order to be a development
    in the field.
       Of course I'm not saying that Geometric Algebra must contain the entirety of the theory of Clifford Algebras in order to be a development in the area. I'm saying that it must leave the confines of that area to be a development. I'm sure you've encountered the word "subset" in the math you've already studied. There is nothing in the definition of a subset about how much of the parent set that the subset should contain. The only requirement of a subset is that it cannot leave the confines of the parent set. I don't care how much of the original theory is omitted, I'm just saying that there exists nothing outside of the original theory.
    > Are you saying the work being done is entirely redundant
    and should perhaps be abandoned for what's already
    been done in studying Clifford algebras and their
    generalizations?
       Now you're addressing the meaning of my statements; "Entirely redundant" does characterize a subset so yes, that is what I'm saying. However, you then read in additional meaning. No, I'm not saying that it should be abandoned. I tried to devote half of the original post to saying that a rose by any other name ...
    > Perhaps it's just the way you express yourself, but
    this topic does seem like it hits a nerve with you
       You are correct. I excluded my perception of plagiarism from the set of statements that I claim to be factual but it's difficult to hide my strong emotional response to that. I agree with everything you say about reformulations but there are right ways and wrong ways to do that. Consider the following search, Google search: Clifford site:geometricalgebra.org, for the word "Clifford" on their website. The only places it appears is in source code and then it is merely a reference to a conjugation operator. There is no mention of Clifford Algebras on their website. The right way would be to state the situation up front.
       I apologize for inflicting my emotional baggage on you. All I really wanted to do is to warn you. You have exactly the right attitude. I envy the sense of wonder and discovery that you now enjoy and the last thing I want to do is to dampen that. In fact, what I would most like to convey is that that feeling shouldn't diminish as you continue. What I fear and want to prepare you for is that when you are ready to branch out and learn the math, it will likely be more difficult than it should be because they haven't given the math foundation that you would need. My fear is that you might get the impression that the math itself is more difficult than it is. I don't want frustration to hinder your efforts to learn.
       You have a great attitude now. I'm convinced that you sense the power and the beauty of the subject. As long as you resist frustration and continue to learn, you should be fine. I assure you that the subject is worth any and all effort that you put into it.
    Gary
    ~~~~
       Before borrowing money from a friend,
       decide which you need more.
             -- Addison H. Hallock

  • IPhone black screen does not show anything, but I can hear that the device works. I hear the lock open the screen and hear the iPod but the screen remains black

    IPhone black screen does not show anything, but I can hear that the device works. I hear the lock open the screen and hear the iPod but the screen remains black!!

    It's happened to me before as well. Try holding both lock(top right) and home buttons simultaneously until u see a slight flash of wight then just reboot it normally. If that doesn't work try restoring your device from itunes

  • I have my iphone activated and working since 3days, i purchased it from ebay with 1year warranty, when i check the serial number from Apple store at Bangalore Forum mall, they say that it does not show anything and 'OUT OF WARRANTY'.

    I have my iphone4 activated and working since 3days, i purchased it from ebay with 1year warranty, when i check the serial number from Apple store at Bangalore Forum mall, they say that it does not show anything and 'OUT OF WARRANTY'.
    Now i have a problem in it, all icons just shake and system hangs, needs restarting.

    You need to go back to the person you bought it from. Sounds like they may have sold you phone that is not as described.
    Did you check the warranty status before purchasing it?

  • The "Awesome Bar" is not working. It does not recall anything from the Bookmarks

    Just updated to new Firefox. In the past, when I would start to type a site in the address bar firefox would complete it as it was already in my bookmarks. But now it does not do anything. It just sits there waiting for me to complete the address. I could start to type Netf and it automatically finish Netflix.com
    Why is this happening. Also, for the first couple days of the new version I had to go back into Tools, Options and reset things at least 3 or 4 times before they would finally stay the way I wanted them.
    I would tell it Never Remember History and after while I would look and it would say, Remember History. I wanted a Blank Start page, and it kept changing it. It's okay now but the Awesome Bar is not working at all.

    Do your bookmarks show up in the auto-suggest drop-down list?
    ''If not:'' Under Options > Privacy, in the bottom section, does it still show that Firefox should suggest Bookmarks in the Location bar?
    If auto-suggest works but the autofill isn't happening, you could double-check that it has not been disabled here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''autof''' and pause while the list is filtered
    (3) If the '''browser.urlbar.autoFill''' preference is bold and "user set" to false, double-click it to switch its value back to the default value of true. That should work in new tabs.
    It's it already true, hmm, I wonder whether this is a private browsing issue? (I didn't test with automatic private browsing.)

  • Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the

    Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.

    Hi Nealeh
    Thanks i think I got it working of a fashion.
    Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
    Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
    Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
    The scenario is:-  say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
    Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
    So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
    Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
    She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
    Had she had a normal skimpy bikini on, no problem!
    If i don't solve it, she will get fired!
    Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
    "Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
    I have Safari on this iPad. Guess that is all it runs.
    So technology is not my friend today!

  • Master Data load does not extract Hierarchy nodes in BPC Dimension ACCOUNT

    Hi Experts,
    I am performing master data load through standard DM package with Filter selection as:
    1. Chart of Accounts
    2. Hieararchy selection has 4 hierarchy names
    3. Selected Import Text nodes
    4. Selected Set Filters by Attribute OR Hierarchies
    I have run this DM package for a set of data and selections a week ago and it worked fine.
    However when i run it now, it is giving issues,
    It extracts any new GL maintained in the BI system however it does not extract any hierarchy nodes at all! (Have tested this by deleting the hierarchy nodes and tried to run the master data load)
    I am running the DM package in Update and have selection as External.
    Any sugestions for checks / has anyone encountered this issue earlier?
    Regards,
    Shweta Salpe

    Hi Guyz,
    Thanks.
    I found that the issue was with the transformation file where i was maintaining the RATETYPE.
    When i removed the mapping of RATETYPE this works fine. (Pulls the nodes of hierarchies)
    however now i do not have Ratetype populated in the system.
    my rate type mapping is:
    RATETYPE=*IF(ID(1:1)=*STR(C) then *STR(TOSKIP);ID(1:1)=*STR(H) then *STR(TOSKIP);ID)
    and in conversion file i have TOSKIP     *skip
    I have to skip the ratetypes for the hierarchy nodes and my hierarchy nodes start with C and H.
    So now that i have removed the mapping for RATETYPE can anyone suggest me a correct way to achieve this? (Note the above mapping formula was skipping all of the hierarchy nodes starting with C and H)
    Regards,
    Shweta Salpe

  • FF will not open, not uninstall (Msg: firefox must be closed...) does not do anything.

    Added an ad-on yesterday - about 3d picture(?). Now FF does not open at all, tried to uninstall but it will not uninstall - it gives the msg. "FF must be closed." -- but it is closed, will not open, will not do anything.
    == This happened ==
    Every time Firefox opened
    == Not quite sure, tried to download a photo ad-on ==
    == User Agent ==
    Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.24 Version/10.53

    This is my own message. To explain it again:
    1. FF will not open at all.
    2. Cannot uninstall FF.
    3. Cannot download new version to replace FF.
    4. It may be causing other problems outside FF.
    FF CANNOT BE ACTIVATED IN ANY WAY AT ALL.

  • Visa Resource name does not list anything

    Hi,
    I recently installed a Agilent 82357B GPIB and along with it I also installed Agilent IO 16.3. This GPIB is hooked up to a power supply. I am able to find and query the device in MAX and Agilent IO, but when I use the Visa Resource Name control in a VI, it does not list anything. Before I used to see LPT1 and COM1, but now even they have disappeared. All these are present in Device Manager. Even VISA interactive control throw an error. Attached are screenshots for some reference.
    HP_GS
    Attachments:
    VisaResource-Refresh.png ‏2 KB
    Visa-IC.png ‏7 KB

    Hi there,
    You might want to read this post about the specific error.
    Also you need to make sure the right class is slected for the visa resource (right click):
    Hope that helps, regards W

  • 2LIS_03_BF standard extractor does not extract records

    Hi,
    I enabled the standard extractor 2LIS_03_BF (mov.mercancias), I am probrando data extraction through rso2 transaction, and does not draw anything (0registros) and tables sources (msec and mkpf) if data exists I have to make some configuration prior to extractor, to extract data?
    This is active in the transaction LBWE.
    Greetings,

    See response in duplicate thread: [2LIS_03_BF standard extractor extracts data not;

  • Sp54471 - Does not meet minimum requirements (Trying to get switchable graphics back)

    I accidentally lost my switchable graphics by trying to update using drivers directly from AMD.  I do not have the HP restore manager anymore.  I tried downloading sp54471.exe from HP, but whenever I try to install it, it says I do not meet the minimum requirements.  I have tried useing the Support Assistant tool as well, but it also gives the same error.  When trying to just use the tool to find updates, it does not include anything for the graphics.

    Hi: You need to use this driver... This package provides the AMD High-Definition (HD) Graphics Driver and Catalyst Control Center for supported notebook models that are running a supported operating system. For notebooks with switchable graphics modes, this package includes drivers for both graphics processing units (GPUs). Switchable graphics enable users to switch between a power-saving graphics mode (normally used under battery power) and a high-performance graphics mode. If high-definition multimedia interface (HDMI) video output is supported, this package also installs the HDMI Audio Driver. File name: sp55092.exe You will never be able to update the switchable graphics driver, so after you get things working again with this driver you will have to leave well enough alone.

  • Ipod touch does not do anything stuck on the apple logo screen.

    ipod touch does not do anything stuck on the apple logo screen.

    You may need to hold the sleep/wake button and the home button until the apple logo appears. Or anther thing you can try is draining the battery until the battery is dead. That's what i tried and worked. You may need to do those things more than 2 times. OH anther thing is you can try connecting you ipod to your computer and see if it appears on itunes. If those don't work you can send it to apple. So that's what helped me I hope I answered your question.

  • Iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • On my MacBook with Lion Safari does start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library did not help. Where can I find and remove all components (LastSession ...)?

    How can I reset Safari with all components? On my MacBook with Lion, Safari does not start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library does not help. Where can I find and remove all components as LastSession and TopSites?

    The only way to reinstall Safari on a Mac running v10.7 Lion is to restore OS X using OS X Recovery
    Instead of restoring OS X in order to reinstall Safari, try troubleshooting extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    If it's not an extension or plug-in issue, delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

Maybe you are looking for

  • Background job scheduling in idocs

    Hi can u plz tell me like for a customized function module inorder to post and idoc . variant should be created for function module or how does it go becoz we process the idoc through transaction we19?

  • CNN video clip news play only sound but no video

    I downloaded the latest windows player and also Quick time Flip for windows. None seems to work. Only the sound of the streaming video came through but no picture. What's wrong with my Safari? Anybody got some input what I did went wrong. Apple compu

  • Show SC details, Hide frame,

    Hi I'd like to hide the whole frame, for example of cost asignment. I have used the BADI and screen variant and I hide all the fields and even the title of the frame but the frame go on apperaing. Does anybody know if it is possible to do it, without

  • Problem while activating Custom Include

    Hi, My requirement is to make a copy of standard include (V50R_ON_OUTPUT) into ZV50R_ON_OUTPUT. And to add this custom include in another copy of the main program ZRVV50R10C (copied from RVV50R10C). But am facing problem when activating the custom ma

  • Photoshop CS2, UI too small to read or use on lenovo yoga 2 pro HELP!

    I have been using Photoshop CS2 for years and had to move it to my new laptop but I can't even see where the mouse it to work on anything. Please help!