언어 설정

Menu
Sites
Language
GBS build error

We are facing problem in building a package.

Project folder has packaging directory and proper .spec file inside it.

 

Executing "sudo gbs build -A armv7l --include-all"

 

we face the below error.

**************************************************************************************

error: Traceback (most recent call last):
  File "/usr/bin/gbs", line 537, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gbs", line 531, in main
    return module.main(args)
  File "/usr/lib/pymodules/python2.7/gitbuildsys/cmd_export.py", line 294, in main
    spec = rpm.parse_spec(os.path.join(export_dir, specfile))
AttributeError: 'module' object has no attribute 'parse_spec'

error: no spec files to build.

error: <gbs>rpmbuild fails

************************************************************************************

If anyone has faced/solved/known any solution to this problem, kindly help me

Responses

1 댓글
Lukasz Krok

I had the same problem and resolved it by:
sudo apt-get update
sudo apt-get install --reinstall gbs