We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-04-22 01:35:48 +0200

[bug]It is impossible to build Harbour compatible packages on Mer OBS

Description of problem:

It is impossible to build a Harbour compatible RPM package on the Mer OBS due to automatically added dependencies.

Version-Release number of selected component (if applicable): Harbour and Mer OBS on the 22. April 2015

How reproducible:

always

Steps to Reproduce:

  1. create a source package on OBS that that contains at least one bash script
  2. build it
  3. try to submit it to Harbour

Actual results:

The Harbour Web UI reports the following error:

No OS version and packages satisfy package requirements: Requirement /bin/bash not available Requirement /usr/bin/env not available

This is most probably because the RPM building tools found a bash script in the package and added an appropriate dependency.

Expected results:

The package is accepted as both dependencies are core parts of the Sailfish OS platform anyway. Alternatively the Sailfish OS target should not automatically add dependencies or should provide a way to turn it off.

Additional info:

It was a lot of work to make modRana and its packaging Harbour compatible, so being blocked by such a trivial error in Harbour really sucks...

PS.: OpenRepos has no issues with the same package. :)

[bug]It is impossible to build Harbour compatible packages on Mer OBS

Description of problem:

It is impossible to build a Harbour compatible RPM package on the Mer OBS due to automatically added dependencies.

Version-Release number of selected component (if applicable): Harbour and Mer OBS on the 22. April 2015

How reproducible:

always

Steps to Reproduce:

  1. create a source package on OBS that that contains at least one bash script
  2. build it
  3. try to submit it to Harbour

example package:

http://modrana.org/tmp/harbour-modrana-0.52.3-10.1.1.noarch.rpm

Actual results:

The Harbour Web UI reports the following error:

No OS version and packages satisfy package requirements: Requirement /bin/bash not available Requirement /usr/bin/env not available

This is most probably because the RPM building tools found a bash script in the package and added an appropriate dependency.

Expected results:

The package is accepted as both dependencies are core parts of the Sailfish OS platform anyway. Alternatively the Sailfish OS target should not automatically add dependencies or should provide a way to turn it off.

Additional info:

It was a lot of work to make modRana and its packaging Harbour compatible, so being blocked by such a trivial error in Harbour really sucks...

PS.: OpenRepos has no issues with the same package. :)

[bug]It is impossible to build Harbour compatible packages on Mer OBS

Description of problem:

It is impossible to build a Harbour compatible RPM package on the Mer OBS due to automatically added dependencies.

Version-Release number of selected component (if applicable): Harbour and Mer OBS on the 22. April 2015

How reproducible:

always

Steps to Reproduce:

  1. create a source package on OBS that that contains at least one bash script
  2. build it
  3. try to submit it to Harbour

example package:

http://modrana.org/tmp/harbour-modrana-0.52.3-10.1.1.noarch.rpm

Actual results:

The Harbour Web UI reports the following error:

No OS version and packages satisfy package requirements: Requirement /bin/bash not available Requirement /usr/bin/env not available

This is most probably because the RPM building tools found a bash script in the package and added an appropriate dependency.

Expected results:

The package is accepted as both dependencies are core parts of the Sailfish OS platform anyway. Alternatively the Sailfish OS target should not automatically add dependencies or should provide a way to turn it off.

Additional info:

It was a lot of work to make modRana and its packaging Harbour compatible, so being blocked by such a trivial error in Harbour really sucks...

PS.: OpenRepos has no issues with the same package. :)

Update

Thanks to @coderus for the following workaround:

%define __requires_exclude ^libwa-qt5.|/bin/bash|/usr/bin/env|libaxolotl.|libcurve25519.*$

This rips out the automatically added dependencies.

[bug]It is impossible to build Harbour compatible packages on Mer OBS

Description of problem:

It is impossible to build a Harbour compatible RPM package on the Mer OBS due to automatically added dependencies.

Version-Release number of selected component (if applicable): Harbour and Mer OBS on the 22. April 2015

How reproducible:

always

Steps to Reproduce:

  1. create a source package on OBS that that contains at least one bash script
  2. build it
  3. try to submit it to Harbour

example package:

http://modrana.org/tmp/harbour-modrana-0.52.3-10.1.1.noarch.rpm

Actual results:

The Harbour Web UI reports the following error:

No OS version and packages satisfy package requirements: Requirement /bin/bash not available Requirement /usr/bin/env not available

This is most probably because the RPM building tools found a bash script in the package and added an appropriate dependency.

Expected results:

The package is accepted as both dependencies are core parts of the Sailfish OS platform anyway. Alternatively the Sailfish OS target should not automatically add dependencies or should provide a way to turn it off.

Additional info:

It was a lot of work to make modRana and its packaging Harbour compatible, so being blocked by such a trivial error in Harbour really sucks...

PS.: OpenRepos has no issues with the same package. :)

Update

Thanks to @coderus for the following workaround:

%define __requires_exclude ^libwa-qt5.|/bin/bash|/usr/bin/env|libaxolotl.|libcurve25519.*$^/bin/bash|/usr/bin/env$

This rips out the automatically added dependencies.