pkgsrc-Bugs archive

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

Re: pkg/48793: devel/libexecinfo fails during install



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

From: "OBATA Akio" <obata%lins.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/48793: devel/libexecinfo fails during install
Date: Thu, 08 May 2014 21:40:39 +0900

 On Thu, 08 May 2014 20:35:00 +0900, Ryo ONODERA 
<ryo_on%yk.rim.or.jp@localhost> wrote:
 
 >  I think that the problem is caused from OpenBSD's
 >  /usr/share/mk/bsd.lib.mk .
 
 It will not be used by bmake from pkgsrc.
 
 No issue on OpenBSD-5.5-i386, and fails on your amd64 and reporter's sparc64.
 
 Issue is in bsd.own.mk.
 amd64 and sparc64 are not marked as OBJECT_FMT=ELF.
 (pkgsrc/bootstrap-mk-files/files/mods/OpenBSD.bsd.own.mk.in)
 
  from elf(1) of OpenBSD-5.5:
 
 HISTORY
       OpenBSD ELF support first appeared in OpenBSD 1.2.  Starting with
       OpenBSD 5.4, all supported platforms use it as the native binary file
       format.  ELF in itself first appeared in AT&T System V UNIX.  The ELF
       format is an adopted standard.
 
 So probably, it is better to switch OBJECT_FMT=ELF by default for 5.4 and 
later.
 
 Index: pkgtools/bootstrap-mk-files/files/mods/OpenBSD.bsd.own.mk.in
 ===================================================================
 RCS file: 
/cvsroot/pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.bsd.own.mk.in,v
 retrieving revision 1.3
 diff -u -r1.3 OpenBSD.bsd.own.mk.in
 --- pkgtools/bootstrap-mk-files/files/mods/OpenBSD.bsd.own.mk.in        15 Nov 
2008 13:06:42 -0000      1.3
 +++ pkgtools/bootstrap-mk-files/files/mods/OpenBSD.bsd.own.mk.in        8 May 
2014 12:34:47 -0000
 @@ -106,6 +106,7 @@
   .if ${MACHINE_ARCH} == "alpha" || \
       ${MACHINE_ARCH} == "powerpc" || \
       ${MACHINE_ARCH} == "sparc" || \
 +    ${OS_VERSION} >= 5.4 || \
       ( ${MACHINE_ARCH} == "i386" && ${OS_VERSION} >= 3.4 )
   OBJECT_FMT?=ELF
   .else
 
 -- 
 OBATA Akio / obata%lins.jp@localhost
 


Home | Main Index | Thread Index | Old Index