RTK_Everywhere release 3.3 Source doe not build locally in Docker

The version 3.3 does not build. Here is the error:

=> [upstream  9/30] RUN arduino-cli core install "esp32:esp32@3.0.7"                                            150.1s
 => [upstream 10/30] RUN arduino-cli lib install ESP32Time@2.0.0                                                   3.3s
 => [upstream 11/30] RUN arduino-cli lib install "ESP32-OTA-Pull"@1.0.0                                            2.7s
 => [upstream 12/30] RUN arduino-cli lib install JC_Button@2.1.2                                                   2.1s
 => [upstream 13/30] RUN arduino-cli lib install PubSubClient@2.8.0                                                2.0s
 => [upstream 14/30] RUN arduino-cli lib install "SdFat"@2.1.1                                                     2.3s
 => [upstream 15/30] RUN arduino-cli lib install "SparkFun MAX1704x Fuel Gauge Arduino Library"@1.0.4              1.9s
 => [upstream 16/30] RUN arduino-cli lib install "SparkFun u-blox GNSS v3"@3.1.10                                  2.2s
 => [upstream 17/30] RUN arduino-cli lib install "SparkFun Qwiic OLED Arduino Library"@1.0.15                      2.2s
 => [upstream 18/30] RUN arduino-cli lib install SSLClientESP32@2.0.0                                              2.1s
 => [upstream 19/30] RUN arduino-cli lib install "SparkFun BQ40Z50 Battery Manager Arduino Library"@1.0.0          2.3s
 => [upstream 20/30] RUN arduino-cli lib install "ArduinoMqttClient"@0.1.8                                         2.1s
 => [upstream 21/30] RUN arduino-cli lib install "SparkFun u-blox PointPerfect Library"@1.11.4                     2.2s
 => [upstream 22/30] RUN arduino-cli lib install "SparkFun IM19 IMU Arduino Library"@1.0.2                         1.9s
 => [upstream 23/30] RUN arduino-cli lib install "SparkFun UM980 Triband RTK GNSS Arduino Library"@2.0.1           2.5s
 => [upstream 24/30] RUN arduino-cli lib install "SparkFun LG290P Quadband RTK GNSS Arduino Library"@3.0.1         2.0s
 => [upstream 25/30] RUN arduino-cli lib install "SparkFun I2C Expander Arduino Library"@1.0.1                     2.0s
 => [upstream 26/30] RUN arduino-cli lib install ArduinoJson@7.4.2                                                 2.4s
 => [upstream 27/30] RUN arduino-cli lib install "SparkFun Extensible Message Parser"@2.0.2                        1.5s
 => [upstream 28/30] RUN arduino-cli config set library.enable_unsafe_install true                                 0.5s
 => [upstream 29/30] RUN arduino-cli lib install --git-url https://github.com/sparkfun/ESP32_BleSerial.git         6.6s
 => [upstream 30/30] RUN arduino-cli lib install "SparkFun Toolkit"@1.0.6                                          2.2s
 => [deployment 1/7] ADD . .                                                                                       0.5s
 => [deployment 2/7] RUN if [ "false" = "false" ] ;     then echo 'Skipping COMPILE_AUTHENTICATION';     else      0.4s
 => [deployment 3/7] RUN cd ./RTK_Everywhere/Patch     && ESP_IDF=$(ls /root/.arduino15/packages/esp32/tools/esp3  0.7s
 => [deployment 4/7] RUN cd ./Tools     && python3 index_html_zipper.py ../RTK_Everywhere/AP-Config/index.html ..  0.7s
 => [deployment 5/7] RUN sed -i 's|txCharacteristic->setWriteNoResponseProperty(true)|//txCharacteristic->setWrit  0.4s
 => [deployment 6/7] RUN cp RTKEverywhere.csv "/root/.arduino15/packages/esp32/hardware/esp32/3.0.7/tools/partiti  0.4s
 => ERROR [deployment 7/7] RUN cd ./RTK_Everywhere     && arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLe  45.7s
------
 > [deployment 7/7] RUN cd ./RTK_Everywhere     && arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=error,PSRAM=enabled     --warnings default     ./RTK_Everywhere.ino     --build-property build.partitions=RTKEverywhere     --build-property upload.maximum_size=4055040     --build-property "compiler.cpp.extra_flags=-MMD -c     "-DPOINTPERFECT_IP_TOKEN=0xAA,0xBB,0xCC,0xDD,0x00,0x11,0x22,0x33,0x0A,0x0B,0x0C,0x0D,0x00,0x01,0x02,0x03"     "-DPOINTPERFECT_RTCM_TOKEN=0xAA,0xBB,0xCC,0xDD,0x00,0x11,0x22,0x33,0x0A,0x0B,0x0C,0x0D,0x00,0x01,0x02,0x03"      "-DFIRMWARE_VERSION_MAJOR=99"     "-DFIRMWARE_VERSION_MINOR=99"     "-DENABLE_DEVELOPER=true""     --export-binaries:
1.118 /root/.arduino15/packages/esp32/tools/esptool_py/4.6/esptool/cmds.py:153: SyntaxWarning: 'return' in a 'finally' block
1.118   return inst
45.57 /RTK_Everywhere/RTK_Everywhere.ino:835:10: fatal error: SparkFun_Apple_Accessory.h: No such file or directory
45.57   835 | #include <SparkFun_Apple_Accessory.h> // Click here to get the library: http://librarymanager/All#SparkFun_Apple_Accessory_Arduino_Library

What is your Docker container?
Looks like your last couple messages show the error. For certain the last error shows that you don’t have the Library “SparkFun_Apple_Accessory_Arduino_Library” available.

I guess that I do not understand your question. I have Docker Container 4.67.0 installed. I unzip “SparkFun_RTK_Everywhere_Firmware-3.3.zip”. I run “SparkFun_RTK_Everywhere_Firmware-3.3\SparkFun_RTK_Everywhere_Firmware-3.3\Firmware\compile_with_docker.bat”. Should not this just work?

Since the “SparkFun_Apple_Accessory_Arduino_Library” appears to no longer exist, the question then is: Why is RTK_Everywhere.ino trying to include it in line 835. Does this imply that the version of RTK_Everywhere.ino in the release ZIP file is incorrect?

Hi Len (@LenS ),

Apologies for the hassle. Please comment this line and you will be able to compile. This change got included in the latest release when it should not have been. Sorry about that.

Background: we were required to make the Accessory library private. Previously it was available as a public precompiled library (containing only the compiled binary). Now it is fully private and gets pulled in if needed - using secrets - when the Dockerfile compiles the code. The SparkFun binary firmware releases include the Accessory functionality. That functionality will be missing in any firmware you compile locally. Everything else will work, just not that bit.

Very best wishes,
Paul