Hi @agriesser! Yeah, matthaios-easy-bi (who I assume is the OP in this thread too) had reported this on Github and it got fixed after I chimed in. I can confirm that the fix works too, i.e. after cherry-picking the change to my branch the build works again.
Thanks!
I have the same issue. I’m doing this in a Linux container (Ubuntu 20.04 inside Ubuntu 20.04), but like matthaios-easy-bi, I’m using npm run build:android to build (as per documentation). This has worked up until 2.0, but with 2.1 it always fails due to non-existent org.webrtc. Manually running npm install prior to npm run build:android makes no difference, nor does node node_modules/react-native-webrtc/tools/downloadWebRTC.js (although it does seemingly download the package successfully).
Here’s excerpts from the build output.
It’s not Mac-only either, I have the same issue trying to compile v2.1.0 on my Linux PC.
V2.0 had issues too, but FTBFS wasn’t one of them.
Olen jo kauan käyttänyt (#Yle) teksti-tv:tä ensisijaisena uutislähteenäni. Pääuutisten osalta olen erittäin tyytyväinen, mutta jostain syystä alueuutiset tuonne tuotetaan vissiin automaatiolla kaikkein surkeimmista klikkienkerjuuroskajutuista. Esimerkiksi tällä hetkellä Pohjois-Pohjanmaan uutisten alasivulla 5/5 on seuraavanlainen juttu (kokonaisuudessaan):
”Iskeekö abihuumori? Kokosimme yhteen penkkaripäivän parhaat julisteet
Penkkarijulisteissa vitsailtiin tuttuun tapaan yhteiskunnallisilla ilmiöillä, uutisilla ja internet-meemeillä. Äänestä, mitkä osuvat sinun nauruhermoosi.”
Ei tällaista kannata ainakaan teksti-tv:ssä julkaista, kun mitään kuviahan ei tietenkään näy, eikä teksti-tv:ssä voi mitenkään äänestää.
Pääuutisten kanssa ongelmana ovat lähinnä numerointivirheet, eli kohtalaisen usein etusivulta (100) valitut linkit vievät eri uutiseen kuin mihin etusivun otsikko oikeasti kuuluisi.
This is one tough session, but the company is great and music excellent! 👍
25.0.3 (as indicated by output from `occ –version` above).
The exit code issue is still there:
# sudo -u www-data /usr/bin/php /var/www/nextcloud/occ --version
Nextcloud 25.0.3
# sudo -u www-data /usr/bin/php /var/www/nextcloud/occ files:scan -- nonexistantuser
Unknown user 1 nonexistantuser
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 0 | 0 | 00:00:00 |
+---------+-------+--------------+
# echo $?
0
In fact the man page seems to be completely out of sync with reality. None of minage, maxage, minsize and maxsize appear to work at all despite being documented there. Minage is read at least (according to debug output), but then still ignored. Specifying minsize or maxsize has no effect, logs are rotated when they hit 1 M regardless. At least the plain `size` directive does appear to work as documented.
The man page for logrotate says ”Each configuration file can set global options (local definitions override global ones, and later definitions override earlier ones)”. This is inconsistent with how it actually behaves.
== Steps to reproduce ==
$ logrotate –version
logrotate 3.14.0
Default mail command: /usr/bin/mail
Default compress command: /bin/gzip
Default uncompress command: /bin/gunzip
Default compress extension: .gz
Default state file path: /var/lib/logrotate/status
ACL support: yes
SELinux support: yes
$ mkdir /tmp/logrotest
$ cd /tmp/logrotest
$ touch test.log
$ touch other.log
$ cat >logrotate.conf
/tmp/logrotest/*.log {
minsize 5M
}
/tmp/logrotest/test.log {
minsize 1M
}
$ logrotate –state /tmp/logrostate logrotate.conf
== What happens ==
error: logrotate.conf:5 duplicate log entry for /tmp/logrotest/test.log
== What I expect to happen instead ==
No error, test.log being processed with its specific, later-defined directives.