autobuilder | 1 Aug 20:31 2012

Build results for 20120801

BSP package build failures on Wed Aug 1 17:52:20 2012 GMT from skywalker start time end time elapsed
Wed Aug 1 17:01:01 2012 GMT Wed Aug 1 17:52:20 2012 GMT 3079 seconds
For full build results and other information click here and then navigate to Resources/Autobuilder Results
KEY: x : Failed, failed last time, + : Failed, new failure, - : Changed from fail to pass
Package ep93xximx31adsmpc5200mpc82xxmpc8349itxmpc837xemdsmpc8548cdsphy3250qs875s
DirectFB             x    
DirectFB-examples             x    
alsa-lib x               x
avahi x x x x x x x x x
btcs     x            
clamav x x x x x x x x x
dbus       x          
e2fsprogs       x          
gst-plugins-bad x x x x x x x x x
gst-plugins-base x x x x x x x x x
gst-plugins-good x x x x x x x x x
gst-plugins-ugly x x x x x x x x x
iozone x               x
kernel-2.6.23-mpc8548             x    
liboil       x          
microwindows x x           x  
nss-mdns x               x
peak-linux-driver     x            
rpm x               x
samba                 x
util-linux       x          
<div>

BSP package build failures on Wed Aug  1 17:52:20 2012 GMT from skywalker

<table border="1">
<tr>start time  end time     elapsed  </tr>
<tr>
<td>Wed Aug  1 17:01:01 2012 GMT </td> <td> Wed Aug  1 17:52:20 2012 GMT </td> <td> 3079 seconds </td>
</tr>
</table>

For full build results and other information <a href="http://www.zee2.com/">click here</a> and then navigate to Resources/Autobuilder Results<br>KEY:
x : Failed, failed last time, 
+ : Failed, new failure, 
- : Changed from fail to pass<br><table border="1" cellpadding="2">
<tr>Package
ep93xximx31adsmpc5200mpc82xxmpc8349itxmpc837xemdsmpc8548cdsphy3250qs875s</tr>
<tr>
<td>DirectFB</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>DirectFB-examples</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>alsa-lib</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
</tr>
<tr>
<td>avahi</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>btcs</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>clamav</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>dbus</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>e2fsprogs</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>gst-plugins-bad</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>gst-plugins-base</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>gst-plugins-good</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>gst-plugins-ugly</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">x</td>
</tr>
<tr>
<td>iozone</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
</tr>
<tr>
<td>kernel-2.6.23-mpc8548</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>liboil</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>microwindows</td>
<td align="center">x</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>nss-mdns</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
</tr>
<tr>
<td>peak-linux-driver</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>rpm</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
</tr>
<tr>
<td>samba</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
</tr>
<tr>
<td>util-linux</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">x</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
</table>
</div>
Picon

Building Glib-2.33.3

Hello!
I work with Freescale iMax53 Quick Start Board and use ltib 9.1.1
I need to build GLib-2.33.3

My spec-file:
%define pfx /opt/freescale/rootfs/%{_target_cpu}
................
Version         : 2.33.3
...............
%Prep
%setup -n glib-%{version}
%Build
glib_cv_stack_grows=no \
glib_cv_uscore=no \
ac_cv_func_posix_getpwuid_r=yes \
ac_cv_func_posix_getgrgid_r=yes \
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
	--disable-maintainer-mode --disable-modular-tests \
	--disable-largefile --disable-selinux --disable-fam \
	--disable-xattr --disable-libelf --enable-gtk-doc-html=no \
	--enable-dtrace=no --enable-systemtap=no --enable-gcov=no

%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib -name "*.la" | xargs rm -f

