[opensuse-buildservice] Arch: unresolvable: nothing provides libyaml needed by ruby
Hi, I tried to add ruby to the built dependencies of a package of mine and got the following message on ArchLinux in OBS (during "osc build" on my dev machine): unresolvable: nothing provides libyaml needed by ruby Can someone import this package as well so we can build ruby packages? Thanks Nico
On 21 August 2013 12:47, Nico Kruber <nico.kruber@gmail.com> wrote:
Hi, I tried to add ruby to the built dependencies of a package of mine and got the following message on ArchLinux in OBS (during "osc build" on my dev machine): unresolvable: nothing provides libyaml needed by ruby
Can someone import this package as well so we can build ruby packages?
libyaml is available from the Community repo in Arch, not Core or Extra (https://www.archlinux.org/packages/community/x86_64/libyaml/) which are what we have in the Build Service. When building for Arch in my home project, I just made a new package (called 'libyaml' in your case), copied the PKGBUILD from https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/... and set it to not publish and to only build for Arch. You'll also have to manually download the source tarball and edit the PKGBUILD to reference the local file rather than the remote one. For me this then satisfied the dependency. I did however have to go a few levels deep and ended up with all the packages in https://build.opensuse.org/project/show/home:Milliams:Arch:Community As an aside, this would all be easier if the Arch build machinery could automatically look in the PKGBUILD, download the tarball mentioned in 'source' and silently tweak the 'source' line to refer to the local file. Hope this helps, Matt -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
(now for everyone, not just Matt...) On Wednesday 21 Aug 2013 13:12:46 Matt Williams wrote:
On 21 August 2013 12:47, Nico Kruber <nico.kruber@gmail.com> wrote:
Hi, I tried to add ruby to the built dependencies of a package of mine and got the following message on ArchLinux in OBS (during "osc build" on my dev machine): unresolvable: nothing provides libyaml needed by ruby
Can someone import this package as well so we can build ruby packages?
libyaml is available from the Community repo in Arch, not Core or Extra (https://www.archlinux.org/packages/community/x86_64/libyaml/) which are what we have in the Build Service. When building for Arch in my home project, I just made a new package (called 'libyaml' in your case), copied the PKGBUILD from https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ libyaml and set it to not publish and to only build for Arch. You'll also have to manually download the source tarball and edit the PKGBUILD to reference the local file rather than the remote one. For me this then satisfied the dependency. I did however have to go a few levels deep and ended up with all the packages in https://build.opensuse.org/project/show/home:Milliams:Arch:Community
As an aside, this would all be easier if the Arch build machinery could automatically look in the PKGBUILD, download the tarball mentioned in 'source' and silently tweak the 'source' line to refer to the local file.
Hope this helps, Matt
ok, I assumed that something that is in Core (ruby in my case) only has dependencies to Core packages (libyaml) and assumed it was just missing here well, apparently, I was wrong and need to include it like you did - let's hope it does not go that deep... Thanks Nico
On 21 August 2013 13:41, Nico Kruber <nico.kruber@gmail.com> wrote:
(now for everyone, not just Matt...)
On Wednesday 21 Aug 2013 13:12:46 Matt Williams wrote:
On 21 August 2013 12:47, Nico Kruber <nico.kruber@gmail.com> wrote:
Hi, I tried to add ruby to the built dependencies of a package of mine and got the following message on ArchLinux in OBS (during "osc build" on my dev machine): unresolvable: nothing provides libyaml needed by ruby
Can someone import this package as well so we can build ruby packages?
libyaml is available from the Community repo in Arch, not Core or Extra (https://www.archlinux.org/packages/community/x86_64/libyaml/) which are what we have in the Build Service. When building for Arch in my home project, I just made a new package (called 'libyaml' in your case), copied the PKGBUILD from https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ libyaml and set it to not publish and to only build for Arch. You'll also have to manually download the source tarball and edit the PKGBUILD to reference the local file rather than the remote one. For me this then satisfied the dependency. I did however have to go a few levels deep and ended up with all the packages in https://build.opensuse.org/project/show/home:Milliams:Arch:Community
As an aside, this would all be easier if the Arch build machinery could automatically look in the PKGBUILD, download the tarball mentioned in 'source' and silently tweak the 'source' line to refer to the local file.
Hope this helps, Matt
ok, I assumed that something that is in Core (ruby in my case) only has dependencies to Core packages (libyaml) and assumed it was just missing here
well, apparently, I was wrong and need to include it like you did - let's hope it does not go that deep...
You're right that it's weird that a package in Core can have a dependency on a package in Community. I'm not sure how that's supposed to work but I've never really used Arch. libyaml only seems to be a pure c library so it should be a simply package to build with no dependencies. Matt -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
(once again for everyone, not just Matt - I never hit "reply all" and you put me into "To", the ml into "CC" so the reply went to you) On Wednesday 21 Aug 2013 13:47:36 Matt Williams wrote:
On 21 August 2013 13:41, Nico Kruber <nico.kruber@gmail.com> wrote:
(now for everyone, not just Matt...)
On Wednesday 21 Aug 2013 13:12:46 Matt Williams wrote:
On 21 August 2013 12:47, Nico Kruber <nico.kruber@gmail.com> wrote:
Hi, I tried to add ruby to the built dependencies of a package of mine and got the following message on ArchLinux in OBS (during "osc build" on my dev machine): unresolvable: nothing provides libyaml needed by ruby
Can someone import this package as well so we can build ruby packages?
libyaml is available from the Community repo in Arch, not Core or Extra (https://www.archlinux.org/packages/community/x86_64/libyaml/) which are what we have in the Build Service. When building for Arch in my home project, I just made a new package (called 'libyaml' in your case), copied the PKGBUILD from https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packag es/ libyaml and set it to not publish and to only build for Arch. You'll also have to manually download the source tarball and edit the PKGBUILD to reference the local file rather than the remote one. For me this then satisfied the dependency. I did however have to go a few levels deep and ended up with all the packages in https://build.opensuse.org/project/show/home:Milliams:Arch:Community
As an aside, this would all be easier if the Arch build machinery could automatically look in the PKGBUILD, download the tarball mentioned in 'source' and silently tweak the 'source' line to refer to the local file.
Hope this helps, Matt
ok, I assumed that something that is in Core (ruby in my case) only has dependencies to Core packages (libyaml) and assumed it was just missing here
well, apparently, I was wrong and need to include it like you did - let's hope it does not go that deep...
You're right that it's weird that a package in Core can have a dependency on a package in Community. I'm not sure how that's supposed to work but I've never really used Arch.
libyaml only seems to be a pure c library so it should be a simply package to build with no dependencies.
Matt
indeed, it was - the site you gave me also stated "no dependencies" so good for me (maybe it's an optional dependency - although since it's a lib, I don't think so - anyway, that's for the Arch guys to figure out / solve Nico
participants (2)
-
Matt Williams
-
Nico Kruber