[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suse open build service - debian builds
[Thread Prev] | [Thread Next]
- Subject: Re: suse open build service - debian builds
- From: T Lee Davidson <t.lee.davidson@xxxxxxxxx>
- Date: Mon, 9 Dec 2024 20:39:19 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 12/9/24 19:26, gbWilly wrote:
On Monday, December 9th, 2024 at 23:13, T Lee Davidson <t.lee.davidson@xxxxxxxxx> wrote:
[snip]
- first indicated that osb wanted to build source from a quilt recipe using dpkg-source -b, that failed (so I suggestednative build as that will not fail this) I also do not understand, "first indicated". It appears to be part of a sentence without a subject.OK, sorry Lee. I wrongly supposed you read my previous mail on these problems that occurred, and where deeply into understanding the topic. That is where I mainly refer to in my answer trying to explain what is going on and what is going wrong to you (and Benoit as well).
I had not fully read all your previous mails on the subject. I mainly just scanned them as most were quite lengthy and had numerous grammar issues, spelling issues, missing words, and the like that made comprehension, at least for me, difficult.
[snip]
dpkg-source (part of dpkg family like dpkg-buildpackage and others) is used like this (for native and quilt alike to make the binaries) (warning: explanation follows): --- - Extract gambas source - Copy your recipe into unpacked root(= debian folder) (recipe) in there. - Make sure that first line of changelog in recipe contains the version (3.19.90<whateveraddition> and for what distro version you package (like bookworm,bullseye, focal, jammy, noble etc.) - dpkg-source -b /path/to/unpacked/source/with/recipe will create: gambas3-3.19.90<whateveraddition>.tar.xz gambas3-3.19.90<whateveraddition>.dsc If I now open VM: - install the dependencies for gambas3 - unpack gambas3-3.19.90<whateveraddition>.tar.xz. (made by dpkg-source -b) - cd to root of unpacked above source+recipe archive - initiate dpkg-buildpackage -us -uc binaries and source packages will be build - initiate dpkg-buildpackage -b -us -uc only binaries will be build - the -b deactivates dpkg-source -b (the source archive builder) One more thing: If on a source archive with recipe I do dpkg-source -b /path/to/source - if native format recipe -> no problem - if quilt format recipe -> error ----
You say that `dpkg-source -b /path/to/source` *with recipe* has an error with Quilt format.Yet, above you say that `dpkg-source -b /path/to/unpacked/source/with/recipe` successfully creates the .tar.xz and .dsc files. That appears to be a contradiction. Is the difference merely the path?
And so, greatly simplified, you unpack the original source, repack it with `dpkg-source`, and then unpack it again ... all before executing `dpkg-buildpackage` and all just to get the .dsc file. Correct?
Why? Why not simply let the Gambas Package Config tool create, or modify, the .dsc file? Then, `dpkg-source` would not be needed at all, and ... no more errors due to it not liking the Quilt format.
You now understand why dpkg-source matters?
No, I do not. I don't understand why you insist upon using it.A man went to the doctor the other day and said, "Doctor, my left toe experiences excruciating pain when I lift both of my arms above my head." The doctor thought a minute and advised, "Well then, don't lift both of your arms above your head."
[snip]
And Lee, sorry if I somehow misunderstood you.
No worries. :-) -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: suse open build service - debian builds | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: suse open build service - debian builds | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |