Gentoo Archives: gentoo-proxy-maint

From: Vieri <rentorbuy@×××××.com>
To: gentoo-proxy-maint@l.g.o
Subject: [gentoo-proxy-maint] Repoman: Need user access
Date: Wed, 12 Dec 2018 08:42:49
Message-Id: 1225721988.3156666.1544604161605@mail.yahoo.com
1 Hi,
2
3 I'm unable to understand why repoman complains about "user access". I am runing it as non-root, but I don't know why it can't fetch metadata.xsd.
4
5 $ repoman -vv manifest
6 [DEBUG] FindVCS: found git dir: /home/vdipaola/mygithub/gentoo/.git
7 [DEBUG] repoman_main: RepoSettings init
8 [DEBUG] RepoSettings: init(); load qadata
9 [DEBUG] QAData: cnfdir: /usr/share/repoman/qa_data, repomanpaths: ['/usr/share/repoman/qa_data/qa_data.yaml']
10 [DEBUG] qa_help primary keys: ['DESCRIPTION', 'EAPI', 'Entries', 'HOMEPAGE', 'IUSE', 'KEYWORDS', 'LICENSE', 'LIVEVCS', 'PDEPEND', 'PROPERTIES', 'RDEPEND', 'REQUIRED_USE', 'RESTRICT', 'SLOT', 'SRC_URI', 'changelog', 'dependency', 'digest', 'ebuild', 'file', 'inherit', 'java', 'manifest', 'metadata', 'portage', 'repo', 'upstream', 'uri', 'usage', 'variable', 'virtual', 'wxwidgets']
11 [DEBUG] QAData: missingvars: ['KEYWORDS', 'LICENSE', 'DESCRIPTION', 'HOMEPAGE']
12 [DEBUG] QAData: completed loading file: ['/usr/share/repoman/repository/qa_data.yaml']
13 [DEBUG] RepoSettings: qadata loaded: frozenset({'Manifest', 'ChangeLog', 'metadata.xml'})
14 [DEBUG] repoman_main: vcs_settings done
15 [DEBUG] repoman_main: qadata: <repoman.qa_data.QAData object at 0x7f0d2d92cc88>
16 [DEBUG] vcs: git
17 [DEBUG] repo config: {'aliases': None, 'allow_missing_manifest': False, 'allow_provide_virtual': False, 'auto_sync': 'yes', 'cache_formats': ('md5-dict',), 'clone_depth': None, 'create_manifest': True, 'disable_manifest': False, 'eapi': '0', 'eclass_db': <portage.eclass_cache.cache object at 0x7f0d2d8592e8>, 'eclass_locations': ('/home/vdipaola/mygithub/gentoo',), 'eclass_overrides': None, 'find_invalid_path_char': <function _find_invalid_path_char at 0x7f0d2e5399d8>, 'force': None, 'format': None, 'local_config': False, 'location': '/home/vdipaola/mygithub/gentoo', 'main_repo': 'gentoo', 'manifest_hashes': frozenset({'BLAKE2B', 'SHA512'}), 'manifest_required_hashes': frozenset({'BLAKE2B'}), 'masters': (), 'missing_repo_name': False, 'module_specific_options': {'sync-rsync-verify-jobs': '1', 'sync-rsync-extra-opts': '', 'sync-rsync-verify-max-age': '24', 'sync-rsync-verify-metamanifest': 'yes'}, 'name': 'gentoo', 'portage1_profiles': True, 'portage1_profiles_compat': True, 'priority': -1000, 'profile_formats': ('portage-1-compat',), 'sign_commit': True, 'sign_manifest': False, 'strict_misc_digests': True, 'sync_allow_hardlinks': True, 'sync_depth': None, 'sync_hooks_only_on_change': False, 'sync_openpgp_key_path': '/usr/share/openpgp-keys/gentoo-release.asc', 'sync_openpgp_key_refresh_retry_count': '40', 'sync_openpgp_key_refresh_retry_delay_exp_base': '2', 'sync_openpgp_key_refresh_retry_delay_max': '60', 'sync_openpgp_key_refresh_retry_delay_mult': '4', 'sync_openpgp_key_refresh_retry_overall_timeout': '1200', 'sync_rcu': False, 'sync_rcu_spare_snapshots': None, 'sync_rcu_store_dir': None, 'sync_rcu_ttl_days': None, 'sync_type': 'rsync', 'sync_umask': None, 'sync_uri': 'rsync://rsync.gentoo.org/gentoo-portage', 'sync_user': None, 'thin_manifest': True, 'update_changelog': False, 'user_location': '/home/vdipaola/mygithub/gentoo', '_eapis_banned': frozenset({'3', '1'}), '_eapis_deprecated': frozenset({'0', '5', '2', '4'}), '_masters_orig': ()}
18 [DEBUG] options: Namespace(ask=False, bug=[], closes=[], commitmsg=None, commitmsgfile=None, digest=None, echangelog=None, experimental_inherit='n', experimental_repository_modules='n', force=False, if_modified='n', ignore_arches=False, ignore_default_opts=False, ignore_masked=False, include_arches=None, include_dev=False, include_exp_profiles=False, mode='manifest', output_style='default', pretend=False, quiet=0, straight_to_stable=False, unmatched_removal=False, vcs=None, verbosity=2, version=False, without_mask=False, xml_parse=False)
19 [DEBUG] Found the following packages to scan:
20 net-proxy/c-icap
21 [DEBUG] ModuleConfig; configpaths: ['/usr/share/repoman/repository/repository.yaml']
22 [DEBUG] ModuleConfig; module_names: ['description', 'eapi', 'ebuild', 'ebuild_metadata', 'fetches', 'files', 'keywords', 'live', 'manifests', 'mtime', 'multicheck', 'options', 'pkgmetadata', 'profile', 'restrict', 'ruby']
23 [DEBUG] ModuleConfig; Processing: /usr/share/repoman/repository/repository.yaml
24 [DEBUG] ModuleConfig; completed : /usr/share/repoman/repository/repository.yaml
25 [DEBUG] ModuleConfig; new _configs: [{'version': 1, 'repoman_version': '2.3.3', 'scan_modules': 'description eapi ebuild_metadata fetches files keywords live manifests multicheck pkgmetadata profile restrict ruby', 'linechecks_modules': 'assignment eapi3assignment implicitdepend hasq useq preservelib bindnow inherit dosym definition srcprepare eapi3deprecated pkgpretend eapi4incompatible eapi4gonevars paralleldisabled autodefault gentooheader nooffset nesteddie patches emakeparallel srccompileeconf srcunpackpatches portageinternal portageinternalvariableassignment quote quoteda httpsuri builtwith uselesscds uselessdodoc whitespace blankline addpredict noasneeded'}]
26 [DEBUG] ModuleConfig; Processing loop pkgs
27 [DEBUG] ModuleConfig; checking loop pkgs, module: ebuild, in: ['pkgs', 'ebuilds']
28 [DEBUG] ModuleConfig; checking loop pkgs, module: mtime, in: ['ebuilds']
29 [DEBUG] ModuleConfig; checking loop pkgs, module: description, in: ['ebuilds']
30 [DEBUG] ModuleConfig; checking loop pkgs, module: eapi, in: ['ebuilds']
31 [DEBUG] ModuleConfig; checking loop pkgs, module: ebuild_metadata, in: ['ebuilds']
32 [DEBUG] ModuleConfig; checking loop pkgs, module: fetches, in: ['pkgs', 'ebuilds']
33 [DEBUG] ModuleConfig; checking loop pkgs, module: files, in: ['pkgs']
34 [DEBUG] ModuleConfig; checking loop pkgs, module: keywords, in: ['pkgs', 'ebuilds', 'final']
35 [DEBUG] ModuleConfig; checking loop pkgs, module: live, in: ['ebuilds']
36 [DEBUG] ModuleConfig; checking loop pkgs, module: manifests, in: ['pkgs']
37 [DEBUG] ModuleConfig; checking loop pkgs, module: multicheck, in: ['ebuilds']
38 [DEBUG] ModuleConfig; checking loop pkgs, module: pkgmetadata, in: ['pkgs', 'ebuilds', 'final']
39 [DEBUG] ModuleConfig; checking loop pkgs, module: profile, in: ['ebuilds']
40 [DEBUG] ModuleConfig; checking loop pkgs, module: restrict, in: ['ebuilds']
41 [DEBUG] ModuleConfig; checking loop pkgs, module: ruby, in: ['ebuilds']
42 [DEBUG] ModuleConfig; mlist: ['ebuild', 'fetches', 'files', 'keywords', 'manifests', 'pkgmetadata']
43 [DEBUG] ModuleConfig; Processing loop ebuilds
44 [DEBUG] ModuleConfig; checking loop ebuilds, module: ebuild, in: ['pkgs', 'ebuilds']
45 [DEBUG] ModuleConfig; checking loop ebuilds, module: mtime, in: ['ebuilds']
46 [DEBUG] ModuleConfig; checking loop ebuilds, module: description, in: ['ebuilds']
47 [DEBUG] ModuleConfig; checking loop ebuilds, module: eapi, in: ['ebuilds']
48 [DEBUG] ModuleConfig; checking loop ebuilds, module: ebuild_metadata, in: ['ebuilds']
49 [DEBUG] ModuleConfig; checking loop ebuilds, module: fetches, in: ['pkgs', 'ebuilds']
50 [DEBUG] ModuleConfig; checking loop ebuilds, module: files, in: ['pkgs']
51 [DEBUG] ModuleConfig; checking loop ebuilds, module: keywords, in: ['pkgs', 'ebuilds', 'final']
52 [DEBUG] ModuleConfig; checking loop ebuilds, module: live, in: ['ebuilds']
53 [DEBUG] ModuleConfig; checking loop ebuilds, module: manifests, in: ['pkgs']
54 [DEBUG] ModuleConfig; checking loop ebuilds, module: multicheck, in: ['ebuilds']
55 [DEBUG] ModuleConfig; checking loop ebuilds, module: pkgmetadata, in: ['pkgs', 'ebuilds', 'final']
56 [DEBUG] ModuleConfig; checking loop ebuilds, module: profile, in: ['ebuilds']
57 [DEBUG] ModuleConfig; checking loop ebuilds, module: restrict, in: ['ebuilds']
58 [DEBUG] ModuleConfig; checking loop ebuilds, module: ruby, in: ['ebuilds']
59 [DEBUG] ModuleConfig; mlist: ['ebuild', 'mtime', 'description', 'eapi', 'ebuild_metadata', 'fetches', 'keywords', 'live', 'multicheck', 'pkgmetadata', 'profile', 'restrict', 'ruby']
60 [DEBUG] ModuleConfig; Processing loop final
61 [DEBUG] ModuleConfig; checking loop final, module: ebuild, in: ['pkgs', 'ebuilds']
62 [DEBUG] ModuleConfig; checking loop final, module: mtime, in: ['ebuilds']
63 [DEBUG] ModuleConfig; checking loop final, module: description, in: ['ebuilds']
64 [DEBUG] ModuleConfig; checking loop final, module: eapi, in: ['ebuilds']
65 [DEBUG] ModuleConfig; checking loop final, module: ebuild_metadata, in: ['ebuilds']
66 [DEBUG] ModuleConfig; checking loop final, module: fetches, in: ['pkgs', 'ebuilds']
67 [DEBUG] ModuleConfig; checking loop final, module: files, in: ['pkgs']
68 [DEBUG] ModuleConfig; checking loop final, module: keywords, in: ['pkgs', 'ebuilds', 'final']
69 [DEBUG] ModuleConfig; checking loop final, module: live, in: ['ebuilds']
70 [DEBUG] ModuleConfig; checking loop final, module: manifests, in: ['pkgs']
71 [DEBUG] ModuleConfig; checking loop final, module: multicheck, in: ['ebuilds']
72 [DEBUG] ModuleConfig; checking loop final, module: pkgmetadata, in: ['pkgs', 'ebuilds', 'final']
73 [DEBUG] ModuleConfig; checking loop final, module: profile, in: ['ebuilds']
74 [DEBUG] ModuleConfig; checking loop final, module: restrict, in: ['ebuilds']
75 [DEBUG] ModuleConfig; checking loop final, module: ruby, in: ['ebuilds']
76 [DEBUG] ModuleConfig; mlist: ['keywords', 'pkgmetadata']
77
78 *** the local copy of metadata.xsd needs to be refetched, doing that now
79
80
81 Repoman: Need user access
82
83 I have a gentoo git clone in my user's home dir, a custom overlay, and the main protage tree. No metadat.xsd file to be found anywhere except:
84
85 # find /usr/portage/ -name "metadata.xsd"
86 /usr/portage/distfiles/metadata.xsd
87 /usr/portage/metadata/xml-schema/metadata.xsd
88
89 I don't know what this file is for, but I wish repoman could be a bit more verbose.
90
91 Thanks,
92
93 Vieri

Replies

Subject Author
Re: [gentoo-proxy-maint] Repoman: Need user access Joonas Niilola <juippis@×××××.com>