[Libreoffice] gbuild circular dependencies

Matúš Kukan matus.kukan at gmail.com
Thu Dec 22 16:57:02 PST 2011


On 23 December 2011 00:42, Peter Foley <pefoley2 at verizon.net> wrote:
>
> Hi,
>
> While converting connectivity to gbuild I seem to have created some
> circular dependencies.
>
> make[1]: Circular /home/peter/libreoffice/workdir/unxlngx6.pro/ExternalHeaders/Library/libsdbc2lo.so <- /home/peter/libreoffice/workdir/unxlngx6.pro/Headers/Library/libdbtoolslo.so dependency dropped.
> make[1]: Circular /home/peter/libreoffice/workdir/unxlngx6.pro/ExternalHeaders/Library/libdbpool2lo.so <- /home/peter/libreoffice/workdir/unxlngx6.pro/Headers/Library/libdbtoolslo.so dependency dropped.
> make[1]: Circular /home/peter/libreoffice/workdir/unxlngx6.pro/ExternalHeaders/Library/libcalclo.so <- /home/peter/libreoffice/workdir/unxlngx6.pro/Headers/Library/libdbtoolslo.so dependency dropped.
> make[1]: Circular /home/peter/libreoffice/workdir/unxlngx6.pro/Package/connectivity_inc <- /home/peter/libreoffice/workdir/unxlngx6.pro/ExternalHeaders/Library/libodbcbaselo.so dependency dropped.
> make[1]: Circular /home/peter/libreoffice/workdir/unxlngx6.pro/Package/connectivity_inc <- /home/peter/libreoffice/workdir/unxlngx6.pro/ExternalHeaders/Library/libodbclo.so dependency dropped.
>
> I haven't been able to figure out what is causing these.
> I've pushed my WIP conversion to feature/gbuild_conversions and would appreciate it if someone took a look.
>
Well, I also don't know why there are circular dependencies but I had
similar issues.
You can try to remove
$(eval $(call gb_Library_add_package_headers,$lib,connectivity_inc))
from makefiles for lib in sdbc2, dbpool2, calc, odbcbase, odbcl;
The dependency stays there indirectly because they all link against dbtools.

It will help.

Matus


More information about the LibreOffice mailing list