[Pkg-gridengine-devel] Bug#826113: Bug#826113: bugfix

Carl Pupa carlpupa at gmail.com
Mon Jun 27 02:45:45 UTC 2016


Hello Afif,

When I applied your patch, did debuild, and then ran piuparts -d stretch 
on the gridengine-common*.deb, I got the following, indicating that it 
was still looking for the gridengine.default file:

   update-alternatives: using /bin/tcsh to provide /bin/csh (csh) in 
auto mode
   Setting up gridengine-common (8.1.8+dfsg-6) ...
   ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be 
preloaded (cannot open shared object file): ignored.
   sed: can't read /usr/share/gridengine-common/gridengine.default: No 
such file or directory
   dpkg: error processing package gridengine-common (--configure):
    subprocess installed post-installation script returned error exit 
status 2
   Processing triggers for libc-bin (2.22-11) ...
   Errors were encountered while processing:
    gridengine-common
   E: Sub-process /usr/bin/dpkg returned an error code (1)

--Carl

On 6/25/16 8:25 PM, Afif Elghraoui wrote:
>
> على السبت 25 حزيران 2016 ‫16:35، كتب Carl Pupa:
>> In that case I agree it doesn't really matter whether gridengine.default
>> is in examples or not.  I've attached a patch that simply change the
>> postinst script so that it takes the copy from
>> /usr/share/gridengine-common/ instead of /usr/share/doc/gridengine-common/.
> This is close. Attached is what I had in mind as a complete solution. It
> installs gridengine.default into /usr/share/gridengine-common/, does not
> install it into /usr/share/doc/gridengine-common/examples/, and adjusts
> the postinst script (like your patch did).
>
> The debian/*examples and debian/*install files are used by
> dh_installexamples(1) and dh_install(1), respectively, during the
> package build. debhelper(7) has a list of similar commands.
>
> Does this look good to you? I haven't tested it, but it looks ok to me.
>
> Many thanks and regards
> Afif
>
>



More information about the Pkg-gridengine-devel mailing list