Commit Graph

138431 Commits

Author SHA1 Message Date
Will Dietz
bdf390f995
Merge pull request #39517 from dtzWill/fix/python3.x-musl-lchmod
cpython: don't use lchmod() on Linux, fix w/musl
2018-04-26 08:46:49 -05:00
Nikolay Amiantov
8460769e88 pam: build with userdb support 2018-04-26 13:56:17 +03:00
Nikolay Amiantov
4b0638394d db: split outputs 2018-04-26 13:56:17 +03:00
Will Dietz
f54d54dc71
Merge pull request #39448 from dtzWill/fix/nfs-bits-cleanup-and-musl
nfs-utils, tcp_wrappers, libnfsidmap: cleanup, fix w/musl
2018-04-25 22:40:38 -05:00
Will Dietz
b11f3bc8e3 cpython: don't use lchmod() on Linux, fix w/musl
upstream issue:
https://bugs.python.org/issue31940

There are two PR's proposed to fix this,
but both seem to be stalling waiting for review.

I previously used what appears to be the favored
of the two approaches[1] to fix this,
with plan of keeping it musl-only until PR was merged.

However, while writing up a commit message
explaining the problem and why it needed fixing...

I investigated a bit and found it increasingly
hard to justify anything other than ...
simply not using lchmod.

Here's what I found:
* lchmod is non-POSIX, seems BSD-only these days
* Functionality of lchmod isn't supported on Linux
  * best scenario on Linux would be an error
* POSIX does provide lchmod-esque functionality
  with fchmodat(), which AFAICT is generally preferred.
* Python intentionally overlooks fchmodat()[2]
  electing instead to use lchmod() behavior
  as a proxy for whether fchmodat() "works".
  I'm not sure I follow their reasoning...
* both glibc and musl provide lchmod impls:
  * glibc returns ENOSYS "not implemented"
  * musl implements lchmod with fchmodat(),
    and so returns EOPNOTSUPP "op not supported"
* Python doesn't expect EOPNOTSUPP from lchmod,
  since it's not valid on BSD's lchmod.
* "configure" doesn't actually check lchmod usefully,
  instead checks for glibc preprocessor defines
  to indicate if the function is just a stub[3];
  somewhat fittingly, if the magic macros are defined
  then the next line of the C source is "choke me",
  causing the compiler to trip, fall, and point
  a finger at whatever is near where it ends up.
  (somewhat amusing, but AFAIK effective way to get an error :P)

I'm leaving out links to threads on mailing lists and such,
but for now I hope I've convinced you
(or to those reading commit history: explained my reasons)
that this is a bit of a mess[4].

And so instead of making a big mess messier,
and with hopes of never thinking about this again,
I propose we simply tell Python "don't use lchmod" on Linux.

