[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#457014: ocaml-nox: Bad permissions on ocamldoc-api-ref-config



On 19-12-2007, Stefano Zacchiroli <zack@debian.org> wrote:
>
> --6c2NcOVqGQ03X4Wi
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> tags 457014 + confirmed
> thanks
>
> On Tue, Dec 18, 2007 at 11:52:11PM -0500, Daniel Schepler wrote:
>> /bin/sh: line 2: /usr/share/cdbs/1/class/ocamldoc-api-ref-config: Permiss=
> ion denied
>> make: *** [build/libcryptgps-ocaml-dev] Error 126
>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
>>=20
>> I can also reproduce this on amd64 using ocaml packages compiled from
>> source.
>
> I can reproduce it here too, ocamldoc-api-ref-config is not installed as
> an executable script. Probably dh_fixperms is removing the +x bit. I'm
> rebuilding the package telling dh_fixperms to ignore such a script as a
> quick fix for this. A more proper long term fix would be to move
> ocamldoc-api-ref-config elsewhere, but I failed to find a proper place.
> Any suggestion?
>

Maybe i understand where is the failure (difference between Ralf, me and
other). I think the +x bits doesn't make its way into the SVN
repository or in the .diff file. The amd64 packages has been built on my
computer (with the +x). I have also tested it on a i386. 

Explanation is simple: forget to commit the make executable ocamldoc-api-ref-config. 
Ralf and me get packages build with this bit, other built packages
doesn't have it.

Sorry for the bug!

Concerning location, i think it should be somewhere like 
/usr/lib/ocaml-support/

Regards,
Sylvain Le Gall


Reply to: