1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/tools
Maximilian Bosch 7a961cf06f
osquery: fix build
We use `dpkg` 1.19.2 since 23661254e4.
This version dropped pkg_db_reset` in  `<dpkg/dpkg_db.h>` which broke compilation with the
following errors:

```
/build/source/osquery/tables/system/linux/deb_packages.cpp: In function 'void osquery::tables::dpkg_setup(pkg_array*)':
/build/source/osquery/tables/system/linux/deb_packages.cpp:83:3: error: 'pkg_array_init_from_db' was not declared in this scope
   pkg_array_init_from_db(packages);
   ^~~~~~~~~~~~~~~~~~~~~~
/build/source/osquery/tables/system/linux/deb_packages.cpp:83:3: note: suggested alternative: 'pkg_array_init_from_hash'
   pkg_array_init_from_db(packages);
   ^~~~~~~~~~~~~~~~~~~~~~
   pkg_array_init_from_hash
/build/source/osquery/tables/system/linux/deb_packages.cpp: In function 'void osquery::tables::dpkg_teardown(pkg_array*)':
/build/source/osquery/tables/system/linux/deb_packages.cpp:93:3: error: 'pkg_db_reset' was not declared in this scope
   pkg_db_reset();
   ^~~~~~~~~~~~
/build/source/osquery/tables/system/linux/deb_packages.cpp:93:3: note: suggested alternative: 'pkg_hash_reset'
   pkg_db_reset();
   ^~~~~~~~~~~~
   pkg_hash_reset
make[2]: *** [osquery/tables/CMakeFiles/osquery_system_tables.dir/build.make:115: osquery/tables/CMakeFiles/osquery_system_tables.dir/system/linux/deb_packages.cpp.o] Error 1
```

As there's currently no upstream fix, it's better to use an older
version of `dpkg` for now.
2019-02-13 11:21:43 +01:00
..
admin certbot: 0.30.2 -> 0.31.0 (#55601) 2019-02-12 11:38:43 +01:00
archivers
audio Merge pull request #53662 from gnidorah/opl3bankeditor 2019-02-11 07:57:31 +01:00
backup borgbackup: 1.1.8 -> 1.1.9 2019-02-11 09:43:36 +01:00
bluetooth blueman: 2.0.7 -> 2.0.8 2019-01-17 21:01:17 -08:00
bootloaders/refind
cd-dvd
compression
filesystems tmsu: install manpage properly into man1 subdirectory 2019-02-08 22:17:14 +00:00
graphics oxipng: 2.1.8 -> 2.2.0 2019-02-02 10:39:30 +02:00
inputmethods ibus-engines.table: 1.9.20 -> 1.9.21 2019-01-29 22:53:57 +00:00
misc txr: 208 -> 209 2019-02-11 12:31:49 -06:00
networking lldpd: fix build 2019-02-12 23:44:07 +01:00
nix nix-script: init at 2015-09-22 (#55495) 2019-02-10 23:08:58 +01:00
package-management nixopsUnstable: 1.6.1pre2706_d5ad09c -> 1.6.1pre2728_8ed39f9 2019-02-06 17:10:36 +00:00
security Merge branch 'master' into staging-next 2019-02-09 10:15:17 +01:00
system osquery: fix build 2019-02-13 11:21:43 +01:00
text transifex-client: 0.13.5 -> 0.13.6 2019-02-08 14:45:12 +01:00
toml2nix toml2nix: init at 0.1.1 (#53883) 2019-01-15 23:36:36 +02:00
typesetting Merge pull request #54675 from r-ryantm/auto-update/sile 2019-02-03 14:11:33 +01:00
video bento4: 1.5.1-627 -> 1.5.1-628 2019-01-17 18:59:37 -08:00
virtualization google-compute-engine: 20181206 -> 20190124 (#55312) 2019-02-06 11:02:31 +00:00
X11 xlayoutdisplay: init at 1.0.2 2019-01-29 07:07:53 -06:00