View Issue Details

IDProjectCategoryView StatusLast Update
0001315Double CommanderDefaultpublic2020-06-19 21:52
Reporterginggs Assigned ToAlexx2000  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformLinuxOSDebian/Ubuntu 
Product Version0.7.0Product Build6700 
Target Version0.7.1Fixed in Version0.7.1 
Summary0001315: doublecmd FTBFS on arm64
DescriptionAs per https://bugs.debian.org/803984

On arm64, and other recent architectures, the lchown system call has
been replaced by fchownat. The easiest way to avoid such problems is
not to use system calls directly but instead to use wrapper functions
in standard libraries. If you can't do that and are happy for your
code only to work with recent Linux kernels then you could just
replace lchown with fchownat (with the extra arguments). If you want
your code to work with old kernels and with new architectures then you
have to somehow determine at build time which of lchown and fchownat
is available.
Steps To ReproduceBuild doublecmd for arm64. This is now possible on Ubuntu PPA builders.

As per the original report, 0.6.6 failed with the error:

.../doublecmd-0.6.6/components/doublecmd/dcosutils.pas(240,24) Error: (5000) Identifier not found "syscall_nr_lchown"

This was fixed in r6381:
https://sourceforge.net/p/doublecmd/code/6381/

However 0.7.0 gives the following error:

/«PKGBUILDDIR»/src/./platform/unix/inotify.pp(106,32) Error: (5000) Identifier not found "syscall_nr_inotify_init"

There may be other similar occurrences not yet reported.
TagsNo tags attached.
Fixed in Revision6703, 6712
Operating systemLinux
WidgetsetGTK2, QT4
Architecture64-bit

Activities

Alexx2000

2016-03-14 23:08

administrator   ~0001678

Fixed. I checked in PPA build.

Issue History

Date Modified Username Field Change
2016-03-14 16:07 ginggs New Issue
2016-03-14 22:47 Alexx2000 Assigned To => Alexx2000
2016-03-14 22:47 Alexx2000 Status new => assigned
2016-03-14 22:54 Alexx2000 Fixed in Revision => 6703
2016-03-14 22:54 Alexx2000 Target Version => 0.7.1
2016-03-14 23:08 Alexx2000 Note Added: 0001678
2016-03-14 23:08 Alexx2000 Status assigned => resolved
2016-03-14 23:08 Alexx2000 Resolution open => fixed
2016-03-19 14:18 Alexx2000 Fixed in Revision 6703 => 6703, 6712
2016-03-19 14:18 Alexx2000 Fixed in Version => 0.7.1
2020-06-19 21:52 Alexx2000 Status resolved => closed