Pengutronix

  • About Pengutronix
  • Events
  • News / Press
  • Contact & Imprint

Embedded Linux

  • Consulting
  • Training
  • Development

Community

  • Mailing Lists
  • Open Source Projects
  • Debian Packages
  • www.ptxdist.org
  • www.send-patches.org
lang:en   [IPv4/6]   lang:de


PTXdist 0.10.6 - Known Issues

Issue Some 0.10.5 packages are now marked as broken Description In our latest tests for the 0.10.6 release they fail, but they may still work in ancient projects Solution Activate them again. To do so, start the menu configurator, navigate to PTXdist Config, Architecture, check the Support experimental Stuff and also check Support packets known to be broken. The packages now will occure in the menus again.

Issue Building a uRamDisk fails Description Building a uRamDisk fails with:
[...]/local/bin/u-boot-mkimage: No such file or directory
due to a wrong path given
Solution Apply this patch to your PTXdist-0.10.6 installation:
Modified: rules/other/Toplevel.make
===================================================================
--- rules/other/Toplevel.make
+++ rules/other/Toplevel.make
@@ -305,7 +305,7 @@
        cat $(IMAGEDIR)/root.ext2 | gzip -v9> $(IMAGEDIR)/root.ext2.gz
 endif
 ifdef PTXCONF_IMAGE_UIMAGE
-       $(PTXCONF_PREFIX)/bin/u-boot-mkimage \
+       PATH=$(CROSS_PATH) mkimage \
                -A $(PTXCONF_ARCH) \
                -O Linux \
                -T ramdisk \

Issue After installing PTXdist does not know any generic project Description The ptxdist-0.10.6-projects.tgz includes a bad path, so the generic projects are not inflated into the correct subpath Solution After unpacking the three archives change into the new directory and move all generic OSELAS* projects to the projects/ folder and then continue with the installation steps:
$ cd ptxdist-0.10.6
$ mv OSELAS* projects/
$ configure && make && make install

Issue The generic i586 project shipped with ptxdist-0.10.6 is still a ptxdist-0.10.5 project Description Configuration file states a 0.10.5 project, and ptxdist-0.10.6 refuses to configure or build this project Solution A quick hack is to open project's ptxconfig file and to replace the 0.10.5 string in line 23 with 0.10.6. After this run ptxdist menuconfig to update the project correctly to ptxdist-0.10.6 (do not forget to save the new configuration!)

Issue PTXdist complains in a project it is unable to check the toolchain vendor Description Most of the new BSPs are configured to check the toolchain vendor before doing any action. But if there is no toolchain defined it cannot check for it. The message is confusing. Solution Before doing anything in the project define the toolchain to be used in this project. Run the command ptxdist toolchain </path/to/toolchain/bin>.

Issue Building rootfs image fails to setup correct UID/GID for the files Description The tool fakeroot fails on host systems with at least glibc 2.5 Solution In ptxdist-trunk is a new fakeroot patch available. Copy trunks rules/host-fakeroot.make file to your project's rules/ directory, and also trunk's patches/fakeroot-1.5.10 directory to your project's patches/ directory.
You will need this local patch for ptxdist releases below 0.10.7 (coming soon) only.

Issue The zlib rule file creates a wrong shared library name on target's root filesystem Description The rule files uses version number 0.0.0. instead of 1.2.3 and also libz.so.0 instead of libz.so.1. This will break applications linked with ptxdist-0.10.5 as ptxdist-0.10.5's rule file creates correct library names. Solution This issue occurres if you mix applications from different ptxdist releases (for example when updating the target in a packet based manner).
Building everything from ptxdist-0.10.6 release does not hurt, because the libz filenames match correctly, but the problem still exists in the future!
There is currently no patch available.

Issue PTXdist somehow creates directory names with {} around them Description It happens in the presence of bash release 3.2 and newer Solution Apply this patch to your PTXdist-0.10.6 installation:
Index: bin/ptxdist
===================================================================
--- bin/ptxdist
+++ bin/ptxdist
@@ -299,7 +299,7 @@

 	rm ${testfile}

-	mkdir -p ${prefix}/{{lib,{,s}bin,include,{,share/}man/man{1,2,3,4,5,6,7,8,9}}}
+	mkdir -p ${prefix}/{lib,{,s}bin,include,{,share/}man/man{1,2,3,4,5,6,7,8,9}}
 }

Issue Some packets fail to build due to curious search pathes Description Host's PKG_CONFIG_PATH environment variable leaks into the build system Solution Before you run any PTXdist command unset the PKG_CONFIG_PATH environment variable first.

Issue ncurses library fails to build on multiprocessor machines Description This ncurses release cannot build in parallel Solution Copy the global ncurses.make from the ptxdist installation into your project's rules/ directory. Then remove from line 104 the PARALLELMFLAGS. This will prevent ptxdist from building this library in parallel.

Last change: Wed Jan 5 16:35:32 2011
© Pengutronix e.K.
http://www.pengutronix.de