-
Notifications
You must be signed in to change notification settings - Fork 48
Update to Ubuntu 2020.04 LTS #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2020.04 doesn't include coccinelle. This PR adds a self-compiled version, need to test that. And, maybe not include it in the repo, it is like 5mb. What do you guys think? |
Ubuntu 20.04 also includes a version of doxygen that generates tons of warning. This will break the static tests. |
oh yes, I got the same on arch. That's a bummer. |
This PR should also be tested for RIOT-OS/RIOT#14288. |
I guess its time to find out how to deactivate those in config ;-). |
Do you need to add |
not sure it get's selected somehow, but travis did compile native correctly. |
a6193a7
to
0d1ea7b
Compare
|
Hm, it didn't. :/ |
As those checks are run through a parsing script anyways, we could add exclude patterns for the warnings we deem false negatives. |
Many of those false positives should have been fixed in doxygen 1.8.16 btw... not sure, why they still show up. Will investigate. |
See-Also: RIOT-OS#16025 (review) Workaround-For: RIOT-OS/riotdocker#104
See-Also: RIOT-OS#16025 (review) Workaround-For: RIOT-OS/riotdocker#104
See-Also: RIOT-OS#16025 (review) Workaround-For: RIOT-OS/riotdocker#104
Dockerfile
Outdated
@@ -29,6 +29,13 @@ ENV DEBIAN_FRONTEND noninteractive | |||
ENV LC_ALL C.UTF-8 | |||
ENV LANG C.UTF-8 | |||
|
|||
# copy some included packages | |||
RUN mkdir /pkgs | |||
COPY files/coccinelle_1.0.8~19.04npalix1_amd64.deb /pkgs/coccinelle_1.0.8~19.04npalix1_amd64.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use https://packages.ubuntu.com/bionic/coccinelle ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah nvm, this particular version only appeared in groovy
Dockerfile
Outdated
# copy some included packages | ||
RUN mkdir /pkgs | ||
COPY files/coccinelle_1.0.8~19.04npalix1_amd64.deb /pkgs/coccinelle_1.0.8~19.04npalix1_amd64.deb | ||
COPY files/libsocketcan-dev_0.0.11-1_i386.deb /pkgs/libsocketcan-dev_0.0.11-1_i386.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah nvm, this particular version only appeared in groovy
Any ETA on merging this? I'm trying to port a package to RIOT that requires a pretty modern |
This is mostly blocked by the newer Doxygen, which warns on a lot more undocumented stuff than the bionic one. |
Is there really no one willing to look into how to surppress or fix those doxygen warnings? Looking at the doxygen output in Arch I don't see this solving by itself. We are now closer to the next LTS than we are to 2020.04, so only ~1,5 years time to solve this before 2018.04 will reach EOL. IMHO someone(TM) should fix this ASAP. It's a boring job and shooting at a moving target, granted, but it should be done. |
It might be more fruitful to integrate the older doxygen version in this PR, no need to block on a specific tool version. |
Doxygen warnings are down to this:
I guess I could add these to master? |
oh, and either those would have to be commited to 2021.10-branch, or we'd need to change the RIOT base branch of this repo's workflow. |
that was really painless. I added |
bors try |
tryBuild succeeded: |
doccheck succeeded now.
do you remember any details? |
we're early in the release cycle, so I'd suggest now that the doxygen issue is solved, we go with this as is. for tinydtls, we can open an issue so we don't forget verifying that still works. (it should, the toolchain used is the same). |
Please squash |
b69be41
to
7ce5232
Compare
I lately noticed some weird behavior of gCoAP over TinyDTLS when compiled my Ubuntu 20.04 machine (the python-based server receives TinyDTLS packets from the gCoAP client that it can not decypher, due to an "unknown TLS extension 23"). Not a blocker, but we should keep an eye of this during the coming release cycle. |
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
bors merge |
tryBuild succeeded: |
Build succeeded: |
Thank you for getting this merged! |
153: Build C2Rust on focal r=kaspar030 a=chrysn This issue tracks changes needed in the Rust installation (OK: C2Rust -- the rest should just work) when #104 is rebased and gets merged. By building c2rust on the same Ubuntu release (focal), the friction between different installed LLVM versions will be reduced. This * switches from using c2rust's shipped build containers (which made sense back when supported Ubuntus had those old LLVM versions) to a plain feisty base, * consequently installs the build-deps manually, and * builds a Debian binary package in the course of installing c2rust. The latter is done to get us rid of the manual `apt-get install llvm-7-dev` (and pray that it matches what c2rust needs) in favor of copying the .deb out of the c2rust image and getting the right build-deps automatically. (A part of building a Debian package is the tools inspecting any binaries for used shared libraries, looking up the packages they're in, and looking at that library's exported symbol versionings to get a correctly version for the dependency). <del>Put on hold / WIP / draft until #104 is done, given that these don't need lockstepping yet.</del> Co-authored-by: chrysn <chrysn@fsfe.org>
This PR updates the base for our build container to Ubuntu focal (2020.04).
There's no coccinelle package anymore for focal in the coccinelle ppa, so I've added a binary package.
Same with libsocketcan.
In order to not clutter the git history with binary data, those package files have been added using git lfs, and the build.yml workflow has been adapted to pull the lfs files.
WIP, want to see travis output