Bug#746765: Conflicting declarations of function libelektra_filesys_LTX_kdbBackendFactory
Hello, On Tue, 29 Jul 2014 09:08:23 +0100 Michael Tautschnig m...@debian.org wrote: Hello, [...] It may be the case that no code actually uses the declaration of exported_symbols.h - if so, it shouldn't be included in the linking process either. I think this might have been fixed with elektra 0.7.2, which I uploaded yesterday. Could you please check? This code had many changes with 0.8 (especially another build system is now used), so I think it should be fixed with the recent uploads. 0.7 is no longer maintained, because migration to 0.8 is easy and the API- changes are minimal. I'm afraid the situation persists, and the reason is this bit in the Makefile: http://sources.debian.net/src/elektra/0.7.2-2/src/libelektra/Makefile.am?hl=16#L15 I'm not quite sure why a list of exported symbols (with conflicting declarations) is included in the library? Maybe upstream can explain? The list of exported symbols is needed for static+full builds. For these builds no plugins are loaded, but the library just do a lookup in this list of exported symbols. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#746765: Conflicting declarations of function libelektra_filesys_LTX_kdbBackendFactory
Hello, [...] It may be the case that no code actually uses the declaration of exported_symbols.h - if so, it shouldn't be included in the linking process either. I think this might have been fixed with elektra 0.7.2, which I uploaded yesterday. Could you please check? I'm afraid the situation persists, and the reason is this bit in the Makefile: http://sources.debian.net/src/elektra/0.7.2-2/src/libelektra/Makefile.am?hl=16#L15 I'm not quite sure why a list of exported symbols (with conflicting declarations) is included in the library? Maybe upstream can explain? Best, Michael pgpFO1ZGMIqQ3.pgp Description: PGP signature
Bug#746765: Conflicting declarations of function libelektra_filesys_LTX_kdbBackendFactory
Hi Michael, On 2014-05-03 13:49, Michael Tautschnig wrote: Package: elektra Version: 0.7.1-1 Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time. [...] gcc -g -O2 -o kdb_static kdb_static-kdb-tool.o kdb_static-help.o kdb_static-BSDgetopt.o ../libelektra/libelektra.a -lxml2 error: conflicting function declarations libelektra_filesys_LTX_kdbBackendFactory old definition in module exported_symbols file ./exported_symbols.h line 6 void (void) new definition in module filesys file filesys.c line 765 struct _KDB * (void) It may be the case that no code actually uses the declaration of exported_symbols.h - if so, it shouldn't be included in the linking process either. I think this might have been fixed with elektra 0.7.2, which I uploaded yesterday. Could you please check? Thanks, -- Pino Toscano -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#746765: Conflicting declarations of function libelektra_filesys_LTX_kdbBackendFactory
Package: elektra Version: 0.7.1-1 Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time. [...] gcc -g -O2 -o kdb_static kdb_static-kdb-tool.o kdb_static-help.o kdb_static-BSDgetopt.o ../libelektra/libelektra.a -lxml2 error: conflicting function declarations libelektra_filesys_LTX_kdbBackendFactory old definition in module exported_symbols file ./exported_symbols.h line 6 void (void) new definition in module filesys file filesys.c line 765 struct _KDB * (void) It may be the case that no code actually uses the declaration of exported_symbols.h - if so, it shouldn't be included in the linking process either. Best, Michael pgpj0SyM8IDLP.pgp Description: PGP signature