1. 25 Jun, 2022 4 commits
  2. 15 Jun, 2022 1 commit
    • Allan McRae's avatar
      Gitlab CI: Install glibc-debug valgrind test · d1e95c4e
      Allan McRae authored
      Currently our gitlab CI is failing due to valgrind breakage. With
      Arch stripping glibc, valgrind now requires debuginfod to be active.
      However the gitlab CI system combined without our testsuite does not
      retrieve these symbols, even when the appropriate environmental
      variable is set.
      Work around this by installing the glibc-debug package directly
      using a slight kludge...  All blame for this approach is assigned
      to foutrelis!
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
  3. 31 May, 2022 1 commit
  4. 18 May, 2022 1 commit
  5. 11 May, 2022 1 commit
  6. 10 Mar, 2022 1 commit
    • Jonas Witschel's avatar
      makepkg: use bsdtar --no-read-sparse for archive creation if available · f5f9e0f4
      Jonas Witschel authored and Allan McRae's avatar Allan McRae committed
      bsdtar uses the "pax" TAR archive format by default, which has support for
      storing sparse file information in the archive. Unfortunately this is a source
      of unreproducibility because the sparse encoding is taken from the file system
      and different file systems handle sparse files differently: some file systems
      have no support for sparsely encoded files at all, and even file systems with
      sparse file support can report different file information for identical files
      due to differing implementations.
      As a real world example where this happens, consider the Arch Linux package
      "brotli-testdata 1.0.9-7", which contains a sparsely encoded all-zeros file
      "usr/share/brotli/testdata/zeros". Building this package on a btrfs file system
      yields a different package than building it on tmpfs or ext4 solely due to
      different sparse file information that gets recorded in the package tarball.
      To improve the reproducibility of archives containing sparsely encoded files,
      libarchive version 3.6.0 introduces a new --no-read-sparse option. This skips
      reading sparse file information from disk entirely and therefore stores files
      "expanded" in the archive, which is the only way to make them reliably
      reproducible across file systems.
      makepkg will use this option if libarchive is recent enough to support it,
      which is detected at build time.
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
  7. 07 Mar, 2022 3 commits
  8. 06 Mar, 2022 14 commits
  9. 13 Jan, 2022 1 commit
  10. 09 Jan, 2022 3 commits
  11. 02 Jan, 2022 7 commits
  12. 29 Dec, 2021 3 commits
    • Oskar Roesler (bionade24) via pacman-dev's avatar
      pacman: print additional error information to stderr · 9f236547
      Oskar Roesler (bionade24) via pacman-dev authored and Allan McRae's avatar Allan McRae committed
      Prints extra information provided by file conflict or corrupt package messages
      to stderr instead of stdout
      Signed-off-by: default avatarOskar Roesler (bionade24) <o.roesler@oscloud.info>
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
    • Morgan Adamiec's avatar
      alpm: return -1 for error in find_dl_candidates · 58c81fa2
      Morgan Adamiec authored and Allan McRae's avatar Allan McRae committed
      This is the error value generally used and the calling function
      explicitly checks for -1, later causing the error to be missed
      and the transaction to continue.
      > pacman -S xterm
      warning: xterm-369-1 is up to date -- reinstalling
      resolving dependencies...
      looking for conflicting packages...
      Package (1)  Old Version  New Version  Net Change  Download Size
      extra/xterm  369-1        369-1          0.00 MiB       0.42 MiB
      Total Download Size:   0.42 MiB
      Total Installed Size:  1.05 MiB
      Net Upgrade Size:      0.00 MiB
      :: Proceed with installation? [Y/n]
      error: no servers configured for repository: extra
      (1/1) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
      (1/1) checking package integrity                                                               [--------------------------------------------------------] 100%
      error: failed to commit transaction (wrong or NULL argument passed)
      Errors occurred, no packages were upgraded.
    • Morgan Adamiec's avatar
      pacman: improve backup printing · 3a112668
      Morgan Adamiec authored and Allan McRae's avatar Allan McRae committed
      The current backup printing does not fit in with the rest of the info at
      all. Change to be more consistant.
      Backup Files    :
      MODIFIED	/etc/pacman.conf
      UNMODIFIED	/etc/makepkg.conf
      Backup Files    : /etc/pacman.conf [modified]
                        /etc/makepkg.conf [unmodified]
      Signed-off-by: Morgan Adamiec's avatarmorganamilo <morganamilo@archlinux.org>
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>