Re: Typo in qt6 openssl-4.0 patch?

"\"Douglas R. Reno\"" ([email protected] via blfs-support Mailing List) <[email protected]> Thu, 21 May 2026 10:23:26 -0500
Newsgroups gmane.linux.lfs.beyond.support
Organization Linux From Scratch
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1779377013-25474-31185
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 5/21/26 10:20 AM, Sicarine ([email protected] via blfs-support Mailing 
List) wrote:
> Morning,
> 
> Yesterday, as I was trying to upgrade Qt, following the BLFS dev book, I ran
> into the following error while attempting to apply the openssl-4.0 patch:
> 
>> can't find file to patch at input line 28
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
> 
> It seems the filepaths for the patch file are slightly off.
> It seems for all diffs in the patch,
>> a/src/........ and b/src/........
> should be replaced with
>> a/qtbase/src/..... and b/qtbase/src/..........
> 
> Luckily, patch does explicitly ask you for the file location, which can be
> entered manually for all 8 diffs, and it still allows the build to succeed; or
> the user can cd into the qtbase directory and adjust the patch file's relative
> filepath accordingly. I figured I'd share my experience with the mailing list in
> case someone else runs into the error.
> 
> Thanks,
> Sicarine
> 
> 
> 
> 
I'll correct the patch command shortly, thank you for the report! We 
need to add "-d qtbase/"

-- 
- Doug

------------=_1779377013-25474-31185
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

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

------------=_1779377013-25474-31185--