Commit graph

119952 commits

Author SHA1 Message Date
aszlig
e13c6645b1
python/natsort: Skip some tests with Python 3.[56]
Since the update to Python 3.6.3 in f906d6d18e
some of the Hypothesis tests in natsort suddenly begin to fail with
errors like this one:

res = '\x00\x00', f = <built-in function strxfrm>

>   return partial(reduce, lambda res, f: f(res), functions)
E   ValueError: embedded null character

The tests didn't fail with Python 3.6.2, but they did fail with Python
3.5 already.

I didn't dig through what the exact problem was, but I'd guess that the
problem could lie in Hypothesis itself. Unfortunately updating to the
latest version of Hypothesis didn't turn out to be that easy as well,
because the newer versions have a circular dependency on pytest and a
few other libraries.

So I opted against updating Hypothesis for now and just mark the tests
as "expected to fail" on purpose so that whenever we someday have a
newer version of Hypothesis, the build for natsort will fail and we can
remove this patch again.

Tested against Python 2.7, 3.4, 3.5 and 3.6 and all of the builds now
succeed.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @jluttine, @FRidh
2017-11-09 06:54:53 +01:00
aszlig
63a47699f7
cuneiform: Fix build against glibc 2.26
Since glibc 2.26 the string.h file includes <strings.h>, which in case
of cuneiform will include the strings.h found in Kern/hhh/tigerh/h,
because of the search path order.

Fortunately for us the strings.h in cuneiform are completely unused and
no files reference or include it. I even checked various references to
types within strings.h and the only occurences are in cf_strings.h,
which is also included by other files.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c
2017-11-09 06:06:32 +01:00
Orivej Desh
e824c931b0
Merge pull request #31413 from eqyiel/flow-0.59.0
flow: 0.58.0 -> 0.59.0
2017-11-09 04:40:34 +00:00
aszlig
2a894cd2d1
lxc: Fix build error with glibc 2.26
This issue doesn't necessarily have to do with glibc 2.26 and it could
have been fixed if we'd replace -Werror with -Wall.

The error in question was:

storage/overlay.c:808:13: error: 'dirlen' may be used uninitialized in
this function [-Werror=maybe-uninitialized]

After looking at the code in overlay.c it indeed might use dirlen
unitialized.

Unrelated to the glibc upgrade which brought the problem to the surface,
this also has been fixed upstream at lxc/lxc@180c477a32.

The reason however, that led to the upstream fix was a segfault which
has been reported at lxc/lxc#1802.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @wkennington, @globin, @fpletz
2017-11-09 02:21:00 +01:00
aszlig
e5bda9399d
netsniff-ng: Fix build against glibc 2.26
The build fails first of all because it cannot find the function body
for __builtin_memset. In glibc 2.26 this is available via inclusion of
string.h.

