[Pkg-pascal-devel] Bug#741792: doublecmd: FTBFS: install: cannot stat '*.so*': No such file or directory

Abou Al Montacir abou.almontacir at sfr.fr
Wed Apr 16 20:11:32 UTC 2014


On Mon, 2014-04-14 at 21:11 +0200, Paul Gevers wrote:
> Hi,
> 
> On 14-04-14 07:34, Abou Al Montacir wrote:
> > You can verify this when you see that most units in gtk2 are now
> > symbolic links to their homonyms in qt. But of course I can e wrong and
> > their may be some bugs.
> 
> Where should I see this? I see that with my latest de-duplication there
> are a lot of symbolic links from gtk2 pointing to nogui, but not to qt.
> So to me it seems that the units are still different.
Here an example of duplication: It looks like not all duplicates are catched.

$md5sum /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/*
49bf08791a3d89796f35ce6663b0ddbe  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/DBFLaz.compiled
d84971c276369bf6bd94fbe888de8bc3  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/dbflaz.o
0f7554c249a0e43c6760bd3a7337584e  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/dbflaz.ppu
7430e0450f6820a69f1b3d37e4a3b820  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/registerdbf.o
6c568c66525ecc080480ff277c607dc7  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/registerdbf.ppu
c671c0acb801bdf4960a6744f4a9035a  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/qt/registerdbf.rst

$md5sum /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/*
49bf08791a3d89796f35ce6663b0ddbe  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/DBFLaz.compiled
d84971c276369bf6bd94fbe888de8bc3  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/dbflaz.o
0f7554c249a0e43c6760bd3a7337584e  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/dbflaz.ppu
7430e0450f6820a69f1b3d37e4a3b820  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/registerdbf.o
6c568c66525ecc080480ff277c607dc7  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/registerdbf.ppu
c671c0acb801bdf4960a6744f4a9035a  /usr/lib/lazarus/1.2/components/tdbf/lib/i386-linux/gtk2/registerdbf.rst


> >> @Abou, you were not the first one to provide both gtk and qt versions of
> >> a program build with Lazarus. At least I already did it before with
> >> Winff, by popular demand. And indeed, I think this should just be
> >> possible with the Lazarus packages as we provide them.
> > Due to lack of support of dynamic linking for packages, you need to link
> > twice your program to make it use either gtk or qt, but that is all. You
> > don't normally need to compile it twice. If Lazarus was able to use
> > dynamically linked packages, then it would be 1 exe and 2 interfaces.
> 
> Yes, that would be cool. But Lazarus itself now also compiles twice
> since commit ca2c98. Once for gtk and once for qt. Do you now mean to
> say that that is not needed? How would we use the compiled stuff and
> only ask for the linking to be done?
This needs to be fixed. I'm sure the issue is that the units which are
completely independent of the widgetset are compiled in a widgetset
dependent directory like you can see in the example above. We probably
need to fix this and push it to upstream.

Cheers,
Abou Al Montacir



More information about the Pkg-pascal-devel mailing list