Forum > Linux
Compiling Lazarus application in pbuilder
PetrHlozek:
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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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 [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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:
If you want to create things that integrated into the lazarus IDE, you probably need a build dependency on ideintf too.
PetrHlozek:
--- Quote ---If you want to create things that integrated into the lazarus IDE, you probably need a build dependency on ideintf too.
--- End quote ---
I do not want to create anything integrated to the IDE. My application is not related to Lazarus IDE.
marcov:
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:
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!
Navigation
[0] Message Index
[#] Next page