From owner-freebsd-arch@FreeBSD.ORG Sat Jul 13 21:40:42 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 84988680; Sat, 13 Jul 2013 21:40:42 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 46EFD10DD; Sat, 13 Jul 2013 21:40:42 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 5B2E43592E7; Sat, 13 Jul 2013 23:40:39 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 425E528494; Sat, 13 Jul 2013 23:40:39 +0200 (CEST) Date: Sat, 13 Jul 2013 23:40:39 +0200 From: Jilles Tjoelker To: Robert Millan Subject: Re: libutil in Debian Message-ID: <20130713214039.GA36164@stack.nl> References: <6E057FD0-9054-44CD-A806-3AFD8A7196CC@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Konstantin Belousov , Justin Hibbits , Tijl Coosemans , Gleb Smirnoff , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 21:40:42 -0000 On Thu, Jul 11, 2013 at 10:42:18AM +0200, Robert Millan wrote: > 2013/7/9 Justin Hibbits : > > I was thinking more in terms of adding the functions to the debian local > > patch set. I don't know how intrusive it would be, but it may be worth > > looking into. > You may not believe this, but it is even worse. Can you believe they > even refused to add trivial syscall stubs, such as nlm_syscall()? They > say this "belongs elsewhere" even though it's -lc in FreeBSD like most > (all?) syscall stubs. > Look at the kind of workarounds we have to endure: > http://anonscm.debian.org/viewvc/glibc-bsd/trunk/freebsd-utils/debian/patches/036_nfs_glibc.diff?revision=4047&view=markup glibc upstream appears indecisive about whether to add stubs for special-use syscalls. There are more packages with their own stubs. Note that FreeBSD libc has nlm_syscall() under the FBSDprivate_1.0 symbol version, reflecting the lower level of guarantees about its ABI because it is only supposed to be used by rpc.lockd. > Heck, even the trivial update to , which was *already* of > BSD origin since ancient times, was restricted to only apply on our > port, so that the new macros (e.g. LIST_FOREACH_SAFE) were not > available on Debian GNU/Linux. I would say that a Debian patch is indeed not the first thing to try for a update, since it makes things incompatible between Linux distributions. Rather, that should be done in glibc upstream. About copyright assignment, note that the original file is already not copyright FSF and was added to glibc anyway. -- Jilles Tjoelker