[gsoc] circular dependency in feature/template-dialog

Miklos Vajna vmiklos at suse.cz
Mon Jun 25 00:41:02 PDT 2012


Hi Rafael,

Here is the build error I get when I try to build your branch from
scratch:

~/git/libreoffice/gsoc2012/tail_build$ make -sr
[ build MOD ] accessibility
[ build MOD ] animations
make: Circular /home/vmiklos/git/libreoffice/gsoc2012/workdir/unxlngx6.pro/ExternalHeaders/Library/libdrawinglayerlo.so <- /home/vmiklos/git/libreoffice/gsoc2012/workdir/unxlngx6.pro/Headers/Library/libavmedialo.so dependency dropped.
make: Circular /home/vmiklos/git/libreoffice/gsoc2012/workdir/unxlngx6.pro/LinkTarget/Library/libdrawinglayerlo.so <- /home/vmiklos/git/libreoffice/gsoc2012/solver/unxlngx6.pro/lib/libavmedialo.so dependency dropped.
[ build LNK ] Library/libdrawinglayerlo.so
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lavmedialo
collect2: ld returned 1 exit status
make: *** [/home/vmiklos/git/libreoffice/gsoc2012/workdir/unxlngx6.pro/LinkTarget/Library/libdrawinglayerlo.so] Error 1

And indeed it seems:

- drawinglayer depends on avmedia
- avmedia depends on sfx2
- sfx2 depends on drawinglayer -> circular dependency

It seems you introduced this dependency in commit
643f30de35d26e7e50ef3ea39a476733dbf38251. Not something that will block
you right now, but definitely something to fix before your feature
branch gets merged.

Miklos


More information about the LibreOffice mailing list