Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34678 - Sage pkg contains a lot of unused temporary and build files and dirs

Attached to Project: Community Packages
Opened by Maxim (petRUShka) - Monday, 08 April 2013, 09:30 GMT
Last edited by Daniel Wallace (gtmanfred) - Thursday, 23 May 2013, 00:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel Wallace (gtmanfred)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ du /opt/sage/devel/sage-main/build -h --max-depth=1
93M /opt/sage/devel/sage-main/build/lib.linux-x86_64-2.7
138M /opt/sage/devel/sage-main/build/sage
476M /opt/sage/devel/sage-main/build/temp.linux-x86_64-2.7
706M /opt/sage/devel/sage-main/build

A believe that all of this data can be erased and definitely shouldn't eat my root partition free space

yaourt -Qo /opt/sage/devel/sage-main/build/temp.linux-x86_64-2.7/sage/algebras/letterplace/free_algebra_element_letterplace.o
/opt/sage/devel/sage-main/build/temp.linux-x86_64-2.7/sage/algebras/letterplace/free_algebra_element_letterplace.o is owned by sage-mathematics 5.8-1

Additional info:
* sage-mathematics 5.8-1

Steps to reproduce:
This task depends upon

Closed by  Daniel Wallace (gtmanfred)
Thursday, 23 May 2013, 00:43 GMT
Reason for closing:  Deferred
Additional comments about closing:  Waiting for sage to be cleaned up
Comment by Antonio Rojas (arojas) - Monday, 08 April 2013, 11:28 GMT
/opt/sage/devel/sage-main/build/sage can't be removed, it will break the installation. lib.linux-x86_64-2.7 and temp.linux-x86_64-2.7 can probably be removed, I've been doing it for ages in the sage-mathematics-devel package and nobody has ever complained. They could be needed to build extra spkgs, but in that case you shouldn't be using the precompiled sage package to start with.
Comment by Maxim (petRUShka) - Monday, 08 April 2013, 12:15 GMT
It's so strange for something to depend on stuff named like `temp.*`. Free space on my root partition was over and I've started research what is the biggest space consumers on my root. One of the first place is Sage with very strange build/* folder with a lot of files that seems to be unused.
Comment by Daniel Wallace (gtmanfred) - Wednesday, 17 April 2013, 01:21 GMT
I do not feel comfortable removing these files, I am using the provided --dist flag to remove anything unneeded.

I am waiting for fedora to finish their splitting of sage into multiple packages, when that happens I will try and split it up like they do.

Until then I am going to continue to use the provided dist flag

Loading...