Package: postgresql-server-dev-all
Version: 125
Severity: important

In some cases, pg_buildext does not abort properly on an error.  For
example, when debian/pgversions does not exist:

$ pg_buildext supported-versions /tmp
pg_buildext: error: /tmp/debian/pgversions not found
$ echo $?
0

This will need to some shell debugging, but it looks like since
versions() is called in a subshell as `versions` in a for loop, the
set -e setting of the outer shell does not apply.

Note that this issue could result in empty packages or no packages
being built, with only a message buried somewhere in the build log.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (x86_64)

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

Versions of packages postgresql-server-dev-all depends on:
ii  dctrl-tools                2.18   
ii  lsb-release                3.2-28 
ii  postgresql-common          124    
ii  postgresql-server-dev-9.1  9.1.1-2

postgresql-server-dev-all recommends no packages.

postgresql-server-dev-all suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to