traewelldroid icon indicating copy to clipboard operation
traewelldroid copied to clipboard

F-Driod build failed

Open linsui opened this issue 1 year ago • 8 comments

Describe the bug A clear and concise description of what the bug is. https://github.com/Traewelldroid/traewelldroid/pull/409 added an aar to the repo which is not allowed by F-Droid. Why is a local aar required? https://gitlab.com/fdroid/fdroiddata/-/jobs/7604814878

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

linsui avatar Aug 18 '24 09:08 linsui

The local aar is required because I use a library which was only hosted on jcenter (and i didnt had that on my mind until it was shut down). Since this is no longer accessible, I added it shorthand to the repo until I found a solution for replacing it.

jheubuch avatar Aug 18 '24 17:08 jheubuch

Maybe you can use https://www.jitpack.io/#jcloquell/android-secure-storage/0.1.3?

linsui avatar Aug 19 '24 06:08 linsui

Sounds like a great idea!

jheubuch avatar Aug 19 '24 07:08 jheubuch

Thanks @linsui for the notice and the help with the library! :)

jheubuch avatar Aug 19 '24 07:08 jheubuch

Thanks!

linsui avatar Aug 19 '24 08:08 linsui

can we reopen?

ref: https://monitor.f-droid.org/builds/log/de.hbch.traewelling/169#site-footer

so I remove those lines and...

==== detail begin ====
verification of APK with copied signature failed
Comparing reference APK to APK with copied signature...
Unexpected diff output:
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/assets/dexopt/baseline.prof and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/assets/dexopt/baseline.prof differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/classes.dex and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/classes.dex differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/classes2.dex and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/classes2.dex differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/classes3.dex and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/classes3.dex differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/classes4.dex and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/classes4.dex differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/-1.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/-1.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/21.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/21.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/2F.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/2F.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/2n.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/2n.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/2w1.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/2w1.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/4H.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/4H.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/7R.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/7R.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/7s.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/7s.xml differ
Binary files /tmp/tmpx5m_670v/unsigned_binaries_de.hbch.traewelling_169.binary/content/res/B6.xml and /tmp/tmpx5m_670v/_tmp_tmpx5m_670v_sigcp_de.hbch.traewelling_169/content/res/B6.xml differ
...

@jheubuch was the foss apk built from the right flavor?

licaon-kter avatar Oct 07 '24 08:10 licaon-kter

Uhm yes, I think so.. I ran my build script as I run it every time. 🤔

jheubuch avatar Oct 07 '24 08:10 jheubuch

Maybe there was some problem with the gradle clean since I first build the Google Play variant and then the FOSS one. For the moment I would draft a new release with a manually rebuilt FOSS release and see if it is fixed...

jheubuch avatar Oct 07 '24 08:10 jheubuch

I created a new release and hope that it is fixed.. somehow

jheubuch avatar Oct 08 '24 09:10 jheubuch

nope :( https://gitlab.com/fdroid/fdroiddata/-/jobs/8020118520#L1900

/LE: might be related to https://gitlab.com/fdroid/fdroid-suss/-/issues/16 retesting now

licaon-kter avatar Oct 08 '24 09:10 licaon-kter

yup confirmed, thanks: https://gitlab.com/fdroid/fdroiddata/-/jobs/8020652015#L383

/close this

licaon-kter avatar Oct 08 '24 10:10 licaon-kter

ah I see, good to know, thanks for the information :)

jheubuch avatar Oct 08 '24 10:10 jheubuch