Bug 2380979 - cloudcompare: FTBFS with change proposal CMake: Use ninja generator by default
Summary: cloudcompare: FTBFS with change proposal CMake: Use ninja generator by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cloudcompare
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376112
TreeView+ depends on / blocked
 
Reported: 2025-07-16 15:12 UTC by Cristian Le
Modified: 2025-11-16 22:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-16 22:57:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources cloudcompare pull-request 16 0 None None None 2025-08-04 15:16:34 UTC

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


Note You need to log in before you can comment on or make changes to this bug.