But build is failed:
Executing(%install): /bin/sh -e /opt/IMX53/ltib/tmp/rpm-tmp.10324
+ umask 022
+ cd /opt/IMX53/ltib/rpm/BUILD
+ cd glib-2.33.3
+ rm -rf /opt/IMX53/ltib/tmp/glib2
+ make install DESTDIR=/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm
Making install in .
make[1]: Entering directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
make[2]: Entering directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
test -z "/usr/bin" || /bin/mkdir -p 
"/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/bin"
test -z "/usr/share/glib-2.0/gettext" || /bin/mkdir -p 
"/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/share/glib-2.0/gettext"
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p 
"/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/lib/pkgconfig"
  /usr/bin/install -c glib-gettextize 
'/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/bin'
  /usr/bin/install -c mkinstalldirs 
'/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/share/glib-2.0/gettext'
  /usr/bin/install -c -m 644 glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc 
gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc 
gio-unix-2.0.pc 
'/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/lib/pkgconfig'
make[2]: Leaving directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
....................................
.....................................
  CCLD   gdbus
   CCLD  
gresource
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: 
warning: libgthread-2.0.so.0, needed by 
../gobject/.libs/libgobject-2.0.so, not found (try using -rpath or

-rpath-link)
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: 
warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found 
(try using -rpath or -rpath-link)
./.libs/libgio-2.0.so: undefined reference to `g_module_close'
./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
./.libs/libgio-2.0.so: undefined reference to `g_module_open'
./.libs/libgio-2.0.so: undefined reference to `g_module_error'
collect2: ld returned 1 exit status
make[3]: *** [glib-compile-resources] Error 1
make[3]: *** Waiting for unfinished
jobs....
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: 
warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found 
(try using -rpath or
-rpath-link)
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: 
warning: libgthread-2.0.so.0, needed by 
../gobject/.libs/libgobject-2.0.so, not found (try using -rpath or 
-rpath-link)
./.libs/libgio-2.0.so: undefined reference to `g_module_close'
./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
./.libs/libgio-2.0.so: undefined reference to `g_module_open'
./.libs/libgio-2.0.so: undefined reference to `g_module_error'
................

This is a very strange because glib-2.18.1 builded success.

$ ls /opt/IMX53/ltib/tmp/glib2/opt/freescale/rootfs/arm/usr/lib/pkgconfig/
gio-2.0.pc       glib-2.0.pc     gmodule-export-2.0.pc     gobject-2.0.pc
gio-unix-2.0.pc  gmodule-2.0.pc  gmodule-no-export-2.0.pc  gthread-2.0.pc

$ cat 
/opt/IMX53/ltib/tmp/glib2/opt/freescale/rootfs/arm/usr/lib/pkgconfig/gthread-2.0.pc 

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: GThread
Description: Thread support for GLib
Requires: glib-2.0
Version: 2.33.3
Libs: -L${libdir} -lgthread-2.0 -pthread -lrt
Cflags: -pthread

How can I solve this error?

Thank you and excuse me for my bad english.

--

-- 
Best regards,
Brilliantov Kirill Vladimirovich
…………………………………………………………………
programmer, technical department
Byterg LLC
…………………………………………………………………
+7(495)221-66-22
http://www.byterg.ru    http://www.bestdvr.ru

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib
Mike Goins | 9 Aug 16:12 2012
Picon

Re: Building Glib-2.33.3

On Thu, Aug 9, 2012 at 5:44 AM, Brilliantov Kirill Vladimirovich
<brilliantov <at> byterg.ru> wrote:
> Hello!
> I work with Freescale iMax53 Quick Start Board and use ltib 9.1.1

Hi,

This is the mailing list for the ltib software at
http://savannah.nongnu.org/projects/ltib/.   It appears that you are
using a version of ltib and packages that Freescale has not made
available.   You will need to ask Freescale about this bsp.

