Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package for Debian? #460

Closed
petterreinholdtsen opened this issue Feb 1, 2022 · 32 comments
Closed

Package for Debian? #460

petterreinholdtsen opened this issue Feb 1, 2022 · 32 comments
Labels
deb Debian package Stale

Comments

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Feb 1, 2022

Are you interested in having wmbusmeters packaged in Debian? I've registered requests for packages for it and its dependency in https://bugs.debian.org/998720 and https://bugs.debian.org/998721 and could help make it happen, if you are interested.

@weetmuts
Copy link
Member

weetmuts commented Feb 1, 2022

Yes! I am preparing for a deb package generation! Expect something in this or next week!

@weetmuts
Copy link
Member

Been very busy with paid work (not related to wmbusmeters) will take a look at this again now!

@petterreinholdtsen
Copy link
Contributor Author

A good start could be to use 'dh_make' from the dh-make package to set up the initial build rules in debian/. I just tested by using the 'single package' profile and it seem to build just fine. Just need to fine tune the files in debian/ to make a complete Debian package.

@petterreinholdtsen
Copy link
Contributor Author

https://www.debian.org/doc/manuals/maint-guide/ can be a good place to start to read up on how to get the package into Debian. http://www.hungry.com/~pere/debian-sponsoring.html is my sponsoring preferences.

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented May 31, 2022 via email

@weetmuts
Copy link
Member

Ok, I am trying right now, but I have terrible problems with the debhelper-compat 13.

I cannot install it. My Ubuntu is pretty recent Ubuntu 20.04.5 LTS.

Is this related? What is the actual solution?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966640

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Sep 11, 2022 via email

@weetmuts
Copy link
Member

Ok, I upgraded to Ubuntu 22 now the debhelper problem is gone.
But I am trying to build a native package, so deb/changelog says:
wmbusmeters (1.9.0) unstable; urgency=medium

(I.e. not using 1.9.0-1 that would indicate a package referencing a orig source package.)

However I still get:
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../wmbusmeters_1.9.0.orig.tar.{bz2,gz,lzma,xz}

Why is this the case?

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Sep 11, 2022 via email

@weetmuts
Copy link
Member

Thank you, but you say temporarily. Should I not build a native package?

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Sep 11, 2022 via email

@weetmuts
Copy link
Member

Excellent! Thank you, then I understand better. Should I for example
fetch the orig package from github? Where it is automatically created
when I tag a release.

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Sep 11, 2022 via email

@weetmuts
Copy link
Member

I just pushed something that I think might be a working deb generation code. :-)

Checkout the current github master and tag it locally with: "git tag 1.9.1"
(Local testing since I do not want to generate a new release right now.)

Now do "make deb RELEASE=1.9.1"
This will create the packaging/wmbusmeters_1.9.1.orig.tar.gz which seems to be
reproducible since it extracts the tag 1.9.1 and removes the .git directory and
touches all the files to have the same timestamp as the tagged commit timestamp.

Then it runs debuild and I signed it using my gpg key. I tested the generated deb and it seems to work.

I uploaded the files here: https://wmbusmeters.org/releases
(Sorry for the content type being hardcoded to text/html right now, wget works though.)

Which files is it that you want (and find using uscan) to trigger a new deb package deploy to debian?

Attaching my public key.
oehrstroem_gpg.txt

@weetmuts
Copy link
Member

I am using source/format "3.0 (native)" instead of "3.0 (quilt)" since I get a really
weird error when using quilt:

add_directory() only handles directories at /usr/share/perl5/Dpkg/Source/Package/V2.pm line 588.
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 29
debuild: fatal error at line 1182:

But since the version number is 1.9.1-1 I suppose it still builds a package based on the orig archive
and not a native package? Or.... :-)

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Sep 13, 2022 via email

@github-actions
Copy link

This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.

@github-actions github-actions bot added the Stale label Jan 20, 2023
@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Jan 20, 2023 via email

@weetmuts
Copy link
Member

Nope, this is an effect of the auto-stale robot marker. This issue is still alive!

@weetmuts weetmuts added deb Debian package and removed Stale labels Jan 20, 2023
@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Jan 20, 2023 via email

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Mar 5, 2023 via email

@weetmuts
Copy link
Member

weetmuts commented Mar 5, 2023

I am interested. I am just busy writing the new driver loading code and doing the normal paid work outside of this project. :-)

@github-actions
Copy link

github-actions bot commented May 5, 2023

This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.

@github-actions github-actions bot added the Stale label May 5, 2023
@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented May 5, 2023 via email

@github-actions github-actions bot removed the Stale label May 6, 2023
@petterreinholdtsen
Copy link
Contributor Author

The relevant packages were uploaded to Debian a while back, as can be seen on https://qa.debian.org/developer.php?email=oehrstroem%40gmail.com . I am happy to help update the packages if approached on IRC, ref my sponsoring preferences. Sadly the email provider of the package maintainer throw away my emails, so that is not a useful channel.

@weetmuts
Copy link
Member

Thank you Petter! Did you have a chance to upload the bug fixed version 1.13.1-3 ?

https://mentors.debian.net/package/wmbusmeters/

@weetmuts
Copy link
Member

You write "email provider of the package maintainer throw away my emails, "

I.e. do you mean that you get an error response from gmail when you send emails to oehrstroem@gmail.com?

The last email I sent to pere@debian.org was on the 26 of may this year.

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Jun 25, 2023 via email

@weetmuts
Copy link
Member

As is obvious from my email address, I use gmail, a huge service from Google with 1.8 billion users. Claiming that I lack the ability to receive your emails (and that is somehow my fault) is just silly. If you get a rejection, it is something on your side, in particular since you have successfully sent me emails before.

I only sent the email because I was not sure if the IRC message had reached you, since you do not store any IRC communications directed to you when you are disconnected. I did comply with your preference for IRC but I cannot mind read you, to figure out that I have to connect to IRC because you want to tell me something.

If you want to continue sponsoring me, then we can proceed in the following way:

  1. You fix your email provider so that you can email me, at least to tell me to connect to IRC.
  2. If you also want to contribute to the package maintainence, then you submit pull requests to this github repo or to the debian salsa repo.

If this is not possible, then the most efficient use of our time is to depart ways, you stop sponsoring rtl-wmbus and wmbusmeters, and I will search for a new sponsor who is willing to use email.

@petterreinholdtsen
Copy link
Contributor Author

petterreinholdtsen commented Jun 27, 2023 via email

@github-actions
Copy link

This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.

@github-actions github-actions bot added the Stale label Aug 27, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 1 month with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deb Debian package Stale
Projects
None yet
Development

No branches or pull requests

2 participants