[pacman-dev] [GIT] The official pacman repository branch, master, updated. v6.0.0alpha1-70-g17d3da47

Allan McRae allan at archlinux.org
Mon Feb 8 04:31:12 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, master has been updated
       via  17d3da477770313a16a4f29ecae8476613ad3277 (commit)
       via  cc1d23d333992611c4f0bd7e95c4d11fd5c7eaff (commit)
       via  9e425cd1ea4a5fe7e7d7f1daa225eed37650dafc (commit)
       via  2b8d00b7993435a8dc6f560b508a33050830ceec (commit)
       via  3a23abb2ec0c99d74719f97dcc9d097a105fe42b (commit)
       via  88d054093c1c99a697d95b26bd9aad5bc4d8e170 (commit)
      from  ab549c846707230e44e2b7e08c6a04d44af916cd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 17d3da477770313a16a4f29ecae8476613ad3277
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Jan 23 21:40:04 2021 +0000

    Revert "ci: cache packages"
    
    This reverts commit e348ba38814c9cc7c1c9892d0451096234dc39ab.
    
    With the above commit we started caching the downloaded packages. Based
    on some testing and, it saves ~30s in the "step_script" stage while
    adding 18s for "Restoring/Saving cache". A net saving of ~10s.
    
    With earlier commit, we no longer use an ancient image which also pulls
    base-devel - thus the packages we have to download is minimal.
    
    Now comparing the uncached "step_script", vs the cached one - it is
    slowed by 2-3 seconds (1:01 -> 1:03), while we eliminate the 18s (and
    growing) caching.
    
    Tl:Dr: With up-to date image, package caching in not worth it - be that
    time, disk or network wise.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit cc1d23d333992611c4f0bd7e95c4d11fd5c7eaff
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Jan 23 21:40:03 2021 +0000

    ci: use official image
    
    The archlinux/base have been deprecated. Since we depend on base-devel
    simply use archlinux:base-devel
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 9e425cd1ea4a5fe7e7d7f1daa225eed37650dafc
Author: Matti Niemenmaa <matti.niemenmaa+git at iki.fi>
Date:   Sat Jan 30 19:46:40 2021 +0200

    makepkg: Don't double-layer distcc on ccache
    
    buildenv is set once for build() and a second time for package(). When
    using both distcc and ccache, this lead to CCACHE_PREFIX="distcc distcc"
    in package(), which breaks PKGBUILDs that execute the compiler in
    package() because distcc complains:
    
        distcc[383041] (main) CRITICAL! distcc seems to have invoked itself
        recursively!
    
    Avoid causing this error by only adding "distcc" to CCACHE_PREFIX if
    it's not yet there.
    
    Signed-off-by: Matti Niemenmaa <matti.niemenmaa+git at iki.fi>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2b8d00b7993435a8dc6f560b508a33050830ceec
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed Feb 3 16:57:33 2021 -0500

    doxygen: fix missing parameter name
    
    This was raising a warning during the build.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3a23abb2ec0c99d74719f97dcc9d097a105fe42b
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Sun Feb 7 19:55:17 2021 -0500

    support xattr when extracting packages
    
    This permits storing the result of setcap during package() and applying
    the resulting capabilities to the installed program. Formerly, it was
    necessary to edit the binary after the fact (and thus dirty the file
    according to -Qkk) by using an install scriptlet.
    
    One problem that needs to be solved before this is useful, is preventing
    the strip routine from destroying xattrs. This is taken care of in the
    previous patch.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 88d054093c1c99a697d95b26bd9aad5bc4d8e170
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Sun Feb 7 23:09:42 2021 -0500

    makepkg: don't let the strip routine mess up file attributes
    
    It updates the stripped/objcopied file by creating a temp file,
    chown/chmodding it, and replacing the original file. But upstream
    binutils has CVE-worthy issues with this if running strip as root, and
    some recent versions of strip don't play nicely with fakeroot.
    
    Also, this has always destroyed xattrs. :/
    
    Sidestep the issue by telling strip/objcopy to write to a temporary
    file, and manually dump the contents of that back into the original
    binary. Since the original binary is intact, albeit with different
    contents, it retains its correct attributes in fakeroot.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

-----------------------------------------------------------------------

Summary of changes:
 .gitlab-ci.yml                             | 20 +++++---------------
 lib/libalpm/add.c                          |  1 +
 lib/libalpm/alpm_list.h                    |  2 +-
 scripts/libmakepkg/buildenv/compiler.sh.in |  4 +++-
 scripts/libmakepkg/tidy/strip.sh.in        | 11 +++++++++--
 5 files changed, 19 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list