Do I need glibc and coreutils in PKGBUILD depends?

I'm submitting a package to the AUR and the only two packages it depends on are glibc and coreutils. The Arch wiki says (basically) not to include packages that are guaranteed to already be on everyone's system. Since both of those packages are essential packages and part of the base group, do I need to include them in the depends array of the PKGBUILD, or can I just leave it empty?
PS: I apologize if this has been asked before, but I couldn't find anything specific when I searched for this.
Last edited by lb.laboon (2015-02-14 16:57:22)

Scimmia wrote:
There's no official policy about including packages from the base group. Some packagers include them, others don't. Personally, I'm in the "include them" camp.
Note that base-devel is only assumed at build time, not at run time.
Allan wrote:Include them.  Although an Arch system without glibc has issues...
Ok, based on both of your input and looking at other packages, I think I will include glibc but not coreutils. If I do 'pacman -Qi coreutils' on my system there's only 5 packages that list it as a dependency, as opposed to ~50 that list glibc. Plus, the only reason it needs coreutils is for cp and rm, and a system without those commands probably can't even run a package manager let alone install my package
Thanks!

Similar Messages

  • Glibc and linux-lts-headers

    Hi,
    I'm using linux lts in my archlinux installation, so I think I don't need linux-api-headers. Thing is glibc depends on linux-api-headers.
    Can I switch dependences to linux-lts-headers safely and replace glibc with a custom PKGBUILD from abs? That package is the only one stopping me to remove linux-api-headers.
    I'll appreciate your help.
    Thanks.

    really? I always thought linux-lts-headers and linux-api-headers are the same but for different kernels :-P.
    Thanks for clearing this up to me. I guess I won't need to modify anything then.
    Regards!
    Last edited by unformatt (2012-07-12 15:47:43)

  • How do i recompile whole system with glibc and gcc from test

    I always run testing and hence upgraded all my system a couple of days back. How ever one pprogram i use very often, BLENDER isn't working after i upgraded glibc and gcc4. I have recompiled it but when I get all this errors when i start it http://bbs.archlinux.org/viewtopic.php?t=21825.
    I think i need to rcompile all its dependant programs with new glibc and gcc from testing also. Problem is I dentifying which programs to compile is proving a pain as the dependant programs also depend on other programs etc...
    Is there a way to recompile my whole system without having to do it one by one?

    if you want to compile everything, gentoo is an option. But abs is excellent too.
    P.S. Gentoo's compilation drove me out of it

  • [SOLVED] glibc and filesystem simultaneous upgrade

    Hi!
    I wanted to upgrade my archlinux system today (last update mid of may) and I have some problems to do it. The system has to update more than 550 packages and I'm having some problems with the process...
    If I use:
    pacman -Syu
    I got the error message:
    error: failed to commit transaction (conflicting files)
    glibc: /lib exists in filesystem
    filesystem: /var/lock exists in filesystem
    filesystem: /var/run exists in filesystem
    Errors occurred, no packages were upgraded
    Then, I tried with:
    pacman -Syu --ignore glibc
    and I got:
    error: preparing the transaction (dependences cannot be satisfied)
    :: libcanberra-pulse: needs libcanberra=0.28-4
    :: pyqt: needs python-sip
    Then, I tried:
    pacman -Syu --ignore filesystem && pacman -S filesystem --force
    and I got:
    error: failed to commit transaction (conflicting files)
    glibc: /lib exists in filesystem
    Errors occurred, no packages were upgraded
    Does anybody know how can I update the system?
    Thanks for the help!
    Last edited by pepito_20110623 (2012-07-15 23:09:45)

    pepito_20110623 wrote:
    progandy wrote:What is the error?
    pacman -Su
    error: error at transaciton (files in conflict)
    glibc: /lib exists in filesystem
    Errors ocurred, packages were not upgraded
    [root@pedrito lib]# find /lib -exec pacman -Qo -- {} +
    error: no puedo determinar el dueño del directorio '/lib'
    /lib/libnss_nisplus-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libcidn.so.1 es propiedad de glibc 2.16.0-1
    /lib/libnsl.so.1 es propiedad de glibc 2.16.0-1
    /lib/librt.so.1 es propiedad de glibc 2.16.0-1
    /lib/libdl.so.2 es propiedad de glibc 2.16.0-1
    /lib/libnsl-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_db.so.2 es propiedad de glibc 2.16.0-1
    /lib/libutil.so.1 es propiedad de glibc 2.16.0-1
    /lib/libBrokenLocale-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_files-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libcrypt-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_dns-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libresolv.so.2 es propiedad de glibc 2.16.0-1
    /lib/libnss_dns.so.2 es propiedad de glibc 2.16.0-1
    /lib/librt-2.16.so es propiedad de glibc 2.16.0-1
    /lib/ld-linux.so.2 es propiedad de glibc 2.16.0-1
    /lib/libanl-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libmemusage.so es propiedad de glibc 2.16.0-1
    /lib/libnss_compat.so.2 es propiedad de glibc 2.16.0-1
    /lib/libpthread.so.0 es propiedad de glibc 2.16.0-1
    /lib/libutil-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_files.so.2 es propiedad de glibc 2.16.0-1
    /lib/libthread_db.so.1 es propiedad de glibc 2.16.0-1
    /lib/libc-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libdl-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libpthread-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libanl.so.1 es propiedad de glibc 2.16.0-1
    /lib/libcidn-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libSegFault.so es propiedad de glibc 2.16.0-1
    /lib/libresolv-2.16.so es propiedad de glibc 2.16.0-1
    /lib/ld-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libBrokenLocale.so.1 es propiedad de glibc 2.16.0-1
    /lib/libnss_nisplus.so.2 es propiedad de glibc 2.16.0-1
    /lib/libnss_nis.so.2 es propiedad de glibc 2.16.0-1
    /lib/libm-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libcrypt.so.1 es propiedad de glibc 2.16.0-1
    /lib/libnss_db-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_nis-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libthread_db-1.0.so es propiedad de glibc 2.16.0-1
    /lib/libnss_compat-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_hesiod-2.16.so es propiedad de glibc 2.16.0-1
    /lib/libnss_hesiod.so.2 es propiedad de glibc 2.16.0-1
    /lib/libc.so.6 es propiedad de glibc 2.16.0-1
    /lib/libm.so.6 es propiedad de glibc 2.16.0-1
    /lib/libpcprofile.so es propiedad de glibc 2.16.0-1
    [root@pedrito lib]# grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
    /var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/
    /var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/
    /var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/LICENSE.ipw3945-ucode
    /var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/ipw3945.ucode
    I found the solution!!! I just moved the folder /var/lib/pacman/local/ipw3945-ucode-1.14.2-2 to another place and pacman -Su is working now!!!
    Thanks to you all, guys! :-D

  • Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split i have a new laptop and now it keeps asking for the old ID or it'll erase my apps bought on theold account.

    Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help

    See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
    Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
    It depends on how amicable the split is...
    tt2

  • I am signed into the App Store on my iphone 4 and one of my apps need updating and my brother was signed into it but its like its locked to his Apple ID I have tried signing out and turning my phone off its just not working

    I am signed into the App Store on my iphone 4 and one of my apps need updating and my brother is signed into it because I didn't have any credit to make an ID so he signed in so I could download apps but its like its locked to his Apple ID I have tried signing out and turning my phone off its just not working please help.

    Apps are locked to the Apple ID that was used to download them. You will have to sign in as your brother in order to update it.

  • I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    It's almost certainly too late.
    The time to create a backup is before a catastrophe.  After a catastrophe, it's too late.

  • I need advise and help with this problem . First , I have been with Mac for many years ( 14 to be exact ) I do have some knowledge and understanding of Apple product . At the present time I'm having lots of problems with the router so I was looking in to

    I need advise and help with this problem .
    First , I have been with Mac for many years ( 14 to be exact ) I do have some knowledge and understanding of Apple product .
    At the present time I'm having lots of problems with the router so I was looking in to some info , and come across one web site regarding : port forwarding , IP addresses .
    In my frustration , amongst lots of open web pages tutorials and other useless information , I come across innocent looking link and software to installed called Genieo , which suppose to help with any router .
    Software ask for permission to install , and about 30 % in , my instinct was telling me , there is something not right . I stop installation . Delete everything , look for any
    trace in Spotlight , Library . Nothing could be find .
    Now , every time I open Safari , Firefox or Chrome , it will open in my home page , but when I start looking for something in steed of Google page , there is
    ''search.genieo.com'' page acting like a Google . I try again to get raid of this but I can not find solution .
    With more research , again using genieo.com search eng. there is lots of articles and warnings . From that I learn do not use uninstall software , because doing this will install more things where it come from.
    I do have AppleCare support but its to late to phone them , so maybe there some people with knowledge , how to get this of my computer
    Any help is welcome , English is my learned language , you may notice this , so I'm not that quick with the respond

    Genieo definitely doesn't help with your router. It's just adware, and has no benefit to you at all. They scammed you so that they could display their ads on your computer.
    To remove it, see:
    http://www.thesafemac.com/arg-genieo/
    Do not use the Genieo uninstaller!

  • I only need Illustrator and photoshop rather than all of the applications?

    Hi,
    I'm looking in to using Creative Cloud but i already have InDesign CS6 so i would only need Illustrator and photoshop.
    Can you just get the two application or do you have to get the full Creatyive Suite?
    And what are the cost for this?
    Thanks,
    David Stubbs

    Hi there,
    You can indeed purchase a Single App membership, see this link. Pricing is listed on the Creative Cloud Plans page. But honestly, once you are paying for two single app memberships you are close enough to the price of a full Creative Cloud membership that you'll probably want to go that route (and get access to additional apps, services, and more).
    --- Ben

  • HT1222 I would like to be able to delete more then just one email at a time. I get a lot of mail that needs deleted and takes a long time to do. Would like to do 10 email deletes at a time on my iPad. Can you help me.

    I would like to be able to delete more then just one email at a time. I get a lot of mail that needs deleted and takes a long time to do. Would like to do 10 email deletes at a time on my iPad. Can you help me.

    open inbox
    tap Edit on top right of list.
    tap each email to check it off.  Then tap trash.   then 'trash selected mesages"
    done

  • The product that I purchased is not working!!!! I need help and I've been stuck in your "Contact us loop" for the last few days and I'm getting frustrated. How do I contact you for HELP!

    The product that I purchased is not working!!!! I need help and I've been stuck in your "Contact us loop" for the last few days and I'm getting frustrated. How do I contact you for HELP!

    Probably the best place to start is the right forum for your product. This is the forum for Distiller Server, a long dead product used by big companies, and probably not what you have. If you can't find the right forum, please let us know the FULL name of what you paid for (please check your invoice, as Adobe have many similar products), and we can perhaps direct you. Good luck!

  • How can i upgrade my iPhoto 7.1.5 to a newer version? the download 8.02 will not work as i need 8 and that isn't available on download on the site?

    How can i upgrade my iPhoto 7.1.5 to a newer version? the download 8.02 will not work as i need 8 and that isn't available on download on the site?
    Thanks x

    You can upgrade to iPhoto '11 with OS X 10.8.5 by purchasing an iPhoto '11 DVD from Amazon, eBay or other source - or you can upgrade your OS to Mavericks for free if your system meets the requirements and then purchase the upgrade to iPhoto '11 version 9.5.x from the App store - in either case backup first in case of problems
    LN

  • I am trying to clear files from my computer. I have a bunch of .m4v protected files that will not delete. They are lectures from college that I do not need anymore and would like to delete them to make room on my computer.

    I am trying to clear files from my computer. I have a bunch of .m4v protected files that will not delete. They are lectures from college that I do not need anymore and would like to delete them to make room on my computer. I have looked at the help sites and they seem to give directions to change files that people are saving in the future and not regarding past files. I am unable to change anything about the file including the name, so I can not change these past files from .m4v to something else which is deletable such as .mp4 etc. Any help would be much appreciated!!!!

    Well, most of what we can tell you is already stated in the message you are getting.  A phone can only sync with one library at a time.  You have apparently synced your phone with a different iTunes library in the past, or changes have been made to this library so the phone no longer recognizes it as the library with which it was synced.  To know which you will have to provide the information.
    If you bought them using the AppleID you use with this phone it may simply be easier to re-download them directly to the phone rather than sync them, though you will want to resolve that issue at some point.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519

  • When i go to the app store to update the one app that needs to be updated, the screen is blank.  It used to list all the apps that need updating and have a button called update all.  Now nothing.  Just a blank screen.

    when i go to the app store to update the one app that needs to be updated, the screen is blank.  It used to list all the apps that need updating and have a button called update all.  Now nothing.  Just a blank screen.  How can I fix this?

    There's been a problem with this all day.  Seems to be a server problem  -  wait a day and try again, or use itunes on the computer to update, that works.

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

Maybe you are looking for