> I need to build GLib-2.33.3
> My spec-file:
> %define pfx /opt/freescale/rootfs/%{_target_cpu}
> ................
> Version         : 2.33.3
> ...............
> %Prep
> %setup -n glib-%{version}
> %Build
> glib_cv_stack_grows=no \
> glib_cv_uscore=no \
> ac_cv_func_posix_getpwuid_r=yes \
> ac_cv_func_posix_getgrgid_r=yes \
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
>         --disable-maintainer-mode --disable-modular-tests \
>         --disable-largefile --disable-selinux --disable-fam \
>         --disable-xattr --disable-libelf --enable-gtk-doc-html=no \
>         --enable-dtrace=no --enable-systemtap=no --enable-gcov=no
>
> %Install
> rm -rf $RPM_BUILD_ROOT
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
> find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib -name "*.la" | xargs rm -f
>
> But build is failed:
> Executing(%install): /bin/sh -e /opt/IMX53/ltib/tmp/rpm-tmp.10324
> + umask 022
> + cd /opt/IMX53/ltib/rpm/BUILD
> + cd glib-2.33.3
> + rm -rf /opt/IMX53/ltib/tmp/glib2
> + make install DESTDIR=/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm
> Making install in .
> make[1]: Entering directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
> make[2]: Entering directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
> test -z "/usr/bin" || /bin/mkdir -p
> "/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/bin"
> test -z "/usr/share/glib-2.0/gettext" || /bin/mkdir -p
> "/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/share/glib-2.0/gettext"
> test -z "/usr/lib/pkgconfig" || /bin/mkdir -p
> "/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/lib/pkgconfig"
>  /usr/bin/install -c glib-gettextize
> '/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/bin'
>  /usr/bin/install -c mkinstalldirs
> '/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/share/glib-2.0/gettext'
>  /usr/bin/install -c -m 644 glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc
> gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc
> gio-unix-2.0.pc
> '/opt/IMX53/ltib/tmp/glib2//opt/freescale/rootfs/arm/usr/lib/pkgconfig'
> make[2]: Leaving directory `/opt/IMX53/ltib/rpm/BUILD/glib-2.33.3'
> ....................................
> .....................................
>  CCLD   gdbus
>   CCLD   gresource
> /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld:
> warning: libgthread-2.0.so.0, needed by ../gobject/.libs/libgobject-2.0.so,
> not found (try using -rpath or -rpath-link)
> /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld:
> warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found
> (try using -rpath or -rpath-link)
> ./.libs/libgio-2.0.so: undefined reference to `g_module_close'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_open'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_error'
> collect2: ld returned 1 exit status
> make[3]: *** [glib-compile-resources] Error 1
> make[3]: *** Waiting for unfinished jobs....
> /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld:
> warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found
> (try using -rpath or -rpath-link)
> /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld:
> warning: libgthread-2.0.so.0, needed by ../gobject/.libs/libgobject-2.0.so,
> not found (try using -rpath or -rpath-link)
> ./.libs/libgio-2.0.so: undefined reference to `g_module_close'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_open'
> ./.libs/libgio-2.0.so: undefined reference to `g_module_error'
> ................
>
> This is a very strange because glib-2.18.1 builded success.
>
> $ ls /opt/IMX53/ltib/tmp/glib2/opt/freescale/rootfs/arm/usr/lib/pkgconfig/
> gio-2.0.pc       glib-2.0.pc     gmodule-export-2.0.pc     gobject-2.0.pc
> gio-unix-2.0.pc  gmodule-2.0.pc  gmodule-no-export-2.0.pc  gthread-2.0.pc
>
> $ cat
> /opt/IMX53/ltib/tmp/glib2/opt/freescale/rootfs/arm/usr/lib/pkgconfig/gthread-2.0.pc
> prefix=/usr
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: GThread
> Description: Thread support for GLib
> Requires: glib-2.0
> Version: 2.33.3
> Libs: -L${libdir} -lgthread-2.0 -pthread -lrt
> Cflags: -pthread
>
> How can I solve this error?
>
> Thank you and excuse me for my bad english.
>
>
> --
> Best regards,
> Brilliantov Kirill Vladimirovich
> …………………………………………………………………
> programmer, technical department
> Byterg LLC
> …………………………………………………………………
> +7(495)221-66-22
> http://www.byterg.ru    http://www.bestdvr.ru
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib

