[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-devel] [bug #56999] Compilation error on macOS
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-devel] [bug #56999] Compilation error on macOS |
Date: |
Sat, 5 Oct 2019 12:00:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
URL:
<https://savannah.gnu.org/bugs/?56999>
Summary: Compilation error on macOS
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Sat 05 Oct 2019 05:00:32 PM BST
Category: Installation
Severity: 3 - Normal
Item Group: Crash
Status: Postponed
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
While building Gnuastro 0.10 as part of a packaging attempt in Conda, the
following error occurred on macOS:
bin/sh ../libtool --tag=CC --mode=compile x86_64-apple-darwin13.4.0-clang
-DHAVE_CONFIG_H -I. -I.. -I\../bootstrapped/lib
-DSYSCONFIG_DIR=\"$PREFIX/etc\" -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9
-I$PREFIX/include -Wall -O3 -march=core2 -mtune=haswell -mssse3
-ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe
-I$PREFIX/include
-fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gnuastro-0.10
-fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -pthread -MT
checkset.lo -MD -MP -MF $depbase.Tpo -c -o checkset.lo checkset.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -I..
-I../bootstrapped/lib -DSYSCONFIG_DIR=\"$PREFIX/etc\" -D_FORTIFY_SOURCE=2
-mmacosx-version-min=10.9 -I$PREFIX/include -Wall -O3 -march=core2
-mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2
-pipe -I$PREFIX/include
-fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gnuastro-0.10
-fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -pthread -MT
checkset.lo -MD -MP -MF .deps/checkset.Tpo -c checkset.c -fno-common -DPIC -o
.libs/checkset.o
checkset.c:666:21: error: use of undeclared identifier 'AT_FDCWD'
if( faccessat(AT_FDCWD, dirname, W_OK, AT_EACCESS) == -1 )
^
checkset.c:666:46: error: use of undeclared identifier 'AT_EACCESS'
if( faccessat(AT_FDCWD, dirname, W_OK, AT_EACCESS) == -1 )
^
2 errors generated.
make[2]: *** [Makefile:2152: checkset.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -I..
-I../bootstrapped/lib -DSYSCONFIG_DIR=\"$PREFIX/etc\" -D_FORTIFY_SOURCE=2
-mmacosx-version-min=10.9 -I$PREFIX/include -Wall -O3 -march=core2
-mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2
-pipe -I$PREFIX/include
-fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gnuastro-0.10
-fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -pthread -MT
arithmetic-plus.lo -MD -MP -MF .deps/arithmetic-plus.Tpo -c arithmetic-plus.c
-fPIE -o arithmetic-plus.o >/dev/null 2>&1
make[2]: Leaving directory '$SRC_DIR/lib'
make[1]: *** [Makefile:2071: all-recursive] Error 1
make[1]: Leaving directory '$SRC_DIR'
make: *** [Makefile:1961: all] Error 2
Traceback (most recent call last):
File ".ci_support/build_all.py", line 134, in <module>
build_all(args.recipes_dir, args.arch)
File ".ci_support/build_all.py", line 68, in build_all
build_folders(recipes_dir, new_comp_folders, arch, channel_urls)
File ".ci_support/build_all.py", line 124, in build_folders
conda_build.api.build([recipe], config=get_config(arch, channel_urls))
File "/usr/local/miniconda/lib/python3.7/site-packages/conda_build/api.py",
line 209, in build
notest=notest, need_source_download=need_source_download,
variants=variants)
File
"/usr/local/miniconda/lib/python3.7/site-packages/conda_build/build.py", line
2343, in build_tree
notest=notest,
File
"/usr/local/miniconda/lib/python3.7/site-packages/conda_build/build.py", line
1491, in build
cwd=src_dir, stats=build_stats)
File
"/usr/local/miniconda/lib/python3.7/site-packages/conda_build/utils.py", line
397, in check_call_env
return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
File
"/usr/local/miniconda/lib/python3.7/site-packages/conda_build/utils.py", line
377, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-e',
'/usr/local/miniconda/conda-bld/gnuastro_1570126484257/work/conda_build.sh']'
returned non-zero exit status 2.
##[error]Bash exited with code '1'.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56999>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [gnuastro-devel] [bug #56999] Compilation error on macOS,
Mohammad Akhlaghi <=