gnu: libpfm4: Fix build error.
------
For some reason, the build recently failed with:
pfmlib_perf_event_pmu.c:349:36: error: ?%s? directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
349 | snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name);
| ^~
pfmlib_perf_event_pmu.c:349:3: note: ?snprintf? output between 2 and 4352 bytes into a destination of size 4096
349 | snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pfmlib_perf_event_pmu.c:399:58: error: ?%s? directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
399 | snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name);
| ^~
pfmlib_perf_event_pmu.c:399:25: note: ?snprintf? output between 5 and 4355 bytes into a destination of size 4096
399 | snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
------
* gnu/packages/linux.scm (libpfm4)[arguments]: Add `-Wno-format-truncation` to
CFLAGS in custom 'build' phase.
Signed-off-by: Leo Famulari <leo@famulari.name>
gnu: spice-vdagent: Fix build with glib >= 2.68.
* gnu/packages/spice.scm (spice-vdagent)[source]: Add patch.
* gnu/packages/patches/spice-vdagent-glib-2.68.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
gnu: ableton-link: Update to 3.0.3.
* gnu/packages/audio.scm (ableton-link): Update to 3.0.3.
[arguments]: In phases, change source directory to "../source". Remove
trailing #t.
gnu: libgit2: Allow cross-compilation.
With commit 8394619baceb118df92e355377fd543bb1aa501a, the label for
'pkg-config' when cross-compiling changed to "TRIPLET-pkg-config",
thereby breaking the 'assoc-ref' call. This commit fixes it by avoiding
referring to the label.
* gnu/packages/version-control.scm (libgit2)[arguments]: Adjust
"-DPKG_CONFIG_EXECUTABLE=" option.
gnu: emacs: Partially revert 'guix style'd emacs packages.
This is a follow up to commit 88097dfba765bacb809edae7639fc3ed2dead297, which
styled many Emacs packages with 'guix style'.
* gnu/packages/emacs-xyz.scm (emacs-shroud): Revert to previous version.
(emacs-howm): Likewise.
(emacs-ob-sclang)[propagated-inputs]: Replace emacs-emacs by emacs-org and
org-scel by emacs-scel.
gnu: Use new package style.
* gnu/packages/emacs-xyz.scm (emacs-shroud):
(emacs-w3m):
(emacs-howm):
(emacs-guix):
(emacs-deferred):
(emacs-irony-mode):
(emacs-irony-mode-server):
(emacs-scel):
(emacs-elfeed-org):
(emacs-mocker):
(emacs-find-file-in-project):
(emacs-pyvenv):
(emacs-elpy):
(emacs-org-contrib):
(emacs-ob-sclang):
(emacspeak):
(emacs-json-reformat):
(emacs-ws-butler):
(emacs-browse-at-remote):
(epipe):
(emacs-emacsql):
(emacs-emacsql-sqlite3):
(emacs-org-super-agenda):
(emacs-dumb-jump):
(emacs-ytdl):
(emacs-arduino-mode):
(emacs-vterm):
(emacs-forge):
(emacs-flycheck-cpplint):
(emacs-telega-server):
(emacs-inf-janet):
(emacs-keystore-mode): Remove input labels. Remove trailing #T in phases. Use gexps.
gnu: Rename emacs-recutils to emacs-rec-mode.
This fixes ‘guix refresh emacs-rec-mode’.
* gnu/packages/databases.scm (emacs-rec-mode): New variable.
(emacs-recutils): Deprecate in favor of emacs-rec-mode.
gnu: emacs-recutils: Update to 1.8.2.
* gnu/packages/databases.scm (emacs-recutils): Update to 1.8.2.
No longer inherit from recutils.
[source]: Add origin, fetching tarball from ELPA.
[native-inputs]: Add texinfo.
[arguments]: Add ‘make-info’ phase.
[home-page, license]: Fill in missing information no longer inherited.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu: emacs-dvc: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-dvc)[arguments]<#:configure-flags>: Use
gexps.
<#:phases>: Remove trailing #T.
[native-inputs]: Remove labels.
[synopsis]: Remove trailing dot.
gnu: emacs-string-inflection: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-string-inflection)[native-inputs]: Remove label.
gnu: emacs-explain-pause-mode: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode)[native-inputs]: Remove
label.
gnu: emacs-guix: Use new style (partly).
* gnu/packages/emacs-xyz.scm (emacs-guix)[arguments]<#:phase>: Remove trailing
[native-inputs, propagated-inputs]: Remove labels.
gnu: festival: Support ALSA output.
* gnu/packages/speech.scm (festival)[arguments]:
Add "LINUXAUDIO=alsa" to #:make-flags.
[inputs]: Add alsa-lib.
gnu: igt-gpu-tools: Include man pages.
* gnu/packages/admin.scm (igt-gpu-tools)[arguments]:
Add a new 'find-rst2man.py phase.
(native-inputs): Add python-docutils.
gnu: igt-gpu-tools: Fix build with newer Mesons.
* gnu/packages/admin.scm (igt-gpu-tools)[arguments]:
Add a new 'fix-meson.build phase.
gnu: i7z: Fix building with GCC >= 10.
* gnu/packages/hardware.scm (i7z)[source]: Add patch.
* gnu/packages/patches/i7z-gcc-10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
gnu: fprintd: Gexp arguments.
* gnu/packages/linux.scm (fprintd)[arguments]: Use Gexps.
gnu: fprintd: Update to 1.94.1.
* gnu/packages/freedesktop.scm (fprintd): Update to 1.94.1.
[arguments]: Remove obsolete 'patch-mistake and 'no-polkit-magic phases.
Make 'patch-systemd-dependencies regexp more specific.
Remove gi.repository.FPrint in the 'ignore-test-dependencies regexp.
[native-inputs]: Remove unused libxslt.
[inputs]: Remove unused gusb, nss, and pixman.
gnu: fprintd: Remove phase return values.
* gnu/packages/freedesktop.scm (fprintd)[arguments]:
Don't explicitly return #t from phases.