Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AppImage] running yml fails when no build: packages: key is present #3279

Open
probonopd opened this issue Jun 24, 2017 · 1 comment
Open
Assignees
Labels
Backend Things regarding the OBS backend Bug

Comments

@probonopd
Copy link

probonopd commented Jun 24, 2017

Issue/Feature description

Trying to use this appimage.yml:

app: leafpad
binpatch: true

ingredients:
  packages:
    - leafpad

script:
  - cd $BUILD_SOURCE_DIR/leafpad*
  - cp $BUILD_APPDIR/usr/share/application/leafpad.desktop .
  - find $BUILD_APPDIR/

similar to what is described here.

It gives:

Files could not be expanded: service error: KeyError: 'build'

service appimage failed:
Use of uninitialized value $val in concatenation (.) or string at /usr/lib/obs/server/bs_admin line 1131.
/bs/service/17644
/bs/service/17644/src
/bs/service/17644/src/_icon
/bs/service/17644/src/_link
/bs/service/17644/src/_service
/bs/service/17644/src/appimage.yml
/bs/service/17644/src/.old
/bs/service/17644/out 

Expected result

The leafpad RPM is converted into an AppImage

How to Reproduce

  1. When I want to convert the leafpad RPM into an AppImage
  2. and I use an appimage.yml like the one shown above
  3. I get the error shown above

Further information

@probonopd probonopd changed the title appimage.yml fails when no build: packages: key is present [AppImage] running yml fails when no build: packages: key is present Jun 24, 2017
@adrianschroeter
Copy link
Member

adrianschroeter commented Jun 26, 2017

This is actually a obs-service-obs_scm bug ... @M0ses, IIRC you had already a fix for that in the pipeline?

@bgeuken bgeuken added Backend Things regarding the OBS backend Bug labels Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend Bug
Projects
None yet
Development

No branches or pull requests

4 participants