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

Bug#734755: marked as done (libpostgresql-ocaml-dev bug packaging for prepared statements)



Your message dated Wed, 15 Dec 2021 18:13:31 +0100
with message-id <a7f9d819-de37-b3d5-3b72-94e18bb7b280@debian.org>
and subject line Re: Bug#734755: libpostgresql-ocaml-dev bug packaging for prepared statements
has caused the Debian Bug report #734755,
regarding libpostgresql-ocaml-dev bug packaging for prepared statements
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
734755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734755
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libpostgresql-ocaml-dev
Version: 1.18.0-1

Dear OCaml maintainers,

I believe there is a bug in the packaging of this library. When I build my project against the packaged library 1.18.0-1 in wheezy, I hit the error "Postgresql.prepare: not supported"

This error is from the file postgresql_stubs.c.

#if PG_OCAML_MAJOR_VERSION > 8 \
    || ( PG_OCAML_MAJOR_VERSION >= 8 && PG_OCAML_MINOR_VERSION >= 2)
# define PG_OCAML_8_2
#endif

[..]

#ifdef PG_OCAML_8_2
CAMLprim value PQprepare_stub(value v_conn, value v_stm_name, value v_query)
{

[...]

#else
CAMLprim value PQprepare_stub(
  value __unused v_conn, value __unused v_stm_name, value __unused v_query)
{
  caml_failwith("Postgresql.prepare: not supported");
  return Val_unit;
#endif
}

Everything is fine if I manually compile the lib.
apt-get purge libpostgresql-ocaml-dev
apt-get build-dep libpostgresql-ocaml-dev
apt-get source libpostgresql-ocaml-dev
make && make install

Thanks in advance for addressing this issue.

PS: Sorry for having sent this notice twice.

--- End Message ---
--- Begin Message ---
Version: 4.6.3-1

Le 15/12/2021 à 18:04, Gregory Bellier a écrit :
> You may consider closing this ticket.

Closing, then.


Cheers,

-- 
Stéphane

--- End Message ---

Reply to: