notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
compdbgen General-purpose tool for generating compile_commands.json files
g20250914 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: jrm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-12 18:39:07
Last Update: 2025-09-15 03:57:23
Commit Hash: a56ee6d
License: BSD2CLAUSE
WWW:
https://github.com/Virus-V/compdbgen
Description:
compdbgen is a general-purpose tool for generating compile_commands.json files, used with clangd's lsp-server. The tool uses ptrace to intercept system calls for the current task and all its child tasks, capture the arguments and environment variables of the execve system call, and generate compile_commands.json files.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/compdbgen
  2. /usr/local/share/licenses/compdbgen-g20250914/catalog.mk
  3. /usr/local/share/licenses/compdbgen-g20250914/LICENSE
  4. /usr/local/share/licenses/compdbgen-g20250914/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • compdbgen>0:devel/compdbgen
To install the port:
cd /usr/ports/devel/compdbgen/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/compdbgen
  • pkg install compdbgen
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: compdbgen
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1757907486 SHA256 (Virus-V-compdbgen-g20250914-d839843448cbcf7ff394dcd32df586a0ab9aa156_GH0.tar.gz) = 9cf61309142803849f6b0175aa867c5932f916d11b6d90c1eba307e762c26d21 SIZE (Virus-V-compdbgen-g20250914-d839843448cbcf7ff394dcd32df586a0ab9aa156_GH0.tar.gz) = 58912

Expand this list (2 items)

Collapse this list.

SHA256 (DaveGamble-cJSON-c859b25da02955fef659d658b8f324b5cde87be3_GH0.tar.gz) = 880a86445ad5cf38f877bac31198268d8fac5d2ce996ebf55d3066a4109ddd8d SIZE (DaveGamble-cJSON-c859b25da02955fef659d658b8f324b5cde87be3_GH0.tar.gz) = 356505

Collapse this list.


Packages (timestamps in pop-ups are UTC):
compdbgen
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latestg20250914g20250914-g20250914g20250914n/an/an/a
FreeBSD:13:quarterlyg20250914g20250914--g20250914n/an/an/a
FreeBSD:14:latest-g20250914--g20250914---
FreeBSD:14:quarterlyg20250914g20250914--g20250914---
FreeBSD:15:latestg20250914g20250914n/a-n/an/a--
FreeBSD:15:quarterlyg20250914g20250914n/a-n/an/a--
FreeBSD:16:latest-g20250914n/a-n/an/a--
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_compdbgen
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Virus-V/compdbgen/tar.gz/d839843448cbcf7ff394dcd32df586a0ab9aa156?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
g20250914
15 Sep 2025 03:57:23
commit hash: a56ee6dec5da9d9ef99a4a1ea563d697fbae5614commit hash: a56ee6dec5da9d9ef99a4a1ea563d697fbae5614commit hash: a56ee6dec5da9d9ef99a4a1ea563d697fbae5614commit hash: a56ee6dec5da9d9ef99a4a1ea563d697fbae5614 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
devel/compdbgen: Update to g20250914

This update pulls in an upstream fix for FreeBSD 13.

Sponsored by:	The FreeBSD Foundation
g20250911
14 Sep 2025 21:05:59
commit hash: 4d505c3343bb209496f5313b0f01b88cd7299f40commit hash: 4d505c3343bb209496f5313b0f01b88cd7299f40commit hash: 4d505c3343bb209496f5313b0f01b88cd7299f40commit hash: 4d505c3343bb209496f5313b0f01b88cd7299f40 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
devel/compdbgen: Fix build on FreeBSD 13

The syscallarg_t type was added to FreeBSD in b1ad6a9000c3, which is not
present in any FreeBSD 13 release.  Use register_t in place of
syscallarg_t when building on FreeBSD 13.

Sponsored by:	The FreeBSD Foundation
g20250911
12 Sep 2025 18:33:36
commit hash: 531a782b69f0a2825ea73e5388e34392eedebd7dcommit hash: 531a782b69f0a2825ea73e5388e34392eedebd7dcommit hash: 531a782b69f0a2825ea73e5388e34392eedebd7dcommit hash: 531a782b69f0a2825ea73e5388e34392eedebd7d files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
devel/compdbgen: New port to generate compile_commands.json

compdbgen is a general-purpose tool for generating compile_commands.json
files, used with clangd's lsp-server.  The tool uses ptrace to intercept
system calls for the current task and all its child tasks, capture the
arguments and environment variables of the execve system call, and
generate compile_commands.json files.

Sponsored by:	The FreeBSD Foundation

Number of commits found: 3