Our version of sysctl(8) seems to be outdated and occasionally logs this message: > Oct 19 11:53:47 fw01 kernel: ICMPv6: process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.blue0.base_reachable_time - use net.ipv6.neigh.blue0.base_reachable_time_ms instead An update should help.
I have got the latest procps file and have modified the lfs file. I have noticed that in the lfs file there is a patch file /src/patches/$(THISAPP)-fix_unknown_HZ_value.patch I had a look through the patch and googled on the problem of unknown hz value and found this bug mentioned from back in 2010. Looking at the lines being changed by the patch many of the lines being removed no longer exist in the specified files. I suspect that even if the patch is still needed so much has changed that the patch needs to be rewritten. Unfortunately my knowledge is not enough to figure out if the patch is still needed and if so how it should be implemented. How can I get some help with what should be done with this fix_unknown_HZ_value.patch.
It looks like procps is no longer maintained. LFS has switched to procps-ng which does not seem to need any patches: > http://www.linuxfromscratch.org/lfs/view/stable/chapter08/procps-ng.html You could integrate this and replace procps as long as all commands are still available. You should be able to see that from the rootfile.
Created attachment 824 [details] lfs for procps-v3.3.16
Created attachment 825 [details] log for the cdrom stage when fails occur
Created attachment 826 [details] log for build of procps-v.3.3.16
So I built procps-v3.3.16 (procps-ng) I had to use autogen.sh as there was no configure script. the lfs file is attached. Using autogen.sh meant that I had to shift procps further down the list in make.sh as it required libtool, gettext and pkg-config to be run beforehand. Having done the above procps then built with no errors. However at the cdrom stage I have been getting fails that I have been unable to find a solution to. I attach the logs, lfs file and make.sh file. I would appreciate any guidance on what I need to fix to clear up the errors I am getting. The build is being done against next (Core 154).
Created attachment 827 [details] modified make.sh to have procps later in the lfmake2 sequence
(In reply to Adolf Belka from comment #6) > So I built procps-v3.3.16 (procps-ng) > > I had to use autogen.sh as there was no configure script. the lfs file is > attached. > > Using autogen.sh meant that I had to shift procps further down the list in > make.sh as it required libtool, gettext and pkg-config to be run beforehand. That is fine. > Having done the above procps then built with no errors. > > However at the cdrom stage I have been getting fails that I have been unable > to find a solution to. > I attach the logs, lfs file and make.sh file. I would appreciate any > guidance on what I need to fix to clear up the errors I am getting. This is just the old rootfile that needs to be updated. I suppose some tools might have been moved from /bin to /usr/bin and you might want to consider to move them back to /bin after the build. Here is an example: > https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=lfs/kbd;h=590f8afe702a3ccbb734f53fbebe2d4fe2a7ef7d;hb=HEAD It is also always easier for me to read a diff than multiple files attached to a ticket :)
(In reply to Michael Tremer from comment #8) > > This is just the old rootfile that needs to be updated. I suppose some tools > might have been moved from /bin to /usr/bin and you might want to consider > to move them back to /bin after the build. > > Here is an example: > > > https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=lfs/kbd;h=590f8afe702a3ccbb734f53fbebe2d4fe2a7ef7d;hb=HEAD Thanks very much for the guidance. That helped a lot. Will remember for the future. > > It is also always easier for me to read a diff than multiple files attached > to a ticket :) Of course it would be. Noted for future use.
Build of procps-v3.3.16 successfully carried out with help and guidance of Michael. Tested successfully on IPFire test bed system and patch submitted to list. https://patchwork.ipfire.org/patch/3757/
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=50992c73210f05384a976dbe21843c37734b4a3f
https://blog.ipfire.org/post/ipfire-2-25-core-update-154-available-for-testing
patch has been released with Core Update 154