Opened 10 years ago

Closed 10 years ago

#4378 closed bug (invalid)

Problem writtting attributes when using xattr.

Reported by: bga Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I am getting some errors when trying to build Haiku under linux with xattr support. The error shows up when trying to unzip some of the optional packages to the image and also some other error at the end. here are the specific errors:

Unzipping /home/bga/haiku/haiku-gcc2/download/BeHappy-1.0.6-x86-gcc2-2008-10-16.zip ...
warning: wrote -1 attribute bytes of 7059
warning: wrote -1 attribute bytes of 8152
warning: wrote -1 attribute bytes of 17215
warning: wrote -1 attribute bytes of 5488
warning: wrote -1 attribute bytes of 17215
Unzipping /home/bga/haiku/haiku-gcc2/download/BePDF-1.1.1b1.x86.zip ...
warning: wrote -1 attribute bytes of 1024
warning: wrote -1 attribute bytes of 1024
Unzipping /home/bga/haiku/haiku-gcc2/download/BeZillaBrowser-gcc2-20090218.zip ...
warning: wrote -1 attribute bytes of 2643
Installing MIME database ...
Failed to write attribute `META:ICON' to output file: No space left on device
addattr: can't add attribute to file /home/bga/haiku/haiku-gcc2/tmp/copyrightAttrs: No space left on device

And yes, there is plenty of space in both the Linux partition and the destination partition.

Change History (2)

comment:1 Changed 10 years ago by mmadia

which filesystem is this on?

comment:2 Changed 10 years ago by bga

Resolution: invalid
Status: newclosed

it si ext3. And I just figured out that ext3 has a limitation that any attribute must be at most the same size of the block size Which explain attributes bigger than 1024 bytes failing. I guess we should not allow the usage of xattr in FSs other than ReiserFS/XFS as it seems they are the ones that could hold arbitrary-sized attributes. Closing as invalid.

Note: See TracTickets for help on using tickets.