Difference between revisions of "DeveloperWiki:Integrity Check"

From ArchWiki
Jump to: navigation, search
(change category to Category:DeveloperWiki)
m (fix cgit link)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:DeveloperWiki]]
 
[[Category:DeveloperWiki]]
= Introduction =
+
== Introduction ==
  
A tool was written to check the integrity of official pkgbuilds (core, extra and community repository) :
+
A tool was written to check the integrity of official pkgbuilds (core, extra and community repository):
  
https://projects.archlinux.org/?p=dbscripts.git;a=tree;f=cron-jobs/check_archlinux;hb=HEAD
+
https://git.archlinux.org/dbscripts.git/tree/cron-jobs/check_archlinux/
  
This tool is run automatically every Friday and the results for core and extra are sent to the [https://www.archlinux.org/mailman/listinfo/arch-dev-public arch-dev-public ML], while the results for community are sent to the [https://www.archlinux.org/mailman/listinfo/aur-general aur-general ML].
+
This tool is run automatically every Friday and the results for core and extra are sent to the [https://lists.archlinux.org/listinfo/arch-dev-public arch-dev-public ML], while the results for community are sent to the [https://lists.archlinux.org/listinfo/aur-general aur-general ML].
  
 
Example of the run on March 13th :
 
Example of the run on March 13th :
* [https://www.archlinux.org/pipermail/arch-dev-public/2009-March/010715.html Integrity Check i686 of core,extra]
+
* [https://lists.archlinux.org/pipermail/arch-dev-public/2009-March/010715.html Integrity Check i686 of core,extra]
* [https://www.archlinux.org/pipermail/arch-dev-public/2009-March/010716.html Integrity Check x86_64 of core,extra]
+
* [https://lists.archlinux.org/pipermail/arch-dev-public/2009-March/010716.html Integrity Check x86_64 of core,extra]
* [https://www.archlinux.org/pipermail/aur-general/2009-March/004054.html Integrity Check i686 of community]
+
* [https://lists.archlinux.org/pipermail/aur-general/2009-March/004054.html Integrity Check i686 of community]
* [https://www.archlinux.org/pipermail/aur-general/2009-March/004055.html Integrity Check x86_64 of community]
+
* [https://lists.archlinux.org/pipermail/aur-general/2009-March/004055.html Integrity Check x86_64 of community]
  
 
The purpose of this page is to maintain a list of the currently reported problems, with links to the [https://bugs.archlinux.org/ Arch Linux Bugtracker]. This will help to detect the new problems which need to be reported.
 
The purpose of this page is to maintain a list of the currently reported problems, with links to the [https://bugs.archlinux.org/ Arch Linux Bugtracker]. This will help to detect the new problems which need to be reported.
  
= Bug Reports =
+
== Bug Reports ==
  
== depends ==
+
=== depends ===
 
* extra/archboot - missing dependencies seem to be a feature
 
* extra/archboot - missing dependencies seem to be a feature
  
== NOTE : PKGBUILDs calling pacman -Q ==
+
=== NOTE : PKGBUILDs calling pacman -Q ===
 
The following PKGBUILDs call ''pacman -Q'', so the result depends on the system where the PKGBUILD is parsed:
 
The following PKGBUILDs call ''pacman -Q'', so the result depends on the system where the PKGBUILD is parsed:
  

Revision as of 13:11, 4 November 2018

Introduction

A tool was written to check the integrity of official pkgbuilds (core, extra and community repository):

https://git.archlinux.org/dbscripts.git/tree/cron-jobs/check_archlinux/

This tool is run automatically every Friday and the results for core and extra are sent to the arch-dev-public ML, while the results for community are sent to the aur-general ML.

Example of the run on March 13th :

The purpose of this page is to maintain a list of the currently reported problems, with links to the Arch Linux Bugtracker. This will help to detect the new problems which need to be reported.

Bug Reports

depends

  • extra/archboot - missing dependencies seem to be a feature

NOTE : PKGBUILDs calling pacman -Q

The following PKGBUILDs call pacman -Q, so the result depends on the system where the PKGBUILD is parsed:

find /var/abs -name PKGBUILD | xargs grep 'pacman.*-Q' | sed 's#/var/abs/# #'

 community/sk1/PKGBUILD:  local _tclver=`pacman -Q tcl`
 community/open-vm-tools-modules/PKGBUILD:_kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -`
 community/openmotif/PKGBUILD:_automakever=`pacman -Q automake | cut -f 2 -d \  | cut -f 1 -d -`
 community/qc-usb-messenger/PKGBUILD:_kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -`
 community/cdfs/PKGBUILD:_kernver=`pacman -Q kernel26 | cut -d . -f 3 | cut -f 1 -d -`
 community/selinux-pam/PKGBUILD:provides=("pam=`pacman -Q pam | cut -f 2 -d \  | cut -f 1 -d -`")
 community/whitebox/PKGBUILD:  _automake_ver=`pacman -Q automake | cut -f 2 -d \  | cut -f 1 -d -`
 extra/kde-meta/PKGBUILD:              for j in $(pacman -Qgq ${_metaname} | sort -u); do
 extra/sbackup/PKGBUILD:  sed -i -e "s/dpkg --get-selections/pacman -Q/" sbackupd.py