Compiling Lazarus application in pbuilder lazarus / 1-Linux ---------------------------------------------------------------------- PetrHlozek · 2022-05-29 16:24 Hi, I'd like to release new version of my application and when creating deb packages on my machine using pbuilder-dist, I get this error message: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 100 263.474/272.544 Kb Used200 264.532/273.056 Kb Used(3104) Compiling fNewQSO.pasFatal: (10022) Can't find unit IDEOptionsIntf used by IDEWindowIntfFatal: (1018) Compilation abortedError: /usr/bin/ppcx64 returned an error exitcodeError: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 1Error: (lazbuild) failed compiling of project /build/cqrlog-2.6.0/src/cqrlog.lpimake[1]: *** [Makefile:9: cqrlog] Error 2make[1]: Leaving directory '/build/cqrlog-2.6.0'dh_auto_build: error: make -j1 returned exit code 2make: *** [debian/rules:13: build] Error 25dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 The build dependencies: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i lazarus- ide, lcl, fp-utils, fp-units-misc, fp-units-gfx, fp-units-gtk2, fp- units-db, fp-units-math, fp-units-net, libgtk2.0-0 The pbuilder-dist is started with: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i pbuilder- dist jammy amd64 build cqrlog_2.6.0-1\~jammy.dsc Source code of the project: https://github.com/ok2cqr/cqrlog Building by Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i lazbuild --ws=gtk2 src/cqrlog.lpi Compiling on my own machine using make works but it always fails in pbuilder-dist environment. Do you know what could be wrong, please? I'm lost, I have no idea what could be wrong. ---------------------------------------------------------------------- marcov · 2022-05-29 16:28 If you want to create things that integrated into the lazarus IDE, you probably need a build dependency on ideintf too. ---------------------------------------------------------------------- PetrHlozek · 2022-05-29 16:37 QuoteIf you want to create things that integrated into the lazarus IDE, you probably need a build dependency on ideintf too. I do not want to create anything integrated to the IDE. My application is not related to Lazarus IDE. ---------------------------------------------------------------------- marcov · 2022-05-29 17:10 Then why does it need IDEOptionsIntf, which is an interface to interact with the IDE options menu? Maybe you accidentally included design time code in your application. ---------------------------------------------------------------------- PetrHlozek · 2022-06-04 14:47 I just searched the project and whole source folder and there is no IDEOptionsIntf found. It found this string only in compiled binary. Could you help me where I should search? Thanks a lot! ---------------------------------------------------------------------- marcov · 2022-06-04 16:51 Add -vu or -va to the compiler parameters, and search for the compiling fnewqso line, and follow the detail steps. ---------------------------------------------------------------------- PetrHlozek · 2022-06-05 16:49 I tried to add -vu and got a lot of data. The output is here: https://gist.github.com/ok2cqr/cc75a8a9801b5c579a93a282c4ce3d3f I searched for IDEIMAGESINTF and it seems that this unit is required by frmselectprops. As far as I know, I don't use this unit anywhere in the project. Could you look at the output, please? Thanks a lot. ---------------------------------------------------------------------- marcov · 2022-06-05 17:18 As far as I can see, some of the tachart units used (tachartaxis(utils)) seem to use unit propedits which is in ideintf, pulling in more of ideintf. But that is as far as I can follow it, to judge if this is correct or not needs somebody that is more lazarus savy than I am.