Makepkg adds --as-needed in linking step and that breaks my package?

Hi,
I maintain a PKGBUILD that produced some strange behaviour. If I manually do the steps as written in the PKGBUILD, everything works fine. On the other hand, when I run it with makepkg, the linking step fails, complaining about a lot of "undefined reference"...
I tried to narrow it down, and found that Arch adds the "-Wl,--hash-style=gnu -Wl,--as-needed" flag in the linking step, and the second part is what caused the problem. If I re-run the linking step manually, but removing the "-Wl,--as-needed", it all works. If I instead in the PKGBUILD do a
make LDFLAGS=""
then everything goes dandy too...
Out of curiosity, why would this happen? How can --as--needed break things?

is happening because is a bug in their building,especially at the end where the linking is done.
usually when we have a package that fails we report it upstream and until is fixed we add in PKGBUILD:
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"

Similar Messages

  • Anyone know why my itunes says I need to re-install and that it's having problems with Microsoft Visual C

    Anyone know why my itunes says I need to re-install and that it's having problems with Microsoft Visual C++?

    See... Unable to install or open > http://support.apple.com/kb/TS5376
    Also See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562
    littlered1382 wrote:
      I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.
    It has always been Prudent to Create and Maintain a Backup of anything you would not like to lose.

  • I am having problems to run logic pro 9, there is an error display that says I need to set bonjour and that this app serial number has been used by another red user,  could anybody guide me?

    I am having problems to run logic pro 9, there is an error display that says I need to set bonjour and that this app serial number has been used by another red user,  could anybody guide me? actually, my computer can't start  since three days ago, could it be the same problem?

    Logic is the APPlication (program, app) that you are having the problem with.
    Logic Pro can take advantage of other computers on your local (home or work) network to help it do "heavy lifting" data chores by using Bonjour and a feature called Nodes.   It seems that Logic is attempting to find and connect to another machine on your network.
    Do you have Logic installed on another computer there?  That may be the source of the confilict.
    You might want to post this question in the Logic Pro Community.
    Be sure to indicate the version of Logic Pro that you are using.  I'm sure the folks there can help you out.

  • Connected my iphone to itunes earlier today...it was working fine...now i get an error message saying that my phone is in recovery mode...needs to be reset and that all media and contacts will be deleted.....is this really true? or is there a solution

    connected my iphone to itunes earlier today...it was working fine...now i get an error message saying that my phone is in recovery mode...needs to be reset and that all media and contacts will be deleted.....is this really true? or is there a solution

    No it's not true.  It's one big practical joke being played on you by Apple.

  • Need query linking parent and child discrete jobs created through ascp planning

    Could you help me create a query that will show both the parent and child discrete jobs created through ascp run? I do not need entire query. I need to know the names of tables and understand the links or joins between tables. Then, I shall be able to write the sql on my own.
    Thanks

    Just use a format like this:
    http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y
    &lsMObjectName=[test1],[test2]
    Here in lsM[ObjectName] parameter [ObjectName] = the object name which you want to send data to ReportB
    I can give you a idea of creating hyperlink for jumping another report (Here ReportB)
    Just use  a formula like that in any cell:
    ="<a href=http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y&lsMObjectName=[test1],[test2]&sWIndow=New> Click here to view </a>
    Now from the property select Read cell content as "Hyperlink"...
    thats it......
    For more information please see the
    "OpenDocument" artile
    Hope you can  get help from this
    Edited by: Arif Arifuzzaman on Aug 20, 2009 7:24 AM

  • I cant put any text or add any photos on my iMovie11 and that also happened with my last version.HELP PLEASE

    I cant put any text or add  photos even videos.Why is this?I really need to  use it!Help please!

    is there any important stuff saved to your emails? if so you could log on to your emails from a seperate device and back them up. im not sure what else you could do :/

  • Have upgraded to 6.0.2 on my MacBook and get error message "Server Not Found" everytime i use Firefox; however, if i then click on my Gmail or other sites from bookmark toolbar it connects. means an extra step and that never happened before

    when i first click on Firefox the URL: www.27yhbnhy6tfgvrbcfre3.com shows up and the error message "Server not Found". but i can connect to any website by just clicking on a bookmark from the toolbar (or typing in a url). this never happened with previous versions of Firefox

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • I am having problems to run an app, there is an error display that says I need to set bonjour and that this app serial number has been used by another red user,  could anybody guide me?

    I am having problems to run an app, there is an error display that says I need to set  bonjour services

    Logic is the APPlication (program, app) that you are having the problem with.
    Logic Pro can take advantage of other computers on your local (home or work) network to help it do "heavy lifting" data chores by using Bonjour and a feature called Nodes.   It seems that Logic is attempting to find and connect to another machine on your network.
    Do you have Logic installed on another computer there?  That may be the source of the confilict.
    You might want to post this question in the Logic Pro Community.
    Be sure to indicate the version of Logic Pro that you are using.  I'm sure the folks there can help you out.

  • My pavilion g6 does not have a number pad and i need to use the + and - that come with it?

    I have a pavilion g6 and it doesnt have a number pad it also doesnt have any sort of num lock light but i really need to be able to use the + and - keys that come with the num pad as the other ones that are just below the f11 and f12 keys do not work for what i need and i would therefore like to know if there is any way to press a number pad plus and minus on my keyboard

    Troubleshooting iMessage activation:
    http://support.apple.com/kb/TS4268

  • Healthkit shows "no data" for steps and walking + running. How do I set my phone as a source? Thanks!

    My Health app does not show anything for steps, walking + running and flights climbed. A few blogs say this shows up atomically. Do I need to set Data Source to my phone? How do I do that? Even when I go to Steps through the menu it still says "No Data"

    *Automatically
    I linked MyFitnessPal and that shows calories just fine.

  • Using BAPI_PO_CREATE1 : Linking service, and account assignment

    Hello,
    I have trouble when using BAPI_PO_CREATE1. When creating PO using BAPI_PO_CREATE1, I need to input service for each po item and the service itself need to have account assignment. I simplify the code below.
    **PO item
    t_poitem-po_item        = '10'. "for item 10
    t_poitem-PCKG_NO        = '20'. "link with service
    t_poitemx-po_item        = 'X'.
    t_poitemx-PCKG_NO       = 'X'.
    **Account Assignment
    t_poaccount-po_item    = '10'. "link with PO Item
    t_poaccount-SERIAL_NO  = '01'.
    t_poaccount-DISTR_PERC = 1.
    t_poaccountx-po_item    = '10'.
    t_poaccountx-SERIAL_NO  =  '01'.
    t_poaccountx-po_itemx    = 'X'.
    t_poaccountx-SERIAL_NOx  = 'X'.
    t_poaccountx-DISTR_PERC = 'X'.
    **PO Services
    **1st row
    t_poservices-PCKG_NO = '20'.
    t_poservices-LINE_NO = '0000000001'.
    t_poservices-SUBPCKG_NO  = '21'.
    APPEND t_poservices.
    clear t_poservices.
    **2nd row
    t_poservices-PCKG_NO = '21'.
    t_poservices-LINE_NO = '0000000002'.
    t_poservices-EXT_LINE = '0000000010'.
    **fill account assignment for services
    t_POSRVACCESSVALUES-pckg_no = '21'.
    t_POSRVACCESSVALUES-LINE_NO = '0000000002'.
    T_POSRVACCESSVALUES-SERNO_LINE = '01'.
    t_POSRVACCESSVALUES-SERIAL_NO = '01'. "acct. assign. link
    t_POSRVACCESSVALUES-PERCENTAGE = '100'.
    Every time i execute BAPI_PO_CREATE1 using entry similar like above, i always found error message in t_return like this:
    No account assignment exists for service line 0000000010
    I feel sure that i have fill every field needed to link services and account assignment which is using serial_no, but somehow it does not link correctly. Can anyone advise me if there is some thing missing or incorrect with my ABAP code above? Thank you in advance for your help. For sure, first helpful answer will receive my rewards point.
    Regards,
    Abraham

    Thank you for the code. Actually i have fill the required field as you told but i did not put it in my code here to focus the problem on service and account assignment. After checking out your code, i found that the different between your code and mine is in services table.
    <u><b>your code :</b></u>
    <b>POSERVICES:structure</b>
    PCKG_NO : 0000000001
    LINE_NO :0000000001
    SUBPCKG_NO : 0000000002
    SERVICE :3000000000017
    QUANTITY :5
    BASE_UOM :AU
    GR_PRICE :20000
    <b>POSRVACCESSVALUES: structure name</b>
    PCKG_NO :0000000002
    LINE_NO :0000000002
    <u><b>my code are:</b></u>
    <b>POSERVICES:structure</b>
    PCKG_NO : 0000000001
    LINE_NO :0000000001
    SUBPCKG_NO : 0000000002
    PCKG_NO : 0000000002
    LINE_NO :0000000002
    SERVICE :3000000000017
    QUANTITY :5
    BASE_UOM :AU
    GR_PRICE :20000
    <b>POSRVACCESSVALUES: structure name</b>
    PCKG_NO :0000000002
    LINE_NO :0000000002
    SERIAL_NO :0000000001
    The other difference are in account assignment table, you didn't fill SERIAL_NO field.
    my code will be like below:
    <b>POACCOUNT: structure name</b>
    PO_ITEM :10
    SERIAL_NO : 0000000001
    If using your version, the error message will be:
    <i>In case of account assignment, please enter acc. assignment data for item</i>
    If using my version, the error message will be:
    <i>No account assignment exists for service line 0000000010</i>
    Please advise what was wrong with my code. Thank you.
    Regards,
    Abraham

  • Site administration link "people and groups" link breaks if you delete the excel services viewers group

    Creating a HNSC using powershell, the default groups are not created.  Used the UI method of creating the default groups.
    However, if I delete the "excel services viewers" group, the site administration link "people and groups" breaks.  I have attempted to "set the default group" again, after creating the "site default groups" as
    mentioned above, but still no luck.
    Anyone seen this?  Should it be reported as a bug?
    Joshua Fuente

    Hi Joshua,
    For troubleshooting your issue, you can create the default groups using the following PowerShell script and see the result:
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    $currentUser = "$env:USERDOMAIN\$env:USERNAME"
    $siteCollectionUrl = "http://manasbhardwaj.net"
    $siteCollectionName = "Manas Dev Site"
    $webApplicationUrl = "http://manas"
    New-SPSite -Url $siteCollectionUrl -OwnerAlias $currentUser -Name $siteCollectionName -Language 1033 -HostHeaderWebApplication $webApplicationUrl -Template sts#0
    $web = Get-SPWeb $siteCollectionUrl
    $web.EnsureUser($currentUser)
    $web.CreateDefaultAssociatedGroups($currentUser, "", "")
    Reference:
    http://www.codeproject.com/Articles/790726/How-to-create-default-groups-in-SharePoint-Host-Na
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • How to add one more field in infotype and PA 30 screen

    Hi to all
    My requirement is to add a new field in infotype and that should be reflected in PA30 screen.
    Actually in my company one field require from which date the car allowance is started.
    For that one date field is require on PA30 screen ..
    Also suggest me which screen is suggestable for that. and also give me any othe way is possible.
    Thanks & Regards
    Anubhav

    Yes .. I added the field in the structure but that field is not reflecting in PA30 screen.
    please advice me .. what to do...
    Thanks..
    Anubhav

  • I recently upgraded my internet service to be faster on myIMac tiger 10.4.11 and that lasted about a day. Now not only do I get TBBFH but even opening up let's say Face book it loads very slowly . It's not the BBFH but next to the facebook it's a circle o

    Even when I am using Safari or Firefox  the spinning wheel of lines especially for face book just keeps spinning and it takes forever to load my pages. It was faster than this before I upgraded my internet service. I Check the speeds and those are fine (using a internet speed test). I have emptied all of my caches, cleaned my Mac with (Clean My Mac), I've taken out all old files, pictures, cleared my widgits, and I don't know what else to do. Is there some configuration I need to address some where inmy preferences? Do Ihave to just live with it? I do want to upgrade to Snow Leopard but, I can't afford that at this moment. Any ideas please forward. Another issue I have is that my IMac will not accept a DVD+Rdl but will accept any and all other DVD' and CD's what could cause that?
    Sincerely,
    Rochichi98

    A warm welcome to Apple discussions!
    A 2003 iMac cannot support Snow Leopard 10.6; you'd need an Intel processor and that cannot be retrofitted to your Mac. What does "About this Mac" in your Apple menu say  for your processor speed? What does it say about how much RAM you have?
    If the processor is 1ghz or faster, you can run OS 10.5; otherwise, you are maxed out at 10.4.11.
    Also, are you running any commercial ("pay for") anti-virus or security software? They are notorious for slowing most Macs to a fraction of their speed potential.
    A too-full hard drive can drag down performance, especially if you don't have a lot of physical RAM installed. If you single-click your hard drive icon and then do command i, you'll see the disk usage. Looks like this:
    The value for "Used" should be no more than about 90 percent of "Capacity." In the example image, that drive has about 34 percent of its space used and 66 percent free--more than enough. Please post what you see for your Capacity and Used numbers
    There are a few more things we might check but this is a good start.
    Awaiting your information,
    Allan

  • Hello, i have been sent the following email from apple: - You've taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you... and asks for apple login details, is this a genuine request?

    Hello, i have been sent the following email from apple, see below and asks for apple login details, is this a genuine request?
    Thank you.
    You’ve taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you.
    The rescue email address that you gave us is [email protected]
    Just click the link below to verify, sign in using your Apple ID and password, then follow the prompts.
    Verify Now >
    The rescue email address is dedicated to your security and allows Apple to get in touch if any account questions come up, such as the need to reset your password or change your security questions. As promised, Apple will never send any announcements or marketing messages to this address.
    When using Apple products and services, you’ll still sign in with your primary email address as your Apple ID.
    It’s about protecting your identity.
    Just so you know, Apple sends out an email whenever someone adds or changes a rescue email address associated with an existing Apple ID. If you received this email in error, don’t worry. It’s likely someone just mistyped their own email address when creating a new Apple ID.
    If you have questions or need help, visit the Apple ID Support site.
    Thanks again,
    Apple Support

    In that case, someone is trying to hi-jack your Apple ID.
    You should change your password immediately.

Maybe you are looking for