public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Issue from testing out removal of cups
Date: Sat, 12 Oct 2024 10:25:18 +0100	[thread overview]
Message-ID: <C8278599-B694-418A-94F5-AF9338E49C64@ipfire.org> (raw)
In-Reply-To: <5772b961-b07c-4649-bfd3-d3e59863c714@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 13352 bytes --]

Hello,

> On 10 Oct 2024, at 15:32, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> Hi Michael,
> 
> On 10/10/2024 15:14, Michael Tremer wrote:
>> Hello,
>>> On 10 Oct 2024, at 12:44, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>>> 
>>> Hi all,
>>> 
>>> I have run a build with all the obvious candidates related to printing removed.
>>> 
>>> libtiff removal caused a problem at cdrom stage with perl-Imager as the rootfile for that included some tiff libraries, which were then not present in the build.
>>> 
>>> So I ran without libtiff and then modified the perl-Imager rootfile to match the results in the Imager file in the Log directory.
>> I think the problem with the perl-Imager root file is that it contains “x86_64” which we scan for and then fail the build.
> 
> Ah, I was looking at the actual files and not the architecture bit. Missed that.
> The old build system used to actually say x86_64 architecture used. Replace with xxxMACHINExxx. Hopefully I will remember the next time I make that mistake.
> 
>> We do need to keep perl-Imager though as we require it to generate the QR codes for OpenVPN.
> 
> I am not trying to get rid of perl-Imager. I recognised that it is required by OpenVPN for the QR codes. It was just removing the requirement to have the tiff capability in the perl-Imager rootfile.
> 
>> What other packages did you drop?
>> I think we might be able to get rid of these:
>> * lcms2
> Hadn't looked at that one.

I think we have a couple of image libraries, but we don’t use them that much any more. We generate SVG graphs now, there are some charts that should be PNG and there might be some stuff needed during build, but otherwise I don’t think we need to raster any images any more.

>> * ghostscript
>> * qpdf
>> * poppler
>> * poppler-data
>> * cups-filters
>> * epson-inkjet-printer-escpr
>> * cups-pdf
>> * foomatic
>> * hplip
> All above have been removed in the build.

Nice.

>> Maybe even the following ones:
>> * libexif
>> * openjpeg
>> * libjpeg
> 
> libexif is a dependency for minidlna.
> Hadn't tried the other two.

I am not losing any sleep over keeping them.

> Will get the existing set building successfully first then I will go back and add those two additional ones and see how things go with the build and then do an installation and see if the libtiff, poppler, poppler-data, openjpeg and libjpeg programs being removed cause any issues anywhere in the graphics used in IPFire.
> 
> Regards,
> Adolf.
> 
>> I can’t remember where we would generate JPEG images, but I could be wrong on this. I don’t mind keeping them because they do not cause us a lot of work to maintain and they are not a security issue if we don’t use a lot of it.
>> -Michael
>>> cdrom then completed without any issues but then right at the end of the build it comes up with the message "Checking for rootfile consistency and at the end says that the rootfiles are inconsistent but I can't figure out what the problem causing it actually is.
>>> 
>>> I have repeated the build three times with a reboot of my machine in between but that didn't help.
>>> 
>>> Would appreciate if anyone can help with what the issue is and what I need to go and fix.
>>> 
>>> The _build.preparation.log file only has the chroot: failed to run command 'env': No such file or directory.
>>> 
>>> There is not indication of which file or directory is missing. All the last entries shown in the log below are in the build and also in the rootfile.
>>> 
>>> 
>>> Checking for rootfile consistency...
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/API.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/APIRef.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Color.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Color/Float.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Color/Table.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Cookbook.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/CountColor.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Draw.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Engines.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Expr.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Expr/Assem.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/ExtUtils.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/File/CUR.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/File/ICO.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/File/JPEG.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/File/PNG.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/File/SGI.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Files.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Fill.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Filter/DynTest.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Filter/Flines.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Filter/Mandelbrot.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Filters.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/BBox.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/FT2.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/FreeType2.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/Image.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/Test.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/Truetype.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/Type1.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Font/Wrap.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Fountain.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Handy.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/IO.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/ImageTypes.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Inline.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Install.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/LargeSamples.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Matrix2d.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Preprocess.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Probe.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Regops.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Security.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Test.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Threads.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Transform.pm
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Transformations.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/Tutorial.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/interface.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/Imager/regmach.pod
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/CountColor/CountColor.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/File/ICO/ICO.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/File/JPEG/JPEG.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/File/PNG/PNG.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/File/SGI/SGI.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/Filter/DynTest/DynTest.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/Filter/Flines/Flines.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/Filter/Mandelbrot/Mandelbrot.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/Font/FT2/FT2.so
>>> /home/ipfire/sandbox/ipfire-2.x/config/rootfiles/common/perl-Imager:usr/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi/auto/Imager/Imager.so
>>> 
>>>     chroot: failed to run command ‘env’: No such file or directory
>>> 
>>> ERROR: Rootfiles are inconsistent                                                    [ FAIL ]
>>>     Check /home/ipfire/sandbox/ipfire-2.x/log_x86_64/_build.preparation.log for errors if applicable [ FAIL ]
>>> 
>>> 
>>> Regards,
>>> 
>>> Adolf.
>>> 
> 


  reply	other threads:[~2024-10-12  9:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10 11:44 Adolf Belka
2024-10-10 13:14 ` Michael Tremer
2024-10-10 14:32   ` Adolf Belka
2024-10-12  9:25     ` Michael Tremer [this message]
2024-10-12  9:52       ` Adolf Belka
2024-10-12  9:54         ` Michael Tremer
2024-10-14 16:10           ` Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C8278599-B694-418A-94F5-AF9338E49C64@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox