pkgsrc-Users archive

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

Failed to build hunspell via pkg_comp



Hi! Sorry for my bad English...

Failed to build hunspell via pkg_comp. Is it possible to fix this problem?

localhost$ uname -a
NetBSD localhost 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Sun Jan  3 12:52:54 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

pkg_comp (part of default.conf)

AUTO_PACKAGES="gettext hunspell pkgin nano sysupgrade sysbuild pkg_comp zip unzip xfce4 xfce4-extras firefox mc minicom wget links vlc bmp xsane libreoffice xscreensaver xscreensaver-demo netsurf mozilla-rootcerts-openssl clamav fuse-emulator fuse-emulator-utils"

# pkg_comp -c default auto

Building pkg_summary...
Build reports...
Sending report mail...
Uploading report...
Uploading packages...
pkg_comp: I: Generating pkg_summary
pkg_comp: E: Failed to build hunspell-1.7.0nb3; see /usr/pkgsrc/packages/log/ for detailed logs
pkg_comp: I: Destroying sandbox

...

localhost$ cd /usr/pkgsrc/packages/log

localhost$ ls
SUMMARY             hunspell-1.7.0nb3

localhost$ cd hunspell-1.7.0nb3
localhost$ ls
checksum.log    configure.log   depends.log     pre-clean.log   work.log

localhost$ cat configure.log

=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for hunspell-1.7.0.tar.gz
=> Checksum RMD160 OK for hunspell-1.7.0.tar.gz
=> Checksum SHA512 OK for hunspell-1.7.0.tar.gz
===> Installing dependencies for hunspell-1.7.0nb3
==========================================================================
The supported build options for hunspell are:

        wide-curses

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

        PKG_OPTIONS.hunspell (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
hunspell-1.7.0nb3.  Their current value is shown below:

        * CURSES_DEFAULT = curses

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

        * CURSES_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency automake>=1.9: found automake-1.16.3
=> Tool dependency autoconf>=2.58: found autoconf-2.70
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.0: found perl-5.32.0nb1
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for hunspell-1.7.0nb3
===> Extracting for hunspell-1.7.0nb3
===> Patching for hunspell-1.7.0nb3
=> Applying pkgsrc patches for hunspell-1.7.0nb3
=> Verifying /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-aa
=> Applying pkgsrc patch /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2018/10/23 11:45:34 bsiegert Exp $
|
|--- src/hunspell/hunzip.hxx.orig       2017-09-03 11:38:44.000000000 +0000
|+++ src/hunspell/hunzip.hxx
--------------------------
Patching file src/hunspell/hunzip.hxx using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-ab
=> Applying pkgsrc patch /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2018/10/23 11:45:34 bsiegert Exp $
|
|--- src/hunspell/phonet.cxx.orig       2017-09-03 11:38:44.000000000 +0000
|+++ src/hunspell/phonet.cxx
--------------------------
Patching file src/hunspell/phonet.cxx using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-ac
=> Applying pkgsrc patch /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2018/10/23 11:45:34 bsiegert Exp $
|
|--- src/hunspell/replist.cxx.orig      2017-09-03 11:38:44.000000000 +0000
|+++ src/hunspell/replist.cxx
--------------------------
Patching file src/hunspell/replist.cxx using Plan A...
Hunk #1 succeeded at 76.
done
=> Verifying /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx
=> Applying pkgsrc patch /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_hunspell_suggestmgr.cxx,v 1.1 2020/08/03 11:19:28 wiz Exp $
|
|Fix CVE-2019-16707
|https://github.com/hunspell/hunspell/commit/ac938e2ecb48ab4dd21298126c7921689d60571b#diff-783289d6b6330291ec79bf507002106e
|
|--- src/hunspell/suggestmgr.cxx.orig   2018-11-12 20:38:56.000000000 +0000
|+++ src/hunspell/suggestmgr.cxx
--------------------------
Patching file src/hunspell/suggestmgr.cxx using Plan A...
Hunk #1 succeeded at 2040.
done
=> Verifying /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am
=> Applying pkgsrc patch /pkg_comp/pkgsrc/textproc/hunspell/patches/patch-src_tools_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tools_Makefile.am,v 1.2 2018/11/16 13:02:20 bsiegert Exp $
|
|--- src/tools/Makefile.am.orig 2018-11-12 20:38:56.000000000 +0000
|+++ src/tools/Makefile.am
--------------------------
Patching file src/tools/Makefile.am using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 6.
Hunk #3 succeeded at 17.
done
cd /pkg_comp/work/pkg/textproc/hunspell/work/hunspell-1.7.0 && /usr/pkg/bin/autoreconf -v -i --force
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /usr/pkg/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: autopoint failed with exit status: 1
*** Error code 1

Stop.
bmake[1]: stopped in /pkg_comp/pkgsrc/textproc/hunspell
*** Error code 1

Stop.
bmake: stopped in /pkg_comp/pkgsrc/textproc/hunspell

localhost$ cat depends.log

pkg_add: package `cwrappers-20180325' already recorded as installed
m4-1.4.18nb2: registering info file /usr/pkg/info/m4.info
automake-1.16.3: registering info file /usr/pkg/info/automake-history.info
automake-1.16.3: registering info file /usr/pkg/info/automake.info
autoconf-2.70: registering info file /usr/pkg/info/autoconf.info
autoconf-2.70: registering info file /usr/pkg/info/standards.info
pkg_add: package `perl-5.32.0nb1' was already installed as dependency, now marked as installed manually

localhost$ cat pre-clean.log
===> Cleaning for hunspell-1.7.0nb3

localhost$ cat work.log
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true 
[*] /pkg_comp/work/pkg/textproc/hunspell/work/.tools/bin/true
<.> true

--- 

best regards,
Dmitrii Postolov
dpostolov%yandex.ru@localhost



Home | Main Index | Thread Index | Old Index