Aaron Wegner | 16 Aug 21:45 2012
Picon

(no subject)

Hi Stuart, I know that I can use

ltib/config/userspace/pkg_map

to control the build order, and it might be something wrong in my
configuration or I'm using an older LTIB (I don't think it's all that
old), but I don't seem to be able to control the build order with the file

config/platform/${platform}/pkg_map

PKG_FIRST = first
PKG_SECOND = second

I have entries like the above, and second is getting build before first
every time.

Thanks,

Aaron

Stuart Hughes | 18 Aug 14:23 2012

Re: (no subject)

Hi Aaron,

You can user the per-platform pkg_map to

1/ Override the .spec file that will be built for a given package name.
 The idea is to allow you to build a different version than the stock
package.

2/ You can add new packages: ones that are not already mentioned in the
config/userspace/pkg_map.  For these packages, you have control over the
order.

By design, you can't override the build order of the existing packages.
 These are supposed to be correct, or at least the best overall compromise.

If you think the order of any packages are incorrect, then please let us
know your thoughts.

Regards, Stuart

On 16/08/12 20:45, Aaron Wegner wrote:
> Hi Stuart, I know that I can use
> 
> ltib/config/userspace/pkg_map
> 
> to control the build order, and it might be something wrong in my
> configuration or I'm using an older LTIB (I don't think it's all that
> old), but I don't seem to be able to control the build order with the file
> 
> config/platform/${platform}/pkg_map
> 
> PKG_FIRST = first
> PKG_SECOND = second
> 
> I have entries like the above, and second is getting build before first
> every time.
> 
> 
> Thanks,
> 
> Aaron
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib
> 

Aaron Wegner | 21 Aug 22:12 2012
Picon

Re: (no subject)

Sorry for the no subject on that email, just forgot.  Well, in my case I
was using the per-platform pkg_map as you say in option "2/", where I was
adding two new packages.  They just weren't obeying the order I was used
to working with the other pkg_map where I list the one I want to build
first, so I was getting a little confused.

> Hi Aaron,
>
> You can user the per-platform pkg_map to
>
> 1/ Override the .spec file that will be built for a given package name.
>  The idea is to allow you to build a different version than the stock
> package.
>
> 2/ You can add new packages: ones that are not already mentioned in the
> config/userspace/pkg_map.  For these packages, you have control over the
> order.
>
> By design, you can't override the build order of the existing packages.
>  These are supposed to be correct, or at least the best overall
> compromise.
>
> If you think the order of any packages are incorrect, then please let us
> know your thoughts.
>
> Regards, Stuart
>
> On 16/08/12 20:45, Aaron Wegner wrote:
>> Hi Stuart, I know that I can use
>>
>> ltib/config/userspace/pkg_map
>>
>> to control the build order, and it might be something wrong in my
>> configuration or I'm using an older LTIB (I don't think it's all that
>> old), but I don't seem to be able to control the build order with the
>> file
>>
>> config/platform/${platform}/pkg_map
>>
>> PKG_FIRST = first
>> PKG_SECOND = second
>>
>> I have entries like the above, and second is getting build before first
>> every time.
>>
>>
>> Thanks,
>>
>> Aaron
>>
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> Ltib <at> nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/ltib
>>
>

Todd Sampson | 22 Aug 15:16 2012
Picon

u-boot Default Environment Variables Location

Each time I configure a target, I have to go into u-boot and use 'setenv' to change some environment variables.


Where are the default environment variables for u-boot stored in the LTIB world?  I want to edit these so each time I flash a target, the u-boot environment variables are correct.

Thanks!
<div>
<p>Each time I configure a target, I have to go into u-boot and use 'setenv' to change some environment variables.</p>
<div><br></div>
<div>Where are the default environment variables for u-boot stored in the LTIB world? &nbsp;I want to edit these so each time I flash a target, the u-boot environment variables are correct.</div>
<div><br></div>
<div>Thanks!</div>
</div>
Mike Goins | 22 Aug 15:33 2012
Picon

