Closed amrit3701 closed 4 years ago
sry, docs are a bit outdated.
If you want to build the appimage locally you need to do the following:
conda build . -m .ci_support_<platform/python>.yaml
(if this succeeds a package is stored in miniconda/conda-bld/linux64--use-local
to conda command here: https://github.com/FreeCAD/FreeCAD-AppImage/blob/master/conda/linux_dev/linux_dev.sh#L2L11bash linux_dev.sh
output should be an appimage of your local build.
Thanks @looooo I will try this weekend and let you know the status.
Hi @looooo
I just installed a fresh LUbuntu on my Macbook pro and install miniconda (python3.7 support) (https://docs.conda.io/en/latest/miniconda.html).
ambu@ambu-pc:~/Desktop/freecad_build/freecad-feedstock$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
Getting below error on running conda build . -m .ci_support/linux_python3.8.____cpython.yaml
command:
ambu@ambu-pc:~/Desktop/freecad_build/freecad-feedstock$ tree
.
├── azure-pipelines.yml
├── build-locally.py
├── conda-forge.yml
├── LICENSE.txt
├── README.md
└── recipe
├── bld.bat
├── build.sh
├── conda_build_config.yaml
├── cross-linux.cmake
├── meta.yaml
└── yum_requirements.txt
1 directory, 11 files
ambu@ambu-pc:~/Desktop/freecad_build/freecad-feedstock$ conda build . -m .ci_support/linux_python3.8.____cpython.yaml
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Adding in variants from /home/ambu/Desktop/freecad_build/freecad-feedstock/recipe/conda_build_config.yaml
INFO:conda_build.variants:Adding in variants from /home/ambu/Desktop/freecad_build/freecad-feedstock/recipe/conda_build_config.yaml
Adding in variants from .ci_support/linux_python3.8.____cpython.yaml
INFO:conda_build.variants:Adding in variants from .ci_support/linux_python3.8.____cpython.yaml
Attempting to finalize metadata for freecad
INFO:conda_build.metadata:Attempting to finalize metadata for freecad
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
Leaving build/test directories:
Work:
/home/ambu/miniconda3/conda-bld/work
Test:
/home/ambu/miniconda3/conda-bld/test_tmp
Leaving build/test environments:
Test:
source activate /home/ambu/miniconda3/conda-bld/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p
Build:
source activate /home/ambu/miniconda3/conda-bld/_build_env
Traceback (most recent call last):
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/environ.py", line 757, in get_install_actions
actions = install_actions(prefix, index, specs, force=True)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/plan.py", line 474, in install_actions
txn = solver.solve_for_transaction(prune=prune, ignore_pinned=not pinned)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/core/solve.py", line 275, in solve_final_state
ssc = self._add_specs(ssc)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/core/solve.py", line 555, in _add_specs
explicit_pool = ssc.r._get_package_pool(self.specs_to_add)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/resolve.py", line 553, in _get_package_pool
pool = self.get_reduced_index(specs)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/resolve.py", line 574, in get_reduced_index
explicit_specs, features = self.verify_specs(explicit_specs)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda/resolve.py", line 288, in verify_specs
raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound:
- pivy
- python=3.8[build=*_cpython]
- coin3d
- pcl
- xorg-libxt
- qt=5.12
- hdf5=1.10.6
- boost-cpp=1.72
- doxygen
- netgen
- smesh
- occt=7.4
- pyside2
- libspnav
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ambu/miniconda3/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 469, in main
execute(sys.argv[1:])
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 460, in execute
verify=args.verify, variants=args.variants)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/api.py", line 209, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 2344, in build_tree
notest=notest,
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 1335, in build
output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/render.py", line 746, in expand_outputs
for (output_dict, m) in _m.copy().get_output_metadata_set(permit_unsatisfiable_variants=False):
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 2048, in get_output_metadata_set
bypass_env_check=bypass_env_check)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 719, in finalize_outputs_pass
parent_metadata.parse_until_resolved()
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 1018, in parse_until_resolved
bypass_env_check=bypass_env_check)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 940, in parse_again
bypass_env_check=bypass_env_check),
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 1528, in _get_contents
rendered = template.render(environment=env)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/home/ambu/miniconda3/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/home/ambu/miniconda3/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/ambu/Desktop/freecad_build/freecad-feedstock/recipe/meta.yaml", line 61, in top-level template code
run:
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/jinja_context.py", line 230, in pin_compatible
pins, _, _ = get_env_dependencies(m, 'host', m.config.variant)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/render.py", line 154, in get_env_dependencies
channel_urls=tuple(m.config.channel_urls))
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/environ.py", line 759, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {'python=3.8[build=*_cpython]', 'pcl', 'pivy', 'doxygen', 'coin3d', 'smesh', 'pyside2', 'hdf5=1.10.6', 'boost-cpp=1.72', 'occt=7.4', 'libspnav', 'qt=5.12', 'xorg-libxt', 'netgen'}
Please let me know how to fix this problem.
Thanks
most likely you need to add the conda-forge
channel:
conda config --add channels conda-forge
@looooo
After adding conda-forge
channel, dependency error is fixed. But now error in compiling stage fails.
-- Build files have been written to: $SRC_DIR/build
FREECAD_USE_3DCONNEXION=
ninja: error: '/usr/lib64/libXext.so', needed by 'Mod/Fem/Fem.so', missing and no known rule to make it
ambu@ambu-pc:~/Desktop/freecad_build/freecad-feedstock$ conda build . -m .ci_support/linux_python3.8.____cpython.yaml
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Adding in variants from /home/ambu/Desktop/freecad_build/freecad-feedstock/recipe/conda_build_config.yaml
INFO:conda_build.variants:Adding in variants from /home/ambu/Desktop/freecad_build/freecad-feedstock/recipe/conda_build_config.yaml
Adding in variants from .ci_support/linux_python3.8.____cpython.yaml
INFO:conda_build.variants:Adding in variants from .ci_support/linux_python3.8.____cpython.yaml
Attempting to finalize metadata for freecad
INFO:conda_build.metadata:Attempting to finalize metadata for freecad
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
BUILD START: ['freecad-0.19.pre-py38hdf1be2e_117.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-conda_forge conda-forge
_openmp_mutex: 4.5-0_gnu conda-forge
boost-cpp: 1.72.0-h8e57a91_0 conda-forge
bzip2: 1.0.8-h516909a_2 conda-forge
ca-certificates: 2020.4.5.1-hecc5488_0 conda-forge
certifi: 2020.4.5.1-py38h32f6830_0 conda-forge
coin3d: 4.0.0-hd7203a3_1009 conda-forge
curl: 7.69.1-h33f0ec9_0 conda-forge
dbus: 1.13.6-he372182_0 conda-forge
doxygen: 1.8.18-hd1b7508_0 conda-forge
eigen: 3.3.7-hc9558a2_1001 conda-forge
expat: 2.2.9-he1b5a44_2 conda-forge
flann: 1.9.1-h44f99b7_1008 conda-forge
fontconfig: 2.13.1-h86ecdb6_1001 conda-forge
freeimage: 3.18.0-he1b5a44_0 conda-forge
freetype: 2.9.1-he983fc9_1006 conda-forge
future: 0.18.2-py38h32f6830_1 conda-forge
gettext: 0.19.8.1-hc5be6a0_1002 conda-forge
glib: 2.64.2-h6f030ca_0 conda-forge
gst-plugins-base: 1.14.5-h0935bb2_2 conda-forge
gstreamer: 1.14.5-h36ae1b5_2 conda-forge
hdf4: 4.2.13-hf30be14_1003 conda-forge
hdf5: 1.10.6-nompi_h3c11f04_100 conda-forge
icu: 64.2-he1b5a44_1 conda-forge
jpeg: 9c-h14c3975_1001 conda-forge
jsoncpp: 1.8.4-hc9558a2_1002 conda-forge
krb5: 1.17.1-h2fd8d38_0 conda-forge
ld_impl_linux-64: 2.34-h53a641e_0 conda-forge
libclang: 9.0.1-default_hde54327_0 conda-forge
libcurl: 7.69.1-hf7181ac_0 conda-forge
libedit: 3.1.20170329-hf8c457e_1001 conda-forge
libffi: 3.2.1-he1b5a44_1007 conda-forge
libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge
libgfortran-ng: 7.3.0-hdf63c60_5 conda-forge
libglu: 9.0.0-he1b5a44_1001 conda-forge
libgomp: 9.2.0-h24d8f2e_2 conda-forge
libiconv: 1.15-h516909a_1006 conda-forge
libllvm9: 9.0.1-he513fc3_1 conda-forge
libnetcdf: 4.7.4-nompi_h84807e1_104 conda-forge
libpng: 1.6.37-hed695b0_1 conda-forge
libspnav: 0.2.3-h516909a_1 conda-forge
libssh2: 1.8.2-h22169c7_2 conda-forge
libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge
libtiff: 4.1.0-hc7e4089_6 conda-forge
libuuid: 2.32.1-h14c3975_1000 conda-forge
libwebp-base: 1.1.0-h516909a_3 conda-forge
libxcb: 1.13-h14c3975_1002 conda-forge
libxkbcommon: 0.10.0-he1b5a44_0 conda-forge
libxml2: 2.9.10-hee79883_0 conda-forge
libxslt: 1.1.33-h31b3aaa_0 conda-forge
lz4-c: 1.9.2-he1b5a44_1 conda-forge
ncurses: 6.1-hf484d3e_1002 conda-forge
netgen: 6.2.1808-py38h4bd9806_1007 conda-forge
nspr: 4.25-he1b5a44_0 conda-forge
nss: 3.47-he751ad9_0 conda-forge
occt: 7.4.0-h9121d39_6 conda-forge
openssl: 1.1.1g-h516909a_0 conda-forge
pcl: 1.9.1-h2dfa329_1005 conda-forge
pcre: 8.44-he1b5a44_0 conda-forge
pip: 20.1-pyh9f0ad1d_0 conda-forge
pivy: 0.6.5-py38he10db6e_1 conda-forge
ply: 3.11-py_1 conda-forge
pthread-stubs: 0.4-h14c3975_1001 conda-forge
pybind11: 2.5.0-py38hbf85e49_0 conda-forge
pyside2: 5.13.2-py38hbee1fde_2 conda-forge
python: 3.8.2-he5300dc_7_cpython conda-forge
python_abi: 3.8-1_cp38 conda-forge
qhull: 2015.2-h6bb024c_1000 conda-forge
qt: 5.12.5-hd8c4c69_1 conda-forge
readline: 8.0-hf8c457e_0 conda-forge
setuptools: 46.1.3-py38h32f6830_0 conda-forge
six: 1.14.0-py_1 conda-forge
smesh: 8.3.0.3-py38h5c97b02_10 conda-forge
soqt: 1.6.0a-h2d50403_0 conda-forge
sqlite: 3.30.1-hcee41ef_0 conda-forge
swig: 4.0.1-he1b5a44_0 conda-forge
tbb: 2020.1-hc9558a2_0 conda-forge
tbb-devel: 2020.1-hc9558a2_0 conda-forge
tk: 8.6.10-hed695b0_0 conda-forge
vtk: 8.2.0-py38hf2e56f5_217 conda-forge
wheel: 0.34.2-py_1 conda-forge
xerces-c: 3.2.2-h8412b87_1004 conda-forge
xorg-fixesproto: 5.0-h14c3975_1002 conda-forge
xorg-inputproto: 2.3.2-h14c3975_1002 conda-forge
xorg-kbproto: 1.0.7-h14c3975_1002 conda-forge
xorg-libice: 1.0.10-h516909a_0 conda-forge
xorg-libsm: 1.2.3-h84519dc_1000 conda-forge
xorg-libx11: 1.6.9-h516909a_0 conda-forge
xorg-libxau: 1.0.9-h14c3975_0 conda-forge
xorg-libxdmcp: 1.1.3-h516909a_0 conda-forge
xorg-libxext: 1.3.4-h516909a_0 conda-forge
xorg-libxfixes: 5.0.3-h516909a_1004 conda-forge
xorg-libxi: 1.7.10-h516909a_0 conda-forge
xorg-libxt: 1.2.0-h516909a_0 conda-forge
xorg-xextproto: 7.3.0-h14c3975_1002 conda-forge
xorg-xproto: 7.0.31-h14c3975_1007 conda-forge
xz: 5.2.5-h516909a_0 conda-forge
zlib: 1.2.11-h516909a_1006 conda-forge
zstd: 1.4.4-h6597ccf_3 conda-forge
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env
The following NEW packages will be INSTALLED:
_libgcc_mutex: 0.1-conda_forge conda-forge
_openmp_mutex: 4.5-0_gnu conda-forge
binutils_impl_linux-64: 2.34-h53a641e_0 conda-forge
binutils_linux-64: 2.34-hc952b39_18 conda-forge
bzip2: 1.0.8-h516909a_2 conda-forge
ca-certificates: 2020.4.5.1-hecc5488_0 conda-forge
cmake: 3.17.0-h28c56e5_0 conda-forge
curl: 7.69.1-h33f0ec9_0 conda-forge
expat: 2.2.9-he1b5a44_2 conda-forge
gcc_impl_linux-64: 7.3.0-hd420e75_5 conda-forge
gcc_linux-64: 7.3.0-h553295d_18 conda-forge
gettext: 0.19.8.1-hc5be6a0_1002 conda-forge
git: 2.26.2-pl526h5e3e691_0 conda-forge
gxx_impl_linux-64: 7.3.0-hdf63c60_5 conda-forge
gxx_linux-64: 7.3.0-h553295d_18 conda-forge
krb5: 1.17.1-h2fd8d38_0 conda-forge
ld_impl_linux-64: 2.34-h53a641e_0 conda-forge
libcurl: 7.69.1-hf7181ac_0 conda-forge
libdrm-cos6-x86_64: 2.4.65-hd39d64f_0
libedit: 3.1.20170329-hf8c457e_1001 conda-forge
libffi: 3.2.1-he1b5a44_1007 conda-forge
libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge
libgomp: 9.2.0-h24d8f2e_2 conda-forge
libiconv: 1.15-h516909a_1006 conda-forge
libselinux-cos6-x86_64: 2.0.94-hc7b3062_0
libsepol-cos6-x86_64: 2.0.41-h6e2433f_0
libssh2: 1.8.2-h22169c7_2 conda-forge
libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge
libuv: 1.34.0-h516909a_0 conda-forge
libx11-common-cos6-x86_64: 1.6.4-h023ea50_0
libx11-cos6-x86_64: 1.6.4-h64a1553_0
libxau-cos6-x86_64: 1.0.6-h4888106_0
libxcb-cos6-x86_64: 1.12-h6fd0490_0
libxdamage-cos6-x86_64: 1.1.3-h8e310ee_0
libxext-cos6-x86_64: 1.3.3-hc47956f_0
libxfixes-cos6-x86_64: 5.0.3-h3a64028_0
libxi-cos6-x86_64: 1.7.8-h5354da0_0
libxi-devel-cos6-x86_64: 1.7.8-hda042b6_0
libxxf86vm-cos6-x86_64: 1.1.3-h3cd9653_0
mesa-dri-drivers-cos6-x86_64: 11.0.7-h6ae8bd2_0
mesa-dri1-drivers-cos6-x86_64: 7.11-hd08e721_0
mesa-libegl-cos6-x86_64: 11.0.7-1
mesa-libegl-devel-cos6-x86_64: 11.0.7-h2b7a4b1_0
mesa-libgbm-cos6-x86_64: 11.0.7-0
mesa-libgl-cos6-x86_64: 11.0.7-h045e36e_0
mesa-libgl-devel-cos6-x86_64: 11.0.7-h5a2c0ac_0
ncurses: 6.1-hf484d3e_1002 conda-forge
ninja: 1.10.0-hc9558a2_0 conda-forge
openssl: 1.1.1g-h516909a_0 conda-forge
pcre: 8.44-he1b5a44_0 conda-forge
perl: 5.26.2-h516909a_1006 conda-forge
pixman-cos6-x86_64: 0.32.8-h7062e45_0
rhash: 1.3.6-h14c3975_1001 conda-forge
tk: 8.6.10-hed695b0_0 conda-forge
xorg-x11-server-common-cos6-x86_64: 1.17.4-he6f580c_0
xorg-x11-server-xvfb-cos6-x86_64: 1.17.4-h5c27f9d_0
xz: 5.2.5-h516909a_0 conda-forge
zlib: 1.2.11-h516909a_1006 conda-forge
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
remote: Enumerating objects: 101, done.
remote: Counting objects: 100% (96/96), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 57 (delta 48), reused 38 (delta 31), pack-reused 0
Unpacking objects: 100% (57/57), 10.35 KiB | 56.00 KiB/s, done.
From https://github.com/FreeCAD/FreeCAD
+ c7e9eda50c...ab18bc901f refs/pull/3358/merge -> refs/pull/3358/merge (forced update)
Cloning into '/home/ambu/miniconda3/conda-bld/freecad_1588956647943/work'...
done.
Updating files: 100% (10266/10266), done.
checkout: 'master'
Already on 'master'
Your branch is up to date with 'origin/master'.
==> git log -n1 <==
commit 916a42397c271b7243d7aed286fbabda8fefe217
Author: Yorik van Havre <yorik@uncreated.net>
Date: Fri May 8 13:00:48 2020 +0200
Arch: Added SHP importer
==> git describe --tags --dirty <==
0.19_pre-2322-g916a42397c
==> git status <==
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
source tree in: /home/ambu/miniconda3/conda-bld/freecad_1588956647943/work
export PREFIX=/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac
export BUILD_PREFIX=/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env
export SRC_DIR=/home/ambu/miniconda3/conda-bld/freecad_1588956647943/work
INFO: activate-binutils_linux-64.sh made the following environmental changes:
+ADDR2LINE=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-addr2line
+AR=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ar
+AS=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-as
+CXXFILT=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++filt
+ELFEDIT=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-elfedit
+GPROF=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gprof
+HOST=x86_64-conda_cos6-linux-gnu
+LD_GOLD=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ld.gold
+LD=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ld
+NM=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-nm
+OBJCOPY=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-objcopy
+OBJDUMP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-objdump
+RANLIB=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ranlib
+READELF=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-readelf
+SIZE=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-size
+STRINGS=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-strings
+STRIP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-strip
INFO: activate-gcc_linux-64.sh made the following environmental changes:
+CC=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc
+CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/freecad-0.19.pre -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+CMAKE_PREFIX_PATH=$PREFIX:$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr
+CONDA_BUILD_SYSROOT=$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot
+_CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu
+CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include
+CPP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cpp
+DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/freecad-0.19.pre -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og -isystem $PREFIX/include
+GCC_AR=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-ar
+GCC=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc
+GCC_NM=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-nm
+GCC_RANLIB=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-ranlib
+LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib
INFO: activate-gxx_linux-64.sh made the following environmental changes:
+CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/freecad-0.19.pre -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+CXX=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++
+DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/freecad-0.19.pre -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+GXX=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-g++
adding hacks for linux
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 7.3.0
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: $PREFIX
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: $PREFIX/lib
-- cmake: 3.17.0
-- Found PythonInterp: $PREFIX/bin/python (found version "3.8.2")
-- Found PythonLibs: $PREFIX/lib/libpython3.8.so (found suitable exact version "3.8.2")
-- Checking for module 'eigen3'
-- Found eigen3, version 3.3.7
-- Found Eigen: $PREFIX/include/eigen3
-- Eigen found (include: $PREFIX/include/eigen3, version: 3.3.7)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: $PREFIX/include (found suitable version "1.72.0", minimum required is "1.40.0") found components: system filesystem thread date_time iostreams chrono atomic regex
-- Checking for module 'flann'
-- Found flann, version 1.9.1
-- FLANN found (include: $PREFIX/include, lib: flann;flann_cpp)
-- FLANN found (include: $PREFIX/include, lib: flann;flann_cpp)
-- FLANN found (include: $PREFIX/include, lib: flann;flann_cpp)
-- Found Qhull: optimized;$PREFIX/lib/libqhull_p.so;debug;$PREFIX/lib/libqhull_p.so
-- QHULL found (include: $PREFIX/include, lib: optimized;$PREFIX/lib/libqhull_p.so;debug;$PREFIX/lib/libqhull_p.so)
-- looking for PCL_COMMON
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_COMMON)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_COMMON: $PREFIX/lib/libpcl_common.so
-- looking for PCL_KDTREE
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_KDTREE)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_KDTREE: $PREFIX/lib/libpcl_kdtree.so
-- looking for PCL_OCTREE
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_OCTREE)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_OCTREE: $PREFIX/lib/libpcl_octree.so
-- looking for PCL_SEARCH
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_SEARCH)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SEARCH: $PREFIX/lib/libpcl_search.so
-- looking for PCL_2D
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_2D)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:599 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_2D: $PREFIX/include/pcl-1.9
-- looking for PCL_FEATURES
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_FEATURES) does not match the name of the calling package (PCL). This
can lead to problems in calling code that expects `find_package` result
variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_FEATURES: $PREFIX/lib/libpcl_features.so
-- looking for PCL_SURFACE
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_SURFACE) does not match the name of the calling package (PCL). This
can lead to problems in calling code that expects `find_package` result
variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SURFACE: $PREFIX/lib/libpcl_surface.so
-- looking for PCL_IO
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_IO)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_IO: $PREFIX/lib/libpcl_io.so
-- looking for PCL_FILTERS
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_FILTERS) does not match the name of the calling package (PCL). This
can lead to problems in calling code that expects `find_package` result
variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_FILTERS: $PREFIX/lib/libpcl_filters.so
-- looking for PCL_GEOMETRY
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_GEOMETRY) does not match the name of the calling package (PCL). This
can lead to problems in calling code that expects `find_package` result
variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:599 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_GEOMETRY: $PREFIX/include/pcl-1.9
-- looking for PCL_ML
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (PCL_ML)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_ML: $PREFIX/lib/libpcl_ml.so
-- looking for PCL_SEGMENTATION
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_SEGMENTATION) does not match the name of the calling package (PCL).
This can lead to problems in calling code that expects `find_package`
result variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SEGMENTATION: $PREFIX/lib/libpcl_segmentation.so
-- looking for PCL_SAMPLE_CONSENSUS
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args`
(PCL_SAMPLE_CONSENSUS) does not match the name of the calling package
(PCL). This can lead to problems in calling code that expects
`find_package` result variables (e.g., `_FOUND`) to follow a certain
pattern.
Call Stack (most recent call first):
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/share/pcl-1.9/PCLConfig.cmake:596 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
CMakeLists.txt:44 (SetupPCL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PCL_SAMPLE_CONSENSUS: $PREFIX/lib/libpcl_sample_consensus.so
-- Found PCL: pcl_common;pcl_kdtree;pcl_octree;pcl_search;pcl_features;pcl_surface;pcl_io;pcl_filters;pcl_ml;pcl_segmentation;pcl_sample_consensus;$PREFIX/lib/libboost_system.so;$PREFIX/lib/libboost_filesystem.so;$PREFIX/lib/libboost_thread.so;-lpthread;$PREFIX/lib/libboost_date_time.so;$PREFIX/lib/libboost_iostreams.so;$PREFIX/lib/libboost_chrono.so;$PREFIX/lib/libboost_atomic.so;$PREFIX/lib/libboost_regex.so;optimized;$PREFIX/lib/libqhull_p.so;debug;$PREFIX/lib/libqhull_p.so;flann;flann_cpp
-- Found PythonLibs: $PREFIX/lib/libpython3.8.so
-- Found Boost: $PREFIX/include (found suitable version "1.72.0", minimum required is "1.48") found components: filesystem program_options regex system thread chrono date_time atomic
-- Found Xerces-C: $PREFIX/lib/libxerces-c.so
-- Found ZLIB: $PREFIX/lib/libz.so (found version "1.2.11")
-- PyCXX found:
-- Headers: $SRC_DIR/src
-- Sources: $SRC_DIR/src/CXX
-- Version: 6.2.8
CMake Warning (dev) at /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (OCC) does
not match the name of the calling package (OpenCasCade). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:50 (SetupOpenCasCade)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OCC: $PREFIX/include/opencascade (found version "7.4.0")
-- -- Found OCE/OpenCASCADE version: 7.4.0
-- -- OCE/OpenCASCADE include directory: $PREFIX/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: $PREFIX/lib
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Found Netgen: $PREFIX/lib/cmake/netgen
-- Found NETGEN version 6.2, calculated: 393728
-- Found SWIG: $PREFIX/bin/swig (found version "4.0.1")
-- Found Eigen3: $PREFIX/include/eigen3 (found suitable version "3.3.7", minimum required is "2.91.0")
-- Found Freetype: $PREFIX/lib/libfreetype.so (found version "2.9.1")
-- Found OpenGL: $BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/libGL.so
-- Found OpenGLU: $PREFIX/lib/libGLU.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'Coin'
-- Found Coin, version 4.0.0
-- Coin3D libraries found
-- Found Spnav: $PREFIX/lib/libspnav.so
-- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu
-- Found PythonInterp: $PREFIX/bin/python (found suitable version "3.8.2", minimum required is "3")
-- Found PythonLibs: $PREFIX/lib/libpython3.8.so (found suitable version "3.8.2", minimum required is "3")
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '$PREFIX/include/python3.8'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-38-x86_64-linux-gnu
-- libshiboken built for Release
=====================================================
matplotlib not found, Plot module won't be available.
=====================================================
-- Platform is 64-bit, set -D_OCC64
-- $SRC_DIR/build/src/Base/TypePy.cpp
-- $SRC_DIR/build/src/Base/BaseClassPy.cpp
-- $SRC_DIR/build/src/Base/BoundBoxPy.cpp
-- $SRC_DIR/build/src/Base/CoordinateSystemPy.cpp
-- $SRC_DIR/build/src/Base/PersistencePy.cpp
-- $SRC_DIR/build/src/Base/VectorPy.cpp
-- $SRC_DIR/build/src/Base/MatrixPy.cpp
-- $SRC_DIR/build/src/Base/RotationPy.cpp
-- $SRC_DIR/build/src/Base/PlacementPy.cpp
-- $SRC_DIR/build/src/Base/AxisPy.cpp
-- $SRC_DIR/build/src/Base/UnitPy.cpp
-- $SRC_DIR/build/src/Base/QuantityPy.cpp
-- $SRC_DIR/build/src/App/DocumentPy.cpp
-- $SRC_DIR/build/src/App/DocumentObjectPy.cpp
-- $SRC_DIR/build/src/App/ExtensionPy.cpp
-- $SRC_DIR/build/src/App/ExtensionContainerPy.cpp
-- $SRC_DIR/build/src/App/DocumentObjectExtensionPy.cpp
-- $SRC_DIR/build/src/App/GroupExtensionPy.cpp
-- $SRC_DIR/build/src/App/LinkBaseExtensionPy.cpp
-- $SRC_DIR/build/src/App/DocumentObjectGroupPy.cpp
-- $SRC_DIR/build/src/App/GeoFeaturePy.cpp
-- $SRC_DIR/build/src/App/GeoFeatureGroupExtensionPy.cpp
-- $SRC_DIR/build/src/App/OriginGroupExtensionPy.cpp
-- $SRC_DIR/build/src/App/PartPy.cpp
-- $SRC_DIR/build/src/App/ComplexGeoDataPy.cpp
-- $SRC_DIR/build/src/App/PropertyContainerPy.cpp
-- $SRC_DIR/build/src/App/MaterialPy.cpp
-- $SRC_DIR/build/src/Mod/Points/App/PointsPy.cpp
-- $SRC_DIR/build/src/Mod/Mesh/App/FacetPy.cpp
-- $SRC_DIR/build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- $SRC_DIR/build/src/Mod/Mesh/App/MeshPointPy.cpp
-- $SRC_DIR/build/src/Mod/Mesh/App/MeshPy.cpp
-- $SRC_DIR/build/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcOfConicPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BodyBasePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ConicPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/CirclePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/EllipsePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/HyperbolaPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ParabolaPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/OffsetCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometryCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BoundedCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TrimmedCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/LinePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/LineSegmentPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/PointPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BezierCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BSplineCurvePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/PlanePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ConePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/CylinderPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/SpherePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/ToroidPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BezierSurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/PlateSurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/PartFeaturePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/AttachExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Part2DObjectPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/AttachEnginePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- $SRC_DIR/build/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- $SRC_DIR/build/src/Mod/PartDesign/App/BodyPy.cpp
-- $SRC_DIR/build/src/Mod/PartDesign/App/FeaturePy.cpp
-- $SRC_DIR/build/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- $SRC_DIR/build/src/Mod/Sketcher/App/SketchPy.cpp
-- $SRC_DIR/build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- $SRC_DIR/build/src/Mod/Robot/App/TrajectoryPy.cpp
-- $SRC_DIR/build/src/Mod/Robot/App/WaypointPy.cpp
-- $SRC_DIR/build/src/Mod/Robot/App/RobotObjectPy.cpp
-- $SRC_DIR/build/src/Mod/Import/App/StepShapePy.cpp
-- $SRC_DIR/build/src/Mod/Fem/App/FemMeshPy.cpp
-- $SRC_DIR/build/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- $SRC_DIR/build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- $SRC_DIR/build/src/Mod/Spreadsheet/App/SheetPy.cpp
-- $SRC_DIR/build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- $SRC_DIR/build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- $SRC_DIR/build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/CommandPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/PathPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/ToolPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/TooltablePy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/AreaPy.cpp
-- $SRC_DIR/build/src/Mod/Path/App/FeatureAreaPy.cpp
-- area module (for Path Workbench) will be installed to: $PREFIX/lib
-- $SRC_DIR/build/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- $SRC_DIR/build/src/Mod/Measure/App/MeasurementPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawPagePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/CenterLinePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawTilePy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
-- $SRC_DIR/build/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
Created file $SRC_DIR/build/doc/freecad.qch
-- Found Doxygen: $PREFIX/bin/doxygen (found version "1.8.18 (13b3d330f24ff38b30d8b58ebd2ded6ec1ab7a85*)") found components: doxygen missing components: dot
-- Note: Doxygen docs will look better with graphviz's dot installed.
-- Coin3D doc is not installed
-- $SRC_DIR/build/src/Gui/DocumentPy.cpp
-- $SRC_DIR/build/src/Gui/PythonWorkbenchPy.cpp
-- $SRC_DIR/build/src/Gui/ViewProviderPy.cpp
-- $SRC_DIR/build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- $SRC_DIR/build/src/Gui/WorkbenchPy.cpp
-- $SRC_DIR/build/src/Gui/SelectionObjectPy.cpp
-- $SRC_DIR/build/src/Gui/LinkViewPy.cpp
-- $SRC_DIR/build/src/Gui/ViewProviderLinkPy.cpp
-- $SRC_DIR/build/src/Gui/AxisOriginPy.cpp
--
==============
Summary report
==============
-- Build type: Release
-- Compiler: $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++ (7.3.0)
-- Flags: -Wall -Wextra -Wno-write-strings -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/freecad-0.19.pre -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
-- Standard: Requires C++11
-- Python: [$PREFIX/bin/python] [.cpython-38-x86_64-linux-gnu]
-- PCL: 1.9.1
-- pybind11: 2.5.0
-- Boost: 107200
-- XercesC: [$PREFIX/lib/libxerces-c.so] [$PREFIX/include]
-- ZLIB: 1.2.11
-- PyCXX: [$SRC_DIR/src]
-- OCC: 7.4.0 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBin;TKBool;TKBO;TKCDF;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEP;TKSTEPBase;TKSTEPAttr;TKHLR;TKFeat]
-- SMESH: 8.3.0.3
-- NETGEN: 6.2-dev [-DNO_PARALLEL_THREADS;-DOCCGEOMETRY;-DNETGEN_VERSION=393728] [] [$PREFIX/include/netgen/include;$PREFIX/include/netgen] [nglib] [$PREFIX/include/netgen/include;$PREFIX/include/netgen]
-- SWIG: 4.0.1
-- Eigen3 3.3.7
-- Qt5Core: 5.12.5
-- Qt5Network: 5.12.5
-- Qt5Xml: 5.12.5
-- Qt5XmlPatterns: 5.12.5
-- Qt5Widgets: 5.12.5
-- Qt5PrintSupport: 5.12.5
-- Qt5OpenGL: 5.12.5
-- Qt5Svg: 5.12.5
-- Qt5UiTools: 5.12.5
-- Qt5Concurrent: 5.12.5
-- Qt5WebEngineWidgets: 5.12.5
-- Shiboken2: 5.13.2 [$PREFIX/lib/cmake/Shiboken2-5.13.2] [$PREFIX/include/shiboken2;$PREFIX/include/python3.8]
-- PySide2: 5.13.2 [$PREFIX/include/PySide2]
-- PySide2Tools: [$PREFIX/bin/pyside2-uic] [$PREFIX/bin/pyside2-rcc]
-- Freetype: 2.9.1
-- OpenGLU: $PREFIX/lib/libGLU.so [$PREFIX/lib/libGLU.so][$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/include]
-- Coin3D: [Coin] [$PREFIX/include]
-- SPNAV: [$PREFIX/lib/libspnav.so] [$PREFIX/include]
-- Matplotlib: not found
-- Rift: not enabled (BUILD_VR)
-- Doxygen: not found
=================================================
Now run 'cmake --build /home/ambu/miniconda3/conda-bld/freecad_1588956647943/work/build' to build FreeCAD
=================================================
-- Configuring done
CMake Warning at src/Mod/Fem/Gui/CMakeLists.txt:394 (add_library):
Cannot generate a safe runtime search path for target FemGui because files
in some directories may conflict with libraries in implicit directories:
runtime library [libX11.so.6] in /home/ambu/miniconda3/conda-bld/freecad_1588956647943/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib may be hidden by files in:
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64
runtime library [libXext.so] in /usr/lib64 may be hidden by files in:
/home/ambu/miniconda3/conda-bld/freecad_1588956647943/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: $SRC_DIR/build
FREECAD_USE_3DCONNEXION=
ninja: error: '/usr/lib64/libXext.so', needed by 'Mod/Fem/Fem.so', missing and no known rule to make it
Traceback (most recent call last):
File "/home/ambu/miniconda3/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 469, in main
execute(sys.argv[1:])
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 460, in execute
verify=args.verify, variants=args.variants)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/api.py", line 209, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 2344, in build_tree
notest=notest,
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 1492, in build
cwd=src_dir, stats=build_stats)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/utils.py", line 398, in check_call_env
return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
File "/home/ambu/miniconda3/lib/python3.7/site-packages/conda_build/utils.py", line 378, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/home/ambu/miniconda3/conda-bld/freecad_1588956647943/work/conda_build.sh']' returned non-zero exit status 1.
ambu@ambu-pc:~/Desktop/freecad_build/freecad-feedstock$
@looooo Do I have to install some additional dependencies for Fem.so
or for Ninja
?
looks good. Normally conda-packages are build on a centos6 docker. In ubuntu you can link /usr/lib/x86_64-linux-gnu/
to /usr/lib64
. ln -ls /usr/lib/x86_64-linux-gnu /usr/lib64
if you want to build with docker, look here for instruction:
https://github.com/FreeCAD/FreeCAD_Conda/blob/master/build.md#linux
Very much thanks @looooo
I tried to build FreeCAD in docker as you said and successfully able to create AppImage.
The linux_dev.sh
fails on bundling AppImage with error dlopen(): error loading libfuse.so.2
Then on searching, I found that I have to add --appimage-extract-and-run
flag to command. (https://github.com/AppImage/AppImageKit/wiki/FUSE#docker)
ARCH=x86_64 ../../appimagetool-x86_64.AppImage --appimage-extract-and-run \
-u "gh-releases-zsync|FreeCAD|FreeCAD|$DEPLOY_RELEASE|FreeCAD*glibc2.12-x86_64.AppImage.zsync" \
AppDir ${version_name}.AppImage
For building FreeCAD on Ubuntu, I also create logical symbolic link (ln -ls /usr/lib/x86_64-linux-gnu /usr/lib64
) and still getting same error (https://github.com/FreeCAD/FreeCAD_Conda/issues/38#issuecomment-625918819). I would like to know the exact reason behind this issue and how to fix.
Anyways, can close this ticket.
Thanks again.
For building FreeCAD on Ubuntu, I also create logical symbolic link (ln -ls /usr/lib/x86_64-linux-gnu /usr/lib64) and still getting same error (#38 (comment)). I would like to know the exact reason behind this issue and how to fix.
Normally conda should not link against libraries in /usr/lib... . There is the solution with cdt's: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html
On Linux, using the compiler packages provided by Anaconda Inc. in the defaults meta-channel can prevent your build system leaking into the built software by using our CDT (Core Dependency Tree) packages for any "system" dependencies. These packages are repackaged libraries and headers from CentOS6 and are unpacked into the sysroot of our pseudo-cross compilers and are found by them automatically.
But this does not work for all recipes. Not sure which package needs the /usr/lib64/libxext.so
. To improve this situation it might be interesting to find out which package contains this path.
As a workaround you need to provide this file somehow. Look for libxext.so.
in /usr/lib/x86_64-linux-gnu/
. If it is available creating a soft link from /usr/lib/x86_64-linux-gnu/
to /usr/lib64
should be sufficient. Btw.: I made an error in my suggested command. It should be ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
Hi @looooo
As I successfully build AppImage, now I am compiling FreeCAD on MacOS to make *.dmg file.
/opt/MacOSX10.12.sdk
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.12.sdk # [osx]
freecad-feedstock
sudo conda build . -m .ci_support/osx_python3.8.____cpython.yaml
Getting error:
adding hacks for osx
ln: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk: No such file or directory
Traceback (most recent call last):
File "/Users/ambu/miniconda3/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 474, in main
execute(sys.argv[1:])
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 465, in execute
verify=args.verify, variants=args.variants)
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/api.py", line 209, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 2864, in build_tree
notest=notest,
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/build.py", line 1995, in build
cwd=src_dir, stats=build_stats)
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/utils.py", line 404, in check_call_env
return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
File "/Users/ambu/miniconda3/lib/python3.7/site-packages/conda_build/utils.py", line 384, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/Users/ambu/miniconda3/conda-bld/freecad_1589374927662/work/conda_build.sh']' returned non-zero exit status 1.
On debugging, I found the script fails conda_build.sh
(https://paste.ubuntu.com/p/Dz3p52nYMv/) at line no 29 (create symbolic link).
As I don't have XCode then I installed XCode from AppStore,
λ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ ls
DriverKit19.0.sdk MacOSX.sdk MacOSX10.15.sdk
In the symbolic link you mentioned to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
file points to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
and in the XCode I MacOSX10.12.sdk
is not present. There is MacOSX10.15.sdk
.
Do, I need the change the ln
command?
Here are the full logs of sudo conda build . -m .ci_support/osx_python3.8.____cpython.yaml
commands:
https://paste.ubuntu.com/p/4w9b7trh6g/
I guess you need macosx10.12.sdk. you can try with 10.15 but 1. we never tested with 10.15 and 2. all conda-forge packages are build with 10.9 , 10.12.
I guess you need macosx10.12.sdk. you can try with 10.15 but 1. we never tested with 10.15 and 2. all conda-forge packages are build with 10.9 , 10.12.
Yes, but I already put macos10.12.sdk in /opt/
directory. Also in build_env_setup.sh file we have
export CONDA_BUILD_SYSROOT="/opt/MacOSX10.12.sdk"
at line no. 56
Is condo took SDK's from Xcode.app? Or should I copy MacOSX10.12.sdk
from /opt
to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
?
Maybe this helps: https://github.com/FreeCAD/FreeCAD_Conda/blob/master/build.md#macosx
Maybe this helps: https://github.com/FreeCAD/FreeCAD_Conda/blob/master/build.md#macosx
@looooo Yes, it works. 👍 No need to install XCode as condo is using sdk from CONDA_BUILD_SYSROOT
.
Thanks a lot!
I am building FreeCAD locally using conda by following tutorial (https://wiki.freecadweb.org/Python_3) in Alternate Install section.
In the instructions, you said to go
FreeCAD_Conda/.FreeCAD_debug
and set variable values. Here I unable to find.FreeCAD_debug
.Also, in develop.md there are
Please let me know is these tutorials are outdated? Or I am going in wrong direction.
My goal is, I want to build FreeCAD locally using conda and then create a .AppImage using https://wiki.freecadweb.org/AppImage (Repackaging AppImages).