Saturday, 20 December 2014

Error :Arc dependent binaries in noarch package (CentOS 6.5)

This error mostly occurs when you try to create RPM and if binary files are present in project,then It gives this error.
This error most likely to occur in Linux distributions like CentOS,Ubuntu,OpenSuse.

In order to avoid this error,you should to add following line in .spec file which gets generated whenever you create rpm.

   %define _binaries_in_noarch_packages_terminate_build   0

To add this line in .spec file of your build,mention this declaration in pom.xml.

No comments:

Post a Comment