Bug 2380979

Summary: cloudcompare: FTBFS with change proposal CMake: Use ninja generator by default
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
Component: cloudcompareAssignee: Orphan Owner <extras-orphan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-16 22:57:41 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:    
Bug Blocks: 2376112    

Description Cristian Le 2025-07-16 15:12:17 UTC
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake: Use ninja generator by default.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/package/cloudcompare.

See https://fedoraproject.org/wiki/Changes/CMake_ninja_default for more information on how to make the package compatible.

More specifically, make sure you are using standard %cmake_* macros. If you find that there are hard dependencies on
the generator even after such transition, please ping me for closer investigation.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 Miro Hrončok 2025-08-04 14:59:38 UTC
I've tried:

  -%make_build VERBOSE=1
  +%cmake_build
   popd
   
   %install
   pushd build
  -%make_install VERBOSE=1
  +%cmake_build
   popd

However, the build fails with:

  + /usr/bin/cmake --build . -j12 --verbose
  Change Dir: '/builddir/build/BUILD/cloudcompare-2.11.3-build/CloudCompare-2.11.3/build'
  
  Run Build Command(s): /usr/bin/ninja-build -v -j 12
  ninja: no work to do.
  
  ~/build/BUILD/cloudcompare-2.11.3-build/CloudCompare-2.11.3
  + popd
  + ln -s ./CloudCompare /builddir/build/BUILD/cloudcompare-2.11.3-build/BUILDROOT/usr/bin/cloudcompare
  ln: failed to create symbolic link '/builddir/build/BUILD/cloudcompare-2.11.3-build/BUILDROOT/usr/bin/cloudcompare': No such file or directory

I guess this is related to: %define __cmake_in_source_build 1 (which is in spec)

Do you know how to fix this package?

Comment 3 Miro Hrončok 2025-08-04 15:17:23 UTC
(In reply to Miro Hrončok from comment #1)
> ...
>   -%make_install VERBOSE=1
>   +%cmake_build

This was obviously a wrong fix by me, mea culpa.

Comment 4 Fedora Admin user for bugzilla script actions 2025-09-29 13:20:54 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Maxwell G 2025-11-16 22:57:41 UTC
Automation has figured out the package is retired in Fedora Rawhide.

If you like it to be unretired, please open a ticket at
https://pagure.io/releng/new_issue?template=package_unretirement