Bug#330517: ntop: FTBFS: Failed to satisfy Build-Depends: librrd0-dev

2005-09-28 Thread Andreas Jochens
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 21
/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]



Bug#330517: ntop: FTBFS: Failed to satisfy Build-Depends: librrd0-dev

2005-09-28 Thread Ola Lundqvist
Hello

On Wed, Sep 28, 2005 at 03:36:40PM +0200, Andreas Jochens wrote:
 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.

Thanks. I'll check it out when I get my sid build ready.

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

Hmm... Could you write another bug report about this?

  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 21
 /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,

// Ola

 Regards
 Andreas Jochens
 
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


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