Friday, 2023-02-24

*** playforvoices is now known as Guest572809:22
ilpianistaSo, I've a project where I used to run `sfdk prepare %{buildDir}` during the "Build Steps". With latest SDK update this returns `Fatal: The command needs to be used from the top of a build tree. See the 'build-init' command.`. What I'm doing wrong?19:25
ilpianistasolved with sfdk prepare %{buildDir}../, but I'm not sure it's the right thing to do 🤔19:27
ilpianista * <del>solved with `sfdk prepare %{buildDir}../`, but I'm not sure it's the right thing to do 🤔</del>19:29
ilpianistaI was wrong, this didn't help19:29
attahilpianista: just run sfdk build-init19:44
attahsomething-something it should not pollute random directories19:44
ilpianistanow I get Fatal: No RPM SPEC or YAML file found in '/home/andrea/projects/Jolla/build-Syncthing-SailfishOS_4_5_0_18_armv7hl_in_sailfish_sdk_build_engine_andrea-Debug/rpm/'19:44
attahthat directory does not look like it should contain code19:45
attah(and you should be in the repo directory when you run that, i.e. where rpm subfolder is)19:47
ilpianistanow I get Fatal: Refusing to prepare dirty work tree - commit or reset your changes first19:48
ilpianistaI understand that it's complaining about my changes, but I'm developing, I can't do a commit for any test :-)19:49
attahbut do you actually have any prepare steps?19:50
ilpianistayes19:50
ilpianistaas I said before, this was working with SDK 3.9. I think that https://github.com/sailfishos/sdk-setup/pull/339 "broke" my setup19:51
attahsounds like time for a bug report then :/19:51
ilpianistadone 🤞20:02
ilpianistaproblem solved, full report here anyway :-) https://forum.sailfishos.org/t/fatal-the-prepare-command-must-be-used-on-the-source-tree/14861/220:15
*** amccarthy is now known as Guest577422:51
*** amccarthy_ is now known as amccarthy22:51
*** amccarthy is now known as Guest577522:57
*** amccarthy_ is now known as amccarthy22:57
*** amccarthy is now known as Guest577723:10
*** amccarthy_ is now known as amccarthy23:10

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!