[1] https://github.com/python/cpython/pull/4783
[2] 28453feaa8/Lib/os.py (L144)
[3] 28453feaa8/configure (L2198)
[4] Messes happen, no good intention goes unpunished :).
2018-04-25 21:46:13 -05:00
Jan Tojnar
ad589329e7
nixos/release.nix: add tests.gdk-pixbuf 2018-04-25 18:37:44 +02:00
Jan Tojnar
70a5ba0ac9
gdk_pixbuf: fix installedTests 2018-04-25 18:37:43 +02:00
Michael Raskin
9587c6ce01
Merge pull request #39463 from oxij/stdenv/docheckfalse-trivial
tree-wide: disable `doCheck` and `doInstallCheck` where it fails
2018-04-25 15:36:21 +00:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Will Dietz
f07f0c6009 Merge remote-tracking branch 'origin/master' into staging 2018-04-24 19:58:44 -05:00
Jan Tojnar
7e33e374db
gupnp-tools: 0.8.13 → 0.8.14 2018-04-25 02:04:33 +02:00
Will Dietz
de40a77de8
Merge pull request #39453 from bgamari/fix-git
git: Set PERL_PATH when building manual
2018-04-24 18:55:26 -05:00
Jörg Thalheim
49ff3665a5 alacritty: 2018-03-04 -> 2018-04-1 2018-04-25 00:54:04 +01:00
Jan Tojnar
4b2f397198
gdk_pixbuf: 2.36.7 → 2.36.12 2018-04-25 01:49:14 +02:00
Will Dietz
3e1f698acd nfs-utils: patch to fix w/musl 2018-04-24 18:29:36 -05:00
Timo Kaufmann
b75b5cdc79 pythonPackages.entrypoints: Fix buildInputs (#39449) 2018-04-25 00:23:44 +01:00
Matthew Justin Bauer
a8fc951404
Merge pull request #39451 from r-ryantm/auto-update/appstream-glib
appstream-glib: 0.7.7 -> 0.7.8
2018-04-24 18:15:19 -05:00
Michael Raskin
cdca27101d
Merge pull request #39450 from r-ryantm/auto-update/baresip
baresip: 0.5.8 -> 0.5.9
2018-04-24 23:10:30 +00:00
Ben Gamari
b26ae506a9 git: Set PERL_PATH when building manual
Otherwise the build fails with the perplexing error

    make: *** No rule to make target 'cmd-list.made', needed by 'doc.dep'.  Stop.
    make: Leaving directory '/tmp/nix-build-git-2.16.3.drv-0/git-2.16.3/Documentation'

on NixOS (but not on Debian, where it succeeds, presumably since it picks up the
system perl).
2018-04-24 19:00:34 -04:00
Jörg Thalheim
cf68bb33cb dino: fix checksum 2018-04-24 23:44:32 +01:00
Jörg Thalheim
296bc1e569 dino: 2018-03-10 -> 2018-04-19 2018-04-24 23:41:21 +01:00
R. RyanTM
b5bfd8a173 appstream-glib: 0.7.7 -> 0.7.8
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/appstream-glib/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.7.8 with grep in /nix/store/52vkj80m85n3jhzbqhw5abxdrqqac2yk-appstream-glib-0.7.8
- directory tree listing: https://gist.github.com/c3d5906e2b4ff1a38510f114a6c58819
2018-04-24 15:35:46 -07:00
R. RyanTM
85161629c5 baresip: 0.5.8 -> 0.5.9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/baresip/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.5.9 with grep in /nix/store/qh69vw5jdwnw82vb6gkwz4f0k8gpjjry-baresip-0.5.9
- directory tree listing: https://gist.github.com/f67689bcf18570ad0408e54fa06db37c
2018-04-24 15:33:02 -07:00
Will Dietz
d6a6dcc1f8 libnfsidmap: add missing include, fix w/musl 2018-04-24 17:24:39 -05:00
Will Dietz
40be5dd2df tcp-wrappers: patch up crufty code, fix w/musl 2018-04-24 17:24:39 -05:00
Will Dietz
092a4fff40 tcp-wrappers: rename conflicting variable instead of clearing it 2018-04-24 17:24:39 -05:00
Will Dietz
7139c65c88
Merge pull request #39441 from dtzWill/fix/libgl-tls-musl
mesa, libglvnd, xorg: disable tls w/musl
2018-04-24 17:17:23 -05:00
Will Dietz
64c2e058e6 mesa, libglvnd, xorg: disable tls w/musl 2018-04-24 17:16:22 -05:00
Will Dietz
dfcae92929
Merge pull request #39442 from dtzWill/fix/glibc-no-fetchpatch
glibc: use local copy of patch to fix w/musl
2018-04-24 17:14:55 -05:00
Will Dietz
c3ab285ce2 glibc: use local copy of patch to fix w/musl
fetchpatch doesn't work with bootstrap fetchurl,
so just use local file like we do for other glibc patches.
2018-04-24 16:57:57 -05:00
Matthew Justin Bauer
3f42a6eb84
netbsd: small fixups 2018-04-24 16:53:56 -05:00
Michael Raskin
d3d41b51f1
Merge pull request #39421 from r-ryantm/auto-update/librem
librem: 0.5.2 -> 0.5.3
2018-04-24 21:31:09 +00:00
Robert Helgesson
f54a9994e3
eclipse-plugin-spotbugs: 3.1.2 -> 3.1.3
Also switch to using zipped update site provided on GitHub.
2018-04-24 22:58:15 +02:00
Jan Tojnar
bfd213aa2d
rhythmbox: fix build with GStreamer 1.14 2018-04-24 22:42:00 +02:00
John Ericson
4aefe8a48a
Merge pull request #39425 from bgamari/git-cross
Allow git to be cross-compiled
2018-04-24 16:07:05 -04:00
Jan Tojnar
5979e88695
orca: fix typelib lookup 2018-04-24 21:53:12 +02:00
Jan Tojnar
ddc48afcca
python3.pkgs.pyatspi: 2.18.0 → 2.26.0 2018-04-24 21:53:11 +02:00
Jan Tojnar
d48e9ff92a
liblouis: mark as broken 2018-04-24 21:53:11 +02:00
Matthew Justin Bauer
ab92a474a9
Merge pull request #38822 from matthewbauer/netbsd
Introducing NetBSD userland
2018-04-24 14:46:01 -05:00
Matthew Bauer
31ef995e37 bsd: init netbsd & openbsd userland
Adds a couple of useful NetBSD and OpenBSD derivations. Some of these
will be integrated into Nixpkgs later.

Noncomprehensive list:

- netbsd.getent
- netbsd.getconf
- netbsd.fts
- openbsd.mg
- netbsd.compat (can replace libbsd)
2018-04-24 14:16:35 -05:00
Matthew Bauer
0dc26d0e7e cvs: support ssh access
hacky wrapper handles ssh issues in nix builders
2018-04-24 14:16:29 -05:00
Jörg Thalheim
78d9bffc0a
Merge pull request #39412 from r-ryantm/auto-update/pcmanfm
pcmanfm: 1.2.5 -> 1.3.0
2018-04-24 20:05:58 +01:00
Jörg Thalheim
0198d6204d
Merge pull request #39419 from r-ryantm/auto-update/libre
libre: 0.5.7 -> 0.5.8
2018-04-24 20:03:53 +01:00
R. RyanTM
768f1d968c latte-dock: 0.7.4 -> 0.7.5 (#39418)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/latte-dock/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/6nvkkskm7j4ngqfy722ajp289gqhg1a9-latte-dock-0.7.5/bin/latte-dock -h’ got 0 exit code
- ran ‘/nix/store/6nvkkskm7j4ngqfy722ajp289gqhg1a9-latte-dock-0.7.5/bin/latte-dock --help’ got 0 exit code
- found 0.7.5 with grep in /nix/store/6nvkkskm7j4ngqfy722ajp289gqhg1a9-latte-dock-0.7.5
- directory tree listing: https://gist.github.com/8f58b4f85d4c80752b6d66e912ce92c0
2018-04-24 14:59:32 -04:00
Ben Gamari
d111a42772 git: Enable cross-compilation 2018-04-24 14:58:58 -04:00
Ben Gamari
2d397f1b76 git: Allow perl support to be disabled 2018-04-24 14:58:58 -04:00
Ben Gamari
432df5b1cf git: Fix USE_LIBPCRE2 configuration
Previously this was injected during install, causing the build system to rebuild
the entire package.
2018-04-24 14:58:58 -04:00
Ben Gamari
ae0a14d25d git: Refactor makeFlags using lib.optionals 2018-04-24 14:58:58 -04:00
Matthew Justin Bauer
16e78fb7a7
Merge pull request #39422 from NixOS/revert-37640-retroarch-mame
Revert "libretro.mame: 2017-06-04 -> 2017-03-02"
2018-04-24 13:55:29 -05:00
R. RyanTM
78a2238c50 librem: 0.5.2 -> 0.5.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/librem/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.5.3 with grep in /nix/store/x20d9fh0yfyzm28p3sghxq01c3f2wrmw-librem-0.5.3
- directory tree listing: https://gist.github.com/b80b5c5f4dc93169cf0cfc46f4306e73
2018-04-24 11:54:42 -07:00