Menu

#16 rpmrebuild still cannot rebuild packages with backslash in the filename

v1.0_(example)
closed
None
5
2024-12-17
2024-09-28
yuzhen Dong
No

Hi,maintainer:
I'm glad rpmrebuild-2.19 was released!
But when I downloaded the tarball, I found that the new version still doesn't seem to be able to successfully reconstruct packages with backslash in the filenames, as shown in my screenshots.
There still seems to be some problems with the new version of the rpmrebuild package.

2 Attachments

Discussion

  • eric gerbier

    eric gerbier - 2024-10-05
    • status: open --> pending
    • assigned_to: eric gerbier
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
    +Capture d’écran_2024-10-05_19-09-19.png (241.4 kB; image/png)
     issue_1.png (196.2 kB; image/png)
    
     
  • eric gerbier

    eric gerbier - 2024-10-05

    I have tested the 2.19 again on my computer (fedora 40) on same package and it works.
    The only difference I can see, is that I have installed (upgraded) the rpm package, and you are using the code from the tar.
    Is there any installed rpm version ?

     
  • yuzhen Dong

    yuzhen Dong - 2024-10-06

    I think I have rpm-4.19.1.1-1 on my computer.

     
  • yuzhen Dong

    yuzhen Dong - 2024-10-06

    Here are the details of my OS(fedora 40)

     
  • eric gerbier

    eric gerbier - 2024-10-08

    I was able to reproduce the problem on another linux distribution (mageia 9). And I am installing a new fresh vm on fedora 40 to check.

     
  • eric gerbier

    eric gerbier - 2024-10-10

    I checked on a fresh fedora 40 vm : the 2.19 release is working on deco-archive package.
    I have changed the user, changed the locale : it works.
    I now have to understand what is the difference with mageia 9

     
  • yuzhen Dong

    yuzhen Dong - 2024-10-11

    Amazing! Why is my fedora 40 machine not running successfully? Is there something wrong with the fedora 40 image I'm using... Could you please share the address where you got the fedora 40 mirror? I would like to reinstall a fresh environment and try again. Thank you very much!

     
  • eric gerbier

    eric gerbier - 2024-10-13

    I think it should be some kind of configuration somewhere, because I have the same problem on another linux. Now I have to find where, and it will be difficult.

     
  • eric gerbier

    eric gerbier - 2024-11-03

    Hi,
    I have worked on 2.20 version

     
  • eric gerbier

    eric gerbier - 2024-11-03

    Could you test the 2.20 version. Tell me if the "normal" command works on deco-archive, and if npt successful, test again with the RPMREBUILD_NOQUOTE environment variable :
    export RPMREBUILD_NOQUOTE=y
    rpmrebuild.sh -p deco-archive-1.7-17.fc40.noarch.rpm
    this workaround fix the problem for me on Mageia linux.

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-11

    I apologize for the late reply.I downloaded the tarball you provided and unzipped it, rebuilt deco-archive-1.7-17.fc40.noarch.rpm using the unzipped rpmrebuild.sh, unfortunately, it failed.

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-11

    And then, as you say, I tested again with the RPMREBUILD_NOQUOTE environment variable, but for some reason, it still failed...Is it because I'm having some problems with my fedora machine?

     
  • Anonymous

    Anonymous - 2024-11-12

    ok
    now it is time to use the debug mode. Could you run the same command with adding the option "--debug".
    The output should contain a line such "DEBUG: workdir : /home/eric/.tmp/rpmrebuild.62361/work". Make a tar of the given directory, and post it here. I will try to analyse it.

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-13

    I don't know what's happening to my machine, I promise I haven't turned it on since the last time I tested it.I tested rpmrebuild-2.20 today by first undeclaring the RPMREBUILD_NOQUOTE environment variable (since I haven't booted the machine since the last time it was declared), and surprisingly, it worked! And it fails when I declare the RPMREBUILD_NOQUOTE environment variable...

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-13

    This is the debug message for a successful run.

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-13

    This is the debug message for a failed run

     
  • eric gerbier

    eric gerbier - 2024-11-14

    Good !, it's better, because it is now the same as on my own fedora. I will now work to finalize the 2.20, because the 2.19 (and before) do not run at all on fedora 41.

     
  • yuzhen Dong

    yuzhen Dong - 2024-11-21

    I'm glad rpmrebuild-2.20 was released, it works fine on my machine. Thank you very much for your work and best wishes to you!

     
  • eric gerbier

    eric gerbier - 2024-12-17
    • status: pending --> closed
     
  • eric gerbier

    eric gerbier - 2024-12-17

    fixed in 2.20 release

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB