tech-pkg archive

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

Re: any reason not to end freeze soon?




On 12/29/17 08:01, Greg Troxel wrote:
"William J. Coldwell" <billc%NetBSD.org@localhost> writes:

Are meta-pkgs building ok? i’m having trouble building things like
xfce4 to completion on amd64 with netbsd-8.  Both using a generic
mk.conf from bootstrap to using my tried-and-true one.  I see packages
for pkgin for some of the dependencies that are failing for me, so
someone has it working.  The question I have is like.. if you
bootstrap and the go to meta-pkg/xfce4 etc and try building, it
shouldn’t be failing.  I just updated my production to the latest -7
and will try there, but the result will undoubtedly be the same
(includes not found, etc)
I have been updating pkgsrc and rebuilding via pkg_rolling-replace.  On
the following, xfce4 built all the way to the meta-package:

   netbsd-7 i386
   nebtsd-7 amd64
   netbsd-8 amd64

and I had no trouble.  (All of these are pretty recent along their
branches, within a month.)

Yes, with a bootstrap, and building something, it should work.

I wonder why you are bootstrapping on netbsd-7 or netbsd-8.

You'll have to post specific errors.   includes not found sounds like
something wrong with your system, at least on a package that builds for
me and presumably others.

In general, you have to have a consistent build.  So if you have some
packages, and update pkgsrc, and then build something else, that may
fail.  But if you either rebuild all from scratch in a chroot, or use
pkg_rr, it should be o.

I just did

   pkg_admin set rebuild=YES xfce\*

on each of the above and started a new pkg_rr, which will force a
rebuild of all of those packages.  (Very occasionally, a package built
earlier, and something changed, and now it won't, even though with our
PKGREVISION rules that should not happen.)

Clues for the clueless?
my clue is: Do this on day one of the freeze and be loud about it :-) Or
even better, update to HEAD and start rebuilding after we are in careful
mode.

But seriously, I had no idea you had this trouble.  With any luck you
have something broken locally and we can help you find it.


devel/netcdf failed on CentOS 6.

The following patch fixes it:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/netcdf/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile    29 Nov 2017 18:29:35 -0000    1.45
+++ Makefile    29 Dec 2017 21:33:44 -0000
@@ -8,6 +8,7 @@
 HOMEPAGE= https://www.unidata.ucar.edu/software/netcdf/index.html
 COMMENT=    Library for array-oriented data access

+USE_TOOLS+=        m4
 USE_LANGUAGES=        c c++
 USE_LIBTOOL=        yes
 GNU_CONFIGURE=        yes

Shall I commit it?

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index