summaryrefslogtreecommitdiffstats
path: root/package/trinity
Commit message (Collapse)AuthorAgeFilesLines
* trinity: fix build with kernel headers >= 4.19Fabrice Fontaine2018-11-231-0/+56
| | | | | | | | | | | | Retrieve patch from upstream to fix build with kernel headers >= 4.19 because VIDIOC_RESERVED has been removed since https://github.com/torvalds/linux/commit/ea8532daee31bc72abfbc9ca7a43cbec0f6c05af Fixes: - http://autobuild.buildroot.org/results/ddf6b1cf4e4727928ffba7387953c4cc9719df49 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* trinity: fix build with kernel headers v4.17+Baruch Siach2018-06-081-0/+73
| | | | | | | | | | | | | | Kernel v4.17 removed the linux/irda.h header. Add a patch to skip the irda test when the header is missing. Fixes: http://autobuild.buildroot.net/results/39d/39d131048d6eb3cd4d802dae462116f7728c41fd/ http://autobuild.buildroot.net/results/af2/af2288711d1a0939a06ea51e65ed32d39e395e2b/ http://autobuild.buildroot.net/results/41f/41fead6d53dba2539ba246f682973e0b5967f3d0/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* trinity: fix build with glibc 2.27Baruch Siach2018-03-131-0/+87
| | | | | | | | | | | | | | | glibc 2.27 added a system call wrapper for memfd_create() which collides with the local definition of the same symbol in trinity. Add a patch to detect the presence of memfd_create(), and avoid collision. Fixes: http://autobuild.buildroot.net/results/fda/fda07327395921fdc79cbb4f24b662209fee1be1/ http://autobuild.buildroot.net/results/f98/f98f43657cbf519a626257af5a21c8c228423856/ http://autobuild.buildroot.net/results/575/57558c418ea5c5011ac22e5236beff4d823c825b/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "trinity: add optional dependency on btrfs-progs"Baruch Siach2017-12-031-4/+0
| | | | | | | | | | This reverts commit a81782a3f5dc08bb8d740acb1e6d361022f62f96. The trinity package does not use btrfs-progs, only btrfs kernel headers. Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: bump to version 1.8Baruch Siach2017-12-0310-297/+66
| | | | | | | | | | | | | | | | | Drop upstream patches. Add an upstream patch fixing build with kernel headers v4.14 or newer. Enable build for musl; Marcin Nowakowski fixed all incompatibilities in this version. Fixes: http://autobuild.buildroot.net/results/1a8/1a891bfa1f29060003bb7f4fce100aa5a1034673/ http://autobuild.buildroot.net/results/f22/f22cb03a4ec1eafb89ca5e81a2864f928117b54d/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: undefined UIO_MAXIOV need sys/io.hMatt Weber2017-10-061-0/+40
| | | | | | | | | | | | | | | | | | | | | | | This upstream patch fixes the build error produced by building for powerpc 32bit after the glibc bump to 2.26 with the following internal toolchain config. gcc5.4.0 glibc2.26 bin2.28.1 linux4.1.43 Failure log: CC net/proto-ipv4.o net/proto-ipv4.c: In function ‘ip_setsockopt’: net/proto-ipv4.c:231:49: error: ‘UIO_MAXIOV’ undeclared (first use in this function); did you mean ‘_IO_MAGIC’? so->optlen = rnd() % sizeof(unsigned long)*(2*UIO_MAXIOV+512); ^~~~~~~~~~ _IO_MAGIC Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Arnout: add Matthew's Sob to the patch] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* trinity: don't download patches from GithubThomas Petazzoni2017-07-037-9/+202
| | | | | | | | Patches downloaded from Github are not stable, so bring them in the tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* trinity: fix MIPS supportMarcin Nowakowski2017-07-012-1/+3
| | | | | | | | | Add an upstream patch that fixes segfaults when executed on MIPS due to incorrect handling of system call numbers on MIPS platforms. Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: needs __sync_val_compare_and_swap_4Rahul Bedarkar2017-04-181-0/+1
| | | | | | | | | | | syscalls/futex.c uses sync_val_compare_and_swap(). So add dependency on BR2_TOOLCHAIN_HAS_SYNC_4. Fixes: http://autobuild.buildroot.net/results/17f/17f7fe79242a40ff3e588748230de7bf2a010941 Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: add optional dependency on btrfs-progsBaruch Siach2017-04-161-0/+4
| | | | | | Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix detection of BPF featuresBaruch Siach2017-04-162-1/+3
| | | | | | | | | | | | Add upstream patch to detect presence of the map_flags field in bpf_attr. Fixes: http://autobuild.buildroot.net/results/1d3/1d3dcb908b7bb4559e1103e09907ab043ed44679/ http://autobuild.buildroot.net/results/269/269e1c125094b97dd9dfda0e174d2c9f3b103c3b/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix build BPF support is missingBaruch Siach2017-04-142-1/+3
| | | | | | | | | | | Use upstream patch. Fixes: http://autobuild.buildroot.net/results/2ae/2ae76fb61d017d99653d57807cb62c4d8c91ff4d/ http://autobuild.buildroot.net/results/a53/a5391fc272f99b80974582ea735d764db8dc8e9e/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix ipv6 headers detectionBaruch Siach2017-04-141-0/+49
| | | | | | | | | | | The trinity configure script looks into a host header to check for libc/kernel headers conflict resolution. This is not compatible with cross compilation. Add a patch that does direct compilation test instead. This issue was not caught by the autobuilder yet. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: bump to version 1.7Baruch Siach2017-04-133-43/+5
| | | | | | | | | | Use upstream provided tarball. Drop upstream patch. Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix glibc/kernel headers conflictBaruch Siach2017-04-132-0/+3
| | | | | | | | | | | | Add upstream patch that fixes conflicting definitions of ax25 related structs. Fixes: http://autobuild.buildroot.net/results/b40/b40d045f41dc4dbc66d5092ea5e9e045cd825e31/ http://autobuild.buildroot.net/results/367/367199b6071c450159aa2ea74d6d1b4b7cb89a88/ http://autobuild.buildroot.net/results/35e/35e97e51a6f7184d7b708c62a726ab91a0f546b2/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix Config.in depends on logicErico Nunes2016-10-301-2/+2
| | | | | | | | | | The comment from trinity Config.in currently does not show up in menuconfig for glibc or uClibc toolchains with older headers. This commit fixes the logic so that it shows up when either one of the dependencies from trinity are not met. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/trinity: needs headers >= 3.4Bernd Kuhls2016-10-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | IPV6_UNICAST_IF was added with kernel 3.4: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?id=refs/tags/v3.4.112 To prove this compare with kernel 3.3: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?h=linux-3.3.y The trinity package contains some compat code in https://github.com/kernelslacker/trinity/blob/master/include/compat.h but it does not trigger for IPV6_UNICAST_IF https://github.com/kernelslacker/trinity/blob/master/include/compat.h#L662 Instead of hacking compat.h to death just depend on headers >= 3.4. Fixes a build error net/proto-ipv6.c: At top level: net/proto-ipv6.c:157:12: error: ‘IPV6_UNICAST_IF’ undeclared here (not in a function) { .name = IPV6_UNICAST_IF, }, not yet caught by autobuilders using this defconfig: http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTSThomas Petazzoni2016-10-221-7/+9
| | | | | | | | In order to avoid duplicating architecture dependencies in the trinity Config.in file, this commit introduces a BR2_PACKAGE_TRINITY_ARCH_SUPPORTS Config.in variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: not available on muslRahul Bedarkar2016-10-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After fixing following build failures with musl: * error: unknown type name __uint32_t and __uint64_t * error: unknown type name pid_t and uid_t * error: fatal error: bits/sockaddr.h: No such file or directory it fails with fds/files.c: In function 'file_tree_callback': fds/files.c:172:10: error: 'FTW_CONTINUE' undeclared (first use in this function) return FTW_CONTINUE; ^ fds/files.c:172:10: note: each undeclared identifier is reported only once for each function it appears in fds/files.c:178:10: error: 'FTW_SKIP_SUBTREE' undeclared (first use in this function) return FTW_SKIP_SUBTREE; ^ fds/files.c:185:10: error: 'FTW_STOP' undeclared (first use in this function) return FTW_STOP; ^ fds/files.c: In function 'open_fds_from_path': fds/files.c:197:26: error: 'FTW_ACTIONRETVAL' undeclared (first use in this function) int flags = FTW_DEPTH | FTW_ACTIONRETVAL | FTW_MOUNT; As per ftw man-page, flag FTW_ACTIONRETVAL is specific to glibc. It is not available on musl. Since package uses it unconditionally, we mark it not available on musl. Fixes: http://autobuild.buildroot.net/results/cb4/cb4a665746652679487dee2c2e4bca881be3724b/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* trinity: needs MMU supportRahul Bedarkar2016-09-211-0/+1
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/2fc/2fca707deb6fda2da83ab817f8e594f76415d997/ Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: add a hash fileVicente Olivert Riera2015-12-141-0/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix typo in MIPS' GET_FP_MODE and SET_FP_MODE macrosVicente Olivert Riera2015-12-141-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a patch to fix a typo in the syscalls/prctl.c file. The PR_GET_FP_MODE and PR_SET_FP_MODE macros are defined in include/compat.h, but then syscalls/prctl.c tries to use GET_FP_MODE and SET_FP_MODE. It's lacking the PR_ preffix, and this is causing build failures like this one: CC syscalls/prctl.o syscalls/prctl.c:37:2: error: 'GET_FP_MODE' undeclared here (not in a function) GET_FP_MODE, SET_FP_MODE, ^ syscalls/prctl.c:37:15: error: 'SET_FP_MODE' undeclared here (not in a function) GET_FP_MODE, SET_FP_MODE, ^ This patch has been sent upstream. Fixes: http://autobuild.buildroot.net/results/12f/12f3144b5d99aa1872f6073f3aaac7f8a9c5cfdc/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: bump to version 1.6Andrew Donnellan2015-11-112-48/+1
| | | | | | | | Bump trinity version to 1.6. Remove backported vt.c missing include patch as it is now included in the upstream release. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: fix building with uClibcVicente Olivert Riera2015-03-191-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | "#include <linux/serial.h>" is needed in order to build trinity successfully with uClibc. Otherwise it would fail displaying an error message like this one: ----------------------------------------- ioctls/vt.c:152:8: error: invalid application of 'sizeof' to incomplete type 'struct serial_rs485' IOCTL(TIOCGRS485), ioctls/vt.c:155:8: error: invalid application of 'sizeof' to incomplete type 'struct serial_rs485' IOCTL(TIOCSRS485), ----------------------------------------- Backporting an upstream patch to fix this problem. Upstream commit: https://github.com/kernelslacker/trinity/commit/fb4a1adc4540f0702b84aa900f2b8ebed004885d Fixes: http://autobuild.buildroot.net/results/ca1/ca18c7d19ac2870d6b973923c8225509a12f831a/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: bump version to v1.5Vicente Olivert Riera2015-03-191-1/+1
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: bump version to fix a build failure using Linux 3.19 headersFabio Porcedda2015-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | bump to the following trinity repository commit: kvm: Add ifdef around IA64 ioctls. Fix build error. CC ioctls/kvm.o In file included from ioctls/kvm.c:8:0: ioctls/kvm.c:115:8: error: ‘KVM_IA64_VCPU_GET_STACK’ undeclared here (not in a function) IOCTL(KVM_IA64_VCPU_GET_STACK), ^ include/ioctls.h:53:15: note: in definition of macro ‘IOCTL’ { .request = _request, .name = #_request, } ^ ioctls/kvm.c:116:8: error: ‘KVM_IA64_VCPU_SET_STACK’ undeclared here (not in a function) IOCTL(KVM_IA64_VCPU_SET_STACK), ^ include/ioctls.h:53:15: note: in definition of macro ‘IOCTL’ { .request = _request, .name = #_request, } IA64 ioctls were removed in Linux 3.19. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: enable only for supported architecturesVicente Olivert Riera2014-10-281-0/+3
| | | | | | | | | | | | | | This package only has support for some architectures which are listed in the project website: http://codemonkey.org.uk/projects/trinity/ We enable this package only for those supported architectures which are also supported in Buildroot. Fixes: http://autobuild.buildroot.net/results/ea7/ea788f1f0ed5ee4e9b1bf0c8a0d1304e7467dc77/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trinity: Bump version to fix a PowerPC build failureVicente Olivert Riera2014-10-271-1/+1
| | | | | | | | | | | | | | | Some PowerPC toolchains have old Linux headers which don't define the KVM_CREATE_SPAPR_TCE and KVM_ALLOCATE_RMA macros. To workaround this problem we enclose the lines which use these macros into ifdef blocks. This fix has been merged upstream so we bump the version to fix the problem in Buildroot as well. Fixes: http://autobuild.buildroot.net/results/3a4/3a4e7e6077cd4bbbcb8fe398e0938ad228306d2d/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/trinity: New packageVicente Olivert Riera2014-10-242-0/+41
Adding the Trinity Linux System call fuzz tester. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud