Skip to content

Ubuntu 20.04: Fix issue while build package on ubuntu 20.04 - #4306

Merged
yadvr merged 1 commit into
apache:masterfrom
ustcweizhou:4.15-build-on-ubuntu20
Sep 9, 2020
Merged

yadvr merged 1 commit into
apache:masterfrom
ustcweizhou:4.15-build-on-ubuntu20

Conversation

@ustcweizhou

Copy link
Copy Markdown
Contributor

Description

error:
dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector

root cause: python-mysql.connector is not valid any more in ubuntu 20.04
root@buildbox-ubuntu20:~# dpkg -l |grep connector
ii python3-mysql.connector 8.0.15-2build1 all pure Python implementation of MySQL Client/Server protocol (Python3)

solution: use python3-mysql.connector instead

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

error:
    dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector

root cause: python-mysql.connector is not valid any more in ubuntu 20.04
    root@buildbox-ubuntu20:~# dpkg -l |grep connector
    ii  python3-mysql.connector               8.0.15-2build1                    all          pure Python implementation of MySQL Client/Server protocol (Python3)

solution: use python3-mysql.connector instead
@yadvr

yadvr commented Sep 7, 2020

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-1912

@yadvr yadvr added this to the 4.15.0.0 milestone Sep 7, 2020
@yadvr

yadvr commented Sep 8, 2020

Copy link
Copy Markdown
Member

Build verified, LGTM

@yadvr

yadvr commented Sep 8, 2020

Copy link
Copy Markdown
Member

cc @davidjumani can you review?

@davidjumani davidjumani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM. Will kick tests to verify

@yadvr
yadvr merged commit 6c4cdeb into apache:master Sep 9, 2020
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Sep 28, 2020
)

error:
    dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector

root cause: python-mysql.connector is not valid any more in ubuntu 20.04
    root@buildbox-ubuntu20:~# dpkg -l |grep connector
    ii  python3-mysql.connector               8.0.15-2build1                    all          pure Python implementation of MySQL Client/Server protocol (Python3)

solution: use python3-mysql.connector instead
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 8, 2020
)

error:
    dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector

root cause: python-mysql.connector is not valid any more in ubuntu 20.04
    root@buildbox-ubuntu20:~# dpkg -l |grep connector
    ii  python3-mysql.connector               8.0.15-2build1                    all          pure Python implementation of MySQL Client/Server protocol (Python3)

solution: use python3-mysql.connector instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants