From: Gleb C. <gle...@sc...> - 2023-03-14 11:50:34
|
Hi Marco, On 3/14/23 14:42, Marco Tosato wrote: > Hello I'm trying to build and install SCST 3.7.0 on Debian 11 and > found a couple of problems following the instructions reported in > INSTALL.md file. > > I downloaded the 3.7 release file from > https://github.com/SCST-project/scst/releases > > All the process has been run as a normal user not as root. > > 1) "make release" > > In the "Building SCST" paragraph there is a small script to build SCST > and create a package suitable for the current distro. The first line > of the script is > make release > > This target is not actually defined in the Makefile. I'm not sure > which is the correct target to call, maybe something like > > make 2release > make all > > should do the job? > > Personally I built the software with the following commands > > make 2release > make scst iscsi fcst scst_local usr > > I avoided make all because of troubles compiling the "qla" and > "mellanox" targets which I don't actually need at the moment. > > > 2) Building the .DEB package > > After successfully building SCST with > > make 2release > make scst iscsi fcst scst_local usr > > I tried to create the DEB package but I failed. I installed the > required pieces of software for building the DEB as described in > INSTALL.md "Building SCST" > > sudo apt install build-essential debhelper devscripts gcc make > lintian quilt > sudo apt install linux-headers-$(uname -r) || sudo apt install > pve-headers-$(uname -r) > > and the run > > make dpkg > > the command output is in the attached logfile, but it boils down to a > lot of errors similar to this one > > > dpkg-source: error: cannot represent change to fcst/fcst.ko: > binary file contents changed > dpkg-source: error: add fcst/fcst.ko in > debian/source/include-binaries if you want to store the modified > binary in the debian tarball > > I'm sorry but I'm unable to figure out the problem by myself. > > Attached are the output generated by "make dpkg" . > > Thanks a lot! > > > _______________________________________________ > Scst-devel mailing list > https://lists.sourceforge.net/lists/listinfo/scst-devel Could you try this sequence: 1) make extraclean 2) make dpkg Thanks, Gleb |