Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released

2016-06-30 Thread Clemens Gruber
On Thu, Jun 30, 2016 at 09:10:18AM +0200, m.olbr...@pengutronix.de wrote:
> I've pushed this (with the extra ')') to master.
> 
> Have you noticed anything else? I'll probably create a stable release for
> this. It would be great if I got some feedback if there are anny other
> issues that should be fixed.

Looks good to me!

--

There is only one longstanding issue, which is probably a ptxdist
problem but it is occuring during the toolchain build as well:
The problem seems to be that some _MD5 lines are removed from the config
during clean or at other stages of the build and are then missing if
built again.
For example PTXCONF_GLIBC_HEADERS_MD5, PTXCONF_GLIBC_CRT_MD5, etc.
After ptxdist clean, only PTXCONF_GLIBC_MD5="..." remains and I have to
manually add all other variations for the build to succeed.

I also experienced this problem when building gdbserver in my BSP:
I have to manually add a PTXCONF_GDBSERVER_MD5="" line for ptxdist
targetinstall gdbserver --update-md5 to succeed. It gets removed by
ptxdist again later on. Only PTXCONF_GDB_MD5=".." remains and if I now
enter ptxdist clean gdbserver && ptxdist targetinstall gdbserver, the
build fails again, until I add PTXCONF_GDBSERVER_MD5=".." to the
ptxconfig.

Can you reproduce this?

Thanks,
Clemens

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Bug on ptxdist-2016.05.0

2016-06-30 Thread Michael Olbrich
On Thu, Jun 30, 2016 at 10:39:45AM +0200, Wim Vinckier wrote:
> On 10 June 2016 at 12:08, Michael Olbrich  wrote:
> > On Thu, Jun 09, 2016 at 04:15:12PM +0200, Ladislav Michl wrote:
> >> On Thu, Jun 09, 2016 at 01:07:51PM +, Carsten Schlote wrote:
> >> > I tried that patch as it really looks like a typo. Anyway, with the patch
> >> > applied you get a problem when target-installing the
> >> >
> >> > kernel modules. It tried to strip module.symbols and obviously fails.
> >>
> >> Problem is caused by commit 535944fdf5b2a32a856cbaa92463d519f75e206f.
> >> Reverting it makes things work again.
> >>
> >> > So this fix might need further fixes.
> >>
> >> Indeed :-)
> >
> > Take the first commit in the master branch after the release tag. That
> > should fix the problem (by going back to the old behavior). Later commit do
> > what I actually wanted to achieve but that required some more changes.
> >
> > Michael
> >
> 
> Do I understand it correctly that this should be fixed in ptxdist-2016.06.0?

That is correct. However, 'make install' can fail for ptxdist-2016.06.0.
I've posted a workaround for that issue[1].

Michael

[1] http://article.gmane.org/gmane.comp.embedded.ptxdist.devel/13931

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released

2016-06-30 Thread Michael Olbrich
On Thu, Jun 30, 2016 at 09:48:49AM +0200, Ladislav Michl wrote:
> On Thu, Jun 30, 2016 at 09:10:18AM +0200, m.olbr...@pengutronix.de wrote:
> > On Tue, Jun 28, 2016 at 12:58:35PM +, Bruno Thomsen wrote:
> > > I had the same compile issue on a Fedora 23 host but got Michaels patch 
> > > working with a minor ")" tweak.
> > > Attached working patch just-in-case somebody stumble across the same 
> > > issue.
> > 
> > Thanks for testing this.
> > 
> > I've pushed this (with the extra ')') to master.
> > 
> > Have you noticed anything else? I'll probably create a stable release for
> > this. It would be great if I got some feedback if there are anny other
> > issues that should be fixed.
> 
> This one? http://article.gmane.org/gmane.comp.embedded.ptxdist.devel/13933
> No patch for it yet, I'll give it a try in the evening.

I meant issues with the Toolchain.

Michael

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] [BUG] error: empty parameter to 'ptxd_make_get'

