Bug#734702: [Pkg-gridengine-devel] libdb dependency in v8.1.8

2015-12-22 Thread Afif Elghraoui
Control: tag -1 pending

على الجمعـة 11 كانون الأول 2015 ‫14:08، كتب Dave Love:
> Afif Elghraoui  writes:
> 
>>> * Replace dependency on db-5.1 with unversioned package
>>>
>>>   The db tools need to be consistent with the library version used in
>>>   the build.
>>
>> The versioning consistency should be taken care of with
>> {shlibs:Depends}. db-5.1 isn't in Debian anymore (it's been replaced
>> with 5.3).
> 
> How does that get you the right db-util package with the tools to handle
> the specific version of the db spool?
>

The unversioned package libdb-dev is an empty package that depends on
the latest versioned one (libdb5.3-dev). The library's versioned soname
is used to determine the right package for the runtime shared library
dependency, so building right now with libdb-dev gets you a package that
depends on libdb5.3.

Do you want to keep the build-dependency specifically on 5.3 and
manually handle libdb version upgrades?

>> By the way, we have a patch in
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734702
>> related to this transition that touches
>> source/libs/spool/berkeleydb/sge_bdb.c
>> I'm not sure if you want to integrate that (or already have) upstream.
> 
> My current source definitely builds against 5.3.
> 

It said something about skipping non-existent error defines. I missed
that this patch actually modifies a quilt patch in the packaging and I
think you've cleaned all those out. I guess we can declare this fixed

regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



Bug#734702: [Pkg-gridengine-devel] libdb dependency in v8.1.8

2015-12-11 Thread Dave Love
Afif Elghraoui  writes:

>> * Replace dependency on db-5.1 with unversioned package
>> 
>>   The db tools need to be consistent with the library version used in
>>   the build.
>
> The versioning consistency should be taken care of with
> {shlibs:Depends}. db-5.1 isn't in Debian anymore (it's been replaced
> with 5.3).

How does that get you the right db-util package with the tools to handle
the specific version of the db spool?

> By the way, we have a patch in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734702
> related to this transition that touches
> source/libs/spool/berkeleydb/sge_bdb.c
> I'm not sure if you want to integrate that (or already have) upstream.

My current source definitely builds against 5.3.



Bug#734702: [Pkg-gridengine-devel] libdb dependency in v8.1.8

2015-10-18 Thread Afif Elghraoui
On الأحد 18 تشرين الأول 2015 11:05, Dave Love wrote:
>> So far, as I mentioned before, I've done my work on the package in my
>> > personal clone of the repository at
>> > . I'd
>> > like to push my commits to the team repository, if possible.
> I suppose I can do it indirectly if I still have the means to access it.
> 
>> > I imported the latest SGE version 8.1.8 and made a few modifications to
>> > the packaging to get it to build.
> [...]
> * Replace dependency on db-5.1 with unversioned package
> 
>   The db tools need to be consistent with the library version used in
>   the build.

The versioning consistency should be taken care of with
{shlibs:Depends}. db-5.1 isn't in Debian anymore (it's been replaced
with 5.3). By the way, we have a patch in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734702
related to this transition that touches
source/libs/spool/berkeleydb/sge_bdb.c
I'm not sure if you want to integrate that (or already have) upstream.

Thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name