Re: u-boot Default Environment Variables Location

On Wed, Aug 22, 2012 at 9:16 AM, Todd Sampson <sampsonats <at> gmail.com> wrote:
> Each time I configure a target, I have to go into u-boot and use 'setenv' to
> change some environment variables.
>
> Where are the default environment variables for u-boot stored in the LTIB
> world?  I want to edit these so each time I flash a target, the u-boot
> environment variables are correct.

The uboot parameters are stored in flash on your target.
You want printenv and savenv:
http://www.denx.de/wiki/DULG/UBootCmdGroupEnvironment

> Thanks!
>

Stuart Hughes | 22 Aug 15:34 2012

Re: u-boot Default Environment Variables Location

Hi Todd,

It's not an LTIB thing.  U-boot stores it's defaults within the compiled 
code (there are per config).  These get used the first time, if there's 
not saved environment.

It you do a setenv and want to make this permanent, you need to run the 
command saveenv.  This writes the new config to Flash.

Regards, Stuart

On 22/08/12 14:16, Todd Sampson wrote:
> Each time I configure a target, I have to go into u-boot and use 
> 'setenv' to change some environment variables.
>
> Where are the default environment variables for u-boot stored in the 
> LTIB world?  I want to edit these so each time I flash a target, the 
> u-boot environment variables are correct.
>
> Thanks!

Stuart Hughes | 23 Aug 10:13 2012

pkg_map issues (was Re: (no subject))

Hi Aaron,

I just took a look at the code (I guess you mean from CVS?).  The 
pkg_map override stuff is in the ltib script around line 3331. It says 
(for entries that are not in the main pkg_map):

                 # insert just before sysconfig (3rd from last)
                 splice( <at> {$pcac->{mk_buildlist}}, -3, 0, $key);

So I would expect that the order of your new packages is the order in 
your config/_platform_/pkg_map file.  These will appear as the last 
packages in the build order before the sysconfig package.

If this is not the case, can you put in some debug and see if you can 
figure out what is going wrong.  Try changing the order and see what 
happens.  If this doesn't shed any light, then can you send your 
patches, or some subset test-case that the list can look at.

Regards, Stuart

On 21/08/12 21:12, Aaron Wegner wrote:
> Sorry for the no subject on that email, just forgot.  Well, in my case I
> was using the per-platform pkg_map as you say in option "2/", where I was
> adding two new packages.  They just weren't obeying the order I was used
> to working with the other pkg_map where I list the one I want to build
> first, so I was getting a little confused.
>
>> Hi Aaron,
>>
>> You can user the per-platform pkg_map to
>>
>> 1/ Override the .spec file that will be built for a given package name.
>>   The idea is to allow you to build a different version than the stock
>> package.
>>
>> 2/ You can add new packages: ones that are not already mentioned in the
>> config/userspace/pkg_map.  For these packages, you have control over the
>> order.
>>
>> By design, you can't override the build order of the existing packages.
>>   These are supposed to be correct, or at least the best overall
>> compromise.
>>
>> If you think the order of any packages are incorrect, then please let us
>> know your thoughts.
>>
>> Regards, Stuart
>>
>> On 16/08/12 20:45, Aaron Wegner wrote:
>>> Hi Stuart, I know that I can use
>>>
>>> ltib/config/userspace/pkg_map
>>>
>>> to control the build order, and it might be something wrong in my
>>> configuration or I'm using an older LTIB (I don't think it's all that
>>> old), but I don't seem to be able to control the build order with the
>>> file
>>>
>>> config/platform/${platform}/pkg_map
>>>
>>> PKG_FIRST = first
>>> PKG_SECOND = second
>>>
>>> I have entries like the above, and second is getting build before first
>>> every time.
>>>
>>>
>>> Thanks,
>>>
>>> Aaron
>>>


Gmane