Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-08 14:42:56 +0100
committerErich Eckner <git@eckner.net>2018-11-08 14:42:56 +0100
commit9e1394ac922d2d786ce1c1138c85b4d8a9abdad9 (patch)
tree1411bddeedefb1ec733014c519d967ffe216af77
parent9b4160764ced8ee36e5262d0fa954c71d6898377 (diff)
buildmaster/mysql-issues.php
buildmaster/mysql-issues.php: a providing package must exist for the queried architecture
-rw-r--r--buildmaster/mysql-issues.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index f5b5d1e..c8d8f26 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -89,7 +89,12 @@ require_once BASE . "/lib/mysql.php";
" JOIN `architectures` ON `binary_packages`.`architecture`=`architectures`.`id`" .
" WHERE EXISTS (" .
"SELECT 1 FROM `install_target_providers`" .
+ " JOIN `binary_packages_in_repositories` AS `prov_bpir` ON `prov_bpir`.`package`=`install_target_providers`.`package`" .
+ " JOIN `repositories` AS `prov_r` ON `prov_r`.`id`=`prov_bpir`.`repository`" .
+ " JOIN `architecture_compatibilities` ON `architecture_compatibilities`.`built_for`=`prov_r`.`architecture`" .
+ " AND `architecture_compatibilities`.`fully_compatible`" .
" WHERE `install_target_providers`.`install_target` = `dependencies`.`depending_on`" .
+ " AND `architecture_compatibilities`.`runs_on`=`repositories`.`architecture`" .
")" .
" AND NOT EXISTS (" .
"SELECT 1 FROM `install_target_providers`" .