You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build an rpm package with sbt-native-packager and I'd like to include the sigar binaries. I'm specifically building an akka-cluster rpm and I'd like to ensure the libsigar dependencies are included.
I'm getting an error " error: Arch dependent binaries in noarch package" and setting packageArchitecture doesn't seem to help. Any suggestions on how to configure this appropriately?
I'm currently adding the sigar dependencies via unmanagedDependencies.
The text was updated successfully, but these errors were encountered:
What you really want to do is build architecture dependent builds. This is why
I changed this ticket into a feature request. Currently you can only build for one arch.
In your build.sbt put
packageArchitecture in Rpm:="x86_64"
put your sigar libs in a place you want to (I use the default packaging layout, so src/linux/sigar..) and put onlylibsigar-amd64-linux.so in there.
This will produce an rpm with correct binaries. If you want to build for more architectures you have to create your own sbt configurations and only change the packageArchitecture in there. This is cumbersome.
I'm trying to build an rpm package with sbt-native-packager and I'd like to include the sigar binaries. I'm specifically building an akka-cluster rpm and I'd like to ensure the libsigar dependencies are included.
I'm getting an error " error: Arch dependent binaries in noarch package" and setting packageArchitecture doesn't seem to help. Any suggestions on how to configure this appropriately?
I'm currently adding the sigar dependencies via unmanagedDependencies.
The text was updated successfully, but these errors were encountered: