I posted this in
#getting-started, but was told to move it here:
I'm trying to package
kotlin-native
in the AUR and am having trouble building it. Currently, it's giving me a bunch of errors when I try to run
gradle :bundle
, with the message
e: warnings found and -Werror specified
.
I've tried the following:
1. Compiling from the root directory, with
gradle :kotlin-native:bundle
2. Compiling from the
kotlin-native
directory with
gradle :bundle
3. Adding
kotlin.build.disable.werror=true
to the
gradle.properties
in both the root and
kotlin-native
directories, and performing 1 and 2 again.
4. Modifying the property
KotlinBuildProperties.disableWerror
in
buildSrc/src/main/kotlin/BuildPropertiesExt.kt
to make it always return
true
, then performing 1 and 2 again.
5. Commenting out
allWarningsAsErrors = true
in the
build.gradle.kts
(line 529) and performing 1 and 2 again.
6. Passing
-Pkotlin.build.disable.werror=true
to gradle, and performing 1 and 2 again.
At this point, I'm stumped on what I need to do to build it properly.