NetBSD Problem Report #53681

From www@NetBSD.org  Tue Oct 23 15:10:42 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 981477A180
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Oct 2018 15:10:42 +0000 (UTC)
Message-Id: <20181023151040.9839F7A21F@mollari.NetBSD.org>
Date: Tue, 23 Oct 2018 15:10:40 +0000 (UTC)
From: balasr@student.ethz.ch
Reply-To: balasr@student.ethz.ch
To: gnats-bugs@NetBSD.org
Subject: gconfmm-2.28.3nb19 fails to build on centos7
X-Send-Pr-Version: www-1.0

>Number:         53681
>Category:       pkg
>Synopsis:       gconfmm-2.28.3nb19 fails to build on centos7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 23 15:15:00 +0000 2018
>Originator:     Robert Balas
>Release:        Tpkgsrc-2018Q3 Oct 23 16:24
>Organization:
>Environment:
Linux [...] 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>Description:
I'm using pkgsrc on a centos7 as user 
(./bootstrap/bootstrap --unprivileged --prefix=$HOME/.pkgsrc) and while trying to build editors/emacs26 with bmake install I get the following error 

/bin/grep: /scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la: No such file or directory
/bin/sed: can't read /scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la: No such file or directory
libtool:   error: '/scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la' is not a valid libtool archive

This is the full log:
bmake install
=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for emacs-26.1.tar.gz
=> Checksum RMD160 OK for emacs-26.1.tar.gz
=> Checksum SHA512 OK for emacs-26.1.tar.gz
===> Installing dependencies for emacs26-26.1nb2
==========================================================================
The supported build options for emacs26 are:

	dbus gconf gnutls gtk gtk2 gtk3 imagemagick
	lucid motif nextstep svg x11 xaw xaw3d xft2
	xml

The currently selected options are:

	dbus gconf gnutls gtk3 svg x11 xaw3d xft2
	xml

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.emacs (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
emacs26-26.1nb2.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * GAMEDATAMODE = 0644
        * JPEG_DEFAULT = jpeg
        * VARBASE = /home/msc18f22/.pkgsrc/var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/home/msc18f22/.pkgsrc/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.2
=> Tool dependency automake>=1.9: found automake-1.15.1nb1
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb8
=> Tool dependency gtexinfo>=3.12: found gtexinfo-6.5nb3
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.13
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency dbus>=0.91: found dbus-1.12.10
=> Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb2
=> Full dependency gnutls>=3.6.0nb1: found gnutls-3.6.3nb2
=> Full dependency p11-kit>=0.23: found p11-kit-0.23.14
=> Full dependency cairo>=1.14.12nb1: found cairo-1.14.12nb1
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.10nb1
=> Full dependency fontconfig>=2.13.0: found fontconfig-2.13.1
=> Full dependency freetype2>=2.4.11: found freetype2-2.9.1nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.35
=> Full dependency librsvg>=2.40.20nb2: found librsvg-2.40.20nb2
=> Full dependency libXft>=2.3.2nb2: found libXft-2.3.2nb2
=> Full dependency gconfmm>=2.28.3nb15: NOT found
=> Verifying reinstall for ../../devel/gconfmm
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Installing dependencies for gconfmm-2.28.3nb19
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency perl>=5.0: found perl-5.28.0nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency GConf>=2.32.4nb5: found GConf-3.2.3nb1
=> Full dependency glibmm>=2.32.1nb1: found glibmm-2.56.0nb1
===> Building for gconfmm-2.28.3nb19
/usr/bin/make  all-recursive
make[1]: Entering directory `/scratch/balasr/pkgsrc/devel/gconfmm/work/gconfmm-2.28.3'
Making all in gconf/gconfmm
make[2]: Entering directory `/scratch/balasr/pkgsrc/devel/gconfmm/work/gconfmm-2.28.3/gconf/gconfmm'
/bin/sh ../../libtool  --tag=CXX   --mode=link c++ -Wall -O2 -I/home/msc18f22/.pkgsrc/include -I/usr/include -I/home/msc18f22/.pkgsrc/include/glib/glib-2.0 -I/home/msc18f22/.pkgsrc/include/glib/gio-unix-2.0 -I/home/msc18f22/.pkgsrc/lib/glib-2.0/include -no-undefined -version-info 1:6:0 -L/home/msc18f22/.pkgsrc/lib -Wl,-R/home/msc18f22/.pkgsrc/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o libgconfmm-2.6.la -rpath /home/msc18f22/.pkgsrc/lib client.lo entry.lo schema.lo value.lo changeset.lo wrap_init.lo init.lo callback.lo setinterface.lo -L/home/msc18f22/.pkgsrc/lib -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgconf-2 -Wl,-R/home/msc18f22/.pkgsrc/lib -lglib-2.0  
/bin/grep: /scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la: No such file or directory
/bin/sed: can't read /scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la: No such file or directory
libtool:   error: '/scratch/balasr/pkgsrc/devel/gconfmm/work/.buildlink/gcc49/lib/../lib64/libstdc++.la' is not a valid libtool archive

>How-To-Repeat:
Install pkgsrc as user:
./bootstrap/bootstrap --unprivileged --prefix=$HOME/.pkgsrc

Install emacs:
cd editors/emacs
bmake install
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.