Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547104 - [sage-on-gentoo overlay] sage-doc-6.6 - installation failed because it needs more than 1000000 free inodes
Summary: [sage-on-gentoo overlay] sage-doc-6.6 - installation failed because it needs...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: François Bissey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-19 14:38 UTC by Juergen Rose
Modified: 2017-08-01 07:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-04-19 14:38:36 UTC
The installation of sage-doc-6.6 fails here on two laptops, where the /var/tmp partition hat 16 GB and 1048576 inodes.

I am starting with almost empty /var/tmp partition:

root@lynx:/root(6)# df -i
Filesystem                   Inodes   IUsed     IFree IUse% Mounted on
none                         982555    1642    980913    1% /run
udev                         981903    1585    980318    1% /dev
tmpfs                        982555       6    982549    1% /dev/shm
/dev/sda6                   8388608 1576391   6812217   19% /
tmpfs                        982555      10    982545    1% /sys/fs/cgroup
/dev/mapper/vg0-data        8388608  156940   8231668    2% /data_lynx
/dev/mapper/vg0-src          786432  411506    374926   53% /usr/src_lynx
/dev/mapper/vg0-opt          786432    4341    782091    1% /opt
/dev/mapper/vg0-home       25313280  417243  24896037    2% /home_lynx
/dev/mapper/vg0-tmp          524288     102    524186    1% /tmp
/dev/mapper/vg0-ftp       134119968    2367 134117601    1% /home_lynx/ftp
/dev/mapper/vg0-var          786432  212843    573589   28% /var
/dev/mapper/vg0-vtmp        1048576     284   1048292    1% /var/tmp
/dev/mapper/vg0-portage      200704  181280     19424   91% /usr/portage_lynx
/dev/mapper/vg0-distfiles     32768   19112     13656   59% /usr/local/portage/distfiles_lynx
tmpfs                        982555       4    982551    1% /run/user/0
tmpfs                        982555      29    982526    1% /run/user/1203

Then I start 'emerge -v1 sage-doc':

root@lynx:/root(7)# emerge -v1 sage-doc
...
>>> Install sage-doc-6.6 into /var/tmp/portage/sci-mathematics/sage-doc-6.6/image/ category sci-mathematics
 * python2_7: running distutils-r1_run_phase python_install

At this point I do not see for one and a half hour any changes until it continues with:

/usr/bin/install: cannot create regular file ‘/var/tmp/portage/sci-mathematics/sage-doc-6.6/image//usr/share/doc/sage/output/html/fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/2250.png’: No space left on device
!!! doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/2250.png does not exist
/usr/bin/install: cannot create regular file ‘/var/tmp/portage/sci-mathematics/sage-doc-6.6/image//usr/share/doc/sage/output/html/fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/0061.png’: No space left on device
!!! doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/0061.png does not exist
...
^C

Exiting on signal 2
sandbox:stop  caught signal 2 in pid 27005
 * QA Notice: file does not exist:
 * 
 *      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/2250.png does not exist
 *      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/0061.png does not exist
 *      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/27FA.png does not exist
 *      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/120/00B0.png does not exist
...
*      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/238/2198.png does not exist
 *      doins: fr/a_tour_of_sage/_static/fonts/HTML-CSS/TeX/png/Main/Regular/238/002B.png does not exist
