1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs
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
..
applications Merge pull request #55564 from wizeman/u/new-todoist 2019-02-12 22:33:43 +01:00
build-support Document undocumented argument to makeWrapper() 2019-02-11 21:45:02 +01:00
common-updater
data Merge pull request #55604 from dtzWill/update/agave-009 2019-02-12 07:28:45 -06:00
desktops epiphany: 3.30.2 -> 3.30.3 2019-02-11 18:02:41 -06:00
development Merge pull request #55528 from fare-patches/master 2019-02-12 22:03:19 +00:00
games treewide: fix missing libs after libtool pruning #51767 2019-02-10 14:14:33 +01:00
misc zuki-themes: 3.28-3 -> 3.30-1 2019-02-10 23:05:24 -02:00
os-specific Merge pull request #55141 from hhm0/rtl8821ce 2019-02-11 21:50:07 -05:00
servers powerdns: 4.1.5 -> 4.1.6 2019-02-11 22:46:10 +01:00
shells zsh: 5.7 -> 5.7.1 2019-02-03 19:05:19 -06:00
stdenv Merge branch 'master' into staging-next 2019-02-06 14:24:46 +01:00
test
tools osquery: fix build 2019-02-13 11:21:43 +01:00
top-level Merge pull request #55564 from wizeman/u/new-todoist 2019-02-12 22:33:43 +01:00