Re: [ALFS Trac] #1740: Warn about tarball name vs. extracted directory name mismatch

"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Fri, 24 Jan 2025 10:22:03 -0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
#1740: Warn about tarball name vs. extracted directory name mismatch
-------------------------+------------------------------
 Reporter:  xry111       |       Owner:  Pierre Labastie
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:
Component:  jhalfs       |     Version:  GIT
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------
Comment (by Pierre Labastie):

 Ok, all packages pass the test... But not sure where to put it.:

 Presently, I have it in function ''get_sources'', which allows failing
 early in case of mismatch. But it is only run if the user asks for
 downloading the sources. Note that if the user does not ask for
 downloading the source, there is no way to test early, because the user
 may as well download the source '''after''' running the jhalfs
 preparation.

 The other possible place for the test is in the scriptlet, but then, if
 the test does not pass, the failure would occur very late, when the
 scriptlet is run during the build.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1740#comment:5>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page