Bug#840930: vmware-nsx: FTBFS: AttributeError: 'module' object has no attribute 'SecurityGroup'

2017-08-08 Thread Allison Randal
IIRC, in the OpenStack packaging sprint at DebCamp last week we agreed
to remove vmware-nsx from unstable. (The package never made it to
testing or any stable release.)



Bug#840930: vmware-nsx: FTBFS: AttributeError: 'module' object has no attribute 'SecurityGroup'

2017-02-27 Thread Allison Randal
On 02/27/2017 05:34 PM, Thomas Goirand wrote:
> 
> Yes, because it FTBFS as well.

Thanks Thomas. How important would you rate vmware-nsx? It's currently
removed from testing. It has no rdepends, so I'm thinking it's probably
fine to leave it out of stretch, and fix it in unstable for future releases.

(I'm just reviewing RC bugs for the OpenStack packages, there aren't many.)

Allison



Bug#840930: vmware-nsx: FTBFS: AttributeError: 'module' object has no attribute 'SecurityGroup'

2017-02-27 Thread Allison Randal
The version of the neutron package currently in unstable and stretch
(9.1.1) is incompatible with the version of vmware-nsx in unstable
(8.0.0). During the Newton release cycle, Neutron was changed to move
SecurityGroup from:

neutron.db.securitygroups_db

to:

neutron.db.models.securitygroup

For the specific line of code failing in this FTBFS, see this change
that was made in the 9.1.0 release of vmware-nsx:

https://anonscm.debian.org/cgit/openstack/vmware-nsx.git/commit/?h=debian/newton=4950717f9550732f6655c97afda07ed401a37a0d

The fix for this bug is to package a compatible version of vmware-nsx.
Apparently the 9.1.0 package of vmware-nsx was created, but never
uploaded to unstable:

https://anonscm.debian.org/cgit/openstack/vmware-nsx.git/log/?h=debian/newton

Allison



Bug#674213: gpsdrive: not installable in sid

2013-01-25 Thread Allison Randal
Hi Hamish,

What's the status on the upstream work here? Is it worth waiting for a
new upstream release, or is it better to go ahead and package 2.11?
Could the fixes for mapnik be applied to the 2.11 packages as patches,
or are the changes too extensive for that?

Note that this FTBFS has been (temporarily) resolved in the latest
Debian packages of 2.10 with patches disabling mapnik in the build.

Allison


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#694808: libv8: CVE-2012-5120 CVE-2012-5128

2012-12-16 Thread Allison Randal
The details on these two CVE's are 403 for me:

CVE-2012-5120
https://code.google.com/p/chromium/issues/detail?id=150729

CVE-2012-5128
https://code.google.com/p/chromium/issues/detail?id=157124

So presumably they're still embargoed and only accessible to certain
members of pkg-javascript.

Allison


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#650453: magics++: as-needed.patch doesn't apply, causing, FTBFS

2011-12-06 Thread Allison Randal
I looked into it a little further last night, and the error was on the
AC_CHECK_LIB check for libemosR64, failing with errors such as:

