[Bug 275294] extproc/jq: jq --version shows no version
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275294] extproc/jq: jq --version shows no version"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Nov 2023 15:43:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275294 --- Comment #2 from Michael Osipov <michaelo@FreeBSD.org> --- Here is the problem: # grep -r JQ_VERSION . ./Makefile.in:generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./Makefile:generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./Makefile.am:generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./src/version.h:#define JQ_VERSION "" ./src/main.c: JQ_VERSION, progname, progname, progname); ./src/main.c: printf("jq-%s\n", JQ_VERSION); The JQ_VERSION macro is empty when version.h is built. Let me check why... -- You are receiving this mail because: You are the assignee for the bug.