This repository was archived by the owner on Aug 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
make autospec failure #456
Copy link
Copy link
Closed
Labels
need infoMore information is needed to determine next stepsMore information is needed to determine next steps
Description
We are trying to build rpm on clearlinux. Below are the steps we followed
-
followed the steps mentioned in link https://docs.01.org/clearlinux/latest/guides/clear/autospec.html#setup-environment-to-build-source
-
$cd clearlinux.
-
$make clone_{package name}
ex: $make clone_gedit. -
$cd packages/gedit/
-
$make autospec
make autospec command fails with below error,
Building`` package gedit round 1
gedit mock chroot at /var/lib/mock/clear-gedit
Password:
Traceback (most recent call last):
File "../../projects/autospec/autospec/autospec.py", line 363, in <module>
main()
File "../../projects/autospec/autospec/autospec.py", line 237, in main
package(args, url, name, archives, workingdir, infile_dict)
File "../../projects/autospec/autospec/autospec.py", line 308, in package
build.package(filemanager, args.mock_config, args.mock_opts, args.cleanup)
File "/home/savi/test/clearlinux/projects/autospec/autospec/build.py", line 319, in package
logfile="%s/results/mock_srpm.log" % download_path, cwd=download_path)
File "/home/savi/test/clearlinux/projects/autospec/autospec/util.py", line 47, in call
raise subprocess.CalledProcessError(returncode, full_args["args"], None)
subprocess.CalledProcessError: Command '['sudo', '/usr/bin/mock', '-r', '/home/savi/test/clearlinux/projects/common/conf/clear.cfg', '--buildsrpm', '--sources=./', '--spec=gedit.spec', '--uniqueext=gedit', '--result=results/', '--no-cleanup-after']' returned non-zero exit status 30.
make: *** [../common/Makefile.common:172: autospec] Error 1
mandarcthorat1
Metadata
Metadata
Assignees
Labels
need infoMore information is needed to determine next stepsMore information is needed to determine next steps