Your message dated Mon, 30 Sep 2013 14:55:45 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-postgresql-public] Bug#725007: libpq-dev: pg_config 
improperly includes -L../../../src/common in LDFLAGS
has caused the Debian Bug report #725007,
regarding libpq-dev: pg_config improperly includes -L../../../src/common in 
LDFLAGS
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 [email protected]
immediately.)


-- 
725007: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725007
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpq-dev
Version: 9.3.0-2
Severity: normal

Dear Maintainer,

While investigating a build issue with FreeSwitch on Debian/testing[1],
it was found that pg_config outputs:

LDFLAGS = -L../../../src/common -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
-L/usr/lib/mit-krb5 -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed

This cause build issues in the FreeSwitch package, since libtool will
check whether the ../../../src/common directory exists and fail if it
doesn't.

[1] http://jira.freeswitch.org/browse/FS-5821

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpq-dev depends on:
ii  comerr-dev     2.1-1.42.8-1
ii  krb5-multidev  1.11.3+dfsg-3
ii  libc6          2.17-92+b1
ii  libpq5         9.3.0-2
ii  libssl-dev     1.0.1e-3

libpq-dev recommends no packages.

Versions of packages libpq-dev suggests:
pn  postgresql-doc-9.3  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hello Stephane,

Stephane Alnet (Packaging) [2013-09-30 14:19 +0200]:
> While investigating a build issue with FreeSwitch on Debian/testing[1],
> it was found that pg_config outputs:
> 
> LDFLAGS = -L../../../src/common -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
> -L/usr/lib/mit-krb5 -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed
> 
> This cause build issues in the FreeSwitch package, since libtool will
> check whether the ../../../src/common directory exists and fail if it
> doesn't.

This almost becomes a FAQ... pg_config is *not* a replacement for
pkg-config. It merely says which flags were used to build postgresql
itself, other packages should not use it as build flags. You don't
need any particular build flags for libpq.

libpq 9.3 in unstable now actually ships a pkg-config file which you
can use.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to