ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Build problem in Ubuntu 12.04 LTS


From: Li Yuan-Lung
Subject: Re: [Ltib] Build problem in Ubuntu 12.04 LTS
Date: Fri, 25 May 2012 15:24:59 +0800

Dear Stuart Hughes,
Did you try the ltib build with the Ubuntu 12.04?
Do you have any other suggestions?

Henry

2012/5/14 Li Yuan-Lung <address@hidden>
Dear Stuart Hughes,
I have try your debug message and the log as attachment.

Thank you very much!

Henry

2012/5/11 Stuart Hughes <address@hidden>
Hi Henry,

There's not much point downloading this directly as there will be many more downloads needed later on.

I have not got this Ubuntu, so I have to guess a little.  Can you put this change in to see if LTIB is actually trying to get the file.  If it is, add some more debugs to try to figure out what's going on.  The odd thing is it appears that the get_file function is not doing anything (or not being called):

Index: bin/Ltibutils.pm
===================================================================
RCS file: /sources/ltib/ltib/bin/Ltibutils.pm,v
retrieving revision 1.38
diff -u -r1.38 Ltibutils.pm
--- bin/Ltibutils.pm    7 Aug 2011 15:05:53 -0000    1.38
+++ bin/Ltibutils.pm    11 May 2012 10:01:36 -0000
@@ -254,6 +254,7 @@
 sub get_file
 {
     my ($url, $cf, $force_md5) = @_;
+warn "get_file: @_";
     warn("no url passed"), return unless $url;
     warn("lpp: $cf->{lpp} is not a directory"), return unless -d $cf->{lpp};
     my ($path,  $refmd5);

Regards, Stuart


On 10/05/12 09:00, Li Yuan-Lung wrote:
Dear Stuart,
Attachment is the new log without "-v" option and the diff result.
May I get the package manually as a workaround?

The connection seems no problem to the server. I don't know why the ltib can not get it. Please kindly give me the direct path and tell me local placement folder(is it "/tmp/rpm_xxx/" or "/tmp/rpm_xxx/RPMS" ?), I want to try it by using wget command.

Henry


2012/5/10 Stuart Hughes <address@hidden>
Hi Henry,

This is a different error:


Build path taken because: no prebuilt rpm,
Can't get: rpm-4.0.4.tar.gz at ./ltib line 834.
Died at ./ltib line 2539.
traceback:
 main::check_rpm_setup:2539

 main::host_checks:1520
  main:561

 which indicates that ltib was not able to download the source file. Is your network connection okay? ltib will try to connect to http://bitshrine.org/.... to get files on demand.

Can you re-run without the -v option and cut and paste any relevant lines. Also if you've made changes show what they are (a cvs diff -u).

Regards, Stuart



On 05/07/2012 02:48 AM, Li Yuan-Lung wrote:
Dear Stuart,
Here is the result,

   ~/prjs/ltib$ rpm --force-debian
   ~/prjs/ltib$ echo $?
   0


I have change the line in ./ltib but still got a stuck as attachment. Please kindly check. Thank you very much!


Henry

2012/5/6 Stuart Hughes <address@hidden <mailto:address@hidden>>


   Hi Li,

   This is a new distro, so I guess something yet again changed.

   Can you send me the output at the command line of the following
   commands:

   rpm --force-debian
   echo $?

   I want to see:
          1. If it has this option
          2. If it returns an error, if not.

   There's check at line 2518 that's supposed to handle whether or
   not that
   flag is used.  Some versions of distros need it.

   Regards, Stuart

   On 04/05/12 10:10, Li Yuan-Lung wrote:
   > Dear Ltib members,
   > Our company is considered to use the Ubuntu 12.04 LTS for the
   long term
   > support requirement.
   > After I setup the environment. The ltib seems to have an old
   problem,
   > which always build fail at "rpm-fs" package.
   > I am still finding the solution, please kindly have some
   suggestion for
   > me, thank you very much!
   >
   > Below is the content of host_config.log:
   >
   >     rpmdb: --force-debian: unknown option
   >
   >     Processing platform: host support
   >     ===================================
   >
   >     Processing: rpm-fs
   >     ====================
   >     Build path taken because: no prebuilt rpm,
   >     Can't get: rpm-4.0.4.tar.gz at ./ltib line 834.
   >     Died at ./ltib line 2538.
   >     traceback:
   >      main::check_rpm_setup:2538
   >       main::host_checks:1520
   >        main:561
   >
   >
   >     Started: Fri May  4 17:04:13 2012
   >     Ended:   Fri May  4 17:04:17 2012
   >     Elapsed: 4 seconds
   >
   >     Use of uninitialized value in concatenation (.) or string at
   ./ltib
   >     line 2858.
   >     Use of uninitialized value in concatenation (.) or string at
   ./ltib
   >     line 2858.
   >     VERSION          : 11.4.1
   >     CVS_VERSION      : $Revision: 1.86 $ (Savannah)
   >     PLATFORM         : host
   >     GNUTARCH         : i686
   >     TOOLCHAIN        :
   >     TOOLCHAIN_CFLAGS :
   >
   >     These packages failed to build:
   >     rpm-fs
   >
   >     Build Failed
   >
   >






--
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231 <tel:%2B886-2-2794-0001%20ext.231>
FAX: +886-2-2792-6618 <tel:%2B886-2-2792-6618>






--
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618




--
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618



--
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618

reply via email to

[Prev in Thread] Current Thread [Next in Thread]