Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/mysql-issues.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/mysql-issues.php')
-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`" .