Peter Barada | 20 Aug 15:27 2015

Re: problem with selecting some of packages

Seriously, you have to analyse your log for reasons that can cause the build to fail and investigate before asking for help.  Consider this response your one free mulligan (see

https://en.wikipedia.org/wiki/Mulligan_%28games%29).


As your log clearly states:


You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.


You'll want to install TeX.


Question - why do you want to build a native GCC to run on the target?


Do you _really_ need to compile code inside the target itself (I'm not talking about the cross-compilation LTIB does to create the target image, but running binutils on the target itself)?


Peter Barada // principal software engineer

Logic PD
5 Clock Tower Place
West Lobby, Suite 400
Maynard, MA 01754
peter.barada <at> logicpd.com
From: hosein bahari <h_bahari14 <at> yahoo.com>
Sent: Thursday, August 20, 2015 2:27 AM
To: Peter Barada; ltib <at> nongnu.org
Subject: Re: [Ltib] problem with selecting some of packages
 
hi
i attached a log of my terminal.

 "Also a description of you are trying to do that fails and how its different from a working build would really help us understand what could be going wrong."
the problem is adding gcc package ,in ltib configurations .when i select it,the error will appear .
  



On Wednesday, 19 August 2015, 8:21, Peter Barada <peter.barada <at> logicpd.com> wrote:




On 08/18/2015 07:24 AM, hosein bahari wrote:
hi
i have MPC8568MDS_20080328-ltib .normally,it is built successfully but when i select some of packages that are available at:
 ./ltib --config  --> package list ,  like gcc or openssh ,then there is an error : 
 
...
RPM build errors:
    Bad exit status from /home/zaim/Desktop/new_bsp4/ltib/ltib-mpc8568mds-20080327/tmp/rpm-tmp.37604 (%install)
Build time for binutils: 9 seconds

Failed building binutils


f_buildrpms() returned an error, exiting
traceback:
 main:491


Started: Tue Aug 18 13:51:23 2015
Ended:   Tue Aug 18 13:56:12 2015
Elapsed: 289 seconds

These packages failed to build:
binutils 
Build Failed


what is the problem?

No one can tell.

Your log is clipped - and most inconvenient is that it's clipped right where building binutils would give a clue of why it failed. Back up the log about 50 lines or so to give us an idea of why binutils failed (i.e. to before the actual error that caused rpm/make to return non-zero.  Also a description of you are trying to do that fails and how its different from a working build would really help us understand what could be going wrong.

Not that we may be able to help since I think you are using a Freescale distributed LTIB tree that's more than seven _years_ old.  You might want to contact Freescale for help on this tree as they may have patches or an updated LTIB tree that fixes the issue.



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

Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib


<div>
<p>Seriously, you have to analyse your log for reasons that can cause the build to fail and investigate before asking for help.&nbsp; Consider this response your one free mulligan (see
</p>
<p><a href="https://en.wikipedia.org/wiki/Mulligan_%28games%29">https://en.wikipedia.org/wiki/Mulligan_%28games%29</a>).<br></p>
<p><br></p>
<p>As your log clearly states:</p>
<p><br></p>
<p>You don't have a working TeX binary (tex) installed anywhere in <br>your PATH, and texi2dvi cannot proceed without one.&nbsp; If you want to use 
<br>this script, you'll need to install TeX (if you don't have it) or change 
<br>your PATH or TEX environment variable (if you do).&nbsp; See the --help <br>output for more details. <br></p>
<p><br></p>
<p>You'll want to install TeX.</p>
<p><br></p>
<p>Question - why do you want to build a native GCC to run on the target? </p>
<p><br></p>
<p>Do you _really_ need to compile code inside the target itself (I'm not talking about the cross-compilation LTIB does to create the target image, but running binutils on the target itself)?</p>
<p><br></p>
<div>
<div name="divtagdefaultwrapper">
Peter Barada
// principal software engineer<br><br>
Logic PD<br>5 Clock Tower Place<br>West Lobby, Suite 400<br>Maynard, MA 01754<br><a href="mailto:peter.barada <at> logicpd.com">peter.barada <at> logicpd.com</a><br>
</div>
</div>
<div>
<div dir="ltr">From: hosein bahari &lt;h_bahari14 <at> yahoo.com&gt;<br>Sent: Thursday, August 20, 2015 2:27 AM<br>To: Peter Barada; ltib <at> nongnu.org<br>Subject: Re: [Ltib] problem with selecting some of packages
<div>&nbsp;</div>
</div>
<div>
<div>
<div dir="ltr">hi</div>
<div dir="ltr">i attached a log of my terminal.</div>
<div dir="ltr"><br></div>
<div dir="ltr">
<span class="">&nbsp;"Also a description of you are trying to do that
 fails and how its different from a working build would really help us understand what could be going wrong."</span><br>
</div>
<div dir="ltr">the problem is adding gcc package ,in ltib configurations .when i select it,the error will appear .</div>
<div dir="ltr">&nbsp;&nbsp;</div>
<br><div class="qtdSeparateBR">
<br><br>
</div>
<div class="yahoo_quoted">
<div>
<div>
<div dir="ltr">On Wednesday, 19 August 2015, 8:21, Peter Barada &lt;peter.barada <at> logicpd.com&gt; wrote:<br>
</div>
<br><br><div class="y_msg_container">
<div>
<div>
<br clear="none"><br clear="none"><div class="yiv5967687202yqt0804921040">
<div class="yiv5967687202moz-cite-prefix">On 08/18/2015 07:24 AM, hosein bahari wrote:<br clear="none">
</div>
<blockquote type="cite">
<div>
<div>hi</div>
<div dir="ltr">i have&nbsp;MPC8568MDS_20080328-ltib .normally,it is built successfully but when i select some of packages that are available at:</div>
<div>&nbsp;./ltib --config &nbsp;--&gt; package list , &nbsp;like gcc or openssh ,then there is an error :&nbsp;</div>
<div dir="ltr">&nbsp;<br clear="none">
</div>
<div dir="ltr">...</div>
<div class="yiv5967687202" dir="ltr">
RPM build errors:</div>
<div class="yiv5967687202" dir="ltr">
&nbsp; &nbsp; Bad exit status from /home/zaim/Desktop/new_bsp4/ltib/ltib-mpc8568mds-20080327/tmp/rpm-tmp.37604 (%install)</div>
<div class="yiv5967687202" dir="ltr">
Build time for binutils: 9 seconds</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
Failed building binutils</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
f_buildrpms() returned an error, exiting</div>
<div class="yiv5967687202" dir="ltr">
traceback:</div>
<div class="yiv5967687202" dir="ltr">
&nbsp;main:491</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
Started: Tue Aug 18 13:51:23 2015</div>
<div class="yiv5967687202" dir="ltr">
Ended: &nbsp; Tue Aug 18 13:56:12 2015</div>
<div class="yiv5967687202" dir="ltr">
Elapsed: 289 seconds</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
These packages failed to build:</div>
<div class="yiv5967687202" dir="ltr">
binutils&nbsp;</div>
<div class="yiv5967687202" dir="ltr">
Build Failed</div>
<div class="yiv5967687202" dir="ltr">
<br class="yiv5967687202" clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
<br clear="none">
</div>
<div class="yiv5967687202" dir="ltr">
what is the problem?</div>
</div>
<br clear="none">
</blockquote>
</div>
No one can tell.<br clear="none"><br clear="none">
Your log is clipped - and most inconvenient is that it's clipped right where building binutils would give a clue of why it failed. Back up the log about 50 lines or so to give us an idea of why binutils failed (i.e. to before the actual error that caused rpm/make
 to return non-zero.&nbsp; Also a description of you are trying to do that fails and how its different from a working build would really help us understand what could be going wrong.<br clear="none"><br clear="none">
Not that we may be able to help since I think you are using a Freescale distributed LTIB tree that's more than seven _years_ old.&nbsp; You might want to contact Freescale for help on this tree as they may have patches or an updated LTIB tree that fixes the issue.<br clear="none"><br clear="none"><br clear="none">
</div>
</div>
<br><div class="yqt0804921040">_______________________________________________<br clear="none">
LTIB home page: <a shape="rect" href="http://ltib.org/" target="_blank">http://ltib.org</a><br clear="none"><br clear="none">
Ltib mailing list<br clear="none"><a shape="rect" href="mailto:Ltib <at> nongnu.org">Ltib <at> nongnu.org</a><br clear="none"><a shape="rect" href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_blank">https://lists.nongnu.org/mailman/listinfo/ltib</a><br clear="none">
</div>
<br><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
hosein bahari | 18 Aug 13:24 2015
Picon

problem with selecting some of packages

hi
i have MPC8568MDS_20080328-ltib .normally,it is built successfully but when i select some of packages that are available at:
 ./ltib --config  --> package list ,  like gcc or openssh ,then there is an error : 
 
...
RPM build errors:
    Bad exit status from /home/zaim/Desktop/new_bsp4/ltib/ltib-mpc8568mds-20080327/tmp/rpm-tmp.37604 (%install)
Build time for binutils: 9 seconds

Failed building binutils


f_buildrpms() returned an error, exiting
traceback:
 main:491


Started: Tue Aug 18 13:51:23 2015
Ended:   Tue Aug 18 13:56:12 2015
Elapsed: 289 seconds

These packages failed to build:
binutils 
Build Failed


what is the problem?
<div><div>
<div>hi</div>
<div dir="ltr">i have&nbsp;MPC8568MDS_20080328-ltib .normally,it is built successfully but when i select some of packages that are available at:</div>
<div>&nbsp;./ltib --config &nbsp;--&gt; package list , &nbsp;like gcc or openssh ,then there is an error :&nbsp;</div>
<div dir="ltr">&nbsp;<br>
</div>
<div dir="ltr">...</div>
<div dir="ltr" class="">RPM build errors:</div>
<div dir="ltr" class="">&nbsp; &nbsp; Bad exit status from /home/zaim/Desktop/new_bsp4/ltib/ltib-mpc8568mds-20080327/tmp/rpm-tmp.37604 (%install)</div>
<div dir="ltr" class="">Build time for binutils: 9 seconds</div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class="">Failed building binutils</div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class="">f_buildrpms() returned an error, exiting</div>
<div dir="ltr" class="">traceback:</div>
<div dir="ltr" class="">&nbsp;main:491</div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class="">Started: Tue Aug 18 13:51:23 2015</div>
<div dir="ltr" class="">Ended: &nbsp; Tue Aug 18 13:56:12 2015</div>
<div dir="ltr" class="">Elapsed: 289 seconds</div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class="">These packages failed to build:</div>
<div dir="ltr" class="">binutils&nbsp;</div>
<div dir="ltr" class="">Build Failed</div>
<div dir="ltr" class=""><br class=""></div>
<div dir="ltr" class=""><br></div>
<div dir="ltr" class="">what is the problem?</div>
</div></div>
Peter Barada | 30 Jun 14:25 2015

Re: Can't build DHCP on 14.04



On 06/29/2015 09:04 AM, Chris Westervelt wrote:
<!-- /* Font Definitions */ <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} <at> font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} <at> font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:Consolas; color:black;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} <at> page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} -->

