[ptxdist] ML dead ?
I wonder if this ML is still alive... ciao /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] ptxdist-1.0.0 question
Robert Schwebel ha scritto: > Stefano, > > Please use the mailing list for community questions. > > On Tue, Jan 29, 2008 at 03:26:10PM +0100, [EMAIL PROTECTED] > wrote: >> Now we are working with ptxdist 1.0.0 and related project. We are >> working with a XUbuntu host and a toolchain from CodeSourcery. > > Shouldn't be a problem. > >> During the building of busybox we find the error: >> >> trylink:5: function: not found >> >> Any suggestion? > > Can you send us more details, e.g. the context of the error message? > Stefano, please change bash script in .../build-target/busybox-1.4.2/scripts/trylink #!/bin/bash # was #!/bin/sh Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini | KOAN SAS | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com Meet us @ Embedded World 2008 - Nurenberg February 26-28, 2008 Hall 11 - 224 -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Working on a ptxdist subpackage
>> For example when I modify DirectFB-1.1.1 I have to wait gtk and xorg >> rebuild. > > If you modify directfb, packages depending on it will be rebuilt. If you > have a good idea how to avoid that, send a patch. If I simply add a couple of printf or a modification which doesn't involve dependent packages, there is no reason to rebuild everything. My idea is to add a command that allows to work on a sinle package. Do you think it could be possible ? P.S. About your final remarks I have a different point of view, but this is another story... ;-) -- Marco Cavallini | KOAN SAS | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Working on a ptxdist subpackage
Robert Schwebel ha scritto: > On Sat, Jan 19, 2008 at 02:30:08PM +0100, Marco Cavallini wrote: >> I'm trying to modify a ptxdist subpackage DirectFB-1.1.1 adding new >> features. >> >> I'm quite confused about how to you (ptxdist gurus) proceed in a case >> like this (working on a ptxdist subpackage). > > Well, PTXdist has some nice features that support you in doing > modifications. Unfortunately these features are not easy to find. The main issue is how to rebuild *only* the packahe I modified without wasting time redoing ptxdist go. For example when I modify DirectFB-1.1.1 I have to wait gtk and xorg rebuild. >> Once I built the first time I get the packages into root, at this point >> I tested it and discovered that I need to do a modification to sources. >> After I have done my modifications in the following file for example >> myprojects/build-host/DirectFB-1.1.1/systems/fbdev/fbdev.c > > How do you do your modifications? PTXdist applies patch series with > quilt if you have quilt installed on your system (if not, it falls back > to patch + scripting). I never used quilt since now. I tried modifying directly in build-host/DirectFB-1.1.1 > If you have quilt and if you already have something in > patches/$packet/generic, you can simply go into build-target/$packet and > open up a new patch with > > quilt new fixme.diff > > Then edit your sources with 'quilt edit bla/blub/source.c'. If you are > satisfied, run 'quilt refresh --diffstat' to update the patch. Then go > back to the workspace and run 'ptxdist drop $packet.compile' and > 'ptxdist compile $packet'. So I always have to generate a patch using quilt although it is a simple test just to see what happens? Looks like an overhead you could avoid, doesn't it ? BTW I'm going to try to proceed in the way you said. > If you have done everything up to a point where you are satisfied, you > have all your changes in fixme.diff. Now split it up to where it > belongs, document it with canonical patch format and send it upstream > :-) Of course Thank you -- Marco Cavallini | KOAN SAS | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] Working on a ptxdist subpackage
Hi, I'm trying to modify a ptxdist subpackage DirectFB-1.1.1 adding new features. I'm quite confused about how to you (ptxdist gurus) proceed in a case like this (working on a ptxdist subpackage). Once I built the first time I get the packages into root, at this point I tested it and discovered that I need to do a modification to sources. After I have done my modifications in the following file for example myprojects/build-host/DirectFB-1.1.1/systems/fbdev/fbdev.c I do $ ptxdist compile directfb make: Nothing to be done for `directfb_compile' So I tried deleting the blocking condition $ rm state/directfb.compile And rebuild $ ptxdist go (maybe ptxdist compile directfb would be enough here) I get annoying errors: ... test -z "/usr/lib" || /bin/mkdir -p "/home/koan/ptxdist/myprojects/armtestprj1990/local/sysroot/arm-linux/usr/lib" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libfusion.la' '/home/koan/ptxdist/myprojects/armtestprj1990/local/sysroot/arm-linux/usr/lib/libfusion.la' libtool: install: error: cannot install `libfusion.la' to a directory not ending in /home/koan/ptxdist/myprojects/armtestprj1990/local/packages/arm-linux/DirectFB-1.1.1/usr/lib make[5]: *** [install-libLTLIBRARIES] Error 1 So I'm forced to perform a complete rebuild $ ptxdist clean directfb But in this way I lose my modifications :-( Actually I stop ptxdist just after directfb.compile appears, redo my modifications and restart ptxdist go. I bet you have a easier and less boring method to do modifications to subpackages and testing them. Could you share these informations with me and the ML enlighting us? TIA /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] DirectFB-1.1.1
Please do not send base64 encoded messages. Please make sure your mailer doesn't break patch by wrapping lines (try to send it yourself first). Please make sure patch is indeed properly verified, see bellow. Now is working on my target although I'm using RGB24 and is still not supported in latest version. Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini | KOAN SAS | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com --- rules-old/directfb.make 2002-03-27 14:25:00.0 +0100 +++ rules/directfb.make 2008-01-16 19:49:23.0 +0100 @@ -8,6 +8,8 @@ # For further information about the PTXdist project and license conditions # see the README file. # +# Copyright (C) 2008 by Marco Cavallini <[EMAIL PROTECTED]> +# Added DirectFB-1.1.1 support # # We provide this package @@ -17,7 +19,7 @@ # # Paths and names # -DIRECTFB_VERSION := 1.0.1 +DIRECTFB_VERSION := 1.1.1 DIRECTFB := DirectFB-$(DIRECTFB_VERSION) DIRECTFB_SUFFIX := tar.gz DIRECTFB_URL := http://www.directfb.org/downloads/Core/$(DIRECTFB).$(DIRECTFB_SUFFIX) @@ -102,10 +104,10 @@ ifdef PTXCONF_DIRECTFB_DEBUG DIRECTFB_AUTOCONF += --enable-debug -MODULE_DIRECTORY = /usr/lib/directfb-1.0-0 +MODULE_DIRECTORY = /usr/lib/directfb-1.1-0 else DIRECTFB_AUTOCONF += --disable-debug-support -MODULE_DIRECTORY = /usr/lib/directfb-1.0-0-pure +MODULE_DIRECTORY = /usr/lib/directfb-1.1-0-pure endif ifdef PTXCONF_DIRECTFB_TRACE @@ -197,22 +199,22 @@ /usr/bin/dfbinfo) @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/src/.libs/libdirectfb-1.0.so.0.1.0, \ - /usr/lib/libdirectfb-1.0.so.0.1.0) - @$(call install_link, directfb, libdirectfb-1.0.so.0.1.0, /usr/lib/libdirectfb-1.0.so.0) - @$(call install_link, directfb, libdirectfb-1.0.so.0.1.0, /usr/lib/libdirectfb.so) - - @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/lib/fusion/.libs/libfusion-1.0.so.0.1.0, \ - /usr/lib/libfusion-1.0.so.0.1.0) - @$(call install_link, directfb, libfusion-1.0.so.0.1.0, /usr/lib/libfusion-1.0.so.0) - @$(call install_link, directfb, libfusion-1.0.so.0.1.0, /usr/lib/libfusion.so) - - @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/lib/direct/.libs/libdirect-1.0.so.0.1.0, \ - /usr/lib/libdirect-1.0.so.0.1.0) - @$(call install_link, directfb, libdirect-1.0.so.0.1.0, /usr/lib/libdirect-1.0.so.0) - @$(call install_link, directfb, libdirect-1.0.so.0.1.0, /usr/lib/libdirect.so) + $(DIRECTFB_DIR)/src/.libs/libdirectfb-1.1.so.0.1.0, \ + /usr/lib/libdirectfb-1.1.so.0.1.0) + @$(call install_link, directfb, libdirectfb-1.1.so.0.1.0, /usr/lib/libdirectfb-1.1.so.0) + @$(call install_link, directfb, libdirectfb-1.1.so.0.1.0, /usr/lib/libdirectfb.so) + + @$(call install_copy, directfb, 0, 0, 0644, \ + $(DIRECTFB_DIR)/lib/fusion/.libs/libfusion-1.1.so.0.1.0, \ + /usr/lib/libfusion-1.1.so.0.1.0) + @$(call install_link, directfb, libfusion-1.1.so.0.1.0, /usr/lib/libfusion-1.1.so.0) + @$(call install_link, directfb, libfusion-1.1.so.0.1.0, /usr/lib/libfusion.so) + + @$(call install_copy, directfb, 0, 0, 0644, \ + $(DIRECTFB_DIR)/lib/direct/.libs/libdirect-1.1.so.0.1.0, \ + /usr/lib/libdirect-1.1.so.0.1.0) + @$(call install_link, directfb, libdirect-1.1.so.0.1.0, /usr/lib/libdirect-1.1.so.0) + @$(call install_link, directfb, libdirect-1.1.so.0.1.0, /usr/lib/libdirect.so) @$(call install_copy, directfb, 0, 0, 0644, \ -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] DirectFB-1.1.1
Ladislav Michl ha scritto: > It looks like reverted patch, should we use -r to apply? > Also, are you sure patches/DirectFB-1.0.1/generic/fix-PAGE_SIZE.diff > is no longer needed? Yes I confirm it is no longer needed, because has been included in the new version. Follows the new patch properly verified. --- rules-old/directfb.make 2002-03-27 14:25:00.0 +0100 +++ rules/directfb.make 2008-01-16 16:48:13.0 +0100 @@ -8,6 +8,8 @@ # For further information about the PTXdist project and license conditions # see the README file. # +# Copyright (C) 2008 by Marco Cavallini <[EMAIL PROTECTED]> +# Added DirectFB-1.1.1 support # # We provide this package @@ -17,7 +19,7 @@ # # Paths and names # -DIRECTFB_VERSION := 1.0.1 +DIRECTFB_VERSION := 1.1.1 DIRECTFB := DirectFB-$(DIRECTFB_VERSION) DIRECTFB_SUFFIX:= tar.gz DIRECTFB_URL := http://www.directfb.org/downloads/Core/$(DIRECTFB).$(DIRECTFB_SUFFIX) @@ -197,22 +199,22 @@ /usr/bin/dfbinfo) @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/src/.libs/libdirectfb-1.0.so.0.1.0, \ + $(DIRECTFB_DIR)/src/.libs/libdirectfb-1.1.so.0.1.0, \ /usr/lib/libdirectfb-1.0.so.0.1.0) - @$(call install_link, directfb, libdirectfb-1.0.so.0.1.0, /usr/lib/libdirectfb-1.0.so.0) - @$(call install_link, directfb, libdirectfb-1.0.so.0.1.0, /usr/lib/libdirectfb.so) + @$(call install_link, directfb, libdirectfb-1.1.so.0.1.0, /usr/lib/libdirectfb-1.1.so.0) + @$(call install_link, directfb, libdirectfb-1.1.so.0.1.0, /usr/lib/libdirectfb.so) @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/lib/fusion/.libs/libfusion-1.0.so.0.1.0, \ - /usr/lib/libfusion-1.0.so.0.1.0) - @$(call install_link, directfb, libfusion-1.0.so.0.1.0, /usr/lib/libfusion-1.0.so.0) - @$(call install_link, directfb, libfusion-1.0.so.0.1.0, /usr/lib/libfusion.so) + $(DIRECTFB_DIR)/lib/fusion/.libs/libfusion-1.1.so.0.1.0, \ + /usr/lib/libfusion-1.1.so.0.1.0) + @$(call install_link, directfb, libfusion-1.1.so.0.1.0, /usr/lib/libfusion-1.1.so.0) + @$(call install_link, directfb, libfusion-1.1.so.0.1.0, /usr/lib/libfusion.so) @$(call install_copy, directfb, 0, 0, 0644, \ - $(DIRECTFB_DIR)/lib/direct/.libs/libdirect-1.0.so.0.1.0, \ - /usr/lib/libdirect-1.0.so.0.1.0) - @$(call install_link, directfb, libdirect-1.0.so.0.1.0, /usr/lib/libdirect-1.0.so.0) - @$(call install_link, directfb, libdirect-1.0.so.0.1.0, /usr/lib/libdirect.so) + $(DIRECTFB_DIR)/lib/direct/.libs/libdirect-1.1.so.0.1.0, \ + /usr/lib/libdirect-1.1.so.0.1.0) + @$(call install_link, directfb, libdirect-1.1.so.0.1.0, /usr/lib/libdirect-1.1.so.0) + @$(call install_link, directfb, libdirect-1.1.so.0.1.0, /usr/lib/libdirect.so) @$(call install_copy, directfb, 0, 0, 0644, \ Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini | KOAN SAS | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com ___ | Meet us @ Embedded World 2008 - Nurenberg | | February 26-28, 2008 Hall 11 - 224 | ___ -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] DirectFB-1.1.1
Ladislav Michl ha scritto: >> --- rules/directfb.make 2008-01-16 12:03:41.0 +0100 >> +++ rules-old/directfb.make 2008-01-16 12:03:33.0 +0100 > > It looks like reverted patch, should we use -r to apply? > Also, are you sure patches/DirectFB-1.0.1/generic/fix-PAGE_SIZE.diff > is no longer needed? > >> @@ -17,7 +17,7 @@ >> # >> # Paths and names >> # >> -DIRECTFB_VERSION := 1.1.1 >> +DIRECTFB_VERSION := 1.0.1 >> DIRECTFB := DirectFB-$(DIRECTFB_VERSION) >> DIRECTFB_SUFFIX:= tar.gz >> DIRECTFB_URL := > > Best regards, > ladis > You're right, thank you. I did some other errors too... still working on a clean patch. /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] DirectFB-1.1.1
Signed-off-by: Marco Cavallini <[EMAIL PROTECTED]> Description : DirectFB-1.1.1 patch for latest 1.99.svn --- rules/directfb.make 2008-01-16 12:03:41.0 +0100 +++ rules-old/directfb.make 2008-01-16 12:03:33.0 +0100 @@ -17,7 +17,7 @@ # # Paths and names # -DIRECTFB_VERSION := 1.1.1 +DIRECTFB_VERSION := 1.0.1 DIRECTFB := DirectFB-$(DIRECTFB_VERSION) DIRECTFB_SUFFIX:= tar.gz DIRECTFB_URL := http://www.directfb.org/downloads/Core/$(DIRECTFB).$(DIRECTFB_SUFFIX) Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel.: (+39) 035-255.235 Fax : (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com ___ | Meet us @ Embedded World 2008 - Nurenberg | | February 26-28, 2008 Hall 11 - 224 | ___ -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [patch] pekwm new url
>> pekwm new url >> patch for latest 1.99.svn > > Thanks, applied. Please post patches inline, not as attachments. This > makes it easier to review. please tell me when you commited it ciao -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [patch] pekwm new url
Robert Schwebel ha scritto: > On Thu, Dec 13, 2007 at 03:16:07PM +0100, Marco Cavallini wrote: >> pekwm new url >> patch for latest 1.99.svn > > Thanks, applied. Please post patches inline, not as attachments. This > makes it easier to review. > > Robert > > PS: This earns you at maximum 0.5 points on the ptxdist patch-o-meter. > A full point will only be given for patches which have not been > inspired by BET-frogger[DO]. LOL no problem I don't need to gain points thanks ;-) ciao /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [patch] pekwm new url
pekwm new url patch for latest 1.99.svn Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering http://www.KoanSoftware.com - http://www.KaeilOS.com --- rules/pekwm.make 2007-12-06 09:26:34.0 +0100 +++ rules-old/pekwm.make 2007-12-13 15:05:53.0 +0100 @@ -17,10 +17,11 @@ # # Paths and names # + PEKWM_VERSION := 0.1.4 PEKWM := pekwm-$(PEKWM_VERSION) PEKWM_SUFFIX := tar.bz2 -PEKWM_URL := http://pekwm.org/files/$(PEKWM).$(PEKWM_SUFFIX) +PEKWM_URL := http://www.sourcefiles.org/Window_Managers/$(PEKWM).$(PEKWM_SUFFIX) PEKWM_SOURCE := $(SRCDIR)/$(PEKWM).$(PEKWM_SUFFIX) PEKWM_DIR := $(BUILDDIR)/$(PEKWM) -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Build error with ptx-1.99.svn and GTK
Gary Thomas ha scritto: > Robert Schwebel wrote: >> On Fri, Dec 07, 2007 at 11:49:00PM +0100, Marco Cavallini wrote: >>> Hello I get the following error building xorg+GTK stuff with the >>> latest ptx. > ./.libs/libxml2.so: undefined reference to `libiconv_open' > ./.libs/libxml2.so: undefined reference to `libiconv_close' > ./.libs/libxml2.so: undefined reference to `libiconv' > collect2: ld returned 1 exit status > make[3]: *** [xmllint] Error 1 > make[3]: *** Waiting for unfinished jobs > make[3]: Leaving directory > `/home/koan/ptxdist/myprojects/armtestprj1990/build-target/libxml2-2.6.27' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory >>> Does anybody already tried doing that? >>> Are the following ICONV settings enough? >>> >>> Any hint will be appreciated. >> >> Please send me your ptxconfig off-list. > > I've struggled with this as well. Once you have it worked out, can you > publish the results as an example? > Hi, BTW if I go into build-target/libxml2-2.6.26 directory and I try to build with host system (./configure && make) it works! Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel.: (+39) 035-255.235 Fax : (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] Build error with ptx-1.99.svn and GTK
Hello I get the following error building xorg+GTK stuff with the latest ptx. Does anybody already tried doing that? Are the following ICONV settings enough? Any hint will be appreciated. $ grep ICONV ptxconfig PTXCONF_HOST_LIBXML2_ICONV=y PTXCONF_HOST_LIBICONV=y # PTXCONF_HOST_LIBICONV_EXTRA_ENCODINGS is not set PTXCONF_LIBICONV=y # PTXCONF_LIBICONV_EXTRA_ENCODINGS is not set PTXCONF_LIBXML2_ICONV=y PTXCONF_GLIB_LIBICONV_GNU=y # PTXCONF_GLIB_LIBICONV_NATIVE is not set ./.libs/libxml2.so: undefined reference to `libiconv_open' ./.libs/libxml2.so: undefined reference to `libiconv_close' ./.libs/libxml2.so: undefined reference to `libiconv' collect2: ld returned 1 exit status make[3]: *** [xmllint] Error 1 make[3]: *** Waiting for unfinished jobs make[3]: Leaving directory `/home/koan/ptxdist/myprojects/armtestprj1990/build-target/libxml2-2.6.27' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/koan/ptxdist/myprojects/armtestprj1990/build-target/libxml2-2.6.27' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/koan/ptxdist/myprojects/armtestprj1990/build-target/libxml2-2.6.27' make: *** [/home/koan/ptxdist/myprojects/armtestprj1990/state/libxml2.compile] Error 2 error: a command in the pipe returned 2, bailing out Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia -- Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel.: (+39) 035-255.235 Fax : (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com Informativa D.Lgs 196/2003 (Privacy) http://www.koansoftware.com/it/prf_privacy.htm -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] building xorg with ptx-1.99.0
Robert Schwebel ha scritto: > On Tue, Nov 20, 2007 at 08:16:24PM +0100, Marco Cavallini wrote: >> thank you for answering. >> >> Do you mean that nobody has successfully built xorg since now ? > > 1.99.0 has xorg 7.3 and yes, it is still work in progress. > > Robert ack But I faced to the same problem with 1.0.1 so the answer is which ptx version does successfully build xorg ? /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] building xorg with ptx-1.99.0
Robert Schwebel ha scritto: > > Have a look at the .in file - an important "select" statement was > commented out. > > The problem is that with that select the kconfig tree becomes very > large, leading to ptxdist startup times which are not really acceptable. > > We didn't find a solution yet - patches are welcome. Someone probably > has to spend some time profiling/benchmarking kconfig's search > algorighms. Hi Robert, thank you for answering. Do you mean that nobody has successfully built xorg since now ? Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] building xorg with ptx-1.99.0
Hi, I'm trying to build xorg with ptx-1.99.0 but I face to the following error. Does anybody could share his/her valid ptxconfig file so I can learn which missing options are defintely required by xorg ? TIA - target: host-xorg-lib-x11.prepare - .snip. checking if /usr/bin/cpp requires -undef... yes checking if /usr/bin/cpp requires -traditional... yes checking whether to use XCB... (cached) yes checking for pkg-config... /home/koan/ptxdist/myprojects/armtestprj/local-host/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XPROTO... yes checking for X11... configure: error: Package requirements (xextproto xtrans xcb-xlib >= 0.9.92) were not met: No package 'xcb-xlib' found Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- /marco -- Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel.: (+39) 035-255.235 Fax : (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com Informativa D.Lgs 196/2003 (Privacy) http://www.koansoftware.com/it/prf_privacy.htm -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] PTXdist-1.0.1 toolchain building
Robert Schwebel ha scritto: > On Sat, Oct 20, 2007 at 06:39:46PM +0200, Marco Cavallini [KOAN] wrote: >> I have been trying to use OSELAS.Toolchain-1.1.0 with PTXdist-1.0.1 >> unsuccessfully. I wonder if you could use this latest version to >> build some toolchain or at least give me some hints about how to >> proceed. > > We've tested the toolchain stack and it's next resease will work with > 1.0.0 and 1.0.1. However, the release is not out yet, so you'll have to > wait until then or live with the trunk. Do you mean that current svn trunk is able to build toolchains ? /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] PTXdist-1.0.1 toolchain building
Hi, I have been trying to use OSELAS.Toolchain-1.1.0 with PTXdist-1.0.1 unsuccessfully. I wonder if you could use this latest version to build some toolchain or at least give me some hints about how to proceed. BTW what ARM toolchain are you using ? Is it created with PTX or maybe are you using latest ELDK ? Thank you very much Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [ANNOUNCE] ptxdist-1.0.1 released
> Great job thank you ! > > BTW maybe you forgot ptxdist-1.0.1-projects.tgz > http://www.pengutronix.de/news/index_en.html#2007-10-19 using 1.0.0 works the same FYI: Issues still open Using ubuntu I have to change bash script in /myprojects/armtestprj/build-target/busybox-1.4.2/scripts/trylink #!/bin/bash # was #!/bin/sh and removed call install in /ptx/lib/ptxdist-1.svn/rules/hotplug.make Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [ANNOUNCE] ptxdist-1.0.1 released
Robert Schwebel ha scritto: > Hildesheim, Germany - Pengutronix has released version 1.0.1 of the > userland build system PTXdist for embedded systems. PTXdist is one of > the major technology components of Pengutronix' professional Open Source > Embedded Linux Automation Services (OSELAS - http://www.oselas.com). > > This revision is the first maintenance release in the current stable > series; all releases in the 1.0.x series are bugfix-only. New features > will be added to the next release in the 1.1.x series. > Great job thank you ! BTW maybe you forgot ptxdist-1.0.1-projects.tgz http://www.pengutronix.de/news/index_en.html#2007-10-19 Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [sed] added sed package
Robert Schwebel ha scritto: >> I added sed to the latest ptxdist-trunk and I hope that always will be >> fine, otherwise please let me know what is wrong :-) > > You shouldn't copy an old file and modify it; please use > > ptxdist newpacket target > > in your rules/ directory if you want to create a new make file. > Sorry, that part of documentation seems not updated. BTW I'm unble to guess what happen after I did ptxdist newpacket target Have I to call this command into my project/rules or into PTX installation directory/rules ? In which way is mypackage.make called after that ? TIA /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
>> for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \ >> /usr/bin/install -c $F >> /home/koan/ptxdist/myprojects/armtestprj/local/arm-linux/etc/hotplug ; \ >> done >> /usr/bin/install: cannot stat >> `etc/hotplug/{*.{agent,rc},hotplug.functions}': No such file or directory > > Maybe your shell cannot cope with that brace expansion constructs. What > does > > $ echo foo{bar,baz} > > say on your shell? $ echo foo{bar,baz} foobar foobaz /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [sed] added sed package
Hello, I added sed to the latest ptxdist-trunk and I hope that always will be fine, otherwise please let me know what is wrong :-) Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel.: (+39) 035-255.235 - (+39) 035-26.50.472 Fax : (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com Index: rules/Kconfig === --- rules/Kconfig (revisione 7351) +++ rules/Kconfig (copia locale) @@ -69,6 +69,7 @@ source "rules/pdksh.in" source "rules/procps.in" source "rules/screen.in" +source "rules/sed.in" source "rules/setserial.in" source "rules/sudo.in" source "rules/sysfsutils.in" Index: rules/sed.in === --- rules/sed.in (revisione 0) +++ rules/sed.in (revisione 0) @@ -0,0 +1,8 @@ +menuconfig SED + bool "sed" + help + sed reads the specified files or the standard input if no + files are specified, makes editing changes according to a + list of commands, and writes the results to the standard + output. + Index: rules/sed.make === --- rules/sed.make (revisione 0) +++ rules/sed.make (revisione 0) @@ -0,0 +1,133 @@ +# -*-makefile-*- +# $Id: sed.make $ +# +# Copyright (C) 2007 by KOAN sas, by Marco Cavallini <[EMAIL PROTECTED]> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# +# http://ftp.belnet.be/mirror/ftp.gnu.org/gnu/sed/sed-4.1.5.tar.gz + + +# +# We provide this package +# +PACKAGES-$(PTXCONF_SED) += sed + +# +# Paths and names +# +SED_VERSION = 4.1.5 +SED = sed-$(SED_VERSION) +SED_SUFFIX = tar.gz +SED_URL = $(PTXCONF_SETUP_GNUMIRROR)/sed/$(SED).$(SED_SUFFIX) +SED_SOURCE = $(SRCDIR)/$(SED).$(SED_SUFFIX) +SED_DIR = $(BUILDDIR)/$(SED) + + +# +# Get +# + +sed_get: $(STATEDIR)/sed.get + +$(STATEDIR)/sed.get: $(sed_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(SED_SOURCE): + @$(call targetinfo, $@) + @$(call get, SED) + +# +# Extract +# + +sed_extract: $(STATEDIR)/sed.extract + +$(STATEDIR)/sed.extract: $(sed_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(SED_DIR)) + @$(call extract, SED) + @$(call patchin, SED) + @$(call touch, $@) + +# +# Prepare +# + +sed_prepare: $(STATEDIR)/sed.prepare + +SED_PATH = PATH=$(CROSS_PATH) +SED_ENV = $(CROSS_ENV) + +# +# autoconf +# +SED_AUTOCONF = $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/sed.prepare: $(sed_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(SED_DIR)/config.cache) + cd $(SED_DIR) && \ + $(SED_PATH) $(SED_ENV) \ + ./configure $(SED_AUTOCONF) + @$(call touch, $@) + +# +# Compile +# + +sed_compile: $(STATEDIR)/sed.compile + +$(STATEDIR)/sed.compile: $(sed_compile_deps_default) + @$(call targetinfo, $@) + cd $(SED_DIR) && $(SED_ENV) $(SED_PATH) make $(SED_MAKEVARS) + @$(call touch, $@) + +# +# Install +# + +sed_install: $(STATEDIR)/sed.install + +$(STATEDIR)/sed.install: $(sed_install_deps_default) + @$(call targetinfo, $@) + @$(call install, SED) + @$(call touch, $@) + +# +# Target-Install +# + +sed_targetinstall: $(STATEDIR)/sed.targetinstall + +$(STATEDIR)/sed.targetinstall: $(sed_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, sed) + @$(call install_fixup, sed,PACKAGE,sed) + @$(call install_fixup, sed,PRIORITY,optional) + @$(call install_fixup, sed,VERSION,$(SED_VERSION)) + @$(call install_fixup, sed,SECTION,base) + @$(call install_fixup, sed,AUTHOR,"Marco Cavallini <[EMAIL PROTECTED]>") + @$(call install_fixup, sed,DEPENDS,) + @$(call install_fixup, sed,DESCRIPTION,missing) + + @$(call install_copy, sed, 0, 0, 0755, $(SED_DIR)/sed/sed, /usr/bin/sed) + + @$(call install_finish,
Re: [ptxdist] Testing ptxdist-1.0.0
Robert Schwebel ha scritto: > Please export LANG=C. My Italian is much worse than your German :) We > maybe should put that somehow into PTXdist, in order to get more > readable bug reports. $ export LANG=C $ ptxdist go touch depend.out --- target: hotplug.install --- make[1]: Entering directory `/home/koan/ptxdist/myprojects/armtestprj/build-target/hotplug-2004_03_29' /usr/bin/install -c -D sbin/hotplug /home/koan/ptxdist/myprojects/armtestprj/local/arm-linux/sbin/hotplug /usr/bin/install -c -d /home/koan/ptxdist/myprojects/armtestprj/local/arm-linux/etc/hotplug/{usb,pci} /usr/bin/install -c -D etc/hotplug.d/default/default.hotplug /home/koan/ptxdist/myprojects/armtestprj/local/arm-linux/etc/hotplug.d/default/default.hotplug for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \ /usr/bin/install -c $F /home/koan/ptxdist/myprojects/armtestprj/local/arm-linux/etc/hotplug ; \ done /usr/bin/install: cannot stat `etc/hotplug/{*.{agent,rc},hotplug.functions}': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/koan/ptxdist/myprojects/armtestprj/build-target/hotplug-2004_03_29' error: a command in the pipe returned 2, bailing out make: *** [/home/koan/ptxdist/myprojects/armtestprj/state/hotplug.install] Error 2 error: a command in the pipe returned 2, bailing out > > Looks like you don't have /usr/bin/install - what does "type install" > say? configure.ac has a test for it, but maybe ubuntu has it in another > location than /usr/bin. > > A workaround is to make a soft link to that location. $ type install install is /usr/bin/install any hint ? ciao /marco -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] initial setup with ptx svn-trunk
Hi I downloaded the lastesd ptx version from cvs svn co https://iocaste.extern.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk/ --username guest then I followed README: "For developers who want to work with svn versions of PTXdist it is only necessary to run "./configure && make" and set the PATH variable to the bin/ directory inside the PTXdist tree." but configure file was missed so i did autoconf is it correct ? otherwise where do I start from ? TIA Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen -- Marco Cavallini -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
Robert Schwebel ha scritto: > Hmm, difficult to reproduce without having access to the build. Maybe a > busybox bug which triggers on ubuntu? Try adding 'set +x' to the trylink > script to debug the issue. I don't understand where to put 'set +x' however I solved by now using bash #!/bin/bash debug=false function try { added="$1" shift $debug && echo "Trying: $* $added" "$@" $added >/dev/null 2>&1 \ && exit 0 } try "" "$@" try "-lm" "$@" try "-lcrypt" "$@" try "-Wl,--start-group -lcrypt -lm -Wl,--end-group" "$@" # It failed. Rerun & let people see the error messages "$@" $added next error get up here: --- target: hotplug.install --- make[1]: Entering directory `/home/koan/ptxdist/progetti/testarm/build-target/hotplug-2004_03_29' /usr/bin/install -c -D sbin/hotplug /home/koan/ptxdist/progetti/testarm/local/arm-linux/sbin/hotplug /usr/bin/install -c -d /home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug/{usb,pci} /usr/bin/install -c -D etc/hotplug.d/default/default.hotplug /home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug.d/default/default.hotplug for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \ /usr/bin/install -c $F /home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug ; \ done /usr/bin/install: impossibile fare stat di `etc/hotplug/{*.{agent,rc},hotplug.functions}': Nessun file o directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/koan/ptxdist/progetti/testarm/build-target/hotplug-2004_03_29' error: a command in the pipe returned 2, bailing out make: *** [/home/koan/ptxdist/progetti/testarm/state/hotplug.install] Error 2 error: a command in the pipe returned 2, bailing out any hint ? TIA -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
after some succesful building I get an error AR util-linux/lib.a LINKbusybox_unstripped /home/koan/ptxdist/progetti/testarm/build-target/busybox-1.4.2/scripts/trylink: 5: function: not found /home/koan/ptxdist/progetti/testarm/build-target/busybox-1.4.2/scripts/trylink: 11: Syntax error: "}" unexpected make[1]: *** [busybox_unstripped] Error 2 make[1]: Leaving directory `/home/koan/ptxdist/progetti/testarm/build-target/busybox-1.4.2' make: *** [/home/koan/ptxdist/progetti/testarm/state/busybox.compile] Error 2 error: a command in the pipe returned 2, bailing out /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
Robert Schwebel ha scritto: >> --- >> target: host-pkg-config.extract >> --- >> >> extract: archive=~/ptxdist/sources/pkg-config-0.21.tar.gz >> extract: dest=/home/koan/ptxdist/progetti/testarm/build-host >> gzip: ~/ptxdist/sources/pkg-config-0.21.tar.gz: No such file or directory > > Looks like it forgot to download pkg-config. You can do that manually > and place it into that locastion. Nevertheless, in order to find your > problem, please send me your project off-list. source file is already downloaded, is the only step I did with ptx $ ls /home/koan/ptxdist/sources/pkg-config-0.21.tar.gz /home/koan/ptxdist/sources/pkg-config-0.21.tar.gz /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
Robert Schwebel ha scritto: > > Old style toolchains are obsolete. Use OSELAS.Toolchain (which, > unfortunately, isn't updated to 1.0.0 as well, so use either 0.10.6 to > build the toolchain, or change the ptxconfig to 1.0.0 - it works). > Let's suppose I already have a valid toolchain (arm-linux 3.4.1) and I want to start playing with ptx-1.0.0 I wonder if is possible to do something like building busybox for example. I didn't find a way to create a new project, seems that only cloning is supported. Is it right ? So I cloned again $ ptxdist clone OSELAS.BSP-Pengutronix-GenericArmGlibc-3 testarm then modified some options $ ptxdist menuconfig and finally launched build $ ptxdist go ptxdist go touch depend.out --- target: host-pkg-config.extract --- extract: archive=~/ptxdist/sources/pkg-config-0.21.tar.gz extract: dest=/home/koan/ptxdist/progetti/testarm/build-host gzip: ~/ptxdist/sources/pkg-config-0.21.tar.gz: No such file or directory error: a command in the pipe returned 1, bailing out make: *** [/home/koan/ptxdist/progetti/testarm/state/host-pkg-config.extract] Error 1 error: a command in the pipe returned 2, bailing out Sorry but I still don't understand how the new ptx works :-( /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
> ptxdisk 1.0 is ok on ubuntu, ptxdist 10.6 doesn't work right. > > To fix the locale error in 10.6 edit configure: > LOCALEDEF_VERSION=`$LOCALEDEF --version 2>/dev/null | $SED -ne > "s/.*bin. \([0-9\.]*\)/\1/p"` Thank you Jon now it works smoothly /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
>> have I to build toolchain with 0.10.6 and after that use 1.0.0 > > Yes, that works. Ok, I'm trying to use 0.10.6 ./configure --prefix=$HOME/ptxdist/ptx-0.10.6 ... checking for localedef... /usr/bin/localedef checking localedef version... configure: error: we need at least GNU localedef 2.2.x I'm using Ubuntu 7.04 $ /usr/bin/localedef -V localedef (belocs-locales-bin) 2.3.5 ptxdist-1.0.0 didn't get such error. /marco -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Testing ptxdist-1.0.0
>> $ ptxdist clone OSELAS.BSP-Pengutronix-GenericArmGlibc-3 toolchaintest >> $ cd toolchaintest/ >> $ ptxdist go > > Old style toolchains are obsolete. Use OSELAS.Toolchain (which, > unfortunately, isn't updated to 1.0.0 as well, so use either 0.10.6 to > build the toolchain, or change the ptxconfig to 1.0.0 - it works). > Hi Robert, thank you for answering. I ahven't understood, have I to build toolchain with 0.10.6 and after that use 1.0.0 or can I use 1.0.0 but in ths case what exactly do I have to do with ptxconfig file ? Anyway is not clear the meaning of the options in ptxdist menuconfig, do you have any document explaining them ? ciao -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel. ITA.: (+39) 035-26.50.472 - (+39) 035-255.235 Tel. U.K.: (+44) (0)131.60.60.120 Fax: (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] Testing ptxdist-1.0.0
Hello all at last I've found some time to test the latest ptxdist on my Ubuntu 7.04 laptop. I decided to use 1.0.0 is it ok ? stable ? Seems that OSELAS is still using older versions, maybe they are better ? I early faced to problems, and the explanation available in AppNotes_InstallingPtxdist.pdf seems not enough clear to solve the problem without annoying you with questions :-) In fact seems missed the steps I'm tring to do. Just for starting I'd like to rebuild my first toolchain: $ ptxdist clone OSELAS.BSP-Pengutronix-GenericArmGlibc-3 toolchaintest $ cd toolchaintest/ $ ptxdist go ptxdist: error: Cannot check toolchain vendor. If this is all right, ptxdist: error: leave 'check for specific toolchain vendor' empty! so $ ptxdist menuconfig and changed these options albeit I'm not sure what I have been doing () Check for specific toolchain vendor (3.4.1) Check for specific gcc version (arm-linux) GNU Target $ ptxdist go ptxdist go touch depend.out --- target: host-pkg-config.get --- Finished target host-pkg-config.get --- target: host-pkg-config.extract --- extract: archive=~/ptxdist/sources/pkg-config-0.21.tar.gz extract: dest=/home/koan/ptxdist/progetti/toolchaintest/build-host gzip: ~/ptxdist/sources/pkg-config-0.21.tar.gz: No such file or directory error: a command in the pipe returned 1, bailing out make: *** [/home/koan/ptxdist/progetti/toolchaintest/state/host-pkg-config.extract] Error 1 error: a command in the pipe returned 2, bailing out What I'm doing wrong ? Any hint will be greatly appreciated. BTW I've noticed that the AppNotes are Creative Commons licensed, is it right ? In that case is it possible to contribute adding the steps I'm doing now ? Best regards -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering Tel. ITA.: (+39) 035-26.50.472 - (+39) 035-255.235 Tel. U.K.: (+44) (0)131.60.60.120 Fax: (+39) 178-22.39.748 http://www.KoanSoftware.com - http://www.KaeilOS.com -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [ANNOUNCE] Several PTXdist Application Notes released
Juergen Beisert ha scritto: > Hildesheim, Germany - Pengutronix' department of meditation manuals has > released several applications notes about how to become a PTXdist guru. > > PTXdist is one of the major technology components of Pengutronix' professional > Open Source Embedded Linux Automation Services (OSELAS - > http://www.oselas.com). > > The application notes can be enjoyed at: > > http://www.pengutronix.de/software/ptxdist/appnotes_en.html Greatly appreciated, thank you :-) -- Marco Cavallini Koan s.a.s. - Bergamo - Italia Embedded and Real-Time Software Engineering - Atmel Third Party Consultant - Intel PCA Developer Network Member Tel. +39-(0)35-255.235 - Fax +39-178-223.9748 http://www.KoanSoftware.com - http://www.KaeilOS.com -- ptxdist mailing list ptxdist@pengutronix.de