Package: ntop
Version: 2:3.2rc1-1
Severity: serious

When building 'ntop' in a clean 'unstable' chroot,
I get the following error:

Reading package lists...
Building dependency tree...
E: Package librrd0-dev has no installation candidate
E: Failed to satisfy Build-Depends dependency for ntop: librrd0-dev
Package librrd0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

This can probably be solved by Build-Depending on librrd2-dev instead
of librrd0-dev.

There is also another FTBFS problem on amd64 which seems to be caused
by a missing -fPIC in compilations for a shared library:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I../myrrd -DLINUX 
-I/usr/local/include -I/usr/include -I/usr/include -g 
-DMAKE_WITH_IGNORE_SIGPIPE -I/usr/local/include -g -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT 
libxmldumpPlugin_la-xmldumpPlugin.lo -MD -MP -MF 
.deps/libxmldumpPlugin_la-xmldumpPlugin.Tpo -c xmldumpPlugin.c -o 
libxmldumpPlugin_la-xmldumpPlugin.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link --tag=CC gcc  -g -DMAKE_WITH_IGNORE_SIGPIPE 
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs  -fPIC -DPIC  -L/usr/local/lib 
-L/usr/lib -L/usr/lib -o libxmldumpPlugin.la -rpath /usr/lib -shared -release 
3.2rc1  libxmldumpPlugin_la-xmldumpPlugin.lo  -lgdome -lxml2 -lglib -lpthread 
-lresolv -lnsl -lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz
gcc -shared  .libs/libxmldumpPlugin_la-xmldumpPlugin.o  -Wl,--rpath 
-Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib -L/usr/local/lib -L/usr/lib 
/usr/lib/libgdome.so /usr/lib/libxml2.so /usr/lib/libglib.so -lpthread -lresolv 
-lnsl -lcrypt -lc -lssl -lcrypto -lpcap /usr/lib/libgdbm.so /usr/lib/libgd.so 
-lpng -lz  -Wl,-soname -Wl,libxmldumpPlugin-3.2rc1.so -o 
.libs/libxmldumpPlugin-3.2rc1.so
/usr/bin/ld: .libs/libxmldumpPlugin_la-xmldumpPlugin.o: relocation 
R_X86_64_PC32 against `dumpXML' can not be used when making a shared object; 
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libxmldumpPlugin.la] Error 1
make[4]: Leaving directory `/srv/dbuild/tmp/ntop-3.2rc1/plugins'

Regards
Andreas Jochens


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

Reply via email to