[ovs-dev] Bug#602891: [buildd-tools-devel] Bug#602891: Bug#602891: openvswitch: FTBFS on all arches

Roger Leigh rleigh at codelibre.net
Wed Nov 10 00:04:39 UTC 2010

On Tue, Nov 09, 2010 at 03:54:25PM -0800, Ben Pfaff wrote:
> On Tue, Nov 09, 2010 at 09:33:33PM +0000, Roger Leigh wrote:
> > We've had this issue before.  Ultimately:
> > - we can mitigate the restriction by making the path shorter, but
> >   we can't make any guarantees even than since package names and
> >   version numbers don't have any fixed limit.  You still have to
> >   factor in the relative path length under the build tree as well.
> > - using a guaranteed short path under /tmp is the only way to ensure
> >   success.  My home dir at work is over five levels deep from the
> >   root, so upstream really should deal with the limitation since
> >   users don't always have the choice of shortening the path.
> I've found an acceptable workaround.  I will send a patch to
> dev at openvswitch.org soon.  In short, to connect or bind a socket with a
> name that is too long, open a fd for the dirname of the socket then use
> /proc/self/fd/<dirfd>/basename as the name.  This seems to work fine.
> It won't handle the case where the socket's basename is too long, but
> that's also not the problem here.

Awesome, glad you've found a workaround!

  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20101110/e4840fa0/attachment-0003.sig>

More information about the dev mailing list