log for org.witness.sscphase1:5011
== Installed Android Tools ==
2021-07-31 22:52:27,567 DEBUG: Reading 'config.yml'
2021-07-31 22:52:27,577 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner
2021-07-31 22:52:27,581 INFO: Creating log directory
2021-07-31 22:52:27,581 INFO: Creating temporary directory
2021-07-31 22:52:27,581 INFO: Creating output directory
2021-07-31 22:52:27,584 DEBUG: Getting git vcs interface for https://github.com/guardianproject/ObscuraCam
2021-07-31 22:52:27,584 DEBUG: > git --version
git version 2.11.0
2021-07-31 22:52:27,816 INFO: Using git version 2.11.0
2021-07-31 22:52:27,817 DEBUG: Checking 5.0.0-beta-1
2021-07-31 22:52:27,818 INFO: Building version 5.0.0-beta-1 (5011) of org.witness.sscphase1
2021-07-31 22:52:27,818 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2021-07-31 22:52:28,057 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 64892 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u13) ...
2021-07-31 22:52:34,250 INFO: Getting source for revision b90f9c1a71ab423f9576d613d085243de78b5228
2021-07-31 22:52:34,250 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:34,251 DEBUG: > git rev-parse --show-toplevel
2021-07-31 22:52:34,457 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:34,458 DEBUG: > git submodule foreach --recursive git reset --hard
2021-07-31 22:52:34,565 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:34,565 DEBUG: > git reset --hard
2021-07-31 22:52:34,909 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:34,909 DEBUG: > git submodule foreach --recursive git clean -dffx
2021-07-31 22:52:35,013 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:35,014 DEBUG: > git clean -dffx
2021-07-31 22:52:35,213 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:35,213 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin
2021-07-31 22:52:35,932 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:35,932 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags --force origin
2021-07-31 22:52:36,238 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:36,238 DEBUG: > git remote set-head origin --auto
2021-07-31 22:52:36,655 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:36,656 DEBUG: > git checkout -f b90f9c1a71ab423f9576d613d085243de78b5228
2021-07-31 22:52:36,977 DEBUG: Directory: build/org.witness.sscphase1
2021-07-31 22:52:36,977 DEBUG: > git clean -dffx
2021-07-31 22:52:37,250 INFO: Creating local.properties file at build/org.witness.sscphase1/local.properties
2021-07-31 22:52:37,251 INFO: Creating local.properties file at build/org.witness.sscphase1/app/local.properties
2021-07-31 22:52:37,251 DEBUG: Removing debuggable flags from build/org.witness.sscphase1/app
2021-07-31 22:52:37,256 INFO: Removing specified files
2021-07-31 22:52:37,256 INFO: Removing app/src/main/libs
2021-07-31 22:52:37,266 INFO: Cleaning Gradle project...
2021-07-31 22:52:37,266 DEBUG: Directory: build/org.witness.sscphase1/app
2021-07-31 22:52:37,266 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 6.7.1 via distributionUrl
Downloading missing gradle version 6.7.1
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-6.7.1-bin.zip: OK
Running /opt/gradle/versions/6.7.1/bin/gradle clean
Welcome to Gradle 6.7.1!
Here are the highlights of this release:
- File system watching is ready for production use
- Declare the version of Java your build requires
- Java 15 support
For more details see https://docs.gradle.org/6.7.1/release-notes.html
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :app
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :app:externalNativeBuildCleanDebug
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean UP-TO-DATE
BUILD SUCCESSFUL in 21s
3 actionable tasks: 2 executed, 1 up-to-date
2021-07-31 22:53:01,679 INFO: Scanning source for common problems...
2021-07-31 22:53:01,685 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2021-07-31 22:53:01,715 INFO: Creating source tarball...
2021-07-31 22:53:02,741 INFO: Building Gradle project...
2021-07-31 22:53:02,741 DEBUG: Directory: build/org.witness.sscphase1/app
2021-07-31 22:53:02,741 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 6.7.1 via distributionUrl
Running /opt/gradle/versions/6.7.1/bin/gradle assembleRelease
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.7.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Configure project :app
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android-sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 30 in /opt/android-sdk/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /opt/android-sdk/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:writeReleaseApplicationId
> Task :app:analyticsRecordingRelease
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:checkReleaseAarMetadata
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:processReleaseMainManifest
> Task :app:mergeReleaseResources
> Task :app:processReleaseManifest
> Task :app:generateJsonModelRelease
> Task :app:externalNativeBuildRelease
Build JpegRedaction_armeabi-v7a
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
5 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.cpp:20:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:30:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:64:48: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
w_blocks_, h_blocks_, w_blocks_*h_blocks_, image_data_.size());
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:80:12: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
image_data_.size(), hf, vf);
^~~~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:36:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:108:39: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing BIM3 at %zu\n", ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:67:13: warning: enumeration value 'jpeg_app' not handled in switch [-Wswitch]
switch ((enum markers)marker) {
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:121:12: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
marker, ftell(pFile), blocksize);
^~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:164:15: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
blocksize, blockloc + blocksize + sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:278:9: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::TiffIfd *, std::__ndk1::allocator<jpeg_redaction::TiffIfd *> >::size_type' (aka 'unsigned int') [-Wformat]
ifds_.size(), ifdoffset, subfileoffset, byte_swapping);
^~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:382:34: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing exif at %zu\n", ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:392:35: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::TiffIfd *, std::__ndk1::allocator<jpeg_redaction::TiffIfd *> >::size_type' (aka 'unsigned int') [-Wformat]
printf("Saving %lu Exif IFDs\n", ifds_.size());
~~~ ^~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:413:41: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing IFD %d at %zu\n", i, ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:452:46: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'unsigned long' [-Wformat]
printf(" IPTC Written bytes: %zu vs %d\n", ftell(pFile) - blockloc,
~~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lu
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:462:39: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::JpegMarker *, std::__ndk1::allocator<jpeg_redaction::JpegMarker *> >::size_type' (aka 'unsigned int') [-Wformat]
printf("Saving: %lu markers\n", markers_.size());
~~~ ^~~~~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:518:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:537:36: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
printf("\n\nDecoding %lu\n", sos_block->data_.size());
~~~ ^~~~~~~~~~~~~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:558:9: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
redacted_data.size(),
^~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:594:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
22 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_tag.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:82:67: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Read(FILE *pFile, int subfileoffset, int length) {};
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:83:62: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Write(FILE *pFile, int subfileoffset) const {};
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:30:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:64:48: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
w_blocks_, h_blocks_, w_blocks_*h_blocks_, image_data_.size());
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:80:12: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
image_data_.size(), hf, vf);
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: place parentheses around the assignment to silence this warning
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
( )
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: use '==' to turn this assignment into an equality comparison
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
==
8 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
Build JpegRedaction_arm64-v8a
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.cpp:20:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:36:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:67:13: warning: enumeration value 'jpeg_app' not handled in switch [-Wswitch]
switch ((enum markers)marker) {
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:518:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:594:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
7 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_tag.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:82:67: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Read(FILE *pFile, int subfileoffset, int length) {};
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:83:62: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Write(FILE *pFile, int subfileoffset) const {};
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: place parentheses around the assignment to silence this warning
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
( )
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: use '==' to turn this assignment into an equality comparison
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
==
4 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
Build JpegRedaction_x86
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
5 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.cpp:20:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:30:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:64:48: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
w_blocks_, h_blocks_, w_blocks_*h_blocks_, image_data_.size());
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:80:12: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
image_data_.size(), hf, vf);
^~~~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:36:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:108:39: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing BIM3 at %zu\n", ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:67:13: warning: enumeration value 'jpeg_app' not handled in switch [-Wswitch]
switch ((enum markers)marker) {
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:121:12: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
marker, ftell(pFile), blocksize);
^~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:164:15: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
blocksize, blockloc + blocksize + sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:278:9: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::TiffIfd *, std::__ndk1::allocator<jpeg_redaction::TiffIfd *> >::size_type' (aka 'unsigned int') [-Wformat]
ifds_.size(), ifdoffset, subfileoffset, byte_swapping);
^~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:382:34: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing exif at %zu\n", ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:392:35: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::TiffIfd *, std::__ndk1::allocator<jpeg_redaction::TiffIfd *> >::size_type' (aka 'unsigned int') [-Wformat]
printf("Saving %lu Exif IFDs\n", ifds_.size());
~~~ ^~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:413:41: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
printf("Writing IFD %d at %zu\n", i, ftell(pFile));
~~~ ^~~~~~~~~~~~
%ld
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:452:46: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'unsigned long' [-Wformat]
printf(" IPTC Written bytes: %zu vs %d\n", ftell(pFile) - blockloc,
~~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lu
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:462:39: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<jpeg_redaction::JpegMarker *, std::__ndk1::allocator<jpeg_redaction::JpegMarker *> >::size_type' (aka 'unsigned int') [-Wformat]
printf("Saving: %lu markers\n", markers_.size());
~~~ ^~~~~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:518:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:537:36: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
printf("\n\nDecoding %lu\n", sos_block->data_.size());
~~~ ^~~~~~~~~~~~~~~~~~~~~~~
%u
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:558:9: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
redacted_data.size(),
^~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:594:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
22 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_tag.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:82:67: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Read(FILE *pFile, int subfileoffset, int length) {};
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:83:62: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Write(FILE *pFile, int subfileoffset) const {};
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:30:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:411:32: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
pack.size(), pack_size, packptr-&pack[0]);
^~~~~~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:64:48: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
w_blocks_, h_blocks_, w_blocks_*h_blocks_, image_data_.size());
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:80:12: warning: format specifies type 'unsigned long' but the argument has type 'std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wformat]
image_data_.size(), hf, vf);
^~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: place parentheses around the assignment to silence this warning
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
( )
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: use '==' to turn this assignment into an equality comparison
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
==
8 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:32:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/obscura_metadata.h:128:9: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long' [-Wformat]
ftell(pFile));
^~~~~~~~~~~~
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
Build JpegRedaction_x86_64
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:6:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/org_witness_securesmartcam_jpegredaction_JpegRedaction.cpp:7:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/redaction.h:25:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
3 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.cpp:20:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:23:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:25:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:28:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/photoshop_3block.h:36:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/iptc.h:196:45: warning: data argument not used by format string [-Wformat-extra-args]
printf("Writing IPTC tag %d\n", tag_, length);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:67:13: warning: enumeration value 'jpeg_app' not handled in switch [-Wswitch]
switch ((enum markers)marker) {
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:518:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.cpp:594:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
7 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_ifd.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/tiff_tag.cpp:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:82:67: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Read(FILE *pFile, int subfileoffset, int length) {};
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/makernote.h:83:62: warning: control reaches end of non-void function [-Wreturn-type]
virtual int Write(FILE *pFile, int subfileoffset) const {};
^
2 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:27:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/bit_shifts.h:145:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:22:
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.h:28:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: place parentheses around the assignment to silence this warning
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
( )
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_decoder.cpp:335:15: note: use '==' to turn this assignment into an equality comparison
while (rv = WriteValue(2 * dht, value_to_write - redaction_dc_[comp]) != 0) {
^
==
4 warnings generated.
In file included from /home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg_marker.cpp:26:
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:126:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/home/vagrant/build/org.witness.sscphase1/app/src/main/jni/jpeg.h:146:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:processReleaseManifestForPackage
> Task :app:compressReleaseAssets
> Task :app:mergeReleaseNativeLibs
> Task :app:stripReleaseDebugSymbols
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :app:extractReleaseNativeSymbolTables
WARNING:: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.4.7075529] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :app:checkReleaseDuplicateClasses
> Task :app:mergeReleaseNativeDebugMetadata
> Task :app:processReleaseResources
> Task :app:desugarReleaseFileDependencies
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:compileReleaseSources
> Task :app:dexBuilderRelease
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :app:optimizeReleaseResources
> Task :app:mergeReleaseJavaResource
> Task :app:mergeExtDexRelease
> Task :app:mergeDexRelease
> Task :app:packageRelease
> Task :app:assembleRelease
BUILD SUCCESSFUL in 1m 28s
36 actionable tasks: 36 executed
2021-07-31 22:54:32,277 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/org.witness.sscphase1, universal_newlines=False, shell=None)
2021-07-31 22:54:32,283 INFO: Successfully built version 5.0.0-beta-1 of org.witness.sscphase1 from b90f9c1a71ab423f9576d613d085243de78b5228
2021-07-31 22:54:33,655 DEBUG: AXML contains a RESOURCE MAP
2021-07-31 22:54:33,655 DEBUG: Start of Namespace mapping: prefix 28: 'android' --> uri 50: 'http://schemas.android.com/apk/res/android'
2021-07-31 22:54:33,656 DEBUG: Checking build/org.witness.sscphase1/app/build/outputs/apk/release/app-release-unsigned.apk
2021-07-31 22:54:33,665 DEBUG: AXML contains a RESOURCE MAP
2021-07-31 22:54:33,665 DEBUG: Start of Namespace mapping: prefix 28: 'android' --> uri 50: 'http://schemas.android.com/apk/res/android'
2021-07-31 22:54:33,683 INFO: success: org.witness.sscphase1
2021-07-31 22:54:33,683 INFO: Finished
2021-07-31 22:54:33,683 INFO: 1 build succeeded