AUR helper to find wich package need rebuild

As we all know, package from AUR need rebuild when there dependency are updated. What I would like to find is some command or script that could tell me which package from aur need to be rebuild.
Is there already something like that that exist? If no do you have any idea how it would be possible to detect this, I could develop it but I don't know what info I would need to create that list.

Many aur tools can tell when an aur package has a newer version available, but AFAIK there is no tool to detect when a rebuild of the same version would be necessary.  There are a few things that could be checked to cover many such cases, but there will always be corner cases that make such detection highly impractical if not impossible.
Though *most* such cases would be do to changed library versions on which AUR sourced and compiled binaries depend.  A process like the following could detect candidates:
1) pacman -Qqm for a list of packages not in the main repos
2) For each package from (1) run pacman -Ql <pkg> and search for binaries.
3) For each binary from step two, run ldd on it to get the list of libs needed
4) Check each lib from 3 to see if it still exists, if not, the package needs rebuilding
This should cover many cases, but then there are likely other causes of a need of a rebuild.  For a moment I thought about java vm updates, but actually I don't think this would be the case.  With a JRE update it will either maintain backward compatibility or the java apps would have to be revised anyhow - a simple rebuild of the same version wouldn't help (I *think*, but what I know about java could fit on the back of a very small postage stamp).
EDIT: I can't think of a time that I was ever in this situation.  I have ~20 AUR packages installed and have for some time and I have never needed to rebuild the *same* version of one of them due to updates to other packages.  Have you been in such a situation?  What was the package?
Last edited by Trilby (2014-09-11 11:02:14)

Similar Messages

  • Aurebuildcheck - checks if aur packages need rebuild

    Hi everyone, I made a small script which checks locally installed packages for missing dependencies using ldd.
    The script basically gets the list of files contained in local packages and runs ldd on the files to check if dependencies are missing (kinda like findbrokenpkgs or lddd found in "devtools").
    However, since it only checks the files of local packages, it's much faster than lddd or findbrokenpkgs which check all packages.
    The aur package is called aurebuildcheck-git and can be found at https://aur.archlinux.org/packages/aurebuildcheck-git/ .
    Have fun.

    Ok, thank you!
    It's a bit more hacky now, and a bit slower.
    localpackages=`pacman -Qqm`
    localpackagesamount=`echo $localpackages | wc -w`
    echo -e "${localpackagesamount} packages will be checked...\n"
    brokenpkgs=""
    localpackages=`pacman -Qqm`
    for package in $localpackages ; do
    BROKEN="false"
    echo "checking ${package}..."
    packagefiles=`pacman -Qql $package | grep -v "\.a\|\.png\|\.la\|\.ttf\|\.gz\|\.html\|\.css\|\.h\|\.xml\|\.rgb\|\.gif\|\.wav\|\.ogg\|\.mp3\|\.po\|\.txt\|\.jpg\|\.jpeg"`
    IFS=$'\n'
    for file in $packagefiles; do
    if (( $(file $file | grep -c 'ELF') != 0 )); then
    # Is an ELF binary.
    libs=`readelf -d "${file}" | grep "NEEDED.*\[.*\]" | awk '{print $5}' | sed -e "s/\[//" -e "s/\]//"`
    for lib in ${libs} ; do
    # needed libs
    if [ -z `whereis ${lib} | awk '{print $2}'` ] ; then
    # Missing lib.
    echo -e "\t ${RED}${file}${NC} needs ${REDUL}$lib${NC}" # >> $TEMPDIR/raw.txt
    BROKEN="true" # to avoid packages being listed in the brokenpkg array several times
    fi
    done
    fi
    done
    if [[ ${BROKEN} == "true" ]] ; then
    brokenpkgs="${brokenpkgs} ${package}"
    fi
    done

  • Help to find a package

    Does any body knows where is the com.sun.xml package??? I need the XMLDocument class, buy i don't find it.
    thanks

    Watch here:
    http://java.sun.com/xml/downloads/javaxmlpack.html
    Hope this helps.

  • Patchrm - cannot find backout packages - need to uninstall

    hi there,
    I am trying to install patch 113713-20 which came native with the Solaris 2.9 OS. Instead I want to install an earlier version of the patch - 113713-17
    When I try to uninstall the patch, I get the following
    # patchrm 113713-20
    Checking installed patches...
    Cannot find the backout packages for 113713-20 at none.113713-20 cannot be backed out.
    Patchrm is terminating.
    Is there anyway for me to remove this patch and install the earlier version ?thanks in advance.

    I don't think that's possible. You might want to go to an earlier release of Solaris 9 and install the patch provided it is a step-up from the base rev.

  • Help to find the package javaChart.jar

    it's same as topic
    thanks so much

    hi, thanks for your response, I have tried to find it in there, but it failed. so if you provide the concrete link is so mind

  • Shfs package needs rebuild

    I apologize if this is in the wrong forum heading. The shfs package currently installs kernel modules for 2.6.22 which is no longer the current kernel. Should I file a bug report or flag the package as outdated?

    You better use sshfs, it's a FUSE based SSH file system which means it doesn't depend on the kernel.
    There's a package in extra and the homepage is http://fuse.sourceforge.net/sshfs.html

  • Where to find the jars needed

    Hi,
    I downloaded a sample code for search engine. I'm not able to compile the code as the import statement fails for the below jar. Please help me finding the jars needed.
    import com.sapportals.wcm.service.indexmanagement.*;
    import com.sapportals.wcm.service.indexmanagement.retrieval.search.*;
    import com.sapportals.wcm.service.indexmanagement.ISupportedOptionSet;
    import com.sapportals.wcm.service.indexmanagement.SupportedOptionSet;
    Naveen

    Hi Naveen,
        Few of the jars u can find here:
    portalapps/com.sap.km.cm.service/service/private/lib/km.appl.service.indexmanagement_core.jar
    portalapps/com.sap.km.cm.service/private/lib/km.appl.service.indexmanagement_core.jar
    portalapps/com.sap.km.cm.service/lib/km.shared.service.indexmanagement_api.jar
    You can find portalapps folder here:
    \usr\sap\<SID>\JC<System Number>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\
    Its better to use jar class finder. You can download from here:
    http://www.alphaworks.ibm.com/aw.nsf/reqs/jarclassfinder
    For info on how to use it see this blog:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951
    Regards,
    Pooja.
    Message was edited by:
            Pooja S
    Message was edited by:
            Pooja S

  • Need help in finding tcode - in user exits

    hi experts
    in user exits, i can find many exits name using <b>SPRO </b>or <b>SMOD</b>. and by this i can find the package also.
    my question is how to know where these exits are exactly used, ie., in which transaction these exits are used.
    is there any way to find out the tcode, if we know exit name.
    thanks
    akila

    Hi
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    Suppose you need to find out all the user exits related to a tcode.
    1. Execute the Tcode.
    2. Open the SAP program.
    3. Get the Development Class.
    4. Execute Tcode SE84.
    5. Open the Node 'Envir. -> Exit Techniques -> 'Customer Exits -> Enhancements'
    6. Enter the Development class and execute.
    Check out this thread..
    The specified item was not found.
    1. Type the transaction : system->status-> <PROG. NAME>
    2 open SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
    3. Open CMOD utilities->SAP enhancements
    EDIT->All selections
    4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.
    5. The displayed list contains the enhancements names for the transaction You were looking for.
    6. Create a project in CMOD and the code in default include->activate.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    For information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.planetsap.com/userexit_main_page.htm
    User-Exits
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm
    Reward points for useful Answers

  • Need help for finding objects impacted by size change for an infoobject

    hi all,
    need help for finding objects impacted by size change
    for xxx infoobject, due to some requirements, the size to be changed from
    char(4) to char(10), in the source database tables as well as adjustment
    to be done in BI side.
    this infoobject xxx is nav attribute of YYY as well as for WWW
    infoobjects. and xxx is loaded from infopkg for www infoobject load.
    now that i have to prepare an impact analysis doc for BI side.
    pls help me with what all could be impacted and what to be done as a
    solution to implement the size change.
    FYI:
    where used list for xxx infoobject - relveals these object types :
    infocubes,
    infosources,
    tranfer rules,
    DSO.
    attribute of characteristic,
    nav attribute,
    ref infoobject,
    in queries,
    in variables

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

  • Need help for finding oracle payables tables

    Hi,
    I need help for finding tables relating fields INVOICE_ID, NOTIFICATION_ID and APPROVAL_STATUS or WFAPPROVAL_STATUS. I have searched a lot but has been unable to find any table containing all the above mentioned fields. I found the table WF_NOTIFICATIONS for INVOICE_ID, however have been unable to find the latest tables with INVOICE_ID and APPROVAL_STATUS as fields.
    All the tables having this combination are either very old tables which are not used anymore or doesnt give the required data. Please let me know where am i going wrong. Once i get the required tables, i need to join the tables to get the required data with the imp fields. Also, the values of WFAPPROVAL_STATUS are not very clear to me. I need values for it as APPROVED, REJECTED AND INITIATED.

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

  • Need help with testing a package with Junit

    Hi guys,
    I am currently testing a bunch of files under a particular package. I have compiled all the files in this package successfully. I have written a testcase file which is in the folder above the package folder. I am using Junit to test this. I am getting errors stating that Java cannot find the package.
    To explain in detail.....My package name is coinbox which contain some classes which need to be tested. These files are in the folder "coinbox". My testcase file is in the folder which is directly above this folder. My testcase file has the statement import coinbox.* which will import all the classes in the coinbox package;
    But I am getting an error stating that the package coinbox cannot be found. I tried adding the package path to the CLASSPATH variable but still it isnt working.
    The command am using to run the Junit test cases is as follows:
    javac -cp junit.jar;junit.samples.CoinBoxTest-d CoinBoxTest.java
    Any help or suggestions regarding will be appreciated. The coinbox package is not being detected by java.
    Thanks in advance.
    Edited by: calvin_nr on Sep 30, 2007 5:12 PM

    It smells like a classpath problem. Post a sample of the code you are testing, the package statement in particular and the directory structure where the .class files are.

  • Where can i find solaris 11 SUNWscpux package. needed for netbackup

    i am installing netbackup master/media server on solaris 11 11/11 sparc. i need to backup an exchange 2010 server using GRT recovery. this depends on a netbackup process on the solaris side called, nbfsd. this process will not start because it is looking for
    librpcsos.so.1. as you can see below when i try to run it by hand:
    nbfsd -d -v 5 -j 123 -B rgex03_123456789
    ld.so.1: nbfsd: fatal: librpcsoc.so.1: open failed: No such file or directory
    from what i can tell this library is included in the SUNWscpux package which is the old /usr/ucblib and /usr/ucb/bin stuff.
    http://docs.oracle.com/cd/E23823_01/html/816-5173/librpcsoc-3libucb.html
    i cannot seem to find this package on the solaris 11 installation iso i downloaded.
    does anyone know where i can find this package? i know netbackup shouldn't be linking against this obsolete package that is probably going away soon but i need to get this up and running.
    thanks in advance for any help.
    -al
    [email protected]
    Edited by: 952169 on Aug 10, 2012 4:18 PM
    Edited by: 952169 on Aug 10, 2012 7:04 PM

    i figured out how to get the ucb compatibility package installed on solaris 11 and now netbackup is happy.
    i searched the solaris 11 package site at:
    http://pkg.oracle.com/solaris/release/en/index.shtml
    for the library that was misssing and saw the package name is:
    compatibility/ucb
    the command:
    pkg install compatibility/ucb
    installed the package for me.
    Edited by: al.marti on Aug 11, 2012 7:55 AM

  • Windows has the following information about this file type. This page will help you find software needed to open your file. Cannot get SEO quale loaded please help

    I cannot download as I keep getting this when I try
    Windows has the following information about this file type. This page will help you find software needed to open your file.
    File Type: Firefox Browser Extension
    File Extension: .xpi
    Description: Compressed archive of primary file installation components – used by the Mozilla installer script to setup and install various applications. You may search the following Web site for related software and information:
    Please advise how I go about downloading

    despite the workaround, it doesn't fix the real problem. It shouldn't be a huge deal for adobe to add support for multiple svn versions. Dreamweaver is the first tool i've used that works with svn that doesn't support several types of svn meta data. If they're going to claim that Dreamweaver supports svn is should actually support svn, the current version, not a version several years old. This should have been among the first patches released, or at least after snow leopard came out (and packaged with it the current version of svn).
    does anyone know if the code that handles meta data formatting is something that is human readable, or where it might be, or is it in compiled code.
    i signed up for the forums, for the sole purpose of being able to vent about this very frustrating and disappointing situation.

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Need help in finding a font for a logo

    I was looking for help in finding a font for my logo. I'm not a designer at all, so I'm calling on all the fine designers and folks on the Adobe site to help me out. All replies are, of course, appreciated and any suggestions/comments/ideas will be welcome.
    I'm designing a logo for my film company. I wanted to keep it simple but not boring either. I put together the first draft of the logo using Photoshop CS3 and used Trajan Pro for the film company words (Panthera Films) and used Futura for the slogan ("Inspiration through Imagination"). While I don't mind the fonts, it's simple but, alas, too boring. I love the panther image but need a dynamic font for "Panthera Films" and a complimenting font for the slogan. 
    Can anyone recommend a good combination of fonts to replace the Trajan Pro and Futura? As well, I want to give the logo a nice presence without it being too loud, bold or jumping off the page. As well, should the font for "Films" be the same as "Panthera" or can they be different?
    The image I attached is something I was thinking to use as a banner on a website.
    Any help would be appreciated too with this
    TIA,
    Dale

    Dale,
    As I said, I like it too.
    You may consider making it a bit heavier, maybe bold, for readability at small sizes.
    It is hard to recommend a specific font because it should represent your company and what it stands for. Have you tried typing the name in a word processing application (Worst or something better) and then running through all the font you have? If not, that might give you a few new thoughts about the overall kind of font you feel is the right one. And then it is much easier to recommend something.

Maybe you are looking for