https://kotlinlang.org logo
Title
s

solonovamax

10/25/2021, 3:21 PM
I'm not entirely sure what's the correct channel for this, so I'm just going to post this 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.
e

edrd

10/25/2021, 3:38 PM
Maybe check with folks at #kontributors
s

solonovamax

10/25/2021, 3:42 PM
ty, I didn't have access to that channel
I'll cross post it there
👍 1