Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462694

Summary: Unhandled IO error in NFS on Solaris: IOError: [Errno 46] No record locks available
Product: Portage Development Reporter: Richard Yao (RETIRED) <ryao>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Solaris   
URL: http://docs.oracle.com/cd/E19455-01/806-1075/msgs-1784/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 462382    
Attachments: Failure from one of the affected ebuilds

Description Richard Yao (RETIRED) gentoo-dev 2013-03-22 14:51:50 UTC
Created attachment 342910 [details]
Failure from one of the affected ebuilds

I was rebuilding world with --jobs on Solaris when several builds failed because of an IOError. Oracle's documentation says:

Perhaps a process called fcntl(2) with the F_SETLK or F_SETLKW option, and the system maximum was exceeded. The system contains several different locking subsystems, including fcntl(2), the NFS lock daemon, and mail locking. All subsystems can produce this error.

EPREFIX was on NFS while PORTAGE_TMPDIR was on UFS.
Comment 2 Fabian Groffen gentoo-dev 2013-03-24 10:29:33 UTC
Prefix portage with fix committed
Comment 3 Zac Medico gentoo-dev 2013-03-27 17:07:30 UTC
This is fixed in 2.1.11.59 and 2.2.0_alpha170.