/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libemosR64.so:
undefined reference to `sqrtq'

This appears to be related to the --no-add-needed option. The fix is to
add the relevant libraries directly to LIBS (they previously would have
been pulled in indirectly by -lemosR64). The attached patch fully fixes
the FTBFS, tested on sid and Ubuntu precise.

It doesn't address the questions about the debian-changes-* patches and
failure to fully clean before a second run of debuild, I was just
focused on clearing the FTBFS.

Hope this helps, and gives you a little more free time on the weekend.
=== modified file 'debian/as-needed.patch'
--- debian/as-needed.patch	2011-09-13 13:45:47 +
+++ debian/as-needed.patch	2011-12-06 09:30:04 +
@@ -3,12 +3,12 @@
  Note that this patch is applied by ./debian/rules AFTER autoreconf is run; 
  it cannot be applied in ./debian/patches
 Bug-Debian: http://bugs.debian.org/347650
-Last-Updated: 2011-09-13
+Last-Updated: 2011-12-05
 Forwarded: no
 
 ltmain.sh.orig	2011-09-13 10:05:45.0 +0100
-+++ ltmain.sh 	2011-09-13 10:22:40.0 +0100
-@@ -5500,6 +5500,11 @@
+--- ltmain.sh.orig	2011-12-05 23:13:53.614777184 +
 ltmain.sh	2011-12-05 23:21:58.310794860 +
+@@ -5512,6 +5512,11 @@
  	continue
  	;;
  
@@ -20,19 +20,19 @@
-export-symbols | -export-symbols-regex)
  	if test -n $export_symbols || test -n $export_symbols_regex; then
  	  func_fatal_error more than one -exported-symbols argument is not allowed
-@@ -6150,6 +6155,15 @@
+@@ -6163,6 +6168,15 @@
  	lib=
  	found=no
  	case $deplib in
-+   -Wl,--as-needed)
-+ if test $linkmode,$pass = prog,link; then
-+   compile_deplibs=$deplib $compile_deplibs
-+   finalize_deplibs=$deplib $finalize_deplibs
-+ else
-+   deplibs=$deplib $deplibs
-+ fi
-+ continue
-+ ;;
- 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
++	-Wl,--as-needed)
++	  if test $linkmode,$pass = prog,link; then
++	compile_deplibs=$deplib $compile_deplibs
++	finalize_deplibs=$deplib $finalize_deplibs
++	  else
++	deplibs=$deplib $deplibs
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
  	  if test $linkmode,$pass = prog,link; then
- 	compile_deplibs=$deplib $compile_deplibs

=== modified file 'debian/changelog'
--- debian/changelog	2011-10-20 10:40:35 +
+++ debian/changelog	2011-12-06 18:46:00 +
@@ -1,3 +1,14 @@
+magics++ (2.12.9-6) UNRELEASED; urgency=low
+
+  * Update debian/as-needed.patch so it applies to changed
+config/ltmain.sh.
+  * debian/rules: Add -lm -lquadmath -lgfortran to LIBS in configure
+line to directly link libraries that are needed. 
+  * Update debian/patches/dynamic_link.patch to add 
+-lm -lquadmath -lgfortran.
+
+ -- Allison Randal alli...@lohutok.net  Tue, 06 Dec 2011 10:43:17 -0800
+
 magics++ (2.12.9-5) unstable; urgency=low
 
   * Recommends: pkg-config in -dev package.

=== modified file 'debian/patches/dynamic_link.patch'
--- debian/patches/dynamic_link.patch	2011-07-08 17:16:45 +
+++ debian/patches/dynamic_link.patch	2011-12-06 18:12:07 +
@@ -1,20 +1,20 @@
 Description: Link libMagPlus.so.3.0.0 against extra libraries that are provided
  in dynamic form by Debian.
 Author: Alastair McKinstry mckins...@debian.org
-Last-Updated: 2010-07-23
+Last-Updated: 2011-12-06
 Forwarded: no
 
-Index: Magics++-2.12.1/configure.ac
+Index: debbug-650453/configure.ac
 ===
 Magics++-2.12.1.orig/configure.ac	2011-02-14 14:26:20.0 +
-+++ Magics++-2.12.1/configure.ac	2011-02-14 14:27:00.0 +
-@@ -747,7 +747,9 @@
+--- debbug-650453.orig/configure.ac	2011-12-06 16:22:38.194231000 +
 debbug-650453/configure.ac	2011-12-06 18:09:26.757261761 +
+@@ -767,7 +767,9 @@
  fi
  AC_SUBST(cairo)
  
 -
 +# Add dynamic libs needed by Debian
-+LIBS=$CAIRO_LIBS $LIBS -lemosR64 -lgrib_api -lterralib -lstdc++ -lm $NETCDF_LIBS
++LIBS=$CAIRO_LIBS $LIBS -lemosR64 -lgrib_api -lterralib -lstdc++ -lm -lquadmath -lgfortran $NETCDF_LIBS
 +LDFLAGS=$CAIRO_LDFLAGS $LDFLAGS -Wl,--as-needed
  
  # Autoheader

=== modified file 'debian/rules'
--- debian/rules	2011-09-24 15:05:00 +
+++ debian/rules	2011-12-06 18:46:30 +
@@ -37,7 +37,7 @@
 	dh_auto_configure -- \
 		--enable-bufr --enable-static --enable-cairo --with-emos-libraries=/usr/lib \
 		--with-terralib=/usr  --enable-python \
-		LDFLAGS=-L$(shell pwd)/src/.libs -Wl,--as-needed  LIBS= -lX11 -lpng12 -lz
+		LDFLAGS=-L$(shell pwd)/src/.libs -Wl,--as-needed  LIBS= -lX11 -lm -lquadmath -lgfortran -lpng12 -lz
 
 override_dh_auto_test check:
 	echo Tests disabled; see README-testfailures.txt

Bug#650453: magics++: as-needed.patch doesn't apply, causing, FTBFS

2011-12-06 Thread Allison Randal
On 12/06/2011 01:15 PM, Julien Cristau wrote:
 On Tue, Dec  6, 2011 at 11:41:00 -0800, Allison Randal wrote:
 
 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libemosR64.so:
 undefined reference to `sqrtq'

 That sounds like a bug in libemos.

It's actually an expected (even intended) result of compiling with
--no-add-needed. See:

http://wiki.debian.org/ToolChain/DSOLinking