Another failure was that UINT64_MAX wasn't available in staging/tools.c,
which is fixed again by inclusion of stdint.h.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @nckx
2017-11-09 01:34:57 +01:00
Ruben Maher
1425d4436c flow: 0.58.0 -> 0.59.0 2017-11-09 10:43:25 +10:30
Thomas Tuegel
b8abd97c3b
Merge pull request #31382 from adisbladis/plasma-5_11_3
plasma: 5.11.2 -> 5.11.3
2017-11-08 16:06:52 -06:00
Thomas Tuegel
094d088135
Merge pull request #31357 from ttuegel/qt-5-tmp
Qt 5: revert 5.9.2; remove build temporary directory
2017-11-08 16:06:38 -06:00
Vladimír Čunát
94efde5119
Merge #31402: mlt, ffado: fix includeds with glibc-2.26 2017-11-08 23:01:47 +01:00
Jörg Thalheim
709c2bf19f
Merge pull request #31405 from romildo/fix.pygmentex
pygmentex: update src
2017-11-08 21:50:47 +00:00
Sergey Alexandrov
1f5c2833e9 mpdas: init at 0.4.4 (#31398)
* mpdas: init at 0.4.4

* mpdas: read config from /etc instead from nix store
2017-11-08 21:28:53 +00:00
aszlig
44cb95a234
llvmPackages/libc++: Fix build against glibc 2.26
This is very similar to what we had in bb0b0822ef.

The xlocale.h header is no longer existing in glibc version 2.26, so we
need to avoid including it.

I've tested building against all of the libcxx attributes of LLVM 3.5,
3.7, 3.8, 3.9, 4 and 5.

All of them succeeded except version 3.5, which failed because of an
unrelated issue (build of libc++abi has failed, one of its
dependencies), so I only verified whether the patch applies cleanly.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @vcunat
2017-11-08 22:08:11 +01:00
Joerg Thalheim
03e8bed8b3 openafs-client: prefer patch provided by upstream 2017-11-08 20:47:22 +00:00
Jörg Thalheim
8d145da64a
Merge pull request #30127 from florianjacob/limit_interface_name_length
nixos/network-interfaces: assertion for too long interface names
2017-11-08 20:35:08 +00:00
Joerg Thalheim
4d2c2d8d9f openafs: add patch for glibc 2.26 2017-11-08 20:24:34 +00:00
Joerg Thalheim
55e6a5a4da android-udev-rules: 20171031 -> 20171107 2017-11-08 20:24:00 +00:00
aszlig
33b0b5ed1d
anki: Fix hash of the source tarball
Searching the web for the base-16 encoded hash of the one we have in the
Nix expression didn't give any results and I also couldn't find the
older tarball anywhere (even the mirrors I've checked don't have it).

So checking the updated hash I've found that other distros use this, so
I'd bet it's safe to do this.

I've tested building the package but I didn't do any runtime test.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @the-kenny
2017-11-08 21:12:22 +01:00
aszlig
a2045e029a
libstdc++5: Add patch to fix type for ucontext_t
Since glibc 2.26, struct ucontext no longer exists but is wrapped in a
typedef ucontext_t.

This is basically a backport of the patch to gcc version 4.5 which was
introduced by @vcunat in f04b64c1e9.

Building against x86_64-linux and i686-linux now succeeds.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @abbradar
2017-11-08 20:52:20 +01:00
Tim Steinbach
4cb8c5dc3c
linux-copperhead: 4.13.11.a -> 4.13.12.a 2017-11-08 14:34:31 -05:00
Tim Steinbach
087d1e8d36
linux: 4.13.11 -> 4.13.12 2017-11-08 14:34:31 -05:00
Tim Steinbach
db1e2444a5
linux: 4.9.60 -> 4.9.61 2017-11-08 14:34:31 -05:00
Tim Steinbach
bd4b9062ea
linux: 4.4.96 -> 4.4.97 2017-11-08 14:34:31 -05:00
Orivej Desh
27831cbd86
Merge pull request #31397 from nico202/reaver-upgrade
reaver-wps-t6x: 1.5.2 -> 1.6.3
2017-11-08 19:27:24 +00:00
José Romildo Malaquias
df94f7bf76 pygmentex: update src 2017-11-08 17:23:49 -02:00
John Ericson
0101856765
Merge pull request #30549 from obsidiansystems/bintools
treewide: Introduce stdenv.cc.bintools
2017-11-08 14:20:48 -05:00
Jörg Thalheim
999bcd098d
Merge pull request #31296 from ryantm/mattermost43
mattermost, nixos/mattermost: update to 4.3.0
2017-11-08 17:45:42 +00:00
Michael Raskin
e9965b5b19 julia_06: fix libgit2 tests by updating the literal strings searched in the error messages 2017-11-08 18:43:02 +01:00
Jörg Thalheim
f1992a206f
Merge pull request #31389 from xvapx/meliae
pythonPakages.meliae fix version
2017-11-08 17:42:30 +00:00
Piotr Bogdan
1e78b48666 ffado: fix build with glibc-2.26
see https://sourceforge.net/p/ffado/mailman/message/36008067/
2017-11-08 17:35:51 +00:00
Piotr Bogdan
2704fdd710 mlt: fix build with glibc-2.26
see https://github.com/mltframework/mlt/pull/248
2017-11-08 17:35:48 +00:00
Maxime Dénès
a53462ea85 psc-package: 0.2.0 -> 0.2.4 2017-11-08 18:06:51 +01:00
Joerg Thalheim
00344162a7 Revert "nixos/test-instrumentation: softcode DISPLAY"
This reverts commit 4531ec5955.

This broke waitForX: b11ac5d29d (commitcomment-25486347)

cc @Lassulus
2017-11-08 17:04:39 +00:00
Nicolò Balzarotti
2b409cc7c3 reaver-wps-t6x: 1.5.2 -> 1.6.3 2017-11-08 17:42:58 +01:00
Sander van der Burg
f162d54b76
Merge pull request #31381 from Ma27/repackage-zed-with-node2nix
zed: replace npm2nix with node2nix
2017-11-08 17:11:10 +01:00
Peter Simons
c7203efb7d
Merge pull request #31333 from ElvishJerricco/unextracted-all-cabal-hashes
Unextracted all cabal hashes
2017-11-08 16:25:16 +01:00
aszlig
bb0b0822ef
neko: Fix build against glibc 2.26
The header file xlocale.h has been removed in glibc 2.26.

Quoting the release notes[1]:

* The nonstandard header <xlocale.h> has been removed. Most programs
  should use <locale.h> instead. If you have a specific need for the
  definition of locale_t with no other declarations, please contact
  libc-alpha@sourceware.org and explain.

I've backported HaxeFoundation/neko@e286c8f330
against version 2.1.0 and the build now succeeds.

Signed-off-by: aszlig <aszlig@nix.build>
2017-11-08 16:05:19 +01:00
Maximilian Bosch
e9bf6c4104
zed: replace npm2nix with node2nix 2017-11-08 16:03:01 +01:00
aszlig
845aae9c10
clisp: Add patch to remove reference to cfree
Fixes the build failure after the upgrade to glibc 2.26 in
9bb67d5c1e.

From the cfree(3) manpage:

This function should never be used. Use free(3) instead. Starting with
version 2.26, it has been removed from glibc.

From the glibc 2.26 release notes[1]:

* The obsolete function cfree has been removed.  Applications should use
  free instead.

[1]: https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c, @tohl
2017-11-08 15:52:25 +01:00
Jörg Thalheim
b11ac5d29d
Merge pull request #31198 from Lassulus/test-display
nixos/test-instrumentation: take DISPLAY from system-config
2017-11-08 14:44:16 +00:00
Michael Weiss
c4dbbbd890 gns3Packages.{server,gui}Preview: 2.1.0rc3 -> 2.1.0rc4 2017-11-08 14:56:36 +01:00
Yegor Timoshenko
8bc70c892a COPYING: there are no more bootstrap binaries in Nixpkgs tree 2017-11-08 14:56:02 +01:00
Robert Helgesson
503ddcf025
perl-String-ShellQuote: add license field 2017-11-08 14:21:14 +01:00
Robert Helgesson
3edc01d5d7
eclipse/plugins: remove phases fields 2017-11-08 14:16:10 +01:00
Joerg Thalheim
81154d929a dbench: fix compilation with glibc 2.6
stdint is needed for intptr_t
2017-11-08 12:39:07 +00:00
Orivej Desh
26ac0de8be
Merge pull request #31391 from devhell/mediainfo
{lib-}mediainfo{-gui},libzen: 0.7.99 -> 17.10, 0.4.35 -> 0.4.37
2017-11-08 12:13:38 +00:00
Michael Weiss
9413521682
Merge pull request #31375 from dywedir/sway
sway: 0.14.0 -> 0.15.0
wlc: 0.0.10 -> 0.0.11
2017-11-08 12:46:30 +01:00
makefu
292f60504c linux.kernel: enable build of stk1160 modules 2017-11-08 12:41:54 +02:00
Orivej Desh
82973dfc04 mediainfo: enable parallel building 2017-11-08 10:36:21 +00:00
Sander van der Burg
39015dbe4b nixui: do not copy node-env.nix on regeneration 2017-11-08 11:25:02 +01:00
Orivej Desh
06408bd713
Merge pull request #31380 from djgoku/bump-erlang-to-20.1
erlang: 20.0 -> 20.1
2017-11-08 10:15:34 +00:00