Dear CMakers,

I am trying to package a 32bit binary on a 64bit system. It breaks with the 
(useless?) verbose output which follows below. What I could find of useful 
information was in _CPack_Packages/Linux/RPM/rpmbuild.err, which stated
error: No compatible architectures found for build

I tried to set CPACK_RPM_PACKAGE_ARCHITECTURE and CPACK_PACKAGE_ARCHITECTURE to 
i686, but that didn't do much. I found that e.g. the TGZ generator works just 
fine, so I suppose it is something with the RPM generator, but I am not clever 
enough to figure out what...

Can anyone help?

Cheers and thanks,
Yngve

> cpack -V -G RPM
CPack: Enable Verbse
CPack Verbose: Read CPack config file: 
CPack Verbose: Read CPack configuration file: /path/to/build/CPackConfig.cmake
CPack Verbose: Specified generator: RPM
CPack Verbose: Use generator: cmCPackRPMGenerator
CPack Verbose: For project: madX
CPack: Create package using RPM
CPack Verbose: Read description file: 
/usr/share/cmake/Templates/CPack.GenericDescription.txt
CPack Verbose: Remove toplevel directory: 
/path/to/build/_CPack_Packages/Linux/RPM
CPack: Install projects
CPack: - Run preinstall target for: madX
CPack: - Install project: madX
CPack Verbose: Install configuration: "Release"
CPack Verbose: Installing: 
/path/to/build/_CPack_Packages/Linux/RPM/madX-4.01.45-Linux/usr/bin/madx_dev
....
CPack Verbose: Installing: 
/path/to/build/_CPack_Packages/Linux/RPM/madX-4.01.45-Linux/usr/include/madX/fortran_wrappers.h
CPack: Compress package
CPack Verbose: Compress files to: 
/path/to/build/_CPack_Packages/Linux/RPM/madX-4.01.45-Linux.rpm
CPack: Finalize package
CPack Verbose: Copy final package: 
/path/to/build/_CPack_Packages/Linux/RPM/madX-4.01.45-Linux.rpm to 
/path/to/build/madX-4.01.45-Linux.rpm
CPack Error: Problem copying the package: 
/path/to/build/_CPack_Packages/Linux/RPM/madX-4.01.45-Linux.rpm to 
/path/to/build/madX-4.01.45-Linux.rpm
CPack Error: Error when generating package: madX
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to