Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#22408 - add an option to exclude statically built libraries
Attached to Project:
Pacman
Opened by Greg (dolby) - Wednesday, 12 January 2011, 06:49 GMT
Last edited by Allan McRae (Allan) - Wednesday, 12 January 2011, 09:50 GMT
Opened by Greg (dolby) - Wednesday, 12 January 2011, 06:49 GMT
Last edited by Allan McRae (Allan) - Wednesday, 12 January 2011, 09:50 GMT
|
DetailsSince the vast majority of packages make use of dynamically linked libraries, the statically built ones are uneeded and a waste of hard drive space and quite possibly other conserns.
However most packages provide them cause the packagers dont bother disabling them during build. I think it would be nice having an option like docs or zipman, which will be set to remove them by default and easily tuned to leave them in the package, eg. with !static. |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 12 January 2011, 09:50 GMT
Reason for closing: Won't implement
Additional comments about closing: see comments
Wednesday, 12 January 2011, 09:50 GMT
Reason for closing: Won't implement
Additional comments about closing: see comments
http://mailman.archlinux.org/pipermail/arch-general/2010-February/010724.html
JGC says:
"When we switch to glibc-based initramfs, there shouldn't be any need for static compiled binaries anymore, ever."
Is there any estimation how many of the built static libs are actually "needed" ?
Freetype and jpeg would be two according to the ML discussion above.
Right now in my core and extra abs tree !purge is only used by perl. It isnt even used for the /usr/share/info/dir file which i think was owned by glibc in the past.
PKGBUILDs specifically enabling static libs are db, lesstif, libjpeg and mhash which equals 4/2034 scripts while at the same time theres 302 .a files in my /usr/lib.
Overall, do you think such a feature is neeeded?
Anyway, discussing whether static libraries are needed is a distribution specific question and so not directly a makepkg/pacman issue. If a distribution decides to remove static libraries as much as possible and they find the purge option not a good fit, then I would consider adding a specific option for the removal of static libraries (like we have for libtool files). Closing as "Won't Implement" until such time.