pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42102 (pkgsrc fails bootstraping on openbsd amd64)

The following reply was made to PR pkg/42102; it has been noted by GNATS.

From: "OBATA Akio" <>
Subject: Re: pkg/42102 (pkgsrc fails bootstraping on openbsd amd64)
Date: Thu, 31 Dec 2009 11:39:05 +0900

 On Thu, 31 Dec 2009 05:35:11 +0900, <> wrote:
 > I wonder if this is related to the #ifdef __weak_alias section or an existing
 > definition of DB...
 > As a quick test could you try editing 
 > pkgsrc/pkgtools/libnbcompat/files/db/db/db.c
 > and remove the following section around line 48
 > #ifdef __weak_alias
 > __weak_alias(dbopen,_dbopen)
 > #endif
 > then try rerunning bootstrap?
 __weak_alias also in db/mpool/mpool.c.
 As far as I know, I came from a bug of __weak_alias on OpenBSD
 (or you could say that the spec of __weak_alias on OpenBSD is
 differ than one on NetBSD).
 I think that macros prefixed with "__" are not portable, should not be used in
 applications/libraries, or at least, __NetBSD__ macro should be checked first.

Home | Main Index | Thread Index | Old Index