Bug 2113510

Summary: meshlab: FTBFS in Fedora rawhide/f37
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: meshlabAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, spacewar, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: meshlab-2021.07-5.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-02 11:24:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2079833    
Bug Blocks: 2045102    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-08-01 23:55:07 UTC
meshlab failed to build from source in Fedora rawhide/f37

https://koji.fedoraproject.org/koji/taskinfo?taskID=89828164


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Please fix meshlab at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
meshlab will be orphaned. Before branching of Fedora 38,
meshlab will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-08-01 23:55:10 UTC
Created attachment 1901955 [details]
build.log

Comment 2 Fedora Release Engineering 2022-08-01 23:55:11 UTC
Created attachment 1901956 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-08-01 23:55:12 UTC
Created attachment 1901957 [details]
state.log

Comment 4 Miro Hrončok 2022-08-02 09:36:11 UTC
This seems cmake macros related and I have no idea what is the proper way to make this.

spec:

%cmake src \
	-D ...

log:

+ /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON src -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DALLOW_BUNDLED_EIGEN=OFF -DALLOW_BUNDLED_GLEW=OFF -DALLOW_BUNDLED_LEVMAR=ON -DALLOW_BUNDLED_LIB3DS=OFF -DALLOW_BUNDLED_MUPARSER=OFF -DALLOW_BUNDLED_NEWUOA=ON -DALLOW_BUNDLED_OPENCTM=ON -DALLOW_BUNDLED_QHULL=OFF -DALLOW_BUNDLED_SSYNTH=ON -DALLOW_BUNDLED_XERCES=OFF -DALLOW_SYSTEM_EIGEN=ON -DALLOW_SYSTEM_GLEW=ON -DALLOW_SYSTEM_GMP=ON -DALLOW_SYSTEM_LIB3DS=ON -DALLOW_SYSTEM_MUPARSER=ON -DALLOW_SYSTEM_OPENCTM=ON -DALLOW_SYSTEM_QHULL=ON -DALLOW_SYSTEM_XERCES=ON -DEigen3_DIR=usr/include/eigen3 -DGlew_DIR=/usr/include/GL -DQhull_DIR=/usr/include/libqhull
CMake Warning:
  Ignoring extra path from command line:
   "/builddir/build/BUILD/meshlab-Meshlab-2021.07/src"
CMake Error: The source directory "/builddir/build/BUILD/meshlab-Meshlab-2021.07" does not appear to contain CMakeLists.txt.



I'll try:

%global _vpath_srcdir src
%cmake \
	-D...