And the documentation I wrote on the same transition in Ubuntu:

https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition#Indirect_Linking_for_Shared_Libraries

Allison



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#650453: magics++: as-needed.patch doesn't apply, causing, FTBFS

2011-12-06 Thread Allison Randal
On 12/06/2011 02:48 PM, Julien Cristau wrote:
 
 I know about no-add-needed, but that doesn't make it ok for a library
 such as libemosR64.so to have undefined symbols.

It's also possible to make the fix for the linking flags in libemos
instead. If -lm -lquadmath -lgfortran are really only used by libemos,
then that would be the more correct fix.

Allison



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#650453: magics++: as-needed.patch doesn't apply, causing, FTBFS

2011-12-05 Thread Allison Randal
The attached file is an update for the as-needed.patch file, and applies
cleanly during the build. However, the package is still FTBFS with this
change, failing later in override_dh_auto_configure with:


dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--libdir=${prefix}/lib/x86_64-linux-gnu
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --enable-bufr --enable-static
--enable-cairo --with-emos-libraries=/usr/lib --with-terralib=/usr
--enable-python LDFLAGS=-L/tmp/buildd/magics++-2.12.9/src/.libs
-Wl,--as-needed LIBS= -lX11 -lpng12 -lz returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory `/tmp/buildd/magics++-2.12.9'
make: *** [build] Error 2
Author: Alastair McKinstry mckins...@debian.org
Description: Patch to ensure -Wl,--as-needed is NOT reordered by libtool.
 Note that this patch is applied by ./debian/rules AFTER autoreconf is run; 
 it cannot be applied in ./debian/patches
Bug-Debian: http://bugs.debian.org/347650
Last-Updated: 2011-12-05
Forwarded: no

--- ltmain.sh.orig	2011-12-05 23:13:53.614777184 +
+++ ltmain.sh	2011-12-05 23:21:58.310794860 +
@@ -5512,6 +5512,11 @@
 	continue
 	;;
 
+  -Wl,--as-needed)
+deplibs=$deplibs $arg
+continue
+;;
+  
   -export-symbols | -export-symbols-regex)
 	if test -n $export_symbols || test -n $export_symbols_regex; then
 	  func_fatal_error more than one -exported-symbols argument is not allowed
@@ -6163,6 +6168,15 @@
 	lib=
 	found=no
 	case $deplib in
+	-Wl,--as-needed)
+	  if test $linkmode,$pass = prog,link; then
+	compile_deplibs=$deplib $compile_deplibs
+	finalize_deplibs=$deplib $finalize_deplibs
+	  else
+	deplibs=$deplib $deplibs
+	  fi
+	  continue
+	  ;;
 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	  if test $linkmode,$pass = prog,link; then


Bug#646446: gpsdrive: FTBFS: mapnik.cpp:33:15: error: 'mapnik::Image32' has not, been declared

2011-12-01 Thread Allison Randal
Source: gpsdrive
Version: 2.10~pre4-6.dfsg-5.1
Severity: serious
Tags: patch

The gpsdrive package is FTBFS with version 2.0.0 of the mapnik library,
which is the current version in Debian wheezy and sid, and Ubuntu
precise. The FTBFS occurs because the APIs of the new 2.0.0 version of
Mapnik are backward-incompatible to the old 0.7.1 version of Mapnik (see
https://github.com/mapnik/mapnik/wiki/Mapnik2).

Note, there is a Debian bug requesting to update the gpsdrive packages
to version 2.11 (Bug #591260), however this will not help resolve the
FTBFS, because 2.11 of gpsdrive is also FTBFS with mapnik version 2.0.0.

Since I'm not sure when or if the gpsdrive developers plan to migrate to
Mapnik 2.0.0, I've submitted a patch to the Ubuntu package that disables
the optional mapnik library in the gpsdrive packages. Attaching the
patch, for Debian upstream application. (I haven't made/tested the minor
changes needed for precise-unstable.)

Allison
=== modified file 'debian/README.Debian'
--- debian/README.Debian	2008-08-31 17:40:05 +
+++ debian/README.Debian	2011-12-01 22:27:04 +
@@ -1,6 +1,14 @@
 gpsdrive for Debian
 ---
 
+Using gpsdrive with mapnik 2.0
+--
+
+* Gpsdrive is incompatible with the new APIs of mapnik 2.0.0. This
+  optional library is now disabled in the package.
+
+ -- Allison Randal alli...@canonical.com Thu, 01 Dec 2011 12:48:22 -0800
+
 Upgrading from gpsdrive 2.09 (etch)
 -
 * The mysql database schema has been changed.

=== modified file 'debian/changelog'
--- debian/changelog	2011-11-23 23:34:54 +
+++ debian/changelog	2011-12-01 22:55:21 +
@@ -1,3 +1,12 @@
+gpsdrive (2.10~pre4-6.dfsg-5ubuntu4) precise; urgency=low
+
+  * Disable optional mapnik libraries, gpsdrive is incompatible with
+APIs of mapnik version 2.0.0.
+  * debian/patches/107-fix-disable-mapnik.dpatch:
+Fix known bug with gpsdrive-2.10pre4 when disabling Mapnik library.
+
+ -- Allison Randal alli...@canonical.com  Thu, 01 Dec 2011 12:48:22 -0800
+
 gpsdrive (2.10~pre4-6.dfsg-5ubuntu3) precise; urgency=low
 
   * Rebuild for libmysqlclient transition

=== modified file 'debian/control'
--- debian/control	2010-07-26 06:41:40 +
+++ debian/control	2011-12-01 21:39:32 +
@@ -6,7 +6,7 @@
 Uploaders: Andreas Putzo andr...@putzo.net, Francesco Paolo Lovergine fran...@debian.org
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (= 7), automake1.9, libtool, pkg-config, libpcre3-dev, libgtk2.0-dev,libart-2.0-dev, libxml2-dev, libmysqlclient-dev, 
- autotools-dev, dpatch, libmapnik-dev (= 0.6), libboost-dev, libboost-filesystem-dev, libboost-serialization-dev, libdbus-glib-1-dev
+ autotools-dev, dpatch, libboost-dev, libboost-filesystem-dev, libboost-serialization-dev, libdbus-glib-1-dev, libltdl-dev (= 2.4)
 Standards-Version: 3.8.4
 Homepage: http://gpsdrive.de
 Vcs-Svn: svn://svn.debian.org/svn/pkg-grass/packages/gpsdrive/trunk
@@ -40,7 +40,7 @@
 
 Package: gpsdrive-scripts
 Architecture: all
-Depends: gpsdrive, ${perl:Depends}, python, python-imaging, python-mapnik, libdbi-perl, libdbd-mysql-perl, libdate-manip-perl, libfile-slurp-perl, 
+Depends: gpsdrive, ${perl:Depends}, python, python-imaging, libdbi-perl, libdbd-mysql-perl, libdate-manip-perl, libfile-slurp-perl, 
  libmime-base64-perl, libtime-local-perl, libwww-curl-perl, libwww-mechanize-perl, libxml-parser-perl, libxml-simple-perl, libxml-twig-perl, 
  libxml-writer-perl, perlmagick, perl-tk
 Description: Various scripts for gpsdrive

=== modified file 'debian/gpsdrive-scripts.install'
--- debian/gpsdrive-scripts.install	2008-03-26 18:35:38 +
+++ debian/gpsdrive-scripts.install	2011-12-01 20:56:19 +
@@ -5,7 +5,7 @@
 usr/bin/gpspoint2gpsdrive.pl
 usr/bin/gpsreplay
 usr/bin/poi-manager.pl
-usr/bin/gpsdrive_mapnik_gentiles.py
+#usr/bin/gpsdrive_mapnik_gentiles.py
 usr/share/perl5/Geo/Filter/*usr/share/perl5/Geo/Gpsdrive/Filter
 usr/share/perl5/Geo/GPX/*   usr/share/perl5/Geo/Gpsdrive/GPX
 usr/share/perl5/Geo/Geometry.pm usr/share/perl5/Geo/Gpsdrive

=== modified file 'debian/gpsdrive.install'
--- debian/gpsdrive.install	2008-08-31 17:40:05 +
+++ debian/gpsdrive.install	2011-12-01 20:55:54 +
@@ -2,5 +2,5 @@
 usr/bin/friendsd2
 usr/share/applications/gpsdrive.desktop
 usr/share/gpsdrive/map_koord.txt
-usr/share/gpsdrive/mapnik/osm.xml
+#usr/share/gpsdrive/mapnik/osm.xml
 usr/share/map-icons/icons.xml usr/share/gpsdrive/map-icons/

=== modified file 'debian/patches/00list'
--- debian/patches/00list	2011-07-05 12:30:16 +
+++ debian/patches/00list	2011-12-01 22:35:18 +
@@ -22,3 +22,4 @@
 104-lp-325288
 105-fix-xcursor-check.dpatch
 106-add-boost-links.dpatch
+107-fix-disable-mapnik.dpatch

=== added file 'debian/patches/107-fix-disable-mapnik.dpatch'
--- debian/patches/107-fix-disable-mapnik.dpatch	1970-01-01 00:00:00 +
+++ debian/patches/107-fix-disable-mapnik.dpatch	2011-12-01 22:37:18 +
@@ -0,0 +1,24 @@
+#! /bin/sh