armadito / armadito-av

Armadito antivirus main repository
GNU Lesser General Public License v3.0
207 stars 56 forks source link

Fix build recipe error #123

Closed vhamon closed 7 years ago

vhamon commented 7 years ago

https://launchpadlibrarian.net/303096429/buildlog_ubuntu-xenial-amd64.armadito-core_0.12.1.432-0ubuntu1ppa1~ubuntu16.04.1_BUILDING.txt.gz

It seems to be a format problem. 3.0 quilt to 3.0 native => no orig.tar.gz

vhamon commented 7 years ago

According to git-build-recipe source code, some parts of debian packages are overriden

vhamon commented 7 years ago
    changelog_path = os.path.join(working_directory, "debian", "changelog")
    with open(changelog_path) as changelog_file:
        cl = Changelog(file=changelog_file)
    package_name = cl.package
    package_version = cl.version
    current_format = get_source_format(working_directory)
    if (package_version.debian_revision is not None or
            current_format == "3.0 (quilt)"):

The problem seems to be the version in existing changelog in branch release

vhamon commented 7 years ago

error message is : git-build-recipe: error: Unable to find the upstream source. Import it as tag upstream/0.12.0 or build with --allow-fallback-to-native.

vhamon commented 7 years ago

git-build-recipe tries to build orig tar gz with git archive on branch upstream : https://git-scm.com/docs/git-archive

vhamon commented 7 years ago

created upstream/{debupstream} tags leads to quilt format build

vhamon commented 7 years ago

https://launchpadlibrarian.net/303541701/buildlog_ubuntu-xenial-amd64.armadito-core_0.12.3-0ubuntu1~ubuntu16.04.1_BUILDING.txt.gz

New log with more details

vhamon commented 7 years ago

autogen.sh should be called with dh-autoreconf

vhamon commented 7 years ago

https://launchpadlibrarian.net/303664964/buildlog_ubuntu-xenial-amd64.armadito-core_0.12.7-0ubuntu1~ubuntu16.04.1_BUILDING.txt.gz

vhamon commented 7 years ago

To be fixed : some files not found during dh install