<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-devtools, branch morty</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=morty</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=morty'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2018-03-23T21:11:40+00:00</updated>
<entry>
<title>go-fsnotify: switch to new repository on github</title>
<updated>2018-03-23T21:11:40+00:00</updated>
<author>
<name>Yunguo Wei</name>
<email>yunguo.wei@windriver.com</email>
</author>
<published>2018-03-22T03:27:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=eb79dfd7980f3cc18e0377e53d2ccacd1b378f08'/>
<id>urn:sha1:eb79dfd7980f3cc18e0377e53d2ccacd1b378f08</id>
<content type='text'>
fsnotify is changed to new repository on gihub, so adapt this chanage
accordingly to avoid fetch failure.

Signed-off-by: Yunguo Wei &lt;yunguo.wei@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>python-*: use https for pypi URLs</title>
<updated>2017-12-02T02:50:47+00:00</updated>
<author>
<name>Fabio Berton</name>
<email>fabio.berton@ossystems.com.br</email>
</author>
<published>2017-11-28T11:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=eb6b5129561eda9ea1f47e85ab9ed9e5a6b8f64c'/>
<id>urn:sha1:eb6b5129561eda9ea1f47e85ab9ed9e5a6b8f64c</id>
<content type='text'>
Several of the recipes here were using http URLs for source hosted on
pypi - pypi apparently no longer supports http so switch to https
instead.

Apply this commit [1] to morty branch.
[1] https://www.mail-archive.com/meta-virtualization@yoctoproject.org/msg02821.html

Signed-off-by: Fabio Berton &lt;fabio.berton@ossystems.com.br&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>protobuf: ptest: Fix QA file-rdep warning</title>
<updated>2016-10-21T15:42:07+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2016-10-20T02:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=2d00a79d831f223c9fb401b44562657e85e43f3d'/>
<id>urn:sha1:2d00a79d831f223c9fb401b44562657e85e43f3d</id>
<content type='text'>
Add bash to ptest's RDEPENDS

"WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest
contained in package protobuf-ptest requires /bin/bash, but no
providers found in its RDEPENDS [file-rdeps]"

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>protobuf: Fix QA error for GNU_HASH</title>
<updated>2016-10-21T15:42:07+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2016-10-20T02:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=b2f38526a13b281830b8a00727d438ceeb88b665'/>
<id>urn:sha1:b2f38526a13b281830b8a00727d438ceeb88b665</id>
<content type='text'>
Add LDFLAGS to examples makefile to pass default ld flags.

"ERROR: protobuf-3.0.0-r0 do_package_qa: QA Issue: No GNU_HASH in the
elf binary: '.../protobuf/3.0.0-r0/packages-split/protobuf-ptest/usr/
lib/protobuf/ptest/add_person_cpp'"

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-cross: Fix failure if building go-cross first</title>
<updated>2016-10-19T16:37:52+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-10-18T19:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=d55a5799384ee0533e855bbec43704c1bd5e448f'/>
<id>urn:sha1:d55a5799384ee0533e855bbec43704c1bd5e448f</id>
<content type='text'>
If go-cross is built as the first package it will fail creating the
target libraries used for cross-compilation because it requires libgcc.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-native: Add work around for binutils &gt;= 2.27</title>
<updated>2016-10-19T16:37:52+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-10-18T20:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c3d8676a0cacc52536bb58828dcfdbc386e6e7c7'/>
<id>urn:sha1:c3d8676a0cacc52536bb58828dcfdbc386e6e7c7</id>
<content type='text'>
We only use go-native to bootstrap go-cross and according to a post in
the go-lang git it is possible to work around by disabling CGO:

https://github.com/golang/go/issues/16906

This patch fixes the compile failure with binutils 2.27 which has the
message:

cannot load DWARF output from $WORK/net/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-cross: Fix host contamination for x86_64 host to x86_64 target</title>
<updated>2016-10-12T23:10:34+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-10-06T20:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=58bc830e732a694ddbdfef8f548387f715bb013c'/>
<id>urn:sha1:58bc830e732a694ddbdfef8f548387f715bb013c</id>
<content type='text'>
The go-cross package is explicitly for compiling target libraries on
the host system.  When the target architecture matches the host
architecture it will actually use the host's linker and compiler
however which can result in the generation of the cgo.a library having
linker symbols which might not work properly when compiling other
packages.

A typical error looks like this when building consul-migrate:

/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux/go/pkg/tool/linux_amd64/link: running x86_64-yocto-linux-gcc failed: exit status 1
/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: /opt/build-intel-x86/tmp/work/core2-64-yocto-linux/consul-migrate/git-r0/build-tmp/go-link-956548052/000002.o: unrecognized relocation (0x2a) in section `.text'
/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

The fix is to use the make.bash --target-only option to properly build
the libraries with the target toolchain.  The "go" binaries are thrown
away but the cross compilation libraries are preserved.  The sysroot
strip also has to be disabled because it will run the host strip on
the target binaries.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>Revert "go-cross: Fix host contamination for x86_64 host to x86_64 target"</title>
<updated>2016-09-24T02:02:19+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2016-09-24T02:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=05d080dc34417201c232c99b1a8de657b11c7db7'/>
<id>urn:sha1:05d080dc34417201c232c99b1a8de657b11c7db7</id>
<content type='text'>
This is breaking the build of go-cross on some machines:

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 20 static
| ERROR: oe_runmake failed
| /home/bruce/poky/build/tmp/work/core2-64-poky-linux/containerd/0.2.2+git0ac3cd1be170d180b2baed755e8f0da547ceb267-r0/git
| cd ctr &amp;&amp; go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/ctr
| cd containerd &amp;&amp; go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/containerd
| cd containerd-shim &amp;&amp; go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/containerd-shim
| # github.com/docker/docker/pkg/term
| cannot load DWARF output from $WORK/github.com/docker/docker/pkg/term/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0
| make: *** [shim-static] Error 2
| make: *** Waiting for unfinished jobs....
| # github.com/docker/docker/pkg/term
| cannot load DWARF output from $WORK/github.com/docker/docker/pkg/term/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0
| # github.com/opencontainers/runc/libcontainer/system
| cannot load DWARF output from $WORK/github.com/opencontainers/runc/libcontainer/system/_obj//_cgo_

This reverts commit 7ff08e542d15b8e0104185768debf360044af7d1.
</content>
</entry>
<entry>
<title>go-cross: Fix host contamination for x86_64 host to x86_64 target</title>
<updated>2016-09-22T14:03:23+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-09-20T17:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=7ff08e542d15b8e0104185768debf360044af7d1'/>
<id>urn:sha1:7ff08e542d15b8e0104185768debf360044af7d1</id>
<content type='text'>
The go-cross package is explicitly for compiling target libraries on
the host system.  When the target architecture matches the host
architecture it will actually use the host's linker and compiler
however which can result in the generation of the cgo.a library having
linker symbols which might not work properly when compiling other
packages.

A typical error looks like this when building consul-migrate:

/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux/go/pkg/tool/linux_amd64/link: running x86_64-yocto-linux-gcc failed: exit status 1
/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: /opt/build-intel-x86/tmp/work/core2-64-yocto-linux/consul-migrate/git-r0/build-tmp/go-link-956548052/000002.o: unrecognized relocation (0x2a) in section `.text'
/opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

The fix is to use the make.bash --target-only option to properly build
the libraries with the target toolchain.

When the host architecture does not match the target architecture we
must also force build the target libraries or they get dynamically
populated into the sysroot in an uncontrolled manner by the first
package that uses go-cross to compile code.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>protobuf-c: uprev to 1.2.1 from 0.15</title>
<updated>2016-09-12T14:03:04+00:00</updated>
<author>
<name>Jianchuan Wang</name>
<email>jianchuan.wang@windriver.com</email>
</author>
<published>2016-09-08T05:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c415f9786025622ff253ac21f24eef4755118e82'/>
<id>urn:sha1:c415f9786025622ff253ac21f24eef4755118e82</id>
<content type='text'>
Signed-off-by: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
