https://sourceware.org/bugzilla/show_bug.cgi?id=33723

--- Comment #11 from Kashyap Chamarthy <kchamart at redhat dot com> ---
I was able to reproduce it in a container.

Reproducer: Pull the OCI tarball from Koji, load it, enable the Koji
repo, update the container and build 'tcl' and 'environment-modules'.

Container setup
---------------

Fetch this container image:

    https://riscv-koji.fedoraproject.org/koji/buildinfo?buildID=46488

Load the image: 

    $ podman load -i
Fedora-Container-Base-Generic-43-20251027.0.riscv64.oci.tar.xz
    Getting image source signatures
    Copying blob 786d9c4e829a done   | 
    Copying config 810a05d71f done   | 
    Writing manifest to image destination
    Loaded image: localhost/fedora:43

Start the container in the background with "sleep infinity":

    $ podman run -d --name f43-riscv --platform linux/riscv64
localhost/fedora:43 sleep infinity
    e11657381444853fd91181310eb106ee1a79ff67308e7b211e89176d2656d02d

Enter the container:

    $ podman exec -it f43-riscv /bin/bash

Inside the container, enabled the Koji repo and update:

    bash-5.3# cat /etc/yum.repos.d/fedora-riscv-koji.repo 
    [fedora-riscv-koji]
    name=Fedora RISC-V $releasever - Koji
   
baseurl=https://riscv-koji.fedoraproject.org/repos/f$releasever-build/latest/$basearch/
    enabled=1
    gpgcheck=0
    priority=97

    bash-5.3# dnf update -y

Exit the container and  take a snapshot:

    [fedora@fedora ~]$ podman commit f43-riscv snap-with-upgrades-v1
    Getting image source signatures
    Copying blob 0a1a836ec8fb skipped: already exists  
    Copying blob 37e6e2ec845d done   | 
    Copying config 2685571401 done   | 
    Writing manifest to image destination
    26855714013143e5734133186866ea96727d81ab6a20820d5f5c4aa0a53d6a30

Exect the container again and setup the build env:

    $ podman exec -it f43-riscv /bin/bash

    $ dnf install -y @development-tools fedora-packager \
        fedora-review binutils


Build 'tcl'
----------

    $ fedpkg clone -a tcl && cd tcl
    $ sudo dnf builddep -y tcl.spec
    $ fedpkg local

[This builds fine]

Build  'environment-modules'
----------------------------

    $ fedpkg clone -a environment-modules && cd environment-modules

    $ dnf builddep -y environment-modules.spec

    $ fedpkg local |& tee env-modules-build.txt
    [...]
    Extracting debug info from 1 files
    debugedit:
   
/home/builder/src/environment-modules/environment-modules-5.6.1-build/BUILDROOT/usr/lib64/environment-modules/libtclenvmodules.so:
    Bad string pointer index 4294967065 for unit name (.debug_line_str)
    error: Bad exit status from /var/tmp/rpm-tmp.malnmQ (%install)

This is the failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to