pkgsrc-Bugs archive

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

Re: pkg/50708: pkgtools/bootstrap-mk-files FreeBSD amd64 OBJECT_FMT problem



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

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/50708: pkgtools/bootstrap-mk-files FreeBSD amd64 OBJECT_FMT problem
Date: Tue, 26 Jan 2016 09:15:11 -0800

 On FreeBSD 11.0-CURRENT amd64 at least, lang/python27
 bmake package
 in an error:
 
 creating /usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload
 copying build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sysconfigdata.py ->
 /usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload
 ...
 => Automatic manual page handling
 pkg_create: can't stat
 `/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/dl.so'
 pkg_create: can't stat
 `/usr/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/imageop.so'
 
 One workaround seems to be to change the Makefile:
 
 --- Makefile    2016-01-26 08:51:57.379579000 -0800
 +++ Makefile.new        2016-01-26 03:00:21.611460000 -0800
 @@ -83,7 +83,7 @@
  PLIST_SUBST+=  PY_PLATNAME=${PY_PLATNAME:Q}
 
  .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
 -    (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \
 +    (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "amd64") ||
 (${MACHINE_ARCH} == "powerpc64")
 || \
      (defined(ABI) && ${ABI} == "64")
  IS_64BIT_PLATFORM?=    yes
  .else
 


Home | Main Index | Thread Index | Old Index