[MDEV-12642] apt metadata in source repository for MariaDB 10.2 is corrupted Created: 2017-04-29 Updated: 2018-08-05 Resolved: 2018-08-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.16 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kentaro Hayashi | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, foundation | ||
| Environment: |
Ubuntu trusty, xenial, yakkety |
||
| Issue Links: |
|
||||||||||||||||
| Description |
What is problem?MariaDB 10.2 apt source repository for Ubuntu trusty, xenial, yakkety is corruppted, so we can't get MariaDB 10.2 source package anymore. What is expected?apt-get source succeeds. What is actual situation?apt-get source fails. Why it fails?I've noticed this issue on Travis-CI. Here is the build error log on it. This issue is caused by empty metadata such as folows: http://mirror.jmu.edu/pub/mariadb/repo/10.2/ubuntu/dists/trusty/main/source/Release This error is not limited to above mirror only. I investigated some of other mirrors, but all of them contains same problems. |
| Comments |
| Comment by Elena Stepanova [ 2017-05-02 ] |
|
Are you really using 10.2.2 as the 'Affects version/s' says? |
| Comment by Kentaro Hayashi [ 2017-05-02 ] |
|
Oh, I've posted wrong 'Affects' version. |
| Comment by Kouhei Sutou [ 2017-08-15 ] |
|
Are there any progress? |
| Comment by Daniel Bartholomew [ 2017-08-15 ] |
|
This issue is not because of any issues with the 10.2 repositories. Rather back during 10.2 development it was decided to stop building source packages, that's why they aren't there. Here's the commit: https://github.com/MariaDB/server/commit/bfda961c86849a4a6fea4b6d71a38266758b1bc9 otto: Do you have an opinion on this? Is there any reason to not remove the '-b' flag so that we can start providing source packages again? Thanks. |
| Comment by Otto Kekäläinen [ 2017-08-16 ] |
|
Sorry, I did not know the autobake-deb.sh was used to generate the source packages. I assumed some git archive or something other generic instead. I will rewrite that step so that '-b' is omitted only in Travis builds (as there 1-2 minutes of time saving is very valuable). |
| Comment by Otto Kekäläinen [ 2017-08-16 ] |
|
It can take some time to do, as the head of current 10.2 is already broken and I need a "green" starting point to make systematic progress. On Travis: On buildbot: [m[K’ |
| Comment by Kentaro Hayashi [ 2017-10-30 ] |
|
I thought that autobake-deb.sh is used to generate source packages in apt repository and do the CI on Travis-CI. https://github.com/MariaDB/server/blob/10.2/debian/autobake-deb.sh#L109 Daniel Bartholomew says: "during 10.2 development it was decided to stop building source packages" Is there a possibility that source packages are provided in the future again? or are there any blocking issue to providing source packages in apt repository again? |
| Comment by Kentaro Hayashi [ 2017-10-30 ] |
|
If there are still some blocking issue to provide them again, I hope I can solve this issue with together. |
| Comment by Otto Kekäläinen [ 2018-01-12 ] |
|
Fix to this is included in the merge request https://github.com/MariaDB/server/pull/545 |
| Comment by Daniel Black [ 2018-02-03 ] |
|
so with pr 545 merged a fix in 10.3.4 - verified at url http://mirrors.coreix.net/mariadb/repo/10.3/ubuntu/dists/zesty/main/source/ since jmu.edu is no longer mirroring. Still needs a fix in the 10.2 branch. |
| Comment by Otto Kekäläinen [ 2018-08-05 ] |
|
This was fixed for 10.2 in https://github.com/MariaDB/server/commit/738c5c84245f |