[DebianGIS-dev] Bug#580172: libgdal-doc suggests libgdal1-1.6.0 when libgdal1-1.6.0 already installed

2010-05-03 Thread Adrian Benson
Package: libgdal-doc
Version: 1.6.3-3
Severity: minor
Tags: squeeze

A very minor error, though a bit puzzling.
Breaks nothing - just letting you know

libgdal-doc suggests  libgdal1-1.6.0 (=1.6.3-3)  but:

a. this is already installed

b. choosing libgdal1-1.6.0 via the 'mark suggetsted  in synaptic and get
informed that
it cannot be installed due to unresolvable dependencies  'libgdal1-1.6.0:'
(same for aptitude)

I had a look at the control file but I cannot tell what is happening as it uses
subsitution tvars.

Cheers adrian





-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

libgdal-doc depends on no packages.

libgdal-doc recommends no packages.

Versions of packages libgdal-doc suggests:
ii  libgdal1-1.6.01.6.3-3+b1 Geospatial Data Abstraction Librar

-- no debconf information



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#568945: [netcdf] dev libraries built without PIC support

2010-02-08 Thread Adrian Benson
Package: netcdf
Version: 4.1~beta2

Built the latest ver of netcdf from experimental on testing because I
need to build python-netcdf4 which depends on latest netcdf.

Pkgs build fine, however compiling  python-netcdf4 fails due to
non-relocatable symbols in libnetcdf (i.e. the usual pic errors)

Tried correcting the problem by specifying --enable-pic flag in
debian/rules (i.e. DEB_CONFIGURE_EXTRA_FLAGS := . --enable-pic)
python-netcdf4 still fails.

I have since built netcdf 4.1 from upstream source (under /usr/local)
using the same configure flags as specified in debian/rules
(+--enable-pic). python-netcdf4 now compiles without error.

Appears to be a packaging error somewhere


Adrian

Squeeze 2.6.32-trunk-amd64

P.S.
python-netcdf4 fails when linking to libs fromm libnetcdf-dev:
=
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -fPIC
build/temp.linux-x86_64-2.5/netCDF4.o -lnetcdf -lhdf5 -lhdf5_hl -lz -o
build/lib.linux-x86_64-2.5/netCDF4.so
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a(nc4attr.o): 
relocation R_X86_64_32 against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a(nc4attr.o): 
relocation R_X86_64_32 against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-fPIC build/temp.linux-x86_64-2.5/netCDF4.o -lnetcdf -lhdf5 -lhdf5_hl
-lz -o build/lib.linux-x86_64-2.5/netCDF4.so failed with exit status 1





___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel