<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/trinity, branch 2017.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-10-30T15:42:16+00:00</updated>
<entry>
<title>trinity: fix Config.in depends on logic</title>
<updated>2016-10-30T15:42:16+00:00</updated>
<author>
<name>Erico Nunes</name>
<email>nunes.erico@gmail.com</email>
</author>
<published>2016-10-30T12:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5f1e0e688bba9b94287302258afdfacd6e6344e2'/>
<id>urn:sha1:5f1e0e688bba9b94287302258afdfacd6e6344e2</id>
<content type='text'>
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 &lt;nunes.erico@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/trinity: needs headers &gt;= 3.4</title>
<updated>2016-10-22T14:11:45+00:00</updated>
<author>
<name>Bernd Kuhls</name>
<email>bernd.kuhls@t-online.de</email>
</author>
<published>2016-10-16T13:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=637c1372bb9b5d7874cb2b365547ab12dbf0ad9f'/>
<id>urn:sha1:637c1372bb9b5d7874cb2b365547ab12dbf0ad9f</id>
<content type='text'>
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 &gt;= 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 &lt;bernd.kuhls@t-online.de&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTS</title>
<updated>2016-10-22T14:10:24+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-10-22T14:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0a076414af9bf81c24da11d0f1d1a5bff8b1ba94'/>
<id>urn:sha1:0a076414af9bf81c24da11d0f1d1a5bff8b1ba94</id>
<content type='text'>
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 &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: not available on musl</title>
<updated>2016-10-18T20:24:21+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahul.bedarkar@imgtec.com</email>
</author>
<published>2016-10-17T16:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b5d9f376ae1f0d9d67ba28b3902ae394ec76b783'/>
<id>urn:sha1:b5d9f376ae1f0d9d67ba28b3902ae394ec76b783</id>
<content type='text'>
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 &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Rahul Bedarkar &lt;rahul.bedarkar@imgtec.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>trinity: needs MMU support</title>
<updated>2016-09-21T18:29:05+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahul.bedarkar@imgtec.com</email>
</author>
<published>2016-09-21T17:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c2c4b4a3c16e03ea4be7a62c58c5114f5a6df1ea'/>
<id>urn:sha1:c2c4b4a3c16e03ea4be7a62c58c5114f5a6df1ea</id>
<content type='text'>
Fixes:
  http://autobuild.buildroot.net/results/2fc/2fca707deb6fda2da83ab817f8e594f76415d997/

Cc: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Rahul Bedarkar &lt;rahul.bedarkar@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: add a hash file</title>
<updated>2015-12-14T16:55:06+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2015-12-14T15:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c82bbfb24fa0a04724fcdb443ee5c9ca1cce19c1'/>
<id>urn:sha1:c82bbfb24fa0a04724fcdb443ee5c9ca1cce19c1</id>
<content type='text'>
Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: fix typo in MIPS' GET_FP_MODE and SET_FP_MODE macros</title>
<updated>2015-12-14T16:55:01+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2015-12-14T15:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cacba8c1d10ab0be3cac3e4a7c487fdcb6698ee5'/>
<id>urn:sha1:cacba8c1d10ab0be3cac3e4a7c487fdcb6698ee5</id>
<content type='text'>
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 &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: bump to version 1.6</title>
<updated>2015-11-11T14:09:20+00:00</updated>
<author>
<name>Andrew Donnellan</name>
<email>andrew.donnellan@au1.ibm.com</email>
</author>
<published>2015-11-11T03:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ae326e335141b7ea9bc85eea07f99d4b900a6259'/>
<id>urn:sha1:ae326e335141b7ea9bc85eea07f99d4b900a6259</id>
<content type='text'>
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 &lt;andrew.donnellan@au1.ibm.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>packages: remove non-IPv6 dependencies and tweaks</title>
<updated>2015-04-22T21:06:35+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2015-04-19T12:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=79ce08bbdc33d1725f5d950736c9f624814b5a03'/>
<id>urn:sha1:79ce08bbdc33d1725f5d950736c9f624814b5a03</id>
<content type='text'>
Now that IPv6 is mandatory remove package dependencies and conditionals
for it.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>trinity: fix building with uClibc</title>
<updated>2015-03-19T12:37:51+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2015-03-19T09:27:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=aabfbd6139e1c180aed2a49c34992b6a332aefd2'/>
<id>urn:sha1:aabfbd6139e1c180aed2a49c34992b6a332aefd2</id>
<content type='text'>
"#include &lt;linux/serial.h&gt;" 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 &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
