summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildmaster/mysql-issues.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index 7c388fc..b149cad 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -53,7 +53,12 @@ require_once BASE . "/lib/mysql.php";
" AND `subst_bp`.`architecture`=`binary_packages`.`architecture`" .
" WHERE NOT EXISTS (" .
"SELECT 1 FROM `install_target_providers`" .
- " WHERE `install_target_providers`.`install_target` = `dependencies`.`depending_on`" .
+ " JOIN `binary_packages_in_repositories` AS `i_bpir` ON `i_bpir`.`package`=`install_target_providers`.`package`" .
+ " JOIN `repositories` AS `i_r` ON `i_bpir`.`repository`=`i_r`.`id`" .
+ " JOIN `architecture_compatibilities` ON `architecture_compatibilities`.`fully_compatible`" .
+ " AND `architecture_compatibilities`.`built_for`=`i_r`.`architecture`" .
+ " WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`" .
+ " AND `repositories`.`architecture`=`architecture_compatibilities`.`runs_on`" .
")" .
$ignore .
" ORDER BY " .