PKGBUILD source conflict problem [solved]

I'm making a PKGBUILD for a game called noiz2sa.  The problem is, it comes in two separate pieces - one is the binary and the other is some extra files and when extracted they both have the same name - noiz2sa.  Because of this, when I put the both in the source= section and run makepkg, one of them inevitably gets overwritten.  Is there a way to fix this?
Edit: I couldn't find a delete option so I'm marking this solved - after reading the PKGBUILD man page again, the noextract option was what I needed to work around this issue.
Last edited by Shirakawasuna (2007-05-07 07:56:21)

I wrapped it with double quotes and it worked , I've also added a note on the wiki page.
thanks

Similar Messages

  • [solved] Multiple hyphens in PKGBUILD source directive

    Moderator: If this is not the correct forum please feel free to move this as appropriate.
    Hello,
    I have been trying my hand at creating PKBUILDS and submitting them to ABS.  This problem has me stumped.
    I have a source file that is named hpgcc-2.0-sp2-linux.tar
    I call the pkg hpgcc, and the version 2.0_sp2.  The architecture I ignore since this is a PKGBUILD for (duh) Linux
    I create the source directive like:
    source=(http://www.hpcalc.org/hp49/pc/programming/$pkgname-${pkgver/_/-}-linux.tar.bz2)
    So far, so good.  makepkg runs and builds a package, pacman -U installs it, no problem.
    Clean the directory, archive it, uploaded to AUR.  Okay.  Download the tarbell to another computer, makepkg and install, no problem.
    The issue is that the AUR page on the website munges the source file name:
    hpgcc 2.0_sp2-2
    http://hpcalc.org
    gcc C Compiler for HP 48,49,50 Calculators
    unsupported :: devel (change category)
    Maintainer: ewaller
    Votes: 0
    License: GPL
    Last Updated: Wed, 25 Aug 2010 05:17:02 +0000
    First Submitted: Mon, 23 Aug 2010 06:21:13 +0000
    Tarball :: Files :: PKGBUILD
    Sources
    http://www.hpcalc.org/hp49/pc/programming/hpgcc-2.0_sp2/_/-}-linux.tar.bz2
    I don't think this is right -- a cursory look at other ABS pages all looked correct.  Am I missing something, is this a bug in the ARCH ABS site? or is this a just don't care?
    Last edited by ewaller (2010-08-25 15:15:15)

    This happens because AUR doesn't source PKGBUILD (for security reasons). You can leave it as it is or hardcode the source url.
    Last edited by Snowman (2010-08-25 07:06:23)

  • Stuck with grub problem (SOLVED)

    Today i tried to upgrade my Arch Linux, it downloaded everything that should be downloaded, it was installing upgrades but at the installing grub it stucks as like this
    "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg"
    I've waited it for about 15 minutes, it didn't move on. So i did ctrl+z to break. Then i tried to update again. But it gives an error which is:
    error: failed to commit transaction (conflicting files)
    python: /usr/bin/2to3 exists in filesystem
    Error occured, no packages were upgraded.
    Please help me guys!
    Last edited by bilgee0629 (2011-03-21 10:36:28)

    Problem solved by moving 2to3 to other directory.

  • Undocumented problem solved with 16-bit pcmcia and irq error

    I am having the exact same problem as described in the following post:
    "Undocumented problem solved with 16-bit pcmcia and irq error."
    "I'm using a DAQ Card (AI-16E-4), which didn't work properly in MAX. MAX complained that the card didn't respond to an interrupt request.
    I've had this issue for a while, but dropped it, since NI support told me nothing could be done about it. Meanwhile, a seemingly unrelated problem with a wireless pcmcia network card arose. Cisco had no clue what was wrong with their card either, but I found Microsoft Knowledge Base Article Q327947. It seems that Win2k (they claim SP3 and up) disables ISA to PCI routing, which is what causes this problem.
    To fix it, open regedit
    and navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters"
    edit or create the DWORD value "DisableIsaToPciRouting" and set the value data to 0.
    See Microsoft's article for further details: http://support.microsoft.com/default. aspx?scid=kb;en-us;327947"
    The difference is that I am using WinXP and the Regedit fix does not solve the problem. Does anybody know how he was able to continue to use the card before he solved the problem? The card works fine in MAX, but errors out in LabVIEW.

    Hey Willy,
    Here some additional suggestions that have corrected some PCMCIA difficulties in the past besides the registry edit you suggested.
    1. General Troubleshooting to Verify Correct Hardware and Software Installation
    Uninstall the PC Card hardware through Device Manager
    Remove the PC Card from the laptop
    Uninstall the NI-DAQ software
    Follow the normal installation instructions (the most important step to remember for Plug-n-Play Operating Systems is to install the software first)
    Try the latest service packs for Win 2000 or Win XP
    Try the PC Card in a different laptop
    Try a different slot in the laptop. On certain laptops PC Cards have been successfully installed in the top PCMCIA slot instead of the bottom.
    2. Additional Troubleshootin
    g for PC Cards that Return IRQ Conflicts
    For E-Series DAQCards:
    Update to NI-DAQ 6.9.3 first and then update NI-PAL to version 1.6.1 (included exe file).
    Download the attached NI-PAL (ni-cdu1610.exe), and run the installer. When receiving the error "The device is not responding to the first IRQ Level" in Measurement and Automation Explorer, try this method of upgrading NI-PAL
    3. Additional Troubleshooting Steps
    Try disabling the 3COM adapter, and any other extraneous (for now) devices like any built in serial and parallel ports. The best way to do this is probably to disable them in the BIOS. If the PCMCIA card works properly then try to reconfigure disabled devices one at a time.
    Make sure the latest BIOS is installed.
    Check for any unusual PCMCIA drivers or other software that might interfere with the PCMCIA driver.
    I hope this helps.
    Ron
    Applications Engineering
    National Instruments
    Attachments:
    ni-cdu1610.exe ‏1557 KB

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Hard drive issues due to Time Machine backup? Can't source the problem.

    Last night my computer began to run extremely slow. All apps simultaneously lagged (spinning wheel of death), but then began working again after about 0.5-1 minute. This whole-system crash repeated about every 10 minutes a total of probably 5-6 times. The last time all apps stopped functioning and (CPU usage of iTunes was 85-95% for some reason (viewed using activity monitor), I am guessing due to its use of multiple hard drives as my music is stored on an external drive) and my computer just shut off after about 3 minutes of completely stalling. Rebooted computer and was left with an EXTREMELY slow system; opening up the quick menu (forgot the name, button on the top row of keyboard) for booting applications took 2-3 minutes. I eventually started disk utility, verified disk. It said I needed to repair disk by restarting my computer while holding down [Command] R message. Made sure i had a backup (at the time of that backup my computer was experiencing the problems above, 11:21pm), so I restarted whilst holding command R. Booted into the OSX utilities, retried the disk repair, received the "Disk Utility cannot repair this drive: back up as many files as you can..." message. Erased/reformatted my internal hard drive, and ran "repair disk" again; disk utility found no problems with the disk. Restored my files to my internal hard drive using OSX utilities (using the full system restore of the 11:21pm backup), and left it running while ran some errands. When I came back to look at my computer, it had attempted startup and crashed with the "kernel error" or whatever where all the text is on the left of the screen. It said something about not being able to find "disk2", which I believe was the disk containing OSX utilities (as veiwed in disk utility while running OSX utilities). Force shutdown, reboot with command R, wiped my internal drive again. Decided to only install a fresh version of OSX in an attempt to scan for viruses (using Sophos Antivirus, running scan as I am typing this), as the slow behavior of my computer had been very strange and began almost instantaneously (seemed like a virus/malware). No threats found so far with Sophos (scanning all my external drives too to source the problem in time machine backups), but I have deduced that there is something wrong with the most current Time machine backup, as it re-established the "problem" (easily fixed once drive is erased using OSX utilities) with my hard drive once I restored it to my internal hard drive. I am wondering (if it is not a virus) if I will need to repeat this whole process with every time machine backup to find where it went wrong, or if i can somehow pinpoint the problem easier. Will all of my Time Machine backups be corrupted now? Why would the Time Machine backup affect the state of the hard drive (does in need to be repaired or not)? Very confused at these random problems. If it is a virus (I will post the results of the Sophos antivirus scan as soon as it is finished), can I remove it from the backup and then restore it with no problems? What do you suggest I do? Will it make a difference to restore the most recent backup (11:21pm) using Migration assistant now that I am running a fresh install of OSX mountain lion? How can I source and eliminate the problem?

    Activity Monitor – Monitor Performance Problems  
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy
    Try running this program and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read.
    Etrecheck – System Information

  • I can not write in Hebrew And create effects It shows all distorted  When This problem solved?

    I can not write in Hebrew
    And create effects
    It shows all distorted
    When This problem solved?

    roeisarusi wrote:
    When This problem solved?
    Nobody knows.  iWorks apps have always had bugs that make them unsuitable for Hebrew/Arabic for most people.  Tell Apple here:
    http://www.apple.com/feedback/keynote.html

  • How to problem solve adf issue in the mx340 model

    how to problem solve adf issue in the mx340 model

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • WiFi connection problem solved

    My intel iMac and MBA had no problem but iPods 3g and 5g did.  I had an old Netgear router connected and sitting next to my Airport Express.  On a hunch I diconnected the Netgear and created a guest network to replace the one on the Netgear.  PROBLEM SOLVED! 
    Evidently our iPods and boarder's iPhone had problems sorting out the signals and finding the right addresses.  Moving the AE to a higher and slightly more central position also helped.
    Jim

    Same here on a Vodafone PocketWiFi 2.
    Tried NetworkManager, wicd, wifi-menu but all have the same issue.
    I recently installed Aptosid on another machine and it has the same problem... It also has kernel version 3.9.
    All the live CDs I've tried work, even an Arch CD from May works, though a current install does not.
    I have no problems connecting to another (wpa2 enterprise) network yet can't on this 3G modem.
    I'm hoping this isn't a permanent issue and perhaps an update very soon will fix this.
    It seems the only way to fix this for now is to use an old version of Linux. I'm currently running a virtual machine only for the purpose of Internet sharing, very annoying.

  • Bug fix for Mac book wireless - problem solved!

    Aparantly there is a rather large number of folks out there who've discovered this dillema with wireless not working very well at this point on the Macbook.
    Well, I can attest there is one very good solution out there for this issue. This application called Sonar Theater from www.sunray.tv includes a bug fix for the wireless connection issues with Macbook in their latest 1.5 release of Sonar Theater.
    I downloaded it, put it into my start up folder and waalaa! problem solved. I've haven't any more issues with dropped wireless since - it's been running constantly for over 2 weeks now.
    I haven't even attempted to touch my router configuration - don't need to.

    Welcome to the better life of Macs. I am using Sonar Theater too and it's been working very well for me. In fact, I'm getting hooked on just texting a message to my Mac book to fire up user sessions now. I think if you give the Mac Book some time however, you'll find that there really is no comparison to PC's. Your life overall is going to just keep getting better as you dig in to the resources available to new Mac users.
    I'm sure it seems confusing to PC users at first, but here's how to set up any application as part of your startup sequence. It really is extremely easy and simple compared to the PC world. Oh and by the way, in reality, Mac users refer to this as your login sequence. So, at login time, you can do a multitude of different things for each user account you might want to set up. Naturally, you can choose to share or not share applications and data between these user accounts on your Mac too....
    Mac OS X 10.3 or later
    1. Log in as the user who wishes to have a login item or as an admin user.
    2. Choose System Preferences from the Apple menu.
    3. Choose Accounts from the View menu.
    4. Click the name of the user.
    5. Click the Startup Items button
    6. Click the "Add {+}" button.
    The item you selected will automatically open the next time you log in.
    there are several ways to get good info from the apple community on tips and tricks as well. you should just try the apple os x web site...here,
    http://www.apple.com/macosx/resources/
    happy mac-ing!

  • Mediawiki, mysql, php? problems [SOLVED]

    On Sunday my Arch install that is hosted by Slicehost became unresponsive to them so they had to do an emergency reboot. After it came back up my install of mediawiki was (and still is) only returning a blank page (at least in Firefox). After some digging I found out that part of the problem was that mysqld wasn't starting so I managed to get that fixed by commenting out the lines relating to innodb and putting in skip-innodb into my.cnf. But I'm still getting a blank page.
    According to Mediawiki's manual, "A blank white page indicates a PHP error which isn't being printed to the screen." They give two lines to put into LocalSettings.php to force error messages but after doing that I'm still getting a blank page. Changing display_errors in php.ini to ON didn't have any effect.  When I load the wiki in Safari I get the following error: "Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://some_url.com/mediawiki/index.php/Main_Page". I have no idea what this error means and googling java.io.EOFException doesn't bring up anything very helpful. My PHP Test Page indicates that PHP is up and running.
    Any ideas on fixes or where I can find more clues?
    [EDIT]
    Mysql was definitely the root of the problems with Mediawiki. I tried nearly every suggestion listed in the forums for fixing a mysql install that wouldn't start but nothing worked. I even completely uninstalled mysql and reinstalled it but it still refused to start. I switched over to postgresql and switched mediawiki to run with that. Problem solved.
    Last edited by k_odoma (2009-05-23 01:48:35)

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • Acrobat printing problems (solved)

    Hi Folk
    I'm getting on well with Arch apart from one problem, I can not print from Acrobat reader, it accepts the command and does precisely nothing, the jobs are appearing in cups but not being printed, I can print from Open Office and test print from cups but no cooperation with acrobat,  anyone have any ideas? thanks
    Pete
    Last edited by pete051 (2009-09-29 19:14:12)

    I don't know what DE are you using. In my case, I use xfce and when acroread starts with his stupidity I just change the print command to 'xfprint'. That forces acroread to redirect the print job to xfce's printing frontend, and problem solved.
    Now, if you're using kde, I guess there is something named 'kdeprint', 'kprint' or similar. For gnome, I've no idea.
    I hope this helps.
    p.s. Sometimes, cups takes his time to print. When its taking too long I purge cups' temp files and restart the daemon.
    Last edited by kjon (2009-09-25 00:32:23)

  • Dr.Watson problems solved.

    DR.WATSON PROBLEMS SOLVED:
    System:
    WLS 5.1 with SP11 running on NT4 Using OCI817_8.
    Oracle 7.3.4 running on NT4.
    Problems:
    Dr.Watson exceptions in native code...
    # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside
    the VM.
    # Program counter=0x60239689
    When asking BEA and Oracle:
    "Use the latest OCI available. It is backward compatible !"
    What have been done to solve the problem:
    Going through all SQL code (and doing some rewriting), configuring connection
    pools (TestOnReserve / TestOnRelease, refresh, etc) and several other configurations...
    At last, we tried to change to the OCI version matching the Oracla versions we
    were connecting to (from OCI817_8 to OCI734_7).
    Voila ! NO MORE DR.WATSON EXCEPTIONS !
    Our conclusion:
    If possible, use the OCI version that matches the Oracle version you are running
    on.

    Hi Abhijit
    Couple of pointers which could resolve the issue:
    1. Since you are using the JDBC-ODBC bridge what occurs internally is that your JDBC API through the Virtual Machine make calls into the ODBC API on your Windows system. So the Watson error that you are getting is probably an illegal access by one of the methods in the ODBC API - this is for the Diagnosis part.
    2. The Solution part -
    a. Should I change my JDBC-ODBC driver? Not necessarily because the problems could be with the ODBC interface implementation and changing the driver might not help.
    b. Should I change my programming style? This is one thing which could really help. The problem with creating connections each time is that it takes a lot of resources to do it, So there is a performance degradation. What you could do inyour code is use a Java Bean to create the required Connection. You can also think of using a prepared statement appropriately encapsulate it since you are invoking a particular query repeatedly. In your JSP page you can retrive(create) this bean through the jsp:useBean tag with the session as the scope attribute. The <jsp:setProperty methods could also be used to set the DSN name and the driver.
    Once this bean is successfully created you have an open connection.
    Now for the part you have pasted - replace the create connections with getting a new Statement object which would hold your Query. At the end of the JSP just close the Statement object.
    Once you are done updating the page you may transfer the control to a different JSP - Let that transfer trigger the connection close in the Java bean.
    This should solve the Dr.Watson problem.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc
    http://www.sun.com/developers/support

  • Am I able to find my iTunes serial number? I need it for the problem solving as my problem is solely bad on my iTunes.

    For the Apple problem solving section I need a serial number, my issue is that my problem regards missing contents within my iTunes. Do I have an iTunes serial number? And if so, where can I locate it? If there is not a serial number for iTunes, advice on what to do next is much appreciated.

    iTunes has no serial number. If you are trying to get to Apple phone support, that is linked to the purchase of Apple hardware, so you need to enter in the serial number of an Apple device. Otherwise, for assistance with problems with iTunes itself you would need to call Apple Support and they would almost certainly charge for the call. I would instead suggest you post the issue you're trying to address here in detail. Someone here can probably offer suggestions.
    If your issue is with the iTunes Store, not the iTunes application, go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    What problem?
    You will have to be _a lot_ more specific if you'd like responsible feedback.
    I export thousands of TIFF and JPG files a week with no obvious faults.
    (Sent from my magic glass.) 

Maybe you are looking for