Re: [ptxdist] opkg in ptxdist 2011.06.0 fails
Alexander Dahl wrote: On Tue, 14 Jun 2011 15:54:19 +0200, Juergen Beisert wrote: Known bug (hit me a few days before). Just enable also opkg for your target. This issue will be fixed in the next PTXdist release. How? It is a dependency issue. The host-opkg package depends on the target-opkg package. And if the target-opkg package is disabled the host-opkg will fail. You can solve it in your project with enabling the target-opkg. Or add patch 09d288e224d904d804b8cea7120b1f1ff083b5b4 from the ptxdist repository (here for reference): commit 09d288e224d904d804b8cea7120b1f1ff083b5b4 Author: Michael Olbrich m.olbr...@pengutronix.de Date: Fri Jun 10 13:55:26 2011 +0200 ptxd_lib_dgen: generate source rule for all packages this is necessary in case the only the host package is selected Signed-off-by: Michael Olbrich m.olbr...@pengutronix.de diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index e9e6f79..1c0093b 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -286,6 +286,11 @@ function import_PKG(this_PKG, this_pkg) { print this_PKG _DEVPKG = cross- this_devpkg DGEN_DEPS_PRE; } } + if ((this_PKG in PKG_source_url) !(this_PKG in PKG_source_rule)) { + print $( this_PKG _SOURCE): DGEN_DEPS_POST; + print @$(call targetinfo) DGEN_DEPS_POST; + print @$(call get, this_PKG ) DGEN_DEPS_POST; + } } END { @@ -315,11 +320,6 @@ END { print $(STATEDIR)/ this_pkg .targetinstall: $(STATEDIR)/ this_pkg .install.postDGEN_DEPS_POST; print $(STATEDIR)/ this_pkg .targetinstall.post: $(STATEDIR)/ this_pkg .targetinstall DGEN_DEPS_POST; } - if ((this_PKG in PKG_source_url) !(this_PKG in PKG_source_rule)) { - print $( this_PKG _SOURCE): DGEN_DEPS_POST; - print @$(call targetinfo) DGEN_DEPS_POST; - print @$(call get, this_PKG ) DGEN_DEPS_POST; - } # # conditional dependencies jbe -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 | Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917- | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] warning caused by systemd in rule
Hello, /usr/local/lib/ptxdist-2011.06.0/rules/systemd.in:5:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'ROOTFS_RUN' I guess it's safe to ignore, especially when not using systemd, but it comes each time I call `ptxdist go`. Is this already fixed in Git? I had a look but couldn't find a changeset solving this. That symbol should exist. Do you have a modified rootfs.in in your BSP? Actually this is case, I was not aware of this. As a first workaround I'll merge the changes from ptxdist to our changed files. Maybe there's another solution for some of the problems we try to solve with our own rule files but I leave this for another topic. Thanks for the hint and greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] opkg in ptxdist 2011.06.0 fails
Hello, On Wed, 15 Jun 2011 10:25:19 +0200, Juergen Beisert wrote: It is a dependency issue. The host-opkg package depends on the target-opkg package. And if the target-opkg package is disabled the host-opkg will fail. You can solve it in your project with enabling the target-opkg. Okay. I did this and it works well now. Thank you. :-) Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] Error when compiling with Linux Test Project package
Dear all, I'm using the latest stable version of PTXdist to build a system based on kernel version 2.6.33 and the Linux Test Project (LTP) package (under Test Suites). I've selected everything inside it. Right after '$ ptxdist go' the response is: warning: (LTP_BALLISTA LTP BROKEN || LTP_COMMANDS LTP || LTP_DOTS LTP BROKEN || LTP_HPI LTP BROKEN || LTP_KDUMP LTP BROKEN || LTP_KERNEL LTP || LTP_MISC LTP || LTP_NETWORK LTP || LTP_POSIX LTP || LTP_POUNDER21 LTP BROKEN || LTP_REALTIME LTP) selects LTP_BASE which has unmet direct dependencies (LTP BROKEN) warning: (LTP_BALLISTA LTP BROKEN || LTP_COMMANDS LTP || LTP_DOTS LTP BROKEN || LTP_HPI LTP BROKEN || LTP_KDUMP LTP BROKEN || LTP_KERNEL LTP || LTP_MISC LTP || LTP_NETWORK LTP || LTP_POSIX LTP || LTP_POUNDER21 LTP BROKEN || LTP_REALTIME LTP) selects LTP_BASE which has unmet direct dependencies (LTP BROKEN) (PTXCONF_BROKEN is not set in my project). And it starts to compile until this point: Error: file not found: bin/hugeshmctl01 Error: install_file failed! failed make: *** [(...)/platform-logic-omapl138/state/ltp_base.targetinstall] Error 1 Any help is appreciated, Leandro Favarin -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Error when compiling with Linux Test Project package
Hi, On Wed, Jun 15, 2011 at 12:35:22PM -0300, Leandro Favarin wrote: I'm using the latest stable version of PTXdist ... which is 2011.06.0? to build a system based on kernel version 2.6.33 Any reason why you are using such an old kernel? and the Linux Test Project (LTP) package (under Test Suites). I've selected everything inside it. Right after '$ ptxdist go' the response is: If you are already using the latest version, please send me your ptxconfig file (offlist). rsc -- 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