Created
December 13, 2017 13:33
-
-
Save pcarver/7a44be63abde2829f8d204dfb4bd5ce1 to your computer and use it in GitHub Desktop.
Error while running build.sh from https://github.com/cloudscaling/contrail-build-poc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: mock.py version 1.4.7 starting (python version = 2.7.5)... | |
Start: init plugins | |
INFO: selinux disabled | |
Finish: init plugins | |
Start: run | |
INFO: Start(librdkafka.spec) Config(epel-7-x86_64) | |
Start: chroot init | |
INFO: calling preinit hooks | |
INFO: enabled root cache | |
INFO: enabled yum cache | |
Start: cleaning yum metadata | |
Finish: cleaning yum metadata | |
INFO: enabled HW Info plugin | |
Mock Version: 1.4.7 | |
INFO: Mock Version: 1.4.7 | |
Start: yum install | |
Failed to set locale, defaulting to C | |
One of the configured repositories failed (Unknown), | |
and yum doesn't have enough cached data to continue. At this point the only | |
safe thing yum can do is fail. There are a few ways to work "fix" this: | |
1. Contact the upstream for the repository and get them to fix the problem. | |
2. Reconfigure the baseurl/etc. for the repository, to point to a working | |
upstream. This is most often useful if you are using a newer | |
distribution release than is supported by the repository (and the | |
packages for the previous distribution release still work). | |
3. Run the command with the repository temporarily disabled | |
yum --disablerepo=<repoid> ... | |
4. Disable the repository permanently, so yum won't use it by default. Yum | |
will then just ignore the repository until you permanently enable it | |
again or use --enablerepo for temporary usage: | |
yum-config-manager --disable <repoid> | |
or | |
subscription-manager repos --disable=<repoid> | |
5. Configure the failing repository to be skipped, if it is unavailable. | |
Note that yum will try to contact the repo. when it runs most commands, | |
so will have to try and fail each time (and thus. yum will be be much | |
slower). If it is a very temporary problem though, this is often a nice | |
compromise: | |
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true | |
Cannot find a valid baseurl for repo: base | |
ERROR: Exception(librdkafka.spec) Config(epel-7-x86_64) 0 minutes 6 seconds | |
INFO: Results and/or logs in: pkgs-0.11.1-1-default | |
ERROR: Command failed: | |
# /usr/bin/yum --installroot /var/lib/mock/epel-7-x86_64/root/ --releasever 7 install @buildsys-build | |
Failed to set locale, defaulting to C | |
One of the configured repositories failed (Unknown), | |
and yum doesn't have enough cached data to continue. At this point the only | |
safe thing yum can do is fail. There are a few ways to work "fix" this: | |
1. Contact the upstream for the repository and get them to fix the problem. | |
2. Reconfigure the baseurl/etc. for the repository, to point to a working | |
upstream. This is most often useful if you are using a newer | |
distribution release than is supported by the repository (and the | |
packages for the previous distribution release still work). | |
3. Run the command with the repository temporarily disabled | |
yum --disablerepo=<repoid> ... | |
4. Disable the repository permanently, so yum won't use it by default. Yum | |
will then just ignore the repository until you permanently enable it | |
again or use --enablerepo for temporary usage: | |
yum-config-manager --disable <repoid> | |
or | |
subscription-manager repos --disable=<repoid> | |
5. Configure the failing repository to be skipped, if it is unavailable. | |
Note that yum will try to contact the repo. when it runs most commands, | |
so will have to try and fail each time (and thus. yum will be be much | |
slower). If it is a very temporary problem though, this is often a nice | |
compromise: | |
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true | |
Cannot find a valid baseurl for repo: base | |
make[1]: *** [srpm] Error 30 | |
make[1]: Leaving directory `/home/pcarver/contrail-build-poc/scripts/01/librdkafka/packaging/rpm' | |
make: *** [rpm] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment