Sign me up Login

Details about package zsv

Name: zsv
Uploader: Azeem Sajid <azeem.sajid@gmail.com> (Debian QA page)
Description: zsv - tabular data swiss-army knife CLI
zsv-dev - world's fastest (SIMD) CSV parser library

Package uploads

Upload #2

Information

Version: 1.0.1-1
Uploaded: 2025-10-31 05:57
Source package: zsv_1.0.1-1.dsc
Distribution: unstable
Section: utils
Priority: optional
Homepage: https://github.com/liquidaty/zsv
Vcs-Browser: https://github.com/liquidaty/zsv
Vcs-Git: https://github.com/liquidaty/zsv.git
Closes bugs: #1119153

Changelog

 zsv (1.0.1-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1119153)

QA information

Comments

No comments

Upload #1

Information

Version: 1.0.1-1
Uploaded: 2025-10-29 13:12
Source package: zsv_1.0.1-1.dsc
Distribution: unstable
Section: utils
Priority: optional
Homepage: https://github.com/liquidaty/zsv
Vcs-Browser: https://github.com/liquidaty/zsv
Vcs-Git: https://github.com/liquidaty/zsv.git
Closes bugs: #1119153

Changelog

 zsv (1.0.1-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1119153)

QA information

Comments

  1. I had to change debian/rules as following, because the clean target of make would fail:
    
    override_dh_auto_install:
            $(MAKE) install
    
    override_dh_auto_test:
    
    override_dh_strip:
            dh_strip --no-automatic-dbgsym
    
    override_dh_auto_clean:
            -$(MAKE) clean
    Needs work Alex Myczko at Oct. 30, 2025, 7:26 a.m.
  2. Hi Alex,
    
    Thank you for the review!
    
    For `-$(MAKE) clean`, lintian emits the `debian-rules-ignores-make-clean-error`.
    URL: https://lintian.debian.org/tags/debian-rules-ignores-make-clean-error
    
    
    `$(MAKE) clean` works fine.
    
    Could you please confirm the same?
    Azeem Sajid at Oct. 30, 2025, 7:49 a.m.
  3. Hi Azeem,
    
    I can't confirm, dget the .dsc link, then debuild ends with:
    
    $ debuild
     dpkg-buildpackage -us -uc -ui
    dpkg-buildpackage: info: source package zsv
    dpkg-buildpackage: info: source version 1.0.1-1
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Azeem Sajid <azeem.sajid@gmail.com>
     dpkg-source --before-build .
    dpkg-buildpackage: info: host architecture amd64
     debian/rules clean
    dh clean
       debian/rules override_dh_auto_clean
    make[1]: Entering directory '/scratch/mentors/test2/zsv-1.0.1'
    /usr/bin/make clean
    make[2]: Entering directory '/scratch/mentors/test2/zsv-1.0.1'
    Makefile:14: *** Config file config.mk not found.  Stop.
    make[2]: Leaving directory '/scratch/mentors/test2/zsv-1.0.1'
    make[1]: *** [debian/rules:23: override_dh_auto_clean] Error 2
    make[1]: Leaving directory '/scratch/mentors/test2/zsv-1.0.1'
    make: *** [debian/rules:4: clean] Error 2
    dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
    debuild: fatal error at line 1185:
    dpkg-buildpackage -us -uc -ui failed
    Needs work Alex Myczko at Oct. 30, 2025, 8:51 a.m.
  4. Alex,
    
    Uploaded another revision #2 with the fix.
    Verified it locally as well.
    It should work fine now.
    
    Thanks!
    Azeem Sajid at Oct. 30, 2025, 11:27 a.m.
  5. Azeem,
    
    You want to devendor zsv (+ds (debian source)), removing libyajl. And build-depend on libyajl-dev.
    First upload should be -1 (drop the 2nd line from changelog).
    
    If you need help tell me.
    Needs work Alex Myczko at Oct. 30, 2025, 5:08 p.m.
  6. Alex,
    
    Sure, I'll update the changelog.
    
    Regarding libyajl, its official version is not being used.
    The official released version of libyajl is 2.1.0.
    
    In zsv, it's being used from this fork https://github.com/liquidaty/yajl.
    Looks like devendoring is not needed here.
    
    Let me know how to proceed with this.
    Thanks!
    Azeem Sajid at Oct. 30, 2025, 6:02 p.m.
  7. we will have to see if this can be fixed and try to use this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040044
    Needs work Alex Myczko at Oct. 30, 2025, 6:45 p.m.
  8. Just looked at the forks mentioned in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040044.
    They seem to be doing their own thing.
    
    Just to add more context:
    
    The fork https://github.com/liquidaty/yajl is by the `zsv` owner from https://github.com/lloyd/yajl.
    
    zsv        : https://github.com/liquidaty/zsv
    yajl (fork): https://github.com/liquidaty/yajl
    
    
    This fork has specifically been updated to integrate with `zsv`.
    See changes: https://github.com/lloyd/yajl/compare/master...liquidaty:yajl:master
    
    `zsv` is bundled with this updated yajl version from the fork.
    Azeem Sajid at Oct. 30, 2025, 6:59 p.m.
  9. maybe try to make the lib not public or https://wiki.debian.org/StaticLinking ?
    Needs work Alex Myczko at Oct. 30, 2025, 7:03 p.m.
  10. It's already being compiled and linked directly to the binary, not linked as a dynamic library.
    
    Here's the output of `ldd`:
    
    $ ldd /usr/bin/zsv
    	linux-vdso.so.1 (0x00007ffc641f4000)
    	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007fcfdbd4e000)
    	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007fcfdbd1c000)
    	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcfdbc35000)
    	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcfdba0c000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007fcfdbfb9000)
    Azeem Sajid at Oct. 30, 2025, 7:13 p.m.
  11. This issue should be resolved somehow:
    
    E: zsv: embedded-library yajl [usr/bin/zsv]
    
    either don't provide zsv-dev at all (or do you know anyone wants/uses this?)
    
    or if you want to provide it, or build it as shared library (.so), with libzsv-dev/libzsv0
    
    or really get yajl package to use this upstream but making sure these still work:
    $ apt-cache rdepends libyajl-dev
    libyajl-dev
    Reverse Depends:
      libraptor2-dev
      libwgdb-dev
      ruby-ffi-yajl
    $ apt-cache rdepends libyajl2
    libyajl2
    Reverse Depends:
      libyajl-dev
      tcl-yajltcl
      yajl-tools
      collectd
      xen-utils-4.20
      libxenmisc4.20
      libwgdb0
      uwsgi-core
      libtulip-core-6.0
      siridb-server
      libraptor2-0
      python3-ijson
      libapache2-mod-security2
      libmodsecurity3t64
      kcat
      i3status
      i3-wm
      crun
      collectd-core
    Needs work Alex Myczko at Oct. 31, 2025, 7:17 a.m.
  12. Thank you for your feedback, Alex!
    
    IIUC, this error:
    
      E: zsv: embedded-library yajl [usr/bin/zsv]
    
    means that it is coming from `zsv` and not `zsv-dev`, right?
    
    Regarding providing `zsv-dev`, `zsv` is extensible.
    It provides an extension model by static/dynamic libraries.
    AFAIK, it is being used to write custom extensions by other devs.
    
    Regarding the shared library:
    
    - yes, it can be built i.e. `zsv-dev` with `libzsv.so`, and
    - `zsv` with the static executable.
    
    Would that resolve the above issue?
    Azeem Sajid at Oct. 31, 2025, 8:15 a.m.
  13. Correction: "static" => "dynamic"
    
    `zsv` with the dynamic executable
                   ^^^^^^^
    Azeem Sajid at Oct. 31, 2025, 8:22 a.m.
  14. As suspected, the error is in the `zsv` package, not `zsv-dev`.
    I am able to reproduce it on my side.
    
    zsv:
    
        $ lintian zsv_1.0.1-1_amd64.deb 
        E: zsv: embedded-library yajl [usr/bin/zsv]
    
        $ echo $?
        2
    
    
    zsv-dev:
    
        $ lintian zsv-dev_1.0.1-1_amd64.deb
        $ echo $?
        0
    
    Dropping `zsv-dev` package does not work.
    
    I am working on it.
    Azeem Sajid at Oct. 31, 2025, 11:01 a.m.