Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

make autospec failure #456

@SavinayDharmappa

Description

@SavinayDharmappa

We are trying to build rpm on clearlinux. Below are the steps we followed

  1. followed the steps mentioned in link https://docs.01.org/clearlinux/latest/guides/clear/autospec.html#setup-environment-to-build-source

  2. $cd clearlinux.

  3. $make clone_{package name}
    ex: $make clone_gedit.

  4. $cd packages/gedit/

  5. $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

Metadata

Metadata

Assignees

No one assigned

    Labels

    need infoMore information is needed to determine next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions