[opensuse-buildservice] Still trying to find a solution when a package depends on universe ubuntu repository
Dear All, I'm still struggling to find a solution to build my package that depends for building on others packages that are in the universe ubuntu repository. So, again, I'm desperately asking a feasible solution to any other users encounter my same problem... and also, I'm wondering if the administrations may take in consideration to include the universe repository. This is a short summary of my adventure :-) : - I'm building a package named yarp that depends on libace - libace is into the universe ubuntu repository - universe ubuntu repository is not included into the OBS service - I'm trying to find a way to fullfill the dependency to build my package - the solution I tryied are: 1) download the source package of libace, build it into the OBS without publish it 2) try to fullfill the dependency taking the package from the Debian repository (where libace is into the standard repository) 3) try to install the .deb binary package during the execution of debian.rules before the build All these solution failed for the following reasons: 1) the source package of libace generate about 20 binary packages and then for building it depends on other about 20 dev package and some of those are in the universe repository too !! This imply that I have to recursevily download a lot of source package and rebuild them into the OBS. That's absolutely silly and unfeasible 2) Debian and Ubuntu are incompatibles :-( 3) The dpkg command needs root access to install a .deb package even if I set the --root-dir to the home build directory Do you have in mind some other solution I can try ?? Thanks, Gianluca. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jun 05, 2013 at 09:57:16AM +0200, Gianluca Emme wrote:
All these solution failed for the following reasons: 1) the source package of libace generate about 20 binary packages and then for building it depends on other about 20 dev package and some of those are in the universe repository too !! This imply that I have to recursevily download a lot of source package and rebuild them into the OBS. That's absolutely silly and unfeasible
The number of built binary packages does not matter for OBS. Also any build depend, which is not from universe, does not matter. You only have to import 3 source packages. Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear Martin, did you look at the libace source package ?? If yes, how did you arrive at the import number of 3 source packages ?? When I tried the solution 1, I stopped to go further when I realized that I need to import more that 5 source packages. So, where did come out your calculation ?? And, I disagree with you that the number of built binary packages does not matter for OBS, because on the mailing list I read a lot of messages about the waste of space, the waste of resources and so on. And every time, the administrators instructs users to minimize the use of resources. And hence, the solution 1 is definitely a waste of resources because the source packages that I need to import will build dozen of binary packages when I just need one of those and the others will be unused but they will be built wasting resources. I think that the best solution is to allow the installation of binary .deb packages as additional dependencies before the building process start. I think that if this features will be added to the OBS system (for .deb and for .rpm) the problem that I have can be solved with the minimum resource use. Regards, Gianluca. Il giorno 06/giu/2013, alle ore 09:08, Martin Koegler ha scritto:
On Wed, Jun 05, 2013 at 09:57:16AM +0200, Gianluca Emme wrote:
All these solution failed for the following reasons: 1) the source package of libace generate about 20 binary packages and then for building it depends on other about 20 dev package and some of those are in the universe repository too !! This imply that I have to recursevily download a lot of source package and rebuild them into the OBS. That's absolutely silly and unfeasible
The number of built binary packages does not matter for OBS. Also any build depend, which is not from universe, does not matter.
You only have to import 3 source packages.
Regards, Martin
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2013-06-06 10:38, Gianluca Massera wrote:
And, I disagree with you that the number of built binary packages does not matter for OBS, because on the mailing list I read a lot of messages about the waste of space, the waste of resources and so on. And every time, the administrators instructs users to minimize the use of resources. And hence, the solution 1 is definitely a waste of resources because the source packages that I need to import will build dozen of binary packages when I just need one of those and the others will be unused but they will be built wasting resources.
But, if you submit ACE to the science/ project, all distros, including openSUSE, which does not yet have libace, can benefit. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
The ACE library is already present into the OBS service with an
official project, and it is available to all openSuse users and to
other RPM-based distros.
But for Debian and Ubuntu ACE is included in their official
repository, so there is no sense to create another package for .deb
distros into the OBS.
Take a look to the ACE repository on OBS:
https://build.opensuse.org/project/show?project=devel%3Alibraries%3AACE
So, I'm still stucked :-S
Regards
Gianluca.
2013/6/6 Jan Engelhardt
On Thursday 2013-06-06 10:38, Gianluca Massera wrote:
And, I disagree with you that the number of built binary packages does not matter for OBS, because on the mailing list I read a lot of messages about the waste of space, the waste of resources and so on. And every time, the administrators instructs users to minimize the use of resources. And hence, the solution 1 is definitely a waste of resources because the source packages that I need to import will build dozen of binary packages when I just need one of those and the others will be unused but they will be built wasting resources.
But, if you submit ACE to the science/ project, all distros, including openSUSE, which does not yet have libace, can benefit.
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2013-06-06 23:31, Gianluca Emme wrote:
The ACE library is already present into the OBS service[...] Take a look to the ACE repository on OBS: https://build.opensuse.org/project/show?project=devel%3Alibraries%3AACE
Yeah it's like, _totally_ present. 01:43 ares07:~ > sosc ls devel:libraries:ACE 01:43 ares07:~ > -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Jun 06, 2013 at 10:38:50AM +0200, Gianluca Massera wrote:
did you look at the libace source package ?? If yes, how did you arrive at the import number of 3 source packages ?? When I tried the solution 1, I stopped to go further when I realized that I need to import more that 5 source packages. So, where did come out your calculation ??
http://archive.ubuntu.com/ubuntu/pool/universe/a/ace/ace_6.0.3+dfsg-0.1.dsc : Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.2), libssl-dev (>= 0.9.7d), libxt-dev (>= 4.3.0), libfltk1.1-dev (>= 1.1.4), libqt4-dev (>= 4.4~rc1-4), tk-dev (>= 8.5), libfox-1.6-dev, zlib1g-dev, libzzip-dev, liblzo2-dev, docbook-to-man, bzip2, libbz2-dev Build-Depends-Indep: doxygen, graphviz doxygen, graphviz are main, as well as debhelper, dpkg-dev, libssl-dev, libxt-dev, libfltk1.1-dev, libqt4-dev, tk-dev, zlib1g-dev, docbook-to-man, bzip2, libbz2-dev, liblzo2-dev Only libfox-1.6-dev, libzzip-dev are universe. http://archive.ubuntu.com/ubuntu/pool/universe/z/zziplib/zziplib_0.13.56-1.1... : Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, zlib1g-dev, python http://archive.ubuntu.com/ubuntu/pool/universe/f/fox1.6/fox1.6_1.6.45-1ubunt... : Build-Depends: debhelper (>= 8), libjpeg-dev, libpng-dev, zlib1g-dev, libx11-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libtiff-dev, libcups2-dev, libxcursor-dev, libxft-dev, libxext-dev, libtool, autoconf, autotools-dev, automake, dh-autoreconf, libfontconfig1-dev, libfreetype6-dev
And, I disagree with you that the number of built binary packages does not matter for OBS, because on the mailing list I read a lot of messages about the waste of space, the waste of resources and so on. And every time, the administrators instructs users to minimize the use of resources.
It has become a best practice to split even a single files (eg. libraries) into seperate packages. This results in lots of small packages instead of one big package. Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear Martin,
I imported all the sources for rebuilt the packages into the OBS, and
now I get this error on dependencies for the ACE package:
have choice for libjpeg-dev needed by libfox-1.6-dev: libjpeg-dev
libjpeg-turbo8-dev, have choice for libjpeg-dev needed by
libtiff5-dev: libjpeg-dev libjpeg-turbo8-dev
I don't know how to solve them... also because I don't know what this
error means.
Any insights ??
Thanks,
Gianluca.
2013/6/7 Martin Koegler
On Thu, Jun 06, 2013 at 10:38:50AM +0200, Gianluca Massera wrote:
did you look at the libace source package ?? If yes, how did you arrive at the import number of 3 source packages ?? When I tried the solution 1, I stopped to go further when I realized that I need to import more that 5 source packages. So, where did come out your calculation ??
http://archive.ubuntu.com/ubuntu/pool/universe/a/ace/ace_6.0.3+dfsg-0.1.dsc :
Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.2), libssl-dev (>= 0.9.7d), libxt-dev (>= 4.3.0), libfltk1.1-dev (>= 1.1.4), libqt4-dev (>= 4.4~rc1-4), tk-dev (>= 8.5), libfox-1.6-dev, zlib1g-dev, libzzip-dev, liblzo2-dev, docbook-to-man, bzip2, libbz2-dev Build-Depends-Indep: doxygen, graphviz
doxygen, graphviz are main, as well as debhelper, dpkg-dev, libssl-dev, libxt-dev, libfltk1.1-dev, libqt4-dev, tk-dev, zlib1g-dev, docbook-to-man, bzip2, libbz2-dev, liblzo2-dev
Only libfox-1.6-dev, libzzip-dev are universe.
http://archive.ubuntu.com/ubuntu/pool/universe/z/zziplib/zziplib_0.13.56-1.1... : Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, zlib1g-dev, python
http://archive.ubuntu.com/ubuntu/pool/universe/f/fox1.6/fox1.6_1.6.45-1ubunt... : Build-Depends: debhelper (>= 8), libjpeg-dev, libpng-dev, zlib1g-dev, libx11-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libtiff-dev, libcups2-dev, libxcursor-dev, libxft-dev, libxext-dev, libtool, autoconf, autotools-dev, automake, dh-autoreconf, libfontconfig1-dev, libfreetype6-dev
And, I disagree with you that the number of built binary packages does not matter for OBS, because on the mailing list I read a lot of messages about the waste of space, the waste of resources and so on. And every time, the administrators instructs users to minimize the use of resources.
It has become a best practice to split even a single files (eg. libraries) into seperate packages. This results in lots of small packages instead of one big package.
Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Fri, Jun 7, 2013 at 9:33 AM, Gianluca Emme
have choice for libjpeg-dev needed by libfox-1.6-dev: libjpeg-dev libjpeg-turbo8-dev, have choice for libjpeg-dev needed by libtiff5-dev: libjpeg-dev libjpeg-turbo8-dev
I don't know how to solve them... also because I don't know what this error means.
Add a Prefer: libjpeg-turbo8-dev to your projconf (or whatever alternative you do prefer). -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jun 5, 2013 at 4:57 AM, Gianluca Emme
This is a short summary of my adventure :-) : - I'm building a package named yarp that depends on libace - libace is into the universe ubuntu repository - universe ubuntu repository is not included into the OBS service - I'm trying to find a way to fullfill the dependency to build my package - the solution I tryied are: 1) download the source package of libace, build it into the OBS without publish it
This is the only sensible option, because:
2) try to fullfill the dependency taking the package from the Debian repository (where libace is into the standard repository) 3) try to install the .deb binary package during the execution of debian.rules before the build
Both of these violate the "no binary blobs" rule. And yes, prebuilt debs are binary blobs, and downloading them at build time, besides impossible, is also downloading a binary blob. While it would be preferrably to have universe already in OBS, this is not possible since universe's requisites allow many packages OBS rules do not. So the only real alternative is to hand-pick packages for inclusion, one by one. This can be done in two ways: 1- Option 1 in your list, on a shared project for all that need universe dependencies. Someone would create Ubuntu:X.Y:universe and we'd populate it slowly, with legal review. 2- Same as above, except instead of making OBS build them, someone populates the project with binaries from the official repos. This requires OBS admins to work a lot more, but it would be optimal use of resources. However, since manpower is harder to come by than iron power, I expect option 1 above would be favoured by OBS admins (especially since it's been discussed already). -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear all,
Thank you very much for your help and patience.
:-)
2013/6/7 Claudio Freire
On Wed, Jun 5, 2013 at 4:57 AM, Gianluca Emme
wrote: This is a short summary of my adventure :-) : - I'm building a package named yarp that depends on libace - libace is into the universe ubuntu repository - universe ubuntu repository is not included into the OBS service - I'm trying to find a way to fullfill the dependency to build my package - the solution I tryied are: 1) download the source package of libace, build it into the OBS without publish it
This is the only sensible option, because:
2) try to fullfill the dependency taking the package from the Debian repository (where libace is into the standard repository) 3) try to install the .deb binary package during the execution of debian.rules before the build
Both of these violate the "no binary blobs" rule. And yes, prebuilt debs are binary blobs, and downloading them at build time, besides impossible, is also downloading a binary blob.
While it would be preferrably to have universe already in OBS, this is not possible since universe's requisites allow many packages OBS rules do not. So the only real alternative is to hand-pick packages for inclusion, one by one.
This can be done in two ways: 1- Option 1 in your list, on a shared project for all that need universe dependencies. Someone would create Ubuntu:X.Y:universe and we'd populate it slowly, with legal review. 2- Same as above, except instead of making OBS build them, someone populates the project with binaries from the official repos. This requires OBS admins to work a lot more, but it would be optimal use of resources. However, since manpower is harder to come by than iron power, I expect option 1 above would be favoured by OBS admins (especially since it's been discussed already). -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Claudio Freire
-
Gianluca Emme
-
Gianluca Massera
-
Jan Engelhardt
-
Martin Koegler