Peter,

 

Sorry to respond to you outside of the server.  I figured I would just attach these two short text files for the output you requested.  I work from an older cvs get from about 2010 but I have pulled the latest from the cvs with the netinstall.pl script and the same error occurs when building dhcp. I have no problem with 10.04 Ubuntu. 

Hmm, the bld log doesn't indicate anything wrong.  When I run it I see:

Executing(%build): /bin/sh -e /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.34776
+ umask 022
+ cd /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD
+ cd dhcp-3.0.3b1
+ ./configure
System Type: linux-3
make[1]: Entering directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
Making links in common
make[2]: Entering directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'
make[2]: Leaving directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'
Making links in minires
...

Digging into things more I noticed I created a patch for linux-3.0 systems that is attached.  Try adding that patch into your dhcp package and see if it helps. (you'll need to re-unpack the dhcp package source to incorporate the new patch after modifying your dhcp.spec file).

Wonder why you don't see at least the dump of what the .spec file %build section is attempting to run. Ignoring that, modify rpm/BUILD/dhcp/configure and add "set -x" at the top to tell the shell configure is running in to show its commands; useful to show the control flow and variable assignments.  When I run it here (with the attached patch) I see the following.  Compare it to your patched source output and see if/where they diverge.  Of course directory names will be different.

+ cd /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD + cd dhcp-3.0.3b1 + ./configure + '[' 0 '!=' 0 ']' ++ uname -s + uname=Linux ++ uname -m + machine=x86_64 + '[' '' = '' ']' + case $uname in ++ uname -r + release=3.13.0-55-generic ++ echo 3.13.0-55-generic ++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/' + minor=13 ++ echo 3.13.0-55-generic ++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/' + major=3 + case $major in + sysname=linux-3 + '[' linux-3 = '' ']' + '[' x = xyes ']' + '[' x = x ']' + '[' x '!=' x ']' + workname=work.linux-3 + echo 'System Type: linux-3' System Type: linux-3 + '[' x3 '!=' x ']' + '[' x13 '!=' x ']' + majversubst='-e /^##--majver--/,/^##--majver--/s/MajorVersion/3/' + minversubst='-e /^##--minver--/,/^##--minver--/s/MinorVersion/13/' + '[' '!' -d work.linux-3 ']' + '[' x = x ']' + dirs='. client server relay common omapip dhcpctl minires dst' + for foo in '$dirs' ++ basename . + bar=. + '[' '!' -d work.linux-3/. ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat ./Makefile.dist + for foo in '$dirs' ++ basename client + bar=client + '[' '!' -d work.linux-3/client ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat client/Makefile.dist + for foo in '$dirs' ++ basename server + bar=server + '[' '!' -d work.linux-3/server ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat server/Makefile.dist + for foo in '$dirs' ++ basename relay + bar=relay + '[' '!' -d work.linux-3/relay ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat relay/Makefile.dist + for foo in '$dirs' ++ basename common + bar=common + '[' '!' -d work.linux-3/common ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat common/Makefile.dist + for foo in '$dirs' ++ basename omapip + bar=omapip + '[' '!' -d work.linux-3/omapip ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat omapip/Makefile.dist + for foo in '$dirs' ++ basename dhcpctl + bar=dhcpctl + '[' '!' -d work.linux-3/dhcpctl ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat dhcpctl/Makefile.dist + for foo in '$dirs' ++ basename minires + bar=minires + '[' '!' -d work.linux-3/minires ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat minires/Makefile.dist + for foo in '$dirs' ++ basename dst + bar=dst + '[' '!' -d work.linux-3/dst ']' + sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//' + cat site.conf ++ pwd + echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1' + echo CC_OPTIONS = + cat dst/Makefile.dist + '[' x = x ']' + make links + '[' 1 '!=' 0 ']' + '[' x--print-sysname = x--with-nsupdate ']' + '[' x--print-sysname = x--print-sysname ']' + print_sysname=yes + shift + '[' 0 '!=' 0 ']' ++ uname -s + uname=Linux ++ uname -m + machine=x86_64 + '[' '' = '' ']' + case $uname in ++ uname -r + release=3.13.0-55-generic ++ echo 3.13.0-55-generic ++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/' + minor=13 ++ echo 3.13.0-55-generic ++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/' + major=3 + case $major in + sysname=linux-3 + '[' linux-3 = '' ']' + '[' xyes = xyes ']' + '[' x '!=' x ']' + echo linux-3 + exit 0

 

From: ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org [mailto:ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org] On Behalf Of Peter Barada
Sent: Sunday, June 28, 2015 9:59 AM
To: ltib <at> nongnu.org
Subject: Re: [Ltib] Can't build DHCP on 14.04

 

 

On 06/26/2015 11:19 AM, Chris Westervelt wrote:

Ok hoping someone out there in LTIB land has punched through building DHCP on 14.04 32/64 bit.  I keep getting two errors one of which I have been able to overcome for system type by including ‘Linux’ to the .spec file ./configure line as a pass argument but another  (so far insurmountable) error comes

 

cannot create regular file '/home/advantor/IGII/v1.2/tmp/dhcp//opt/freescale/rootfs/arm/etc/': No such file or directory

I've had no problem building/installing dhcp-3.0.3b1 on Ubuntu 14.04.2 LTS.  What do you mean by "including 'linux' to the .spec file .configure line as a pass argument"?  What was the original probelm you ran into building dhcp?  What other modifications have you made to LTIB?  Where did your LTIB come from?

And - got a log showing the output?  do "./ltib -p dhcp -m prep", and then capture output of "./ltib -p dhcp" (so we see the %build and %install parts) - put it in pastebin or somewhere and send the list an accessible URL to it (to save space on the email list).  Without it can only guess what's gone wrong.

 

Chris Westervelt

Senior Product Development Engineer

Advantor Systems.
12612 Challenger Pkwy
Suite 300
Orlando, FL
32826

http://www.advantor.com
Office:   (407) 926-6983

Mobile: (407) 595-7023       
Fax:    (407) 857-1635

Notice of Confidentiality:
This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.

 




_______________________________________________

LTIB home page: http://ltib.org

 

Ltib mailing list

Ltib <at> nongnu.org

https://lists.nongnu.org/mailman/listinfo/ltib

 


<div>
<br><br><div class="moz-cite-prefix">On 06/29/2015 09:04 AM, Chris Westervelt wrote:<br>
</div>
<blockquote cite="mid:37379F3F8CB45647A422DBB771807245B14C2D <at> AUSP01DAG0509.collaborationhost.net" type="cite">
&lt;!--
/* Font Definitions */
 <at> font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 <at> font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 <at> font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
 <at> page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--&gt;<div class="WordSection1">
<p class="MsoNormal"><span>Peter,<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Sorry to respond to you outside of the server.&nbsp; I figured I would just attach these two short text files for the output you requested.&nbsp; I work from an older cvs get from about 2010 but I have pulled the latest
 from the cvs with the netinstall.pl script and the same error occurs when building dhcp. I have no problem with 10.04 Ubuntu.&nbsp;
</span></p>
</div>
</blockquote>
Hmm, the bld log doesn't indicate anything wrong.&nbsp; When I run it I see:<br><br>Executing(%build): /bin/sh -e /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.34776<br>+ umask 022<br>+ cd /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD<br>+ cd dhcp-3.0.3b1<br>+ ./configure<br>System Type: linux-3<br>make[1]: Entering directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3'<br>make[1]: warning: jobserver unavailable: using -j1.&nbsp; Add `+' to parent make rule.<br>Making links in common<br>make[2]: Entering directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'<br>make[2]: Leaving directory `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'<br>Making links in minires<br>
...<br><br>
Digging into things more I noticed I created a patch for linux-3.0 systems that is attached.&nbsp; Try adding that patch into your dhcp package and see if it helps. (you'll need to re-unpack the dhcp package source to incorporate the new patch after modifying your
 dhcp.spec file).<br><br>
Wonder why you don't see at least the dump of what the .spec file %build section is attempting to run. Ignoring that, modify rpm/BUILD/dhcp/configure and add "set -x" at the top to tell the shell configure is running in to show its commands; useful to show
 the control flow and variable assignments.&nbsp; When I run it here (with the attached patch) I see the following.&nbsp; Compare it to your patched source output and see if/where they diverge.&nbsp; Of course directory names will be different.<br><br>+ cd /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD
+ cd dhcp-3.0.3b1
+ ./configure
+ '[' 0 '!=' 0 ']'
++ uname -s
+ uname=Linux
++ uname -m
+ machine=x86_64
+ '[' '' = '' ']'
+ case $uname in
++ uname -r
+ release=3.13.0-55-generic
++ echo 3.13.0-55-generic
++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/'
+ minor=13
++ echo 3.13.0-55-generic
++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/'
+ major=3
+ case $major in
+ sysname=linux-3
+ '[' linux-3 = '' ']'
+ '[' x = xyes ']'
+ '[' x = x ']'
+ '[' x '!=' x ']'
+ workname=work.linux-3
+ echo 'System Type: linux-3'
System Type: linux-3
+ '[' x3 '!=' x ']'
+ '[' x13 '!=' x ']'
+ majversubst='-e /^##--majver--/,/^##--majver--/s/MajorVersion/3/'
+ minversubst='-e /^##--minver--/,/^##--minver--/s/MinorVersion/13/'
+ '[' '!' -d work.linux-3 ']'
+ '[' x = x ']'
+ dirs='. client server relay common omapip dhcpctl minires dst'
+ for foo in '$dirs'
++ basename .
+ bar=.
+ '[' '!' -d work.linux-3/. ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat ./Makefile.dist
+ for foo in '$dirs'
++ basename client
+ bar=client
+ '[' '!' -d work.linux-3/client ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat client/Makefile.dist
+ for foo in '$dirs'
++ basename server
+ bar=server
+ '[' '!' -d work.linux-3/server ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat server/Makefile.dist
+ for foo in '$dirs'
++ basename relay
+ bar=relay
+ '[' '!' -d work.linux-3/relay ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat relay/Makefile.dist
+ for foo in '$dirs'
++ basename common
+ bar=common
+ '[' '!' -d work.linux-3/common ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat common/Makefile.dist
+ for foo in '$dirs'
++ basename omapip
+ bar=omapip
+ '[' '!' -d work.linux-3/omapip ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat omapip/Makefile.dist
+ for foo in '$dirs'
++ basename dhcpctl
+ bar=dhcpctl
+ '[' '!' -d work.linux-3/dhcpctl ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat dhcpctl/Makefile.dist
+ for foo in '$dirs'
++ basename minires
+ bar=minires
+ '[' '!' -d work.linux-3/minires ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat minires/Makefile.dist
+ for foo in '$dirs'
++ basename dst
+ bar=dst
+ '[' '!' -d work.linux-3/dst ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e '/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e '/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP = /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat dst/Makefile.dist
+ '[' x = x ']'
+ make links
+ '[' 1 '!=' 0 ']'
+ '[' x--print-sysname = x--with-nsupdate ']'
+ '[' x--print-sysname = x--print-sysname ']'
+ print_sysname=yes
+ shift
+ '[' 0 '!=' 0 ']'
++ uname -s
+ uname=Linux
++ uname -m
+ machine=x86_64
+ '[' '' = '' ']'
+ case $uname in
++ uname -r
+ release=3.13.0-55-generic
++ echo 3.13.0-55-generic
++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/'
+ minor=13
++ echo 3.13.0-55-generic
++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/'
+ major=3
+ case $major in
+ sysname=linux-3
+ '[' linux-3 = '' ']'
+ '[' xyes = xyes ']'
+ '[' x '!=' x ']'
+ echo linux-3
+ exit 0
<br><blockquote cite="mid:37379F3F8CB45647A422DBB771807245B14C2D <at> AUSP01DAG0509.collaborationhost.net" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span><p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<div>
<div>
<p class="MsoNormal"><span>From:</span><span>
<a class="moz-txt-link-abbreviated" href="mailto:ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org">
ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org</a> [<a class="moz-txt-link-freetext" href="mailto:ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org">mailto:ltib-bounces+chris.westervelt=infrasafe.com <at> nongnu.org</a>]
On Behalf Of Peter Barada<br>Sent: Sunday, June 28, 2015 9:59 AM<br>To: <a class="moz-txt-link-abbreviated" href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a><br>Subject: Re: [Ltib] Can't build DHCP on 14.04<p></p></span></p>
</div>
</div>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div>
<p class="MsoNormal">On 06/26/2015 11:19 AM, Chris Westervelt wrote:<p></p></p>
</div>
<blockquote>
<p class="MsoNormal">Ok hoping someone out there in LTIB land has punched through building DHCP on 14.04 32/64 bit.&nbsp; I keep getting two errors one of which I have been able to overcome for system type by including &lsquo;Linux&rsquo; to the .spec file ./configure line
 as a pass argument but another&nbsp; (so far insurmountable) error comes<p></p></p>
<p class="MsoNormal">&nbsp;<p></p></p>
<p class="MsoNormal">cannot create regular file '/home/advantor/IGII/v1.2/tmp/dhcp//opt/freescale/rootfs/arm/etc/': No such file or directory<p></p></p>
</blockquote>
<p class="MsoNormal"><span>I've had no problem building/installing dhcp-3.0.3b1 on Ubuntu 14.04.2 LTS.&nbsp; What do you mean by "including 'linux' to the .spec file .configure line as a
 pass argument"?&nbsp; What was the original probelm you ran into building dhcp?&nbsp; What other modifications have you made to LTIB?&nbsp; Where did your LTIB come from?<br><br>
And - got a log showing the output?&nbsp; do "./ltib -p dhcp -m prep", and then capture output of "./ltib -p dhcp" (so we see the %build and %install parts) - put it in pastebin or somewhere and send the list an accessible URL to it (to save space on the email list).&nbsp;
 Without it can only guess what's gone wrong.<br><br><p></p></span></p>
<p class="MsoNormal">&nbsp;<p></p></p>
<p class="MsoNormal"><span>Chris Westervelt</span><p></p></p>
<p class="MsoNormal"><span>Senior Product Development Engineer</span><p></p></p>
<p class="MsoNormal"><span>Advantor Systems.<br>
12612 Challenger Pkwy<br>
Suite 300<br>
Orlando, FL<br>
32826</span><p></p></p>
<p class="MsoNormal"><span><a moz-do-not-send="true" href="http://www.advantor.com/">http://www.advantor.com</a><br>
Office: &nbsp; (407) 926-6983</span><p></p></p>
<p class="MsoNormal"><span>Mobile: (407) 595-7023&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
Fax:&nbsp;&nbsp;&nbsp; (407) 857-1635</span><span> <br></span><span>Notice of Confidentiality:</span><span>
<br></span><span>This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which
 is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission
 or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either
 by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.</span><p></p></p>
<p class="MsoNormal">&nbsp;<p></p></p>
<p class="MsoNormal"><span><br><br><br><p></p></span></p>
_______________________________________________<p></p>
LTIB home page: <a moz-do-not-send="true" href="http://ltib.org">http://ltib.org</a><p></p>
<p>&nbsp;</p>
Ltib mailing list<p></p>
<a moz-do-not-send="true" href="mailto:Ltib <at> nongnu.org">Ltib <at> nongnu.org</a><p></p>
<a moz-do-not-send="true" href="https://lists.nongnu.org/mailman/listinfo/ltib">https://lists.nongnu.org/mailman/listinfo/ltib</a><p></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
</div>
</blockquote>
<br>
</div>
Chris Westervelt | 26 Jun 17:19 2015

Can't build DHCP on 14.04

Ok hoping someone out there in LTIB land has punched through building DHCP on 14.04 32/64 bit.  I keep getting two errors one of which I have been able to overcome for system type by including ‘Linux’ to the .spec file ./configure line as a pass argument but another  (so far insurmountable) error comes

 

cannot create regular file '/home/advantor/IGII/v1.2/tmp/dhcp//opt/freescale/rootfs/arm/etc/': No such file or directory

 

Chris Westervelt

Senior Product Development Engineer

Advantor Systems.
12612 Challenger Pkwy
Suite 300
Orlando, FL
32826

http://www.advantor.com
Office:   (407) 926-6983

Mobile: (407) 595-7023       
Fax:    (407) 857-1635

Notice of Confidentiality:
This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.

 

<div>
<div class="WordSection1">
<p class="MsoNormal">Ok hoping someone out there in LTIB land has punched through building DHCP on 14.04 32/64 bit.&nbsp; I keep getting two errors one of which I have been able to overcome for system type by including &lsquo;Linux&rsquo; to the .spec file ./configure line
 as a pass argument but another&nbsp; (so far insurmountable) error comes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">cannot create regular file '/home/advantor/IGII/v1.2/tmp/dhcp//opt/freescale/rootfs/arm/etc/': No such file or directory<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><span>Chris Westervelt</span><span><p></p></span></p>
<p class="MsoNormal"><span>Senior Product Development Engineer</span><span><p></p></span></p>
<p class="MsoNormal"><span>Advantor Systems.<br>
12612 Challenger Pkwy<br>
Suite 300<br>
Orlando, FL<br>
32826</span><span><p></p></span></p>
<p class="MsoNormal"><span><a href="http://www.advantor.com/"><span>http://www.advantor.com</span></a><br>
Office: &nbsp; (407) 926-6983<p></p></span></p>
<p class="MsoNormal"><span>Mobile: (407) 595-7023&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
Fax:&nbsp;&nbsp;&nbsp; (407) 857-1635</span><span> <br></span><span>Notice of Confidentiality:</span><span>
<br></span><span>This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which
 is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission
 or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either
 by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.<p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Vassili Syskine | 12 Jun 00:15 2015

ltib fails to build

Hi,

I am trying to build LTIB from scratch, used netinstall.txt
as recommended. ./ltib failed with the message

Can't get: lkc-1.4-link-order.patch

Where does it try to get this patch from and what could be
the possible reasons?

Vassili Syskine

Attachment (smime.p7s): application/pkcs7-signature, 7259 bytes
Hi,

I am trying to build LTIB from scratch, used netinstall.txt
as recommended. ./ltib failed with the message

Can't get: lkc-1.4-link-order.patch

Where does it try to get this patch from and what could be
the possible reasons?

Vassili Syskine

Chris Westervelt | 29 May 17:37 2015

/etc/rc.d/iniit.d vs /etc/init.d

Does anyone know why the current configuration of rc and init file organization in LTIB is not really conformant with typical Linux etc directory structure.  I am trying to implement a StrongSwan implementation and the instructions from Cisco make reference to /etc/init.d for starting the ipsec service.  I upgraded to 5.0.8 of the StrongSwan package but there is no startup script like /etc/rc.d/init.d/ipsec.

 

Chris Westervelt

Senior Product Development Engineer

Advantor Systems.
12612 Challenger Pkwy
Suite 300
Orlando, FL
32826

http://www.advantor.com
Office:   (407) 926-6983

Mobile: (407) 595-7023       
Fax:    (407) 857-1635

Notice of Confidentiality:
This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.

 

<div>
<div class="WordSection1">
<p class="MsoNormal">Does anyone know why the current configuration of rc and init file organization in LTIB is not really conformant with typical Linux etc directory structure.&nbsp; I am trying to implement a StrongSwan implementation and the instructions from
 Cisco make reference to /etc/init.d for starting the ipsec service.&nbsp; I upgraded to 5.0.8 of the StrongSwan package but there is no startup script like /etc/rc.d/init.d/ipsec.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><span>Chris Westervelt</span><span><p></p></span></p>
<p class="MsoNormal"><span>Senior Product Development Engineer</span><span><p></p></span></p>
<p class="MsoNormal"><span>Advantor Systems.<br>
12612 Challenger Pkwy<br>
Suite 300<br>
Orlando, FL<br>
32826</span><span><p></p></span></p>
<p class="MsoNormal"><span><a href="http://www.advantor.com/"><span>http://www.advantor.com</span></a><br>
Office: &nbsp; (407) 926-6983<p></p></span></p>
<p class="MsoNormal"><span>Mobile: (407) 595-7023&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
Fax:&nbsp;&nbsp;&nbsp; (407) 857-1635</span><span> <br></span><span>Notice of Confidentiality:</span><span>
<br></span><span>This e-mail communication and the attachments hereto, if any, are intended solely for the information and use of the addressee(s) identified above and may contain information which
 is legally privileged and/or otherwise confidential. If a recipient of this e-mail communication is not an addressee (or an authorized representative of an addressee), such recipient is hereby advised that any review, disclosure, reproduction, re-transmission
 or other dissemination or use of this e-mail communication (or any information contained herein) is strictly prohibited. If you are not an addressee and have received this e-mail communication in error, please advise the sender of that circumstance either
 by reply e-mail or by telephone at (800) 238-2686, immediately delete this e-mail communication from any computer and destroy all physical copies of same.<p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Madhu Kumar N. | 22 Apr 15:37 2015

booting

Hi

 

I have bug during booting process it shows inflate return -3, please find the attached kernel console output.

 

Please give suggestion

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process it shows inflate return -3,
please find the attached kernel console output.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Madhu Kumar N. | 22 Apr 08:09 2015

booting process

Hi ,

 

 

I have bug during booting process stop at VFS: Mounted root (jffss2 filesystem),  Please find attached booting message.

 

Operating system :  fedora – 12

Tool : LTIB-2008

Kernel version : linux-2.6.25

 

 

Please give suggestion.

 

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi ,<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process stop at VFS: Mounted root
(jffss2 filesystem),&nbsp; Please find attached booting message.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Operating system : &nbsp;fedora &ndash; 12<p></p></p>

<p class="MsoNormal">Tool : LTIB-2008<p></p></p>

<p class="MsoNormal">Kernel version : linux-2.6.25<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Madhu Kumar N. | 22 Apr 08:05 2015

booting process

Hi ,

 

 

I have bug during booting process stop at VFS: Mounted root (jffss2 filesystem),  Please find attached booting message.

 

Operating system :  fedora – 12

Tool : LTIB-2008

Kernel version : linux-2.6.25

 

 

Please give suggestion.

 

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi ,<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process stop at VFS: Mounted root
(jffss2 filesystem),&nbsp; Please find attached booting message.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Operating system : &nbsp;fedora &ndash; 12<p></p></p>

<p class="MsoNormal">Tool : LTIB-2008<p></p></p>

<p class="MsoNormal">Kernel version : linux-2.6.25<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Mathieu Rozon | 29 Jan 23:03 2015

Modified packages using shared development

Hi,

 

I did minor modifications to packages kobs-ng and imx-bootlets.

We are multiple people working on this project and are using Git to share our code.

For the imx-bootlets package, simply adding the source code without scbuild and scdeploy works fine when the developer builds ltib.

My issue is with the kobs-ng package. If I could create and upload a patch everything would should build without problem, but I am trying to find an alternative.

 

I know that before building ltib, I should execute scbuild and scdeploy on the package, but this creates files with absolute paths relative to my build platform not corresponding to the other developers.

 

If I could force ltib to run scbuild and scdeploy on the kobs-ng package when executing ltib it would also solve my problem.

 

Maybe there is also a simpler solution that I simply do not see…

 

Thank you

 

-          Mat -

 

 

 

 

<div><div class="WordSection1">
<p class="MsoNormal">Hi, <p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I did minor modifications to packages kobs-ng and imx-bootlets.<p></p></p>
<p class="MsoNormal">We are multiple people working on this project and are using Git to share our code.<p></p></p>
<p class="MsoNormal">For the imx-bootlets package, simply adding the source code without scbuild and scdeploy works fine when the developer builds ltib.<p></p></p>
<p class="MsoNormal">My issue is with the kobs-ng package. If I could create and upload a patch everything would should build without problem, but I am trying to find an alternative.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I know that before building ltib, I should execute scbuild and scdeploy on the package, but this creates files with absolute paths relative to my build platform not corresponding to the other developers.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">If I could force ltib to run scbuild and scdeploy on the kobs-ng package when executing ltib it would also solve my problem.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Maybe there is also a simpler solution that I simply do not see&hellip;<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thank you<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoListParagraph"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Mat -<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div></div>
L P | 29 Jan 15:07 2015

Re: Cross-compilation errors preventing build

Mike,

Sorry I missed response.  Creating a command line to remove the *.la files after install resolved the issue.

I will attempt upgrading to Gstreamer 1.x (again) in a few weeks.  I am currently at 0.10.31 limited by the TI DMAI plugin build error.  A build error occurred at 0.10.36 as well.

  • Have you (or anyone reading this) had success using a Gstreamer 1.x Linux build solution on TI DM37xx processors?
  • Working on the libvpx build issues to obtain the vp8 codec for webm playback.

Thank you,

Leo

Sent from Surface

From: Mike Goins
Sent: ‎Wednesday‎, ‎January‎ ‎14‎, ‎2015 ‎2‎:‎22‎ ‎PM
To: ltib <at> nongnu.org

On Wed, Jan 14, 2015 at 11:08 AM, Leonard Pimentel
<leo <at> lotus-research.com> wrote:
>
> General cross-compiling question
>
>
>
> Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.
>
>
>
> Error log snippet:
>
>
>
> libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.
>
> /bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory
>
> libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive
>
> make[3]: *** [libgstaudiofx.la] Error 1
>
> make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'
>
> make[2]: *** [audiofx] Error 2
>
> make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'
>
> make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'
>
> make[1]: *** [all-recursive] Error 1
>
>
>
>
>
>
>
> Snippets from spec file
>
>
>
> %define pfx          /opt/freescale/rootfs/%{_target_cpu}
>
> %define LOGICPD_DIR  /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3
>
>
>
> %Build
>
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig
>
>
>
> lt_cv_path_NM=nm \
>
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
>
>                 --with-pkg-config-path=$PKG_CONFIG_PATH \
>
>                 CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \
>
>                 LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \
>
>


This is my working build section for 1.2.2, so not sure if it works
well with 0.10:

%Build
lt_cv_path_NM=nm \
./configure --prefix=%{_prefix} --host=$CFGHOST \
   --build=%{_build} \
   --disable-speex \
   --disable-shout2 \
   --disable-dv1394 \
   --disable-libdv --disable-libcaca \
   --disable-flac \
   --disable-cairo --disable-aalib \
   --disable-aalibtest  \
   --with-sysroot=${DEV_IMAGE}
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool
make


I don't recall why I put the perl snippet in there.  My commit note
was "Beating the gst-* packages into submission so they build
correctly."

I usually poke around other BSP packages to see what they've done.
buildroot uses gst 0.10, yocto is on recent versions.


> %install
>
> rm –rf $RPM_BUILD_ROOT
>
> make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}
>
>
>
>
>
>
>
> The following comment from StackOverflow suggests setting the dependency_libs section.
>
>
>
> Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.
>
>
>
> How can this be accomplished either in the configuration statement or via a libtool –finish command?
>
>
>
> Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.
>
>
>
> # libgstinterfaces-0.10.la - a libtool library file
>
> # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
>
> #
>
> # Please DO NOT delete this file!
>
> # It is necessary for linking the library.
>
>
>
> # The name that we can dlopen(3).
>
> dlname='libgstinterfaces-0.10.so.0'
>
>
>
> # Names of this library.
>
> library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'
>
>
>
> # The name of the static archive.
>
> old_library='libgstinterfaces-0.10.a'
>
>
>
> # Linker flags that can not go in dependency_libs.
>
> inherited_linker_flags=' -pthread'
>
>
>
> # Libraries that this one depends upon.
>
> dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'
>
>
>
> # Names of additional weak libraries provided by this library
>
> weak_library_names=''
>
>
>
> # Version information for libgstinterfaces-0.10.
>
> current=21
>
> age=21
>
> revision=0
>
>
>
> # Is this an already installed library?
>
> installed=yes
>
>
>
> # Should we warn about portability when linking against -modules?
>
> shouldnotlink=no
>
>
>
> # Files to dlopen/dlpreopen
>
> dlopen=''
>
> dlpreopen=''
>
>
>
> # Directory that this library needs to be installed in:
>
> libdir='/usr/lib'
>
>
>
>
>
>
>
>
>
> libgstaudio-0.10.la - a libtool library file
>
> # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
>
> #
>
> # Please DO NOT delete this file!
>
> # It is necessary for linking the library.
>
>
>
> # The name that we can dlopen(3).
>
> dlname='libgstaudio-0.10.so.0'
>
>
>
> # Names of this library.
>
> library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'
>
>
>
> # The name of the static archive.
>
> old_library='libgstaudio-0.10.a'
>
>
>
> # Linker flags that can not go in dependency_libs.
>
> inherited_linker_flags=' -pthread'
>
>
>
> # Libraries that this one depends upon.
>
> dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'
>
>
>
> # Names of additional weak libraries provided by this library
>
> weak_library_names=''
>
>
>
> # Version information for libgstaudio-0.10.
>
> current=21
>
> age=21
>
> revision=0
>
>
>
> # Is this an already installed library?
>
> installed=yes
>
>
>
> # Should we warn about portability when linking against -modules?
>
> shouldnotlink=no
>
>
>
> # Files to dlopen/dlpreopen
>
> dlopen=''
>
> dlpreopen=''
>
>
>
> # Directory that this library needs to be installed in:
>
> libdir='/usr/lib'
>
>
>
>
>
>
>
> Leonard Pimentel
>
> CEO & CTO
>
> Lotus Research, LLC.
>
> Cell: (917) 834-7533
>
>
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib
>

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

Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib
<div>
<div data-externalstyle="false" dir="ltr">
<div>Mike,</div>
<div><br></div>
<div>Sorry I missed response.&nbsp; Creating a command line to remove the *.la files after install resolved the issue.</div>
<div><br></div>
<div>I will attempt upgrading to Gstreamer 1.x (again) in a few weeks.&nbsp; I am currently at 0.10.31 limited by the TI DMAI plugin build error.&nbsp; A build error occurred at 0.10.36 as well.</div>
<div><br></div>
<ul>
<li><div>Have you&nbsp;(or anyone&nbsp;reading this)&nbsp;had success using a Gstreamer 1.x Linux build solution on TI DM37xx processors?</div></li>
<li><div data-signatureblock="true">Working on the libvpx build issues to obtain the vp8 codec for webm playback.</div></li>
</ul>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Thank you,</div>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Leo</div>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Sent from Surface</div>
<div data-signatureblock="true"><br></div>
<div><div>From:&nbsp;<a href="mailto:mike.goins <at> adtecservices.net" target="_parent">Mike Goins</a><br>Sent:&nbsp;&lrm;Wednesday&lrm;, &lrm;January&lrm; &lrm;14&lrm;, &lrm;2015 &lrm;2&lrm;:&lrm;22&lrm; &lrm;PM<br>To:&nbsp;<a href="mailto:ltib <at> nongnu.org" target="_parent">ltib <at> nongnu.org</a>
</div></div>
<div><br></div>
<div dir="">
<div class="PlainText">On Wed, Jan 14, 2015 at 11:08 AM, Leonard Pimentel<br>
&lt;leo <at> lotus-research.com&gt; wrote:<br>
&gt;<br>
&gt; General cross-compiling question<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?&nbsp; I am running into build errors.&nbsp; Help is appreciated.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Error log snippet:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.<br>
&gt;<br>
&gt; /bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory<br>
&gt;<br>
&gt; libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive<br>
&gt;<br>
&gt; make[3]: *** [libgstaudiofx.la] Error 1<br>
&gt;<br>
&gt; make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'<br>
&gt;<br>
&gt; make[2]: *** [audiofx] Error 2<br>
&gt;<br>
&gt; make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'<br>
&gt;<br>
&gt; make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'<br>
&gt;<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Snippets from spec file<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; %define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freescale/rootfs/%{_target_cpu}<br>
&gt;<br>
&gt; %define LOGICPD_DIR&nbsp; /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; %Build<br>
&gt;<br>
&gt; export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; lt_cv_path_NM=nm \<br>
&gt;<br>
&gt; ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-pkg-config-path=$PKG_CONFIG_PATH \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \<br>
&gt;<br>
&gt;<br><br><br>
This is my working build section for 1.2.2, so not sure if it works<br>
well with 0.10:<br><br>
%Build<br>
lt_cv_path_NM=nm \<br>
./configure --prefix=%{_prefix} --host=$CFGHOST \<br>
&nbsp;&nbsp; --build=%{_build} \<br>
&nbsp;&nbsp; --disable-speex \<br>
&nbsp;&nbsp; --disable-shout2 \<br>
&nbsp;&nbsp; --disable-dv1394 \<br>
&nbsp;&nbsp; --disable-libdv --disable-libcaca \<br>
&nbsp;&nbsp; --disable-flac \<br>
&nbsp;&nbsp; --disable-cairo --disable-aalib \<br>
&nbsp;&nbsp; --disable-aalibtest&nbsp; \<br>
&nbsp;&nbsp; --with-sysroot=${DEV_IMAGE}<br>
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool<br>
make<br><br><br>
I don't recall why I put the perl snippet in there.&nbsp; My commit note<br>
was "Beating the gst-* packages into submission so they build<br>
correctly."<br><br>
I usually poke around other BSP packages to see what they've done.<br>
buildroot uses gst 0.10, yocto is on recent versions.<br><br><br>
&gt; %install<br>
&gt;<br>
&gt; rm &ndash;rf $RPM_BUILD_ROOT<br>
&gt;<br>
&gt; make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The following comment from StackOverflow suggests setting the dependency_libs section.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; How can this be accomplished either in the configuration statement or via a libtool &ndash;finish command?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Contents of two .la files.&nbsp; Note the libdir is referenced the file system directory path under the cross-compilied target.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # libgstinterfaces-0.10.la - a libtool library file<br>
&gt;<br>
&gt; # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<br>
&gt;<br>
&gt; #<br>
&gt;<br>
&gt; # Please DO NOT delete this file!<br>
&gt;<br>
&gt; # It is necessary for linking the library.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name that we can dlopen(3).<br>
&gt;<br>
&gt; dlname='libgstinterfaces-0.10.so.0'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of this library.<br>
&gt;<br>
&gt; library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name of the static archive.<br>
&gt;<br>
&gt; old_library='libgstinterfaces-0.10.a'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Linker flags that can not go in dependency_libs.<br>
&gt;<br>
&gt; inherited_linker_flags=' -pthread'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Libraries that this one depends upon.<br>
&gt;<br>
&gt; dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of additional weak libraries provided by this library<br>
&gt;<br>
&gt; weak_library_names=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Version information for libgstinterfaces-0.10.<br>
&gt;<br>
&gt; current=21<br>
&gt;<br>
&gt; age=21<br>
&gt;<br>
&gt; revision=0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Is this an already installed library?<br>
&gt;<br>
&gt; installed=yes<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Should we warn about portability when linking against -modules?<br>
&gt;<br>
&gt; shouldnotlink=no<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Files to dlopen/dlpreopen<br>
&gt;<br>
&gt; dlopen=''<br>
&gt;<br>
&gt; dlpreopen=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Directory that this library needs to be installed in:<br>
&gt;<br>
&gt; libdir='/usr/lib'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; libgstaudio-0.10.la - a libtool library file<br>
&gt;<br>
&gt; # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<br>
&gt;<br>
&gt; #<br>
&gt;<br>
&gt; # Please DO NOT delete this file!<br>
&gt;<br>
&gt; # It is necessary for linking the library.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name that we can dlopen(3).<br>
&gt;<br>
&gt; dlname='libgstaudio-0.10.so.0'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of this library.<br>
&gt;<br>
&gt; library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name of the static archive.<br>
&gt;<br>
&gt; old_library='libgstaudio-0.10.a'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Linker flags that can not go in dependency_libs.<br>
&gt;<br>
&gt; inherited_linker_flags=' -pthread'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Libraries that this one depends upon.<br>
&gt;<br>
&gt; dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of additional weak libraries provided by this library<br>
&gt;<br>
&gt; weak_library_names=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Version information for libgstaudio-0.10.<br>
&gt;<br>
&gt; current=21<br>
&gt;<br>
&gt; age=21<br>
&gt;<br>
&gt; revision=0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Is this an already installed library?<br>
&gt;<br>
&gt; installed=yes<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Should we warn about portability when linking against -modules?<br>
&gt;<br>
&gt; shouldnotlink=no<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Files to dlopen/dlpreopen<br>
&gt;<br>
&gt; dlopen=''<br>
&gt;<br>
&gt; dlpreopen=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Directory that this library needs to be installed in:<br>
&gt;<br>
&gt; libdir='/usr/lib'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Leonard Pimentel<br>
&gt;<br>
&gt; CEO &amp; CTO<br>
&gt;<br>
&gt; Lotus Research, LLC.<br>
&gt;<br>
&gt; Cell: (917) 834-7533<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; LTIB home page: <a href="http://ltib.org" target="_parent">http://ltib.org</a><br>
&gt;<br>
&gt; Ltib mailing list<br>
&gt; Ltib <at> nongnu.org<br>
&gt; <a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_parent">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
&gt;<br><br>
_______________________________________________<br>
LTIB home page: <a href="http://ltib.org" target="_parent">http://ltib.org</a><br><br>
Ltib mailing list<br>
Ltib <at> nongnu.org<br><a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_parent">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
</div>

</div>
</div>
</div>

Gmane