Skip to content

Reproducible Build for v5.7.0 fails #2041

@IzzySoft

Description

@IzzySoft

Which version of floccus are you using?

v5.7.0

How many bookmarks do you have, roughly?

n/a

Are you using other means to sync bookmarks in parallel to floccus?

n/a

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

n/a

Which version of Nextcloud Bookmarks are you using? (if relevant)

n/a

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

Build succeeds, but is missing a file:

  -rw-r--r--  0.0 unx      407 b-      173 defN 1981-01-01 01:01:02 b105e29d assets/public/html/background.html
- -rw-r--r--  0.0 unx      775 b-      324 defN 1981-01-01 01:01:02 aaf16b91 assets/public/html/index.html
  -rw-r--r--  0.0 unx     1096 b-      400 defN 1981-01-01 01:01:02 7ac60b0d assets/public/html/options.html

Unfortunately, the vcsInfo embedded in the APK is not providing the commit the APK was built from (META-INF/version-control-info.textproto just states generate_error_reason: NO_SUPPORTED_VCS_FOUND), so we cannot check if the commit matches. We assume so, though, as you are using the Github CI to build your release (and the action file hasn't been changed since the last release). Also, there is no newer commit than the tagged one.

Expected Behavior

build succeeds and results in an identical APK (as before).

To Reproduce

Build with rbtlog and the following recipe (which succeeded for previous releases):

  - tag: v5.7.0
    apks:
      - apk_pattern: floccus-build-.*\.apk
        apk_url: https://github.com/floccusaddon/floccus/releases/download/$$TAG$$/floccus-build-$$TAG$$.apk
        build:
          - wget -q -O /tmp/nodejs-lts.tar.xz -- https://nodejs.org/dist/v22.18.0/node-v22.18.0-linux-x64.tar.xz
          - sha256sum -c <<< 'c1bfeecf1d7404fa74728f9db72e697decbd8119ccc6f5a294d795756dfcfca7  /tmp/nodejs-lts.tar.xz'
          - tar xf /tmp/nodejs-lts.tar.xz -C /opt
          - export PATH="${PATH}:/opt/node-v22.18.0-linux-x64/bin"
          - npm install
          - npx gulp
          - npx cap sync
          - cd android
          - ./gradlew assembleRelease
          - mv app/build/outputs/apk/release/app-release-unsigned.apk /outputs/unsigned.apk
        build_home_dir: /build
        build_repo_dir: /build/repo
        build_user: build
        provisioning:
          android_home: /opt/sdk
          build_tools:
          cmake:
          cmdline_tools:
            version: '19.0'
            url: https://dl.google.com/android/repository/commandlinetools-linux-13114758_latest.zip
            sha256: 7ec965280a073311c339e571cd5de778b9975026cfcbe79f2b1cdcb1e15317ee
          extra_packages:
            - xz-utils
          image: ubuntu:jammy
          jdk: openjdk-21-jdk-headless
          ndk:
          platform:
          platform_tools:
          tools:
          verify_gradle_wrapper: true

Debug log provided

  • I have provided a debug log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions