NetBSD Problem Report #56261

From john@daisy.zia.io  Fri Jun 18 16:33:45 2021
Return-Path: <john@daisy.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 911921A921F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Jun 2021 16:33:45 +0000 (UTC)
Message-Id: <202106181633.15IGXeZA006996@daisy.zia.io>
Date: Fri, 18 Jun 2021 16:33:40 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: pkgsrc www/firefox fails on NetBSD/amd64
X-Send-Pr-Version: 3.95

>Number:         56261
>Category:       pkg
>Synopsis:       pkgsrc www/firefox fails on NetBSD/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 18 16:35:02 +0000 2021
>Closed-Date:    Sat Jun 19 20:47:50 +0000 2021
>Last-Modified:  Sat Jun 19 20:47:50 +0000 2021
>Originator:     John Klos
>Release:        NetBSD 9.0_STABLE
>Organization:

>Environment:


System: NetBSD daisy.zia.io 9.0_STABLE NetBSD 9.0_STABLE (DAISY) #0: Tue Jul 28 04:48:43 UTC 2020 john@daisy.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/DAISY amd64
Architecture: x86_64
Machine: amd64
>Description:
www/firefox fails on NetBSD-9 and -current on at least amd64 here:

=> Fixing absolute paths.
cd /usr/pkgsrc/www/firefox/work/firefox-88.0.1 && autoconf
build/autoconf/hooks.m4:6: error: defn: undefined macro: AC_INIT_PREPARE
build/autoconf/hooks.m4:6: the top level
autom4te: error: /usr/local/bin/gm4 failed with exit status: 1
*** Error code 1



>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/56261: pkgsrc www/firefox fails on NetBSD/amd64
Date: Fri, 18 Jun 2021 18:48:40 +0200

 On Fri, Jun 18, 2021 at 04:35:02PM +0000, john@ziaspace.com wrote:
 > www/firefox fails on NetBSD-9 and -current on at least amd64 here:

 Other people have reported the same error. I haven't seen it though,
 firefox still built fine for me on 9.99.85/amd64 today (from today's
 CVS checkout, all dependencies up-to-date).
  Thomas

From: Rhialto <rhialto@falu.nl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/56261: pkgsrc www/firefox fails on NetBSD/amd64
Date: Fri, 18 Jun 2021 19:10:27 +0200

 I saw the same issue, in my pkg_comp1 chroot where I build my complete
 set of wanted packages.

 Since I heard that the problem doesn't appear to happen in pbulk, I did
 an experiment.

 I deleted all packages from my chroot, did a make in it's
 /usr/pksrc/www/firefox, it installed (from binary) whatever it wanted,
 and now the build gets past the point where it broke.

 My pkgsrc is as of about 49 hours before this mail.

 The list of installed packages is now:

 MesaLib-20.0.6nb1                       libelf-0.8.13nb1
 at-spi2-atk-2.38.0                      libepoxy-1.5.4
 at-spi2-core-2.38.0                     libffi-3.3nb5
 atk-2.36.0                              libidn2-2.3.1
 autoconf213-2.13nb10                    libkver-0.7.2
 cairo-1.16.0nb4                         libogg-1.3.5
 cairo-gobject-1.16.0nb5                 libopus-1.3.1
 cbindgen-0.19.0                         libpaper-1.1.28
 checkperms-1.12                         libtasn1-4.17.0
 clang-10.0.1nb4                         libtheora-1.1.1nb2
 curl-7.77.0                             libunistring-0.9.10
 cwrappers-20180325                      libuuid-2.32.1
 dav1d-0.9.0                             libv4l-1.20.0
 dbus-1.12.20nb1                         libva-2.6.1
 desktop-file-utils-0.26                 libvorbis-1.3.7
 digest-20190127                         libvpx-1.10.0nb1
 enca-1.15                               libwebp-1.2.0
 fdk-aac-0.1.6                           libxml2-2.9.12
 ffmpeg4-4.4nb6                          llvm-10.0.1nb4
 fontconfig-2.13.1nb4                    lzo-2.10
 freetype2-2.10.4                        m4-1.4.18nb2
 fribidi-1.0.10                          mozilla-rootcerts-1.0.20201204
 gcc8-8.4.0nb5                           nasm-2.15.05nb1
 gcc8-libs-8.4.0nb5                      nettle-3.7.3
 gdk-pixbuf2-2.40.0nb2                   nghttp2-1.43.0nb2
 giflib-5.2.1nb4                         nspr-4.31
 glib2-2.68.2                            nss-3.66
 glib2-tools-2.68.2                      osabi-NetBSD-9.2
 gmake-4.3nb2                            p11-kit-0.24.0
 gmp-6.2.1                               pango-1.48.4
 gnutls-3.7.2                            pcre-8.44
 gobject-introspection-1.68.0            perl-5.34.0nb2
 graphite2-1.3.14                        pkg_install-20210410
 gsed-4.8nb1                             pkgconf-1.7.4nb1
 gtk2+-2.24.33nb2                        
 gtk3+-3.24.29nb1                        png-1.6.37nb1
 harfbuzz-2.7.4                          py38-cElementTree-3.8.10
 hicolor-icon-theme-0.17nb1              py38-expat-3.8.10
 icu-69.1                                py38-sqlite3-3.8.10nb19
 jbigkit-2.1nb1                          python38-3.8.10nb1
 jpeg-9d                                 rust-1.52.1nb4
 lame-3.100nb2                           shared-mime-info-1.10nb4
 libIDL-0.8.14nb5                        speex-1.2.0nb1
 libLLVM-9.0.1nb1                        tiff-4.3.0
 libXft-2.3.3nb1                         x11-links-1.33
 libaom-1.0.0nb4                         x264-devel-20191217nb2
 libass-0.15.1                           x265-3.5
 libbluray-1.3.0nb1                      xmlcatmgr-2.2nb1
 libcfg+-0.7.0                           xvidcore-1.3.7
 libcups-2.3.3op2nb1                     yasm-1.3.0
 libdrm-2.4.100                          zip-3.0nb3

 I had built 1174 packages (the list is a bit long to include here I
 guess) but presumably the presence of one of them spoils the build of
 firefox...

From: Rhialto <rhialto@falu.nl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/56261: pkgsrc www/firefox fails on NetBSD/amd64
Date: Fri, 18 Jun 2021 19:31:33 +0200

 autoconf-2.71nb1 is the culprit. If I install that in addition to the
 packages listed before, it fails again.

From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56261 CVS commit: pkgsrc/www/firefox
Date: Fri, 18 Jun 2021 18:08:05 +0000

 Module Name:	pkgsrc
 Committed By:	nia
 Date:		Fri Jun 18 18:08:05 UTC 2021

 Modified Files:
 	pkgsrc/www/firefox: Makefile

 Log Message:
 firefox: Explicitly use autoconf-2.13

 Candidate fix for PR pkg/56261


 To generate a diff of this commit:
 cvs rdiff -u -r1.481 -r1.482 pkgsrc/www/firefox/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: john@ziaspace.com
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: PR/56261 CVS commit: pkgsrc/www/firefox
Date: Sat, 19 Jun 2021 13:51:41 +0000 (UTC)

 > Modified Files:
 > 	pkgsrc/www/firefox: Makefile
 >
 > Log Message:
 > firefox: Explicitly use autoconf-2.13
 >
 > Candidate fix for PR pkg/56261

 With this, Firefox compiles on all the machines where it previously 
 failed. Thanks!

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 19 Jun 2021 20:47:50 +0000
State-Changed-Why:
confirmed fixed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.