You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ patchelf --remove-needed libX11.so.6 /nix/store/fam0x73kkn6086sl7g8x01yhz7pl2b1l-ati-drivers-15.12/lib/fglrx_dri.so
stat: Value too large for defined data type
From what I gather on the net, there's possible 64-bit safety issues with stat that require setting the one or other define before including the necessary headers. In particular, the inode of the file is >32 bit:
$ ls -i /nix/store/fam0x73kkn6086sl7g8x01yhz7pl2b1l-ati-drivers-15.12/lib/fglrx_dri.so
5479035664 /nix/store/fam0x73kkn6086sl7g8x01yhz7pl2b1l-ati-drivers-15.12/lib/fglrx_dri.so
The filesystem is a 1.4T xfs on top of lfs:
/dev/mapper/vg0-data0 on /nix/store type xfs (ro,relatime,attr2,inode64,noquota)
(those are the nixos default options)
Doing
mount -o remount,inode32 /
nix-store --delete <unpacked ati source>
To guarantee that the unpacked files get inodes representable as 32 bit numbers fixes things for me.
The text was updated successfully, but these errors were encountered:
This should be fixed in master in commit a4d2166 which added -D_FILE_OFFSET_BITS=64.
However, in the context of nixpkgs, there are zillions of upstream packages with the same problem. So you really need inode32 if you use xfs on a 32-bit system.
Trying to upgrade my nixos, I get this:
From what I gather on the net, there's possible 64-bit safety issues with stat that require setting the one or other define before including the necessary headers. In particular, the inode of the file is >32 bit:
The filesystem is a 1.4T xfs on top of lfs:
(those are the nixos default options)
Doing
To guarantee that the unpacked files get inodes representable as 32 bit numbers fixes things for me.
The text was updated successfully, but these errors were encountered: