Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build fails on error in ThirdParty/GDCM #417

Open
cribe78 opened this issue May 5, 2023 · 1 comment
Open

Linux build fails on error in ThirdParty/GDCM #417

cribe78 opened this issue May 5, 2023 · 1 comment

Comments

@cribe78
Copy link

cribe78 commented May 5, 2023

Description

Attempting to build Seg3D in a containerized Ubuntu 22.04 fails at step "Building CXX object Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/gdcmImageChangePhotometricInterpretation.cxx.o ". While this appears to be due to a bug in an upstream 3rd party project, GDCM, it is unclear how to alter to build system to potentially pull in a different version of GDCM.

Relevant selection from output of "make":
seg3d-make.log

Steps to Reproduce

  1. Create an apptainer definition file named Apptainer with the following contents:

Bootstrap: docker
From: ubuntu:22.04

%post
apt-get -y update
export DEBIAN_FRONTEND=noninteractive
apt install -y cmake build-essential qtbase5-dev qt5-qmake wget libqt5svg5-dev git subversion
textlive-latex-extra libboost-python-dev libtirpc-dev
wget https://github.com/SCIInstitute/Seg3D/archive/refs/tags/v2.5.1.tar.gz
tar xzf v2.5.1.tar.gz
cd /Seg3D-2.5.1/bin
cmake -DQt5_PATH:PATH=/usr/lib/x86_64-linux-gnu/qt5 ../Superbuild
make
make install

  1. Run "apptainer build Seg3D.sif Apptainer

Expected behavior: The make step completes successfully and a container image is created.

Actual behavior: The error listed above is encountered during the make step.

Versions

Version 2.5.1. Also tested on Git master branch with same results.

@cribe78
Copy link
Author

cribe78 commented May 5, 2023

Uploaded apptainer definition file: apptainer.txt

The text pasted in bug report is missing a necessary \ at the end of the "apt install -y" line. I can convert the apptainer definition file to a Dockerfile if requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant