View Issue Details

IDProjectCategoryView StatusLast Update
0000551Double CommanderDefaultpublic2012-09-18 10:08
Reportervo.x Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.6.0 (trunk)Product Buildrev. 4944 
Fixed in Version0.6.0 (trunk) 
Summary0000551: Build failure: Can't find unit DCFileAttributes used by uFileProperty
DescriptionI observe following build failure on Fedora 17"

https://gist.github.com/3553248
TagsNo tags attached.
Fixed in Revision4961
Operating systemLinux
WidgetsetGTK2
Architecture64-bit

Activities

cobines

2012-09-12 09:50

administrator   ~0000900

What if you delete /builddir/build/BUILD/doublecmd-0.5.5/components/doublecmd/lib/x86_64-linux/dcfileattributes.* first?
Can you check if /builddir/build/BUILD/doublecmd-0.5.5/components/doublecmd/lib/x86_64-linux/dcfileattributes.ppu has the correct time/date?
Also you can check if your components/doublecmd/doublecmd_common.lpk contains "dcfileattributes.pas" and ~/.lazarus/packagefiles.xml contains "doublecmd_common" with the correct path to "/builddir/build/BUILD/doublecmd-0.5.5/components/doublecmd/doublecmd_common.lpk".

vo.x

2012-09-12 16:08

reporter   ~0000903

These are timestamps of dcfileattributes.*:

# ls -l components/doublecmd/lib/x86_64-linux/dcfileattributes.*
-rw-r--r--. 1 mockbuild mockbuild 25056 Sep 12 14:01 components/doublecmd/lib/x86_64-linux/dcfileattributes.o
-rw-r--r--. 1 mockbuild mockbuild 9944 Sep 12 14:01 components/doublecmd/lib/x86_64-linux/dcfileattributes.ppu

So they were compiled during the build.

Deleting dcfileattributes.* does not help:

...
Compiling uglobs.pas
Compiling uexts.pas
Compiling ufile.pas
Compiling ufileproperty.pas
Fatal: Can't find unit DCFileAttributes used by uFileProperty
ERROR: failed compiling of project /builddir/build/BUILD/doublecmd-0.5.5/src/doublecmd.lpi
strip: 'doublecmd': No such file

These are greps for the other pointers you asked:
# grep dcfileattributes components/doublecmd/doublecmd_common.lpk
        <Filename Value="dcfileattributes.pas"/>

# grep doublecmd_common ~/.lazarus/packagefiles.xml
      <Name Value="doublecmd_common"/>
      <Filename Value="/builddir/build/BUILD/doublecmd-0.5.5/components/doublecmd/doublecmd_common.lpk"/>
      <Name Value="doublecmd_common_lcl"/>
      <Filename Value="/builddir/build/BUILD/doublecmd-0.5.5/components/doublecmd/doublecmd_common_lcl.lpk"/>

vo.x

2012-09-12 16:37

reporter   ~0000904

Just for the reference, I was previously able to build 4912 while I am unable to build 4930 ... so there must be some change in these 20 revisions.

vo.x

2012-09-12 16:40

reporter   ~0000905

Will try to find the exact revision where the issue was introduced ...

vo.x

2012-09-12 18:44

reporter   ~0000906

Ok ... so r4920 is the first failing. 4919 builds fine.

vo.x

2012-09-12 18:47

reporter   ~0000907

Uh, it seems that that is another from my build errors :/

http://doublecmd.svn.sourceforge.net/viewvc/doublecmd?view=revision&sortby=rev&revision=4920

cobines

2012-09-13 00:16

administrator   ~0000908

Thanks for investigating. Hopefully it is just a matter of propagating -fPIC to other packages so that the flag is used when recompiling is forced by another package.
Please try with rev. 4961.

vo.x

2012-09-17 13:59

reporter   ~0000919

Thank you. I can build DC now.

Issue History

Date Modified Username Field Change
2012-08-31 18:19 vo.x New Issue
2012-09-12 09:50 cobines Note Added: 0000900
2012-09-12 16:08 vo.x Note Added: 0000903
2012-09-12 16:37 vo.x Note Added: 0000904
2012-09-12 16:40 vo.x Note Added: 0000905
2012-09-12 18:44 vo.x Note Added: 0000906
2012-09-12 18:47 vo.x Note Added: 0000907
2012-09-13 00:16 cobines Note Added: 0000908
2012-09-17 13:59 vo.x Note Added: 0000919
2012-09-17 14:04 vo.x Status new => closed
2012-09-17 14:04 vo.x Resolution open => fixed
2012-09-17 14:04 vo.x Fixed in Version => 0.6.0 (trunk)
2012-09-18 10:08 cobines Fixed in Revision => 4961