FS#64248 - mesa package upgrade increases installed size by 400%

Attached to Project: Arch Linux
Opened by (zoidby) - Thursday, 24 October 2019, 18:44 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 06 November 2019, 22:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (2) lib32-mesa-19.2.2-1 mesa-19.2.2-1

Total Installed Size: 558,00 MiB
Net Upgrade Size: 412,93 MiB

:: Proceed with installation? [Y/n]

The previously installed versions were 19.2.1. The source packages mesa-19.2.1 and mesa-19.2.2 are both only 11MiB. Where does the increase in installed size come from?
Closed by  Evangelos Foutras (foutrelis)
Wednesday, 06 November 2019, 22:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa 19.2.3-1
Comment by Alexander Schnaidt (Namarrgon) - Thursday, 24 October 2019, 19:00 GMT
It's possible that this is just a new bug in makepkg as a result of this change: https://git.archlinux.org/pacman.git/tree/NEWS#n77

EDIT: It would be interesting to know on which filesystem the mesa package was built.
Comment by Laurent Carlier (lordheavy) - Thursday, 24 October 2019, 19:41 GMT
package has been built on an ext4 filesystem
Comment by Alexander Schnaidt (Namarrgon) - Thursday, 24 October 2019, 19:43 GMT
I can reproduce it on ext4. When extracted the files weigh in on about 82MB.

EDIT: The same for btrfs, so apparently it's not tied to the fs.
Comment by Evangelos Foutras (foutrelis) - Friday, 25 October 2019, 03:01 GMT
First comment got it right (size is inflated by hard links); I filed  FS#64252  for it.

Loading...