/usr/lib/portage/python2.7/misc-functions.sh: line 550: /var/tmp/portage/sci-mathematics/sage-doc-6.6/.die_hooks: No space left on device
Traceback (most recent call last):
  File "/usr/lib/portage/python2.7/ebuild-ipc.py", line 282, in <module>
    sys.exit(ebuild_ipc_main(sys.argv[1:]))
  File "/usr/lib/portage/python2.7/ebuild-ipc.py", line 279, in ebuild_ipc_main
    return ebuild_ipc.communicate(args)
  File "/usr/lib/portage/python2.7/ebuild-ipc.py", line 136, in communicate
    lock_obj = portage.locks.lockfile(self.ipc_lock_file, unlinkfile=True)
  File "/usr/lib64/python2.7/site-packages/portage/locks.py", line 107, in lockfile
    myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
  File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 259, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 28] No space left on device: '/var/tmp/portage/sci-mathematics/sage-doc-6.6/.ipc_lock'
 * The ebuild phase 'die_hooks' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).
 * Normally, before exiting, bash should have displayed an error message
 * above. If bash did not produce an error message above, it's possible
 * that the ebuild has called `exit` when it should have called `die`
 * instead. This behavior may also be triggered by a corrupt bash binary or
 * a hardware problem such as memory or cpu malfunction. If the problem is
 * not reproducible or it appears to occur randomly, then it is likely to
 * be triggered by a hardware problem. If you suspect a hardware problem
 * then you should try some basic hardware diagnostics such as memtest.
 * Please do not report this as a bug unless it is consistently
 * reproducible and you are sure that your bash binary and hardware are
 * functioning properly.


In a second window I was running 'while true ; do df -i | grep /var/tmp;  genlop -c ; date ; sleep 10 ; done', which shows:

root@lynx:/var/tmp/portage(14)# while true ; do df -i | grep /var/tmp;  genlop -c ; date ; sleep 10 ; done
/dev/mapper/vg0-vtmp                         1048576   12500   1036076    2% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 minute and 15 seconds.
       ETA: 30 minutes and 1 second.
Sun Apr 19 14:42:35 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576  149963    898613   15% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 9 minutes and 20 seconds.
       ETA: 21 minutes and 56 seconds.
Sun Apr 19 14:50:40 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576  320909    727667   31% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 9 minutes and 52 seconds.
       ETA: 21 minutes and 24 seconds.
Sun Apr 19 14:51:12 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576  534169    514407   51% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 10 minutes and 36 seconds.
       ETA: 20 minutes and 40 seconds.
Sun Apr 19 14:51:56 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576  680813    367763   65% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 33 minutes and 44 seconds.
       ETA: any time now.
Sun Apr 19 15:15:04 CEST 2015
/dev/mapper/vg0-vtmp                         1048576  987849     60727   95% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 22 minutes and 22 seconds.
       ETA: any time now.
Sun Apr 19 16:03:43 CEST 2015
...
dev/mapper/vg0-vtmp                         1048576 1031736     16840   99% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 29 minutes and 55 seconds.
       ETA: any time now.
Sun Apr 19 16:11:15 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576 1038180     10396  100% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 31 minutes.
       ETA: any time now.
Sun Apr 19 16:12:20 CEST 2015
...
/dev/mapper/vg0-vtmp                         1048576 1046867      1709  100% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 32 minutes and 26 seconds.
       ETA: any time now.
Sun Apr 19 16:13:46 CEST 2015
/dev/mapper/vg0-vtmp                         1048576 1047958       618  100% /var/tmp

 Currently merging 2 out of 2
/dev/mapper/vg0-vtmp                         1048576 1046867      1709  100% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 32 minutes and 26 seconds.
       ETA: any time now.
Sun Apr 19 16:13:46 CEST 2015
/dev/mapper/vg0-vtmp                         1048576 1047958       618  100% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 32 minutes and 36 seconds.
       ETA: any time now.
Sun Apr 19 16:13:56 CEST 2015
/dev/mapper/vg0-vtmp                         1048576 1048576         0  100% /var/tmp

 Currently merging 2 out of 2

 * sci-mathematics/sage-doc-6.6 

       current merge time: 1 hour, 32 minutes and 47 seconds.
       ETA: any time now.
Sun Apr 19 16:14:07 CEST 2015



Is there any possibility to modify sage-doc that it needs less inode? Erasing of temporary files?
Comment 1 François Bissey 2016-04-22 21:38:24 UTC
I have been working on slimming down the doc, is it still a problem?