2016-06-30 Thread Michael Olbrich
On Fri, Jun 24, 2016 at 07:35:38AM +0200, Ladislav Michl wrote:
> Get stage fails for all packages built as host-packages only. Steps to
> reproduce:
> 
> 1) chose any package build for host only and clean it:
> $ ptxdist clean host-gettext
> 
> 2) remove source tarball
> $ rm src/gettext-0.19.1.tar.xz 
> 
> 3) compile
> $ ptxdist compile host-gettext
> -
> target: gettext-0.19.1.tar.xz
> -
> error: empty parameter to 'ptxd_make_get'
> make: *** [$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz] Error 1
> $(PTXDIST_TOPDIR)/rules/post/ptxd_make_world_get.make:26: recipe for target 
> '$(PROJECT_ROOT)/src/gettext-0.19.1.tar.xz' failed
> 
> This is pretty longstanding bug, but I hit it only rarely as I'm keeping
> source tarbals donwloaded in the same dir for multiple projects...

I can't reproduce this here. Can you please create a file like this:

$ cat rules/post/zzz.make
foo:
echo $(PTXCONF_HOST_GETTEXT)
echo $(HOST_GETTEXT_SOURCE)
echo $($(HOST_GETTEXT_SOURCE))

And then call:
$ ptxdist make foo

What do you get?

Michael

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH 1/2] xkeyboard-config: Update md5sum

2016-06-30 Thread Alexander Stein
The main URL does not provide the source tarball. But on mirrors the MD5
has changed.

Signed-off-by: Alexander Stein 
---
 rules/xkeyboard-config.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/xkeyboard-config.make b/rules/xkeyboard-config.make
index dd6b75b..587f503 100644
--- a/rules/xkeyboard-config.make
+++ b/rules/xkeyboard-config.make
@@ -17,7 +17,7 @@ PACKAGES-$(PTXCONF_XKEYBOARD_CONFIG) += xkeyboard-config
 # Paths and names
 #
 XKEYBOARD_CONFIG_VERSION   := 2.0
-XKEYBOARD_CONFIG_MD5   := bb8a98ee61cdc4bd835fdfd2b5cee3e6
+XKEYBOARD_CONFIG_MD5   := 06a8c600d086988cc98ea186d39d552e
 XKEYBOARD_CONFIG   := xkeyboard-config-$(XKEYBOARD_CONFIG_VERSION)
 XKEYBOARD_CONFIG_SUFFIX:= tar.bz2
 XKEYBOARD_CONFIG_URL   := 
http://xlibs.freedesktop.org/xkbdesc/$(XKEYBOARD_CONFIG).$(XKEYBOARD_CONFIG_SUFFIX)
-- 
2.7.3


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH 2/2] qt5: Pass required compiler flags if mesa is built without X11 support

2016-06-30 Thread Alexander Stein
Apparently pkg-config is not used for qt configuration, so we need to
provide MESA_EGL_NO_X11_HEADERS in case mesa is built without X11 headers,
e.g. wayland only. Otherwise the following error orccurs:
make[7]: Entering directory '/build/build-target/qt-everywhere-opensource
-src-5.6.1-1-build/qtbase/src/plugins/platforms/eglfs'
compiling /build/build-target/qt-everywhere-opensource-src-5.6.1-1/qtbase/
src/plugins/platforms/eglfs/qeglfsmain.cpp
In file included from /build/sysroot-target/usr/include/EGL/egl.h:39:0,
 from /build/build-target/qt-everywhere-opensource-src
-5.6.1-1/qtbase/src/plugins/platforms/eglfs/qeglfsintegration.h:41,
 from /build/build-target/qt-everywhere-opensource-src
-5.6.1-1/qtbase/src/plugins/platforms/eglfs/qeglfsmain.cpp:35:
/build/sysroot-target/usr/include/EGL/eglplatform.h:119:22:
 fatal error: X11/Xlib.h: No such file or directory
compilation terminated.


Signed-off-by: Alexander Stein 
---
 rules/qt5.make | 4 
 1 file changed, 4 insertions(+)

diff --git a/rules/qt5.make b/rules/qt5.make
index b802443..3a91cbb 100644
--- a/rules/qt5.make
+++ b/rules/qt5.make
@@ -222,6 +222,10 @@ QT5_CONF_OPT += \
--$(call ptx/endis, PTXCONF_QT5_XRENDER)-xrender \
--$(call ptx/endis, PTXCONF_QT5_XV)-xvideo \
 
+ifndef PTXCONF_XORG_LIB_X11
+QT5_CONF_OPT += -DMESA_EGL_NO_X11_HEADERS
+endif
+
 ifdef PTXCONF_QT5_MODULE_QTBASE_SQL_MYSQL
 QT5_CONF_OPT += -mysql_config $(SYSROOT)/usr/bin/mysql_config
 endif
-- 
2.7.3


___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Bug on ptxdist-2016.05.0

2016-06-30 Thread Wim Vinckier
On 10 June 2016 at 12:08, Michael Olbrich  wrote:
> On Thu, Jun 09, 2016 at 04:15:12PM +0200, Ladislav Michl wrote:
>> On Thu, Jun 09, 2016 at 01:07:51PM +, Carsten Schlote wrote:
>> > I tried that patch as it really looks like a typo. Anyway, with the patch
>> > applied you get a problem when target-installing the
>> >
>> > kernel modules. It tried to strip module.symbols and obviously fails.
>>
>> Problem is caused by commit 535944fdf5b2a32a856cbaa92463d519f75e206f.
>> Reverting it makes things work again.
>>
>> > So this fix might need further fixes.
>>
>> Indeed :-)
>
> Take the first commit in the master branch after the release tag. That
> should fix the problem (by going back to the old behavior). Later commit do
> what I actually wanted to achieve but that required some more changes.
>
> Michael
>

Do I understand it correctly that this should be fixed in ptxdist-2016.06.0?

wimpunk

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released

2016-06-30 Thread Ladislav Michl
On Thu, Jun 30, 2016 at 09:10:18AM +0200, m.olbr...@pengutronix.de wrote:
> On Tue, Jun 28, 2016 at 12:58:35PM +, Bruno Thomsen wrote:
> > I had the same compile issue on a Fedora 23 host but got Michaels patch 
> > working with a minor ")" tweak.
> > Attached working patch just-in-case somebody stumble across the same issue.
> 
> Thanks for testing this.
> 
> I've pushed this (with the extra ')') to master.
> 
> Have you noticed anything else? I'll probably create a stable release for
> this. It would be great if I got some feedback if there are anny other
> issues that should be fixed.

This one? http://article.gmane.org/gmane.comp.embedded.ptxdist.devel/13933
No patch for it yet, I'll give it a try in the evening.

ladis

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2016.06.0 released

2016-06-30 Thread m.olbr...@pengutronix.de
On Tue, Jun 28, 2016 at 12:58:35PM +, Bruno Thomsen wrote:
> I had the same compile issue on a Fedora 23 host but got Michaels patch 
> working with a minor ")" tweak.
> Attached working patch just-in-case somebody stumble across the same issue.

Thanks for testing this.

I've pushed this (with the extra ')') to master.

Have you noticed anything else? I'll probably create a stable release for
this. It would be great if I got some feedback if there are anny other
issues that should be fixed.

Michael

> diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
> index 00da7a0..068447c 100644
> --- a/rules/cross-gcc.make
> +++ b/rules/cross-gcc.make
> @@ -193,8 +193,10 @@ $(STATEDIR)/cross-gcc.install: 
> $(STATEDIR)/cross-gcc.report
> done
>  
> @find $(PTXCONF_SYSROOT_CROSS) -name "*.la" -print0 | xargs -0 rm -v 
> -f
> +ifneq ($(call remove_quotes, $(PTXCONF_DESTDIR)),)
> sed -i -e 's;$(call remove_quotes,$(PTXCONF_DESTDIR));;' \
> 
> $(PTXCONF_SYSROOT_CROSS)/lib/gcc/$(PTXCONF_GNU_TARGET)/$(CROSS_GCC_VERSION)/install-tools/mkheaders.conf
> +endif
>  
> @$(call touch)
> 

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de