Jump to content
Forums in Read-Only Mode - Please use Reddit ×

ERROR: dev-vcs/mercurial-6.4.1::dev-kit failed (compile phase):  *   emake failed


Recommended Posts

running build_ext
building 'mercurial.cext.base85' extension
building 'mercurial.cext.bdiff' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial
building 'mercurial.cext.mpatch' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/mpatch.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/mpatch.o -Werror=declaration-after-statement
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/base85.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/base85.o -Werror=declaration-after-statement
building 'mercurial.cext.parsers' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/charencode.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/charencode.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/bdiff.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/bdiff.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/mpatch.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/mpatch.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/base85.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/cext/base85.cpython-37m-x86_64-linux-gnu.so
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/bdiff.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/bdiff.o -Werror=declaration-after-statement
building 'mercurial.cext.osutil' extension
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/osutil.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/osutil.o -Werror=declaration-after-statement -DHAVE_LINUX_STATFS
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/dirs.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/dirs.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/mpatch.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/mpatch.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/cext/mpatch.cpython-37m-x86_64-linux-gnu.so
building 'mercurial.thirdparty.zope.interface._zope_interface_coptimizations' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/zope
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/zope/interface
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -I/usr/include/python3.7m -c mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/thirdparty/xdiff/xdiffi.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xdiffi.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/manifest.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/manifest.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/osutil.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/cext/osutil.cpython-37m-x86_64-linux-gnu.so
building 'mercurial.thirdparty.sha1dc' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/lib
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -I/usr/include/python3.7m -c mercurial/thirdparty/sha1dc/cext.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/cext.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -I/usr/include/python3.7m -c mercurial/thirdparty/sha1dc/lib/sha1.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/lib/sha1.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.cpython-37m-x86_64-linux-gnu.so
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/thirdparty/xdiff/xprepare.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xprepare.o -Werror=declaration-after-statement
building 'hgext.fsmonitor.pywatchman.bser' extension
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/hgext
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/hgext/fsmonitor
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/hgext/fsmonitor/pywatchman
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -I/usr/include/python3.7m -c hgext/fsmonitor/pywatchman/bser.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/hgext/fsmonitor/pywatchman/bser.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/parsers.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/parsers.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/thirdparty/xdiff/xutils.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xutils.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/bdiff.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/bdiff.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xdiffi.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xprepare.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/xdiff/xutils.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/cext/bdiff.cpython-37m-x86_64-linux-gnu.so
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/hgext/fsmonitor/pywatchman/bser.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/hgext/fsmonitor/pywatchman/bser.cpython-37m-x86_64-linux-gnu.so
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/pathencode.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/pathencode.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -I/usr/include/python3.7m -c mercurial/thirdparty/sha1dc/lib/ubc_check.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/lib/ubc_check.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/cext.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/lib/sha1.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/thirdparty/sha1dc/lib/ubc_check.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/thirdparty/sha1dc.cpython-37m-x86_64-linux-gnu.so
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -fPIC -Imercurial -I/usr/include/python3.7m -c mercurial/cext/revlog.c -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/revlog.o -Werror=declaration-after-statement
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -march=znver1 -O2 -pipe /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/charencode.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/dirs.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/manifest.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/parsers.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/pathencode.o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/temp.linux-x86_64-3.7/mercurial/cext/revlog.o -L/usr/lib64 -lpython3.7m -o /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/lib/mercurial/cext/parsers.cpython-37m-x86_64-linux-gnu.so
running build_scripts
creating /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/scripts
copying and adjusting hg -> /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/scripts
changing mode of /var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1-python3_7/scripts/hg from 644 to 755
 * Using python3.7 in global scope
 * python3_7: running distutils-r1_run_phase python_compile_all
make: Entering directory '/var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1/contrib/chg'
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -std=gnu99   -c -o chg.o chg.c
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -std=gnu99   -c -o hgclient.o hgclient.c
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -std=gnu99   -c -o procutil.o procutil.c
x86_64-pc-linux-gnu-gcc -march=znver1 -O2 -pipe -std=gnu99   -c -o util.o util.c
chg.c: In function ‘main’:
chg.c:535:40: error: ‘environ’ undeclared (first use in this function)
  535 |   hgc_setenv(hgc, (const char *const *)environ);
      |                                        ^~~~~~~
chg.c:535:40: note: each undeclared identifier is reported only once for each function it appears in
make: *** [<builtin>: chg.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/var/tmp/portage/dev-vcs/mercurial-6.4.1/work/mercurial-6.4.1/contrib/chg'
 * ERROR: dev-vcs/mercurial-6.4.1::dev-kit failed (compile phase):
 *   emake failed

Link to comment
Share on other sites

×
×
  • Create New...