From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Preliminary MIPS N32 port now available Date: Fri, 18 Oct 2013 23:25:30 -0400 Message-ID: <87eh7ikklx.fsf@netris.org> References: <871u3jmfkp.fsf@netris.org> <87bo2n3ruj.fsf@karetnikov.org> <8738nyyoxv.fsf@karetnikov.org> <87k3haklmx.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXNBg-0002o5-IT for guix-devel@gnu.org; Fri, 18 Oct 2013 23:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXNBa-0007Y8-1p for guix-devel@gnu.org; Fri, 18 Oct 2013 23:26:48 -0400 Received: from world.peace.net ([96.39.62.75]:46693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXNBZ-0007Wd-PY for guix-devel@gnu.org; Fri, 18 Oct 2013 23:26:41 -0400 In-Reply-To: <87k3haklmx.fsf@netris.org> (Mark H. Weaver's message of "Fri, 18 Oct 2013 23:03:18 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: guix-devel@gnu.org Mark H Weaver writes: > Hi Nikita, > > Nikita Karetnikov writes: > >> I tried to build =E2=80=98hello=E2=80=99 twice, and the following error = occurred each >> time: >> >> stripping binaries in >> "/nix/store/hl8khv4qip9nwbm1qm93irbz9has4wrd-gcc-cross-boot0-4.7.3/bin" >> with "strip" and flags ("--strip-debug") >> phase `strip' succeeded after 17 seconds >> error (ignored): aborting transaction: cannot rollback - no transaction = is active >> guix package: error: build failed: committing transaction: disk I/O error >> >> I guess something is wrong with my system, what should I check? > > I looked into this, and the problem is an incompatibility between SQLite > and JFS. When SQLite commits a transaction, it uses 'fsync' on a > directory, which is apparently not supported by JFS. This problem was > noticed by an AIX user back in 2008. It looks like they worked around > the problem by changing SQLite's behavior on AIX systems, but that > obviously doesn't help you. > > http://news.gmane.org/group/gmane.comp.db.sqlite.general/thread=3D39682 > > I think your best option is to switch back to ext3 or ext4. I looked further into this, and it seems that newer versions of SQLite handle this more gracefully. In the version I have on my home-grown system (sqlite-autoconf-3070603), it appears that they ignore this error. There's also a preprocessor define you can set called SQLITE_DISABLE_DIRSYNC. I still think it's probably a good idea to switch away from JFS, since you're likely to run into other problems like this, but if you really want to stick with JFS, compiling a newer version of SQLite and then reconfiguring and rebuilding Guix might get you past this immediate problem. Mark