Sign me up Login

Details about package sentrypeer

Name: sentrypeer
Uploader: Gavin Henry <ghenry@sentrypeer.org> (Debian QA page)
Description: sentrypeer - SIP peer to peer honeypot for VoIP

Package uploads

Upload #5

Information

Version: 4.0.3-1
Uploaded: 2025-02-17 21:11
Source package: sentrypeer_4.0.3-1.dsc
Distribution: unstable
Section: net
Priority: optional
Homepage: https://sentrypeer.org
Vcs-Browser: https://github.com/SentryPeer/SentryPeer
Vcs-Git: https://github.com/SentryPeer/SentryPeer.git
Closes bugs: #1003274

Changelog

 sentrypeer (4.0.3-1) unstable; urgency=medium
 .
     * Initial release. (Closes: #1003274)

QA information

Comments

  1. Hi,
    
    Cuurrent builds are failing for:
    
    tils.o src/.libs/bad_actor.o src/.libs/json_logger.o src/.libs/database.o src/.libs/peer_to_peer_dht.o 
    libtool: link: ranlib .libs/libsentrypeer.a
    libtool: link: ( cd ".libs" && rm -f "libsentrypeer.la" && ln -s "../libsentrypeer.la" "libsentrypeer.la" )
    warning: spurious network error (1 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)
    error: failed to get `chrono` as a dependency of package `sentrypeer_rust v1.0.0 (/build/reproducible-path/sentrypeer-4.0.3/sentrypeer_rust)`
    
    Caused by:
      download of config.json failed
    
    Caused by:
      failed to download from `https://index.crates.io/config.json`
    
    Caused by:
      [6] Could not resolve hostname (Could not resolve host: index.crates.io)
    make[2]: *** [Makefile:2881: /build/reproducible-path/sentrypeer-4.0.3/sentrypeer_rust/target/release/libsentrypeer_rust.a] Error 101
    make[2]: Leaving directory '/build/reproducible-path/sentrypeer-4.0.3'
    make[1]: *** [Makefile:960: all] Error 2
    make[1]: Leaving directory '/build/reproducible-path/sentrypeer-4.0.3'
    dh_auto_build: error: make -j10 returned exit code 2
    make: *** [debian/rules:8: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    --------------------------------------------------------------------------------
    Build finished at 2025-02-19T06:02:57Z
    
    Finished
    --------
    Needs work Phil Wyett at Feb. 19, 2025, 6:04 a.m.
  2. Thanks Phil. Cargo needs Internet access to download packages. What can I do about that? Join the Rust team and build them all?
    
    What do we do with cpan and Perl or Python or npm?
    
    Thanks.
    Needs work Gavin Henry at Feb. 19, 2025, 9:03 a.m.
  3. Morning Gavin,
    
    I would always advise working under a Team umbrella where possible. You will get help and there are many resources available.
    
    https://wiki.debian.org/Teams/RustPackaging
    
    Regards
    
    Phil
    Phil Wyett at Feb. 19, 2025, 9:08 a.m.
  4. Thanks. Will do. I use a library written in Rust for my C project. This is getting hard 😁
    Needs work Gavin Henry at Feb. 19, 2025, 9:10 a.m.
  5. Take it steady, no rush. Read available docs and ask questions. This is an extensive library and you will learn a great deal about Debian as part of the journey.
    Phil Wyett at Feb. 19, 2025, 9:50 a.m.
  6. That's true. It's my Rust code after all 😁
    
    The Rust team have been very helpful on matrix chat. I should be able to make other Rust packages to help the next person out too.
    
    I'm writing about it in my book for pragprog.com You'll be getting a big thank you that's for sure!
    Needs work Gavin Henry at Feb. 19, 2025, 10:36 a.m.
  7. I await your next upload in time when you think it needs some scrutiny.
    
    Nice, that you writing a book.
    
    That is nice of you, but I need no thanks. I would suggest write about Debian and it's community spirit and willingness to help all.
    Phil Wyett at Feb. 19, 2025, 10:52 a.m.
  8. It's a lot of work, but extremely enjoyable. Debian and Rust communities have been tremendous!
    Needs work Gavin Henry at Feb. 19, 2025, 10:56 a.m.

Upload #4

Information

Version: 4.0.3-2
Uploaded: 2025-02-17 16:56
Distribution: unstable
Section: net
Priority: optional
Homepage: https://sentrypeer.org
Vcs-Browser: https://github.com/SentryPeer/SentryPeer
Vcs-Git: https://github.com/SentryPeer/SentryPeer.git

Changelog

 sentrypeer (4.0.3-2) unstable; urgency=medium
 .
     * Initial release

QA information

Comments

  1. Before I do full review, let us do some housework.
    
    
    * Each new package should have an Intent To Package (ITP) bug.
    
    https://wiki.debian.org/ITP
    
    List of current ones that can be used as examples of how to create one.
    
    https://www.debian.org/devel/wnpp/being_packaged
    
    When filed.
    
    You close that ITP by adding it to your changelog, example.
    
    sentrypeer (4.0.3-1) unstable; urgency=medium
     .
         * Initial release. (Closes: #ITP_BUG_NUMBER)
    
    
    * Every new package or new version into Debian, the version should be '-1'. I altered the changelog example above to be the correct '-`'.
    Needs work Phil Wyett at Feb. 17, 2025, 6:50 p.m.
  2. Sorted, missed a load of sbuild prep. sbuilds for sentrypeer working now.
    
    Here's the original one - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003274
    
    Would you like a new one?
    
    I got delayed for ages as I thought I had to update opendht to add opendht-c, but since doing this again on unstable, it is now included.
    
    I thought I had to increment the changelog to get dput mentors to take a new upload.
    Needs work Gavin Henry at Feb. 17, 2025, 7:08 p.m.
  3. No need for a new one. Just close that one in the changelog. I will read the history of it tonight and weshall go from there. :-)
    Phil Wyett at Feb. 17, 2025, 7:16 p.m.
  4. Will do. Many thanks for your time. Much appreciated.
    Needs work Gavin Henry at Feb. 17, 2025, 7:23 p.m.
  5. I will pick up the next upload and do the builds etc. and see where we are.
    Phil Wyett at Feb. 17, 2025, 7:28 p.m.

Upload #3

Information

Version: 4.0.3-1
Uploaded: 2025-02-16 23:56
Source package: sentrypeer_4.0.3-1.dsc
Distribution: unstable
Section: net
Priority: optional
Homepage: https://sentrypeer.org
Vcs-Browser: https://github.com/SentryPeer/SentryPeer
Vcs-Git: https://github.com/SentryPeer/SentryPeer.git

Changelog

 sentrypeer (4.0.3-1) unstable; urgency=medium
 .
     * Initial Debian release

QA information

Comments

  1. Built on unstable now with proper Build-requires etc.
    Gavin Henry at Feb. 16, 2025, 11:57 p.m.
  2. Hi,
    
    sbuild fails with:
    
    checking if you'd like to disable OpenDHT support... no
    checking for cargo... notfound
    configure: WARNING: cargo is required for Rust parts. Please install the Rust toolchain from https://www.rust-lang.org/
    checking for rustc... /usr/bin/rustc
    checking for Rust compiler version... 1.84.0
    checking if you'd like to disable Rust parts... no
    checking whether to build Rust parts with debugging information... no
    checking for doxygen... no
    configure: WARNING: Doxygen not found - continuing without Doxygen support
    checking for stdarg.h... yes
    checking for stddef.h... (cached) yes
    checking for setjmp.h... yes
    checking for cmocka... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure:
    Configured build options for sentrypeer:
      Configure date:     2025-02-17 09:01
      Build arch:         x86_64-pc-linux-gnu
      Build user:         sbuild
      Build host:         sbuild
      Install prefix:     /usr
      Compiler:
       C compiler         gcc
       CFLAGS:            -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sentrypeer-4.0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -pthread -I/usr/include/p11-kit-1 -I/usr/include/jsoncpp  
       CPPFLAGS	      -Wdate-time -D_FORTIFY_SOURCE=2
       LDFLAGS	      -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
       LIBS:              -lopendht-c  -lpthread -lm -lpcre2-8 -lmicrohttpd -lcurl -ljansson -luuid -lsqlite3 -losipparser2 
    
      Configure complete! Now proceed with:
      - 'make'            compile sentrypeer
      - 'make check'      run the sentrypeer self tests
      - 'make install'    install the 'sentrypeer' project to /usr
    
    make[1]: Leaving directory '/build/reproducible-path/sentrypeer-4.0.3'
       dh_auto_build
    	make -j10
    make[1]: Entering directory '/build/reproducible-path/sentrypeer-4.0.3'
    make  all-am
    make[2]: Entering directory '/build/reproducible-path/sentrypeer-4.0.3'
    cd ./sentrypeer_rust; \
    CARGO_TARGET_DIR=/build/reproducible-path/sentrypeer-4.0.3/sentrypeer_rust/target notfound build --verbose --release
    /bin/bash: line 2: notfound: command not found
    make[2]: *** [Makefile:2881: /build/reproducible-path/sentrypeer-4.0.3/sentrypeer_rust/target/release/libsentrypeer_rust.a] Error 127
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/build/reproducible-path/sentrypeer-4.0.3'
    make[1]: *** [Makefile:960: all] Error 2
    make[1]: Leaving directory '/build/reproducible-path/sentrypeer-4.0.3'
    dh_auto_build: error: make -j10 returned exit code 2
    make: *** [debian/rules:8: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    --------------------------------------------------------------------------------
    Build finished at 2025-02-17T09:01:49Z
    
    Finished
    --------
    Phil Wyett at Feb. 17, 2025, 9:06 a.m.
  3. Oh, OK. Not heard of sbuild. Will dig in.
    Needs work Gavin Henry at Feb. 17, 2025, 9:17 a.m.
  4. Ah, I thought rustc brought in cargo. It did when I installed it via apt.
    Needs work Gavin Henry at Feb. 17, 2025, 9:18 a.m.
  5. Ah, I got this on sudo pbuilder build ../sentrypeer_4.0.3-1.dsc too. Missed that before I uploaded as I'm sure I saw cargo being installed.
    
    Apologies.
    Needs work Gavin Henry at Feb. 17, 2025, 9:21 a.m.
  6. Yep, I was right, it does:
    
    sudo apt-get install rustc
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      g++-12 libabsl20220623 libaio1 libassuan0 libavif15 libcbor0.8 libdav1d6 libfuse2 libldap-2.5-0 libnsl-dev libperl5.36 libpython3.11-minimal libpython3.11-stdlib librav1e0 libstdc++-12-dev
      libsvtav1enc1 libtirpc-dev libx265-199 linux-image-6.1.0-29-amd64 perl-modules-5.36 python3-autocommand python3-httplib2 python3-inflect python3-jaraco.context python3-jaraco.functools
      python3-more-itertools python3-pkg-resources python3-pyparsing python3-pysimplesoap python3-six python3-typeguard python3-typing-extensions python3.11 python3.11-minimal
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
      cargo
    Suggested packages:
    Needs work Gavin Henry at Feb. 17, 2025, 9:24 a.m.
  7. Which is preferred? sbuild or pbuilder? I'm using gbp which has a pbuilder option.
    Needs work Gavin Henry at Feb. 17, 2025, 9:37 a.m.
  8. abuild is used by the Debian build servers. I use pbuilder for some tests.
    
    https://wiki.debian.org/PhilWyett/DebianMentoring
    Phil Wyett at Feb. 17, 2025, 9:46 a.m.
  9. Thanks. Will follow your page.
    Needs work Gavin Henry at Feb. 17, 2025, 9:51 a.m.
  10. Hi Phil,
    
    Been through your guide. All looks good, but stuck on sbuild. Will read their docs more:
    
    dpkg-divert: error: unable to flush new file '/var/lib/dpkg/diversions-new': No space left on device
    dpkg: error processing archive /tmp/apt-dpkg-install-A3Dmel/136-libreadline8t64_8.2-6_amd64.deb (--unpack):
    
    There's plenty of space on the box, so must be something I've not configured.
    
    Thanks.
    Needs work Gavin Henry at Feb. 17, 2025, 4:51 p.m.
  11. Ah, this works ratt sentrypeer_4.0.3-2_amd64.changes and then just uses unstable.
    Needs work Gavin Henry at Feb. 17, 2025, 5:01 p.m.
  12. As of Debian 13/trixie, /tmp is on tmpfs by default via tmp.mount service.
    
    When doing builds it is always good to check the that /tmp is not being exhausted. I personall disable and mask tm.mount on all build VMs.
    
    Debian 12 and earlier required user to enable tmp.mount.
    Phil Wyett at Feb. 17, 2025, 6:35 p.m.
  13. Thanks for the info. I've done 
    
    sudo systemctl mask tmp.mount
    Created symlink '/etc/systemd/system/tmp.mount' → '/dev/null'.
    Needs work Gavin Henry at Feb. 17, 2025, 6:50 p.m.
  14. Ah, that was on my own VM! Not sure what to do, but will go read those docs.
    Needs work Gavin Henry at Feb. 17, 2025, 6:55 p.m.

Upload #2

Information

Version: 4.0.2-1
Uploaded: 2025-02-15 19:56
Source package: sentrypeer_4.0.2-1.dsc
Distribution: unstable
Section: net
Priority: optional
Homepage: https://sentrypeer.org
Vcs-Browser: https://github.com/SentryPeer/SentryPeer
Vcs-Git: https://github.com/SentryPeer/SentryPeer.git

Changelog

 sentrypeer (4.0.2-1) unstable; urgency=medium
 .
     * New TLS mode with auto cert and key generation
     * TCP, UDP now all powered by Rust and Tokio

QA information

Comments

  1. Build issue:
    
    	autoreconf -f -i
    libtoolize: putting auxiliary files in '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    configure.ac:21: installing './compile'
    configure.ac:20: installing './missing'
    Makefile.am: installing './depcomp'
    	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
    " > debian/autoreconf.after
       debian/rules override_dh_auto_configure
    make[1]: Entering directory '/build/sentrypeer-4.0.2'
    curl https://sh.rustup.rs -sSf | sh -s -- -y
    /bin/sh: 1: curl: not found
    rustup default stable
    make[1]: rustup: No such file or directory
    make[1]: *** [debian/rules:13: override_dh_auto_configure] Error 127
    make[1]: Leaving directory '/build/sentrypeer-4.0.2'
    make: *** [debian/rules:9: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
    I: copying local configuration
    E: Failed autobuilding of package
    Needs work Phil Wyett at Feb. 15, 2025, 8:12 p.m.
  2. Try now. New version uploaded. 
    
    I've tested everything following https://wiki.debian.org/Diaspora/Packaging/pbuilder and added USENETWORK=yes to my /root/.pbuilderrc file for the curl part. 
    
    I can't seem to get past this:
    
    make[1]: Entering directory '/build/sentrypeer-4.0.2'
    curl https://sh.rustup.rs -sSf | sh -s -- -y
    curl: (77) Problem with the SSL CA cert (path? access rights?)
    rustup default stable
    make[1]: rustup: No such file or directory
    
    Looks like it's read-only.
    
    Do you know of any other packages that install a new version of rust and cargo via their rules file or since I'm on unstable, I could just Build-Require rust there as I've been building on Debian 12 via debuild, which has too old a version of Rust.
    
    Thanks again.
    Needs work Gavin Henry at Feb. 15, 2025, 9:08 p.m.
  3. We have rustup and other tools in Debina, I also see upstream have some Debian paclaging.
    
    Ypu may also wish to read uo and possibly join the rist team.
    
    https://wiki.debian.org/Teams/RustPackaging
    Phil Wyett at Feb. 16, 2025, 7:35 a.m.
  4. Thanks, will do. I'll do this all on unstable today too. A modern Rust is in that. To date, I've been building on bookworm.
    Needs work Gavin Henry at Feb. 16, 2025, 8:35 a.m.
  5. Did you mean Debian, not Debina? Upstream?
    
    Thanks.
    Needs work Gavin Henry at Feb. 16, 2025, 8:37 a.m.
  6. I'll put this on salsa.debian.org too.
    Needs work Gavin Henry at Feb. 16, 2025, 8:46 a.m.

Upload #1

Information

Version: 4.0.2-1
Uploaded: 2025-02-15 19:11
Source package: sentrypeer_4.0.2-1.dsc
Distribution: unstable
Section: net
Priority: optional
Homepage: https://sentrypeer.org
Vcs-Browser: https://github.com/SentryPeer/SentryPeer
Vcs-Git: https://github.com/SentryPeer/SentryPeer.git

Changelog

 sentrypeer (4.0.2-1) unstable; urgency=medium
 .
     * New TLS mode with auto cert and key generation
     * TCP, UDP now all powered by Rust and Tokio

QA information

Comments

  1. This better Phil?
    Needs work Gavin Henry at Feb. 15, 2025, 7:31 p.m.