Bug 13398

Summary: apt, apt-native should be upgraded to latest major version (2.0.1 as of 28.3.2020)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tim Orling <tim.orling>
Component: devtools / tool chainAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: anibal, meta.mr.watcher, meta.watcher, randy.macleod, tvgamblin
Version: 3.0   
Target Milestone: 4.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Tim Orling 2019-06-13 15:04:56 UTC
https://salsa.debian.org/apt-team/apt/tags
Comment 1 Aníbal Limón 2019-06-13 18:22:13 UTC
I have a WIP branch for apt 1.4.8 [1], there is some work todo because apt changes from autoconf to CMake and some patches need to be adapted and others removed.

[1] https://github.com/alimon/poky/tree/apt
Comment 2 Randy MacLeod 2019-08-22 14:56:03 UTC
I'll work on this today.
Comment 3 Trevor Gamblin 2019-08-27 12:43:50 UTC
Working on this now. Stable version of apt is 1.8.2, which uses CMake instead of autoconf, leading to several changes in the patching process.
Comment 4 Trevor Gamblin 2019-09-16 18:09:34 UTC
Moved to 3.1 M1 milestone as it's still in work.
Comment 5 Randy MacLeod 2020-01-10 13:49:57 UTC
Anibal, I've CCed you.
Trevor won't be working on the apt upgrade so if you are interested and have time, please take the defect. -- Randy
Comment 6 Alexander Kanavin 2020-02-13 16:05:48 UTC
I also have some work in progress here:
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates-later&id=0a7e8d54a28e97b7f067721f70111677a95e15f1

The issue is that current versions of apt seem to aim for really modern versions of gcc; I wasn't able to build apt-native on ubuntu 18.04 for instance. I can try to push this again when I have a bit of time. It quite likely won't be done in this release cycle though.
Comment 7 Alexander Kanavin 2020-06-04 08:11:41 UTC
apt 1.8.2.1 landed in master. Newer versions of apt have issues with slightly older compilers (as mentioned above), so that'll have to be a separate item.