mbox

[0/2] Upgrade automake and rpm

Message ID cover.1749092509.git.liezhi.yang@windriver.com
State Not Applicable, archived
Headers show

Pull-request

https://github.com/robertlinux/yocto rbt/upgrade2

Message

Robert Yang June 5, 2025, 3:02 a.m. UTC
From: Robert Yang <liezhi.yang@windriver.com>

The following changes since commit 2e817e6e4d53543766b935479b148a1950cc37c8:

  oeqa/maturin/guessing-game: Bump dependencies to avoid security warning (2025-06-04 08:08:28 +0100)

are available in the Git repository at:

  https://github.com/robertlinux/yocto rbt/upgrade2
  https://github.com/robertlinux/yocto/tree/rbt/upgrade2

Robert Yang (2):
  automake: 1.17 -> 1.18
  rpm: 4.20.0 -> 4.20.1

 ...report-error-when-the-path-of-Perl-c.patch | 27 +++++----
 .../{automake_1.17.bb => automake_1.18.bb}    |  2 +-
 ...LUGINDIR-in-top-level-CMakeLists.txt.patch | 57 -------------------
 ...lling-execute-package-scriptlets-wit.patch | 24 ++++----
 ...ge-logging-level-around-scriptlets-t.patch | 27 +++++----
 .../rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb}      |  5 +-
 6 files changed, 47 insertions(+), 95 deletions(-)
 rename meta/recipes-devtools/automake/{automake_1.17.bb => automake_1.18.bb} (92%)
 delete mode 100644 meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch
 rename meta/recipes-devtools/rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb} (97%)

Comments

Mathieu Dubois-Briand June 5, 2025, 9:59 a.m. UTC | #1
On Thu Jun 5, 2025 at 5:02 AM CEST, Robert Yang via lists.openembedded.org wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
>
> The following changes since commit 2e817e6e4d53543766b935479b148a1950cc37c8:
>
>   oeqa/maturin/guessing-game: Bump dependencies to avoid security warning (2025-06-04 08:08:28 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/robertlinux/yocto rbt/upgrade2
>   https://github.com/robertlinux/yocto/tree/rbt/upgrade2
>
> Robert Yang (2):
>   automake: 1.17 -> 1.18
>   rpm: 4.20.0 -> 4.20.1
>
>  ...report-error-when-the-path-of-Perl-c.patch | 27 +++++----
>  .../{automake_1.17.bb => automake_1.18.bb}    |  2 +-
>  ...LUGINDIR-in-top-level-CMakeLists.txt.patch | 57 -------------------
>  ...lling-execute-package-scriptlets-wit.patch | 24 ++++----
>  ...ge-logging-level-around-scriptlets-t.patch | 27 +++++----
>  .../rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb}      |  5 +-
>  6 files changed, 47 insertions(+), 95 deletions(-)
>  rename meta/recipes-devtools/automake/{automake_1.17.bb => automake_1.18.bb} (92%)
>  delete mode 100644 meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch
>  rename meta/recipes-devtools/rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb} (97%)

Hi Robert,

Thanks for the patches.

It looks like this is breaking several builds on the autobuilder, with
following error:

ERROR: rpm-native-1_4.20.1-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-64/build/build/tmp/work/x86_64-linux/rpm-native/4.20.1/temp/run.do_compile.320418' failed with exit code 2
...
| gcc: error: unrecognized command-line option ‘-fhardened’

https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/1841
https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/1779
https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/1680

Can you have a look at these please?
Robert Yang June 8, 2025, 7:50 a.m. UTC | #2
On 6/5/25 17:59, Mathieu Dubois-Briand wrote:
> On Thu Jun 5, 2025 at 5:02 AM CEST, Robert Yang via lists.openembedded.org wrote:
>> From: Robert Yang <liezhi.yang@windriver.com>
>>
>> The following changes since commit 2e817e6e4d53543766b935479b148a1950cc37c8:
>>
>>    oeqa/maturin/guessing-game: Bump dependencies to avoid security warning (2025-06-04 08:08:28 +0100)
>>
>> are available in the Git repository at:
>>
>>    https://github.com/robertlinux/yocto rbt/upgrade2
>>    https://github.com/robertlinux/yocto/tree/rbt/upgrade2
>>
>> Robert Yang (2):
>>    automake: 1.17 -> 1.18
>>    rpm: 4.20.0 -> 4.20.1
>>
>>   ...report-error-when-the-path-of-Perl-c.patch | 27 +++++----
>>   .../{automake_1.17.bb => automake_1.18.bb}    |  2 +-
>>   ...LUGINDIR-in-top-level-CMakeLists.txt.patch | 57 -------------------
>>   ...lling-execute-package-scriptlets-wit.patch | 24 ++++----
>>   ...ge-logging-level-around-scriptlets-t.patch | 27 +++++----
>>   .../rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb}      |  5 +-
>>   6 files changed, 47 insertions(+), 95 deletions(-)
>>   rename meta/recipes-devtools/automake/{automake_1.17.bb => automake_1.18.bb} (92%)
>>   delete mode 100644 meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch
>>   rename meta/recipes-devtools/rpm/{rpm_4.20.0.bb => rpm_4.20.1.bb} (97%)
> 
> Hi Robert,
> 
> Thanks for the patches.
> 
> It looks like this is breaking several builds on the autobuilder, with
> following error:
> 
> ERROR: rpm-native-1_4.20.1-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-64/build/build/tmp/work/x86_64-linux/rpm-native/4.20.1/temp/run.do_compile.320418' failed with exit code 2
> ...
> | gcc: error: unrecognized command-line option ‘-fhardened’
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/1841
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/1779
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/1680
> 
> Can you have a look at these please?

Sorry, I have a local buildtools-extended which contains gcc made me miss the 
error. And when I started a new terminal to drop the buildtools-extended, the
tmp/hosttools/gcc still linked to the previous buildtools-extended, didn't
link to /usr/bin/gcc, that might be seomthing we need to improve for hosttools.

I've sent a patch to upstream to fix the error for -fhardened:
https://github.com/rpm-software-management/rpm/pull/3796

And will send a V2 to upgrade rpm.

// Robert


// Robert

>