Article View: linux.debian.bugs.rc
Article #3620Bug#1154305: 0c-ime-data: FTBFS: autobuilder hangs
From: Santiago Vila
Date: Thu, 19 Nov 2026 16:30
Date: Thu, 19 Nov 2026 16:30
40 lines
3644 bytes
3644 bytes
severity 1154305 wishlist retitle 1154305 0c-ime-data: needs more RAM than the average package thanks On Thu, Nov 19, 2026 at 10:45:59PM +0800, Kevin Yen wrote: > 0c-compile from 0c-ime-tools reads about 37 million bigram pairs, and its > peak memory is about 7.4 GB. With a 4 GiB memory limit it is killed by the > OOM killer. On a 4 GB machine without swap it hangs instead, and it prints > nothing until it is done, so the build looked idle. > > The fix: > > - 0c-ime 0.2.13+ds-1 (new upstream release) has a 0c-compile that keeps > the peak under 3.5 GB. The compiled dictionary is byte-identical, so > the dictionary lock does not change. > - 0c-ime-data 0.0.git20261101-2 build-depends on that version and sets > GOMEMLIMIT=2000MiB for 0c-compile, which keeps the peak at about > 2.2 GB. > > I tested both in a sid container with 2 CPUs and a 4 GiB memory limit; > the build of 0c-ime-data finishes in less than 2 minutes. Hmm, I must say that a Debian package requiring 7.4 GB of RAM to build is ok. In fact, I use machines with diverse amounts of RAM, and I monitor Committed_AS parameter in /proc/meminfo during build so that a package is not attempted to be built on a machine having less RAM than the one the package allocates. I've tested again and the package builds ok on machines with 8GB of RAM with 12 GB of swap, so this was not a real FTBFS bug after all, but a small glitch in my autobuilding setup. Sorry for the false alarm. Feel free to close the bug without implementing any workaround in debian/rules (like the GOMEMLIMIT setting you mention), they are probably not required after all. Thanks.
Technical Details
Message-ID:
<O1dbj-cVbw-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O0Sgy-cJsU-45@gated-at.bofh.it> <O1bCx-cU7r-5@gated-at.bofh.it> <O0Sgy-cJsU-45@gated-at.bofh.it> <O1bCx-cU7r-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154305: 0c-ime-data: FTBFS: autobuilder hangs Date: Thu, 19 Nov 2026 17:30:01 +0100 Message-ID: <O1dbj-cVbw-5@gated-at.bofh.it> References: <O0Sgy-cJsU-45@gated-at.bofh.it> <O1bCx-cU7r-5@gated-at.bofh.it> <O0Sgy-cJsU-45@gated-at.bofh.it> <O1bCx-cU7r-5@gated-at.bofh.it> X-Original-To: Kevin Yen <k@funmula.com> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Thu Nov 19 16:25:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1154305@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: k@funmula.com X-Debian-Pr-Message: followup 1154305 X-Debian-Pr-Package: src:0c-ime-data X-Debian-Pr-Keywords: sid forky ftbfs confirmed X-Debian-Pr-Source: 0c-ime-data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Debian-User: sanvila X-Crossassassin-Score: 2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838860 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 40 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1154305@bugs.debian.org, control@bugs.debian.org X-Original-Date: Thu, 19 Nov 2026 17:23:47 +0100 X-Original-Message-ID: <av8ik3aywhZ1zaiZ@nuc> X-Original-References: <E1xTjwN-001yWg-1o@paradis.debian.org> <CAHPAZUdDo_qtAdFByjae+vXNUZJ_eGaQ59BpJAVwbGOr2sdXJg@mail.gmail.com> <E1xTjwN-001yWg-1o@paradis.debian.org> <CAHPAZUdDo_qtAdFByjae+vXNUZJ_eGaQ59BpJAVwbGOr2sdXJg@mail.gmail.com>