Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60414 - [apparmor] Package source wasn't updated to 2.13.1

Attached to Project: Community Packages
Opened by Jensen McKenzie (your_doomsday) - Monday, 15 October 2018, 11:32 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 15 October 2018, 19:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Package version was bumped to 2.13.1[0] but it still building from 2.13.0 source.

It happened because when apparmor-2.13.tar.gz is already present in the SRCDEST (cached from previous build) it will match "${pkgname}-${pkgver%.[0-9]}.tar.gz" from PKGBUILD source [1].

If apparmor-2.13.tar.gz is not present in SRCDEST then building package will fail with:

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading https://launchpad.net/apparmor/2.13/2.13.1/+download/apparmor-2.13.tar.gz

You can also notice that sha512sums didn't change in repo commit.

This is quite important as at the same time 'binmerge' compatibility oatch was dropped from PKGBUILD which means apparmor profiles won't be compatible with Arch anymore.

[0] https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/apparmor&id=90787e655bac3f7f005f283b86adca040c281e53
[1] https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/apparmor#n23


Couple other things regarding package update:

Missing executable bit on apparmor.systemd script was supposedly fixed thus https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/apparmor#n45 can be dropped

Empty RPATH was fixed thus https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/apparmor#n103 (and chrpath dependency) can be dropped too.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 15 October 2018, 19:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  apparmor 2.13.1-2
Comment by Jensen McKenzie (your_doomsday) - Monday, 15 October 2018, 11:37 GMT
Here are the particular commits which fix mentioned issues:

https://gitlab.com/apparmor/apparmor/commit/6801c0d0d09d978d00ed5004a5fd91e4b9401cf9

https://gitlab.com/apparmor/apparmor/commit/ddfb5722c0664a845ccc5f5026a6c832329af4d1

There is also important regression which needs to be backported manually until upstream will handle it:

https://gitlab.com/apparmor/apparmor/merge_requests/240
Comment by David Runge (dvzrv) - Monday, 15 October 2018, 12:15 GMT
Argh, my bad about the sources. Will be fixed in the next pkgver.

However, is that regression (last mentioned) actually even relevant on Arch?
Comment by David Runge (dvzrv) - Monday, 15 October 2018, 12:22 GMT
Ah, looked at the commit causing the problem, instead of the fix. Yes, will apply that, too. Thanks!

Loading...