rpmrebuild still cannot rebuild packages with backslash in the filename
rpmrebuild build packages from modified installed packages
Brought to you by:
gerbier
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.
Anonymous
Diff:
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 ?
I think I have rpm-4.19.1.1-1 on my computer.
Here are the details of my OS(fedora 40)
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.
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
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!
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.
Hi,
I have worked on 2.20 version
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.
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.
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?
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.
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...
This is the debug message for a successful run.
This is the debug message for a failed run
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.
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!
fixed in 2.20 release