| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
| 5 | . "$TESTDIR/framework" |
| 6 | setupenvironment |
| 7 | configarchitecture 'amd64' 'armel' |
| 8 | |
| 9 | insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign' |
| 10 | |
| 11 | insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' 'Multi-Arch: foreign' |
| 12 | insertpackage 'unstable' 'libc6' 'amd64,armel' '1.0' 'Multi-Arch: same' |
| 13 | insertpackage 'unstable' 'libc6-dev' 'amd64,armel' '1.0' 'Depends: libc6 |
| 14 | Multi-Arch: same' |
| 15 | insertpackage 'unstable' 'libfwibble1' 'amd64,armel' '1.0' 'Depends: libc6 |
| 16 | Multi-Arch: same' |
| 17 | insertpackage 'unstable' 'libfwibble-dev' 'amd64,armel' '1.0' 'Depends: libfwibble1' |
| 18 | insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed' |
| 19 | insertpackage 'unstable' 'amdboot' 'amd64' '1.0' |
| 20 | insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign' |
| 21 | insertpackage 'unstable' 'arm-stuff' 'armel' '1.0' |
| 22 | insertpackage 'unstable' 'linux-stuff' 'amd64,armel' '1.0' |
| 23 | |
| 24 | insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner, libfwibble-dev, arm-stuff [any-armel] | linux-stuff [ linux-any]' |
| 25 | |
| 26 | insertsource 'unstable' 'forbidden-no' 'any' '1' 'Build-Depends: amdboot:any' |
| 27 | insertsource 'unstable' 'forbidden-same' 'any' '1' 'Build-Depends: libc6:any' |
| 28 | insertsource 'unstable' 'forbidden-foreign' 'any' '1' 'Build-Depends: doxygen:any' |
| 29 | |
| 30 | insertpackage 'unstable' 'specific' 'amd64' '1.0' 'Depends: libc6:amd64' |
| 31 | insertpackage 'unstable' 'specific' 'armel' '1.0' 'Depends: libc6:armel' |
| 32 | |
| 33 | insertsource 'unstable' 'source-specific-amd64' 'amd64' '1' 'Build-Depends: specific:amd64' |
| 34 | insertsource 'unstable' 'source-specific-armel' 'armel' '1' 'Build-Depends: specific:armel' |
| 35 | |
| 36 | setupaptarchive |
| 37 | |
| 38 | testfailureequal 'Reading package lists... |
| 39 | Reading package lists... |
| 40 | Building dependency tree... |
| 41 | Some packages could not be installed. This may mean that you have |
| 42 | requested an impossible situation or if you are using the unstable |
| 43 | distribution that some required packages have not yet been created |
| 44 | or been moved out of Incoming. |
| 45 | The following information may help to resolve the situation: |
| 46 | |
| 47 | The following packages have unmet dependencies: |
| 48 | builddeps:forbidden-no:armel : Depends: amdboot:any but it is not installable |
| 49 | E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-no -s -a armel |
| 50 | testfailureequal 'Reading package lists... |
| 51 | Reading package lists... |
| 52 | Building dependency tree... |
| 53 | Some packages could not be installed. This may mean that you have |
| 54 | requested an impossible situation or if you are using the unstable |
| 55 | distribution that some required packages have not yet been created |
| 56 | or been moved out of Incoming. |
| 57 | The following information may help to resolve the situation: |
| 58 | |
| 59 | The following packages have unmet dependencies: |
| 60 | builddeps:forbidden-same:armel : Depends: libc6:any but it is not installable |
| 61 | E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-same -s -a armel |
| 62 | testfailureequal 'Reading package lists... |
| 63 | Reading package lists... |
| 64 | Building dependency tree... |
| 65 | Some packages could not be installed. This may mean that you have |
| 66 | requested an impossible situation or if you are using the unstable |
| 67 | distribution that some required packages have not yet been created |
| 68 | or been moved out of Incoming. |
| 69 | The following information may help to resolve the situation: |
| 70 | |
| 71 | The following packages have unmet dependencies: |
| 72 | builddeps:forbidden-foreign:armel : Depends: doxygen:any but it is not installable |
| 73 | E: Unable to correct problems, you have held broken packages.' aptget build-dep forbidden-foreign -s -a armel |
| 74 | |
| 75 | testsuccessequal 'Reading package lists... |
| 76 | Reading package lists... |
| 77 | Building dependency tree... |
| 78 | The following NEW packages will be installed: |
| 79 | libc6 specific |
| 80 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
| 81 | Inst libc6 (1.0 unstable [amd64]) |
| 82 | Inst specific (1.0 unstable [amd64]) |
| 83 | Conf libc6 (1.0 unstable [amd64]) |
| 84 | Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s |
| 85 | testsuccessequal 'Reading package lists... |
| 86 | Reading package lists... |
| 87 | Building dependency tree... |
| 88 | The following NEW packages will be installed: |
| 89 | libc6 specific |
| 90 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
| 91 | Inst libc6 (1.0 unstable [amd64]) |
| 92 | Inst specific (1.0 unstable [amd64]) |
| 93 | Conf libc6 (1.0 unstable [amd64]) |
| 94 | Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s -a armel |
| 95 | |
| 96 | testsuccessequal 'Reading package lists... |
| 97 | Reading package lists... |
| 98 | Building dependency tree... |
| 99 | The following NEW packages will be installed: |
| 100 | libc6:armel specific:armel |
| 101 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
| 102 | Inst libc6:armel (1.0 unstable [armel]) |
| 103 | Inst specific:armel (1.0 unstable [armel]) |
| 104 | Conf libc6:armel (1.0 unstable [armel]) |
| 105 | Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s |
| 106 | testsuccessequal 'Reading package lists... |
| 107 | Reading package lists... |
| 108 | Building dependency tree... |
| 109 | The following NEW packages will be installed: |
| 110 | libc6:armel specific:armel |
| 111 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
| 112 | Inst libc6:armel (1.0 unstable [armel]) |
| 113 | Inst specific:armel (1.0 unstable [armel]) |
| 114 | Conf libc6:armel (1.0 unstable [armel]) |
| 115 | Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s -a armel |
| 116 | |
| 117 | testsuccessequal 'Reading package lists... |
| 118 | Reading package lists... |
| 119 | Building dependency tree... |
| 120 | The following NEW packages will be installed: |
| 121 | amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1 |
| 122 | linux-stuff |
| 123 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. |
| 124 | Inst amdboot (1.0 unstable [amd64]) |
| 125 | Inst cool (1.0 unstable [amd64]) |
| 126 | Inst doxygen (1.0 unstable [amd64]) |
| 127 | Inst foreigner (1.0 unstable [amd64]) |
| 128 | Inst libc6 (1.0 unstable [amd64]) |
| 129 | Inst libc6-dev (1.0 unstable [amd64]) |
| 130 | Inst libfwibble1 (1.0 unstable [amd64]) |
| 131 | Inst libfwibble-dev (1.0 unstable [amd64]) |
| 132 | Inst linux-stuff (1.0 unstable [amd64]) |
| 133 | Conf amdboot (1.0 unstable [amd64]) |
| 134 | Conf cool (1.0 unstable [amd64]) |
| 135 | Conf doxygen (1.0 unstable [amd64]) |
| 136 | Conf foreigner (1.0 unstable [amd64]) |
| 137 | Conf libc6 (1.0 unstable [amd64]) |
| 138 | Conf libc6-dev (1.0 unstable [amd64]) |
| 139 | Conf libfwibble1 (1.0 unstable [amd64]) |
| 140 | Conf libfwibble-dev (1.0 unstable [amd64]) |
| 141 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s |
| 142 | |
| 143 | testsuccessequal 'Reading package lists... |
| 144 | Reading package lists... |
| 145 | Building dependency tree... |
| 146 | The following NEW packages will be installed: |
| 147 | amdboot arm-stuff:armel cool doxygen foreigner libc6 libc6:armel libc6-dev |
| 148 | libc6-dev:armel libfwibble-dev:armel libfwibble1:armel |
| 149 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. |
| 150 | Inst amdboot (1.0 unstable [amd64]) |
| 151 | Inst arm-stuff:armel (1.0 unstable [armel]) |
| 152 | Inst cool (1.0 unstable [amd64]) |
| 153 | Inst doxygen (1.0 unstable [amd64]) |
| 154 | Inst foreigner (1.0 unstable [amd64]) |
| 155 | Inst libc6 (1.0 unstable [amd64]) |
| 156 | Inst libc6:armel (1.0 unstable [armel]) |
| 157 | Inst libc6-dev (1.0 unstable [amd64]) |
| 158 | Inst libc6-dev:armel (1.0 unstable [armel]) |
| 159 | Inst libfwibble1:armel (1.0 unstable [armel]) |
| 160 | Inst libfwibble-dev:armel (1.0 unstable [armel]) |
| 161 | Conf amdboot (1.0 unstable [amd64]) |
| 162 | Conf arm-stuff:armel (1.0 unstable [armel]) |
| 163 | Conf cool (1.0 unstable [amd64]) |
| 164 | Conf doxygen (1.0 unstable [amd64]) |
| 165 | Conf foreigner (1.0 unstable [amd64]) |
| 166 | Conf libc6 (1.0 unstable [amd64]) |
| 167 | Conf libc6:armel (1.0 unstable [armel]) |
| 168 | Conf libc6-dev (1.0 unstable [amd64]) |
| 169 | Conf libc6-dev:armel (1.0 unstable [armel]) |
| 170 | Conf libfwibble1:armel (1.0 unstable [armel]) |
| 171 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel |
| 172 | |
| 173 | configarchitecture 'armel' 'amd64' |
| 174 | |
| 175 | testsuccessequal 'Reading package lists... |
| 176 | Building dependency tree... |
| 177 | The following NEW packages will be installed: |
| 178 | amdboot:amd64 arm-stuff cool doxygen foreigner libc6 libc6-dev |
| 179 | libfwibble-dev libfwibble1 |
| 180 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. |
| 181 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
| 182 | Inst arm-stuff (1.0 unstable [armel]) |
| 183 | Inst cool (1.0 unstable [armel]) |
| 184 | Inst doxygen (1.0 unstable [armel]) |
| 185 | Inst foreigner (1.0 unstable [armel]) |
| 186 | Inst libc6 (1.0 unstable [armel]) |
| 187 | Inst libc6-dev (1.0 unstable [armel]) |
| 188 | Inst libfwibble1 (1.0 unstable [armel]) |
| 189 | Inst libfwibble-dev (1.0 unstable [armel]) |
| 190 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
| 191 | Conf arm-stuff (1.0 unstable [armel]) |
| 192 | Conf cool (1.0 unstable [armel]) |
| 193 | Conf doxygen (1.0 unstable [armel]) |
| 194 | Conf foreigner (1.0 unstable [armel]) |
| 195 | Conf libc6 (1.0 unstable [armel]) |
| 196 | Conf libc6-dev (1.0 unstable [armel]) |
| 197 | Conf libfwibble1 (1.0 unstable [armel]) |
| 198 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s |
| 199 | |
| 200 | testsuccessequal 'Reading package lists... |
| 201 | Reading package lists... |
| 202 | Building dependency tree... |
| 203 | The following NEW packages will be installed: |
| 204 | amdboot:amd64 cool doxygen foreigner libc6 libc6:amd64 libc6-dev |
| 205 | libc6-dev:amd64 libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
| 206 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. |
| 207 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
| 208 | Inst cool (1.0 unstable [armel]) |
| 209 | Inst doxygen (1.0 unstable [armel]) |
| 210 | Inst foreigner (1.0 unstable [armel]) |
| 211 | Inst libc6 (1.0 unstable [armel]) |
| 212 | Inst libc6:amd64 (1.0 unstable [amd64]) |
| 213 | Inst libc6-dev (1.0 unstable [armel]) |
| 214 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
| 215 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
| 216 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) |
| 217 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
| 218 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
| 219 | Conf cool (1.0 unstable [armel]) |
| 220 | Conf doxygen (1.0 unstable [armel]) |
| 221 | Conf foreigner (1.0 unstable [armel]) |
| 222 | Conf libc6 (1.0 unstable [armel]) |
| 223 | Conf libc6:amd64 (1.0 unstable [amd64]) |
| 224 | Conf libc6-dev (1.0 unstable [armel]) |
| 225 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) |
| 226 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) |
| 227 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
| 228 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 |
| 229 | |
| 230 | configarchitecture 'amd64' 'armel' |
| 231 | |
| 232 | insertinstalledpackage 'cool' 'amd64' '0.5' |
| 233 | insertinstalledpackage 'foreigner' 'armel' '0.5' |
| 234 | |
| 235 | testsuccessequal 'Reading package lists... |
| 236 | Building dependency tree... |
| 237 | The following NEW packages will be installed: |
| 238 | amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1 linux-stuff |
| 239 | The following packages will be upgraded: |
| 240 | foreigner:armel |
| 241 | 1 upgraded, 7 newly installed, 0 to remove and 1 not upgraded. |
| 242 | Inst amdboot (1.0 unstable [amd64]) |
| 243 | Inst doxygen (1.0 unstable [amd64]) |
| 244 | Inst foreigner:armel [0.5] (1.0 unstable [armel]) |
| 245 | Inst libc6 (1.0 unstable [amd64]) |
| 246 | Inst libc6-dev (1.0 unstable [amd64]) |
| 247 | Inst libfwibble1 (1.0 unstable [amd64]) |
| 248 | Inst libfwibble-dev (1.0 unstable [amd64]) |
| 249 | Inst linux-stuff (1.0 unstable [amd64]) |
| 250 | Conf amdboot (1.0 unstable [amd64]) |
| 251 | Conf doxygen (1.0 unstable [amd64]) |
| 252 | Conf foreigner:armel (1.0 unstable [armel]) |
| 253 | Conf libc6 (1.0 unstable [amd64]) |
| 254 | Conf libc6-dev (1.0 unstable [amd64]) |
| 255 | Conf libfwibble1 (1.0 unstable [amd64]) |
| 256 | Conf libfwibble-dev (1.0 unstable [amd64]) |
| 257 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s |
| 258 | |
| 259 | testsuccessequal 'Reading package lists... |
| 260 | Reading package lists... |
| 261 | Building dependency tree... |
| 262 | The following NEW packages will be installed: |
| 263 | amdboot arm-stuff:armel doxygen libc6 libc6:armel libc6-dev libc6-dev:armel |
| 264 | libfwibble-dev:armel libfwibble1:armel |
| 265 | The following packages will be upgraded: |
| 266 | cool |
| 267 | 1 upgraded, 9 newly installed, 0 to remove and 1 not upgraded. |
| 268 | Inst amdboot (1.0 unstable [amd64]) |
| 269 | Inst arm-stuff:armel (1.0 unstable [armel]) |
| 270 | Inst cool [0.5] (1.0 unstable [amd64]) |
| 271 | Inst doxygen (1.0 unstable [amd64]) |
| 272 | Inst libc6 (1.0 unstable [amd64]) |
| 273 | Inst libc6:armel (1.0 unstable [armel]) |
| 274 | Inst libc6-dev (1.0 unstable [amd64]) |
| 275 | Inst libc6-dev:armel (1.0 unstable [armel]) |
| 276 | Inst libfwibble1:armel (1.0 unstable [armel]) |
| 277 | Inst libfwibble-dev:armel (1.0 unstable [armel]) |
| 278 | Conf amdboot (1.0 unstable [amd64]) |
| 279 | Conf arm-stuff:armel (1.0 unstable [armel]) |
| 280 | Conf cool (1.0 unstable [amd64]) |
| 281 | Conf doxygen (1.0 unstable [amd64]) |
| 282 | Conf libc6 (1.0 unstable [amd64]) |
| 283 | Conf libc6:armel (1.0 unstable [armel]) |
| 284 | Conf libc6-dev (1.0 unstable [amd64]) |
| 285 | Conf libc6-dev:armel (1.0 unstable [armel]) |
| 286 | Conf libfwibble1:armel (1.0 unstable [armel]) |
| 287 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel |
| 288 | |
| 289 | configarchitecture 'armel' 'amd64' |
| 290 | |
| 291 | # cool 0.5 is not M-A: allowed, so amd64 is not acceptable |
| 292 | testsuccessequal 'Reading package lists... |
| 293 | Building dependency tree... |
| 294 | The following packages will be REMOVED: |
| 295 | cool:amd64 |
| 296 | The following NEW packages will be installed: |
| 297 | amdboot:amd64 arm-stuff cool doxygen libc6 libc6-dev libfwibble-dev |
| 298 | libfwibble1 |
| 299 | 0 upgraded, 8 newly installed, 1 to remove and 1 not upgraded. |
| 300 | Remv cool:amd64 [0.5] |
| 301 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
| 302 | Inst arm-stuff (1.0 unstable [armel]) |
| 303 | Inst cool (1.0 unstable [armel]) |
| 304 | Inst doxygen (1.0 unstable [armel]) |
| 305 | Inst libc6 (1.0 unstable [armel]) |
| 306 | Inst libc6-dev (1.0 unstable [armel]) |
| 307 | Inst libfwibble1 (1.0 unstable [armel]) |
| 308 | Inst libfwibble-dev (1.0 unstable [armel]) |
| 309 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
| 310 | Conf arm-stuff (1.0 unstable [armel]) |
| 311 | Conf cool (1.0 unstable [armel]) |
| 312 | Conf doxygen (1.0 unstable [armel]) |
| 313 | Conf libc6 (1.0 unstable [armel]) |
| 314 | Conf libc6-dev (1.0 unstable [armel]) |
| 315 | Conf libfwibble1 (1.0 unstable [armel]) |
| 316 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s |
| 317 | |
| 318 | testsuccessequal 'Reading package lists... |
| 319 | Reading package lists... |
| 320 | Building dependency tree... |
| 321 | The following NEW packages will be installed: |
| 322 | amdboot:amd64 doxygen libc6 libc6:amd64 libc6-dev libc6-dev:amd64 |
| 323 | libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
| 324 | The following packages will be upgraded: |
| 325 | cool:amd64 foreigner |
| 326 | 2 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. |
| 327 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
| 328 | Inst cool:amd64 [0.5] (1.0 unstable [amd64]) |
| 329 | Inst doxygen (1.0 unstable [armel]) |
| 330 | Inst foreigner [0.5] (1.0 unstable [armel]) |
| 331 | Inst libc6 (1.0 unstable [armel]) |
| 332 | Inst libc6:amd64 (1.0 unstable [amd64]) |
| 333 | Inst libc6-dev (1.0 unstable [armel]) |
| 334 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
| 335 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
| 336 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) |
| 337 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
| 338 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
| 339 | Conf cool:amd64 (1.0 unstable [amd64]) |
| 340 | Conf doxygen (1.0 unstable [armel]) |
| 341 | Conf foreigner (1.0 unstable [armel]) |
| 342 | Conf libc6 (1.0 unstable [armel]) |
| 343 | Conf libc6:amd64 (1.0 unstable [amd64]) |
| 344 | Conf libc6-dev (1.0 unstable [armel]) |
| 345 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) |
| 346 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) |
| 347 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
| 348 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 |