Conan-center-index: [package] Fix hook checks in some recipes

Created on 3 Feb 2020  路  7Comments  路  Source: conan-io/conan-center-index

There are some packages failing on the hook checks:

  • libx264
  • libssh2

Mostly related to recipe syntax or exported files. Please update the recipes to be hook compliant. Thanks

bug

All 7 comments

@danimtb what error? I see nothing when building on Linux. Could you please point a log?

I see several errors right now:

WARN: Remotes registry file missing, creating default one in /home/conan/workspace/ScheduledExportCheck/recipes/libelf/all/.conan/remotes.json
[HOOK - conan-center.py] pre_export(): ERROR: [NO AUTHOR (KB-H037)] Conanfile should not contain author. Remove 'author = "Bincrafters <[email protected]>"' (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H037) 
ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
WARN: Remotes registry file missing, creating default one in /home/conan/workspace/ScheduledExportCheck/recipes/libffi/all/.conan/remotes.json
[HOOK - conan-center.py] pre_export(): ERROR: [NO AUTHOR (KB-H037)] Conanfile should not contain author. Remove 'author = "Bincrafters <[email protected]>"' (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H037) 
ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output



md5-24019bb831412751696c91c21b6cfb02



WARN: Remotes registry file missing, creating default one in /home/conan/workspace/ScheduledExportCheck/recipes/libwebp/all/.conan/remotes.json
[HOOK - conan-center.py] pre_export(): ERROR: [EXPORT LICENSE (KB-H023)] This recipe is exporting a license file. Remove LICENSE.md from `exports` (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H023) 
[HOOK - conan-center.py] pre_export(): ERROR: [CONAN CENTER INDEX URL (KB-H027)] The attribute 'url' should point to: https://github.com/conan-io/conan-center-index (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H027) 
[HOOK - conan-center.py] pre_export(): ERROR: [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] The 'RunEnvironment()' build helper is no longer needed. It has been integrated into the self.run(..., run_environment=True) (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H029) 
[HOOK - conan-center.py] pre_export(): ERROR: [NO AUTHOR (KB-H037)] Conanfile should not contain author. Remove 'author = "Bincrafters <[email protected]>"' (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H037) 
ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output



md5-24019bb831412751696c91c21b6cfb02



WARN: Remotes registry file missing, creating default one in /home/conan/workspace/ScheduledExportCheck/recipes/libuuid/all/.conan/remotes.json
[HOOK - conan-center.py] pre_export(): ERROR: [META LINES (KB-H025)] Shebang (#!) detected in your recipe. Remove the line 1 (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H025) 
[HOOK - conan-center.py] pre_export(): ERROR: [META LINES (KB-H025)] PEP 263 (encoding) is not allowed in the conanfile. Remove the line 2 (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H025) 
[HOOK - conan-center.py] pre_export(): ERROR: [NO AUTHOR (KB-H037)] Conanfile should not contain author. Remove 'author = "Bincrafters <[email protected]>"' (https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#KB-H037) 
ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output

but nothing about libssh2 or libx264

I was taking a look at the export job. Here is the log output:
consoleText.txt
Maybe I did not read the references right. Please verify

@uilianries I think this one is done?

@SSE4 I think so. The master branch is green on CI.

Thanks a lot guys!

Was this page helpful?
0 / 5 - 0 ratings