Hi Stuart,
After testing, I am still stuck at the rpm-4.0.4.tar.gz get

The error message is still like below:

$ cat /home/henry/prjs/hpgw/ltib/host_config.log
>
> 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 2537.
> traceback:
>  main::check_rpm_setup:2537
>   main::host_checks:1520
>    main:561
>
>
> Started: Tue Jul  3 17:48:06 2012
> Ended:   Tue Jul  3 17:48:09 2012
> Elapsed: 3 seconds
>
> VERSION          : 11.4.1
> CVS_VERSION      : $Revision: 1.87 $ (Savannah)
> PLATFORM         : host
> GNUTARCH         : i686
> TOOLCHAIN        :
> TOOLCHAIN_CFLAGS :
>
> These packages failed to build:
> rpm-fs
>
> Build Failed
>

Is it possible for me to get the package manually or to check if my
firewall block the download link in the script?
Thank you.

Henry


2012/7/2 Stuart Hughes <[email protected]>

> Hi everyone,
>
> I managed to get some time to test LTIB on Ubuntu 12.04 (Xubuntu, 32
> bit).  There were no significant changes needed, although I checked in
> some minor changes to clear some warning messages (the force-debian one).
>
> So if you want to try on Ubuntu 12.04 and you check-out the latest from
> CVS and follow these step, you should be successful.
>
> ---+ Steps to install LTIB on Ubuntu 12.04
>
> Install dependencies (yours may vary):
>
>         sudo apt-get install g++ zlib1g-dev rpm libncurses5-dev patch
>
>         sudo visudo
>
> Add a line to enable sudo for your username.  For example mine is seh
> and this is what I added at the end of the file:
>
>         seh ALL = NOPASSWD: /usr/bin/rpm, /opt/ltib/usr/bin/rpm
>
> Run ltib after CVS checkout:
>
>         ./ltib
>
>
> Regards, Stuart
>
>
> On 25/05/12 08:45, Stuart Hughes wrote:
> > Hi Henry,
> >
> > Unfortunately I don't have Ubuntu 12.04 or the time to install it.  If
> > anyone has a machine setup that I could log into and take a look, that
> > would help (I would need sudo access for though).
> >
> > Sorry about that, but work pressures call me to other things.
> >
> > Regards, Stuart
> >
> > On 25/05/12 08:24, Li Yuan-Lung wrote:
> >> 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 <[email protected]
> >> <mailto:[email protected]>>
> >>
> >>     Dear Stuart Hughes,
> >>     I have try your debug message and the log as attachment.
> >>
> >>     Thank you very much!
> >>
> >>     Henry
> >>
> >>     2012/5/11 Stuart Hughes <[email protected] <mailto:[email protected]>>
> >>
> >>         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 <[email protected] <mailto:[email protected]>>
> >>>
> >>>             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 <[email protected]
> >>>                 <mailto:[email protected]> <mailto:[email protected]
> >>>                 <mailto:[email protected]>>>
> >>>
> >>>
> >>>                    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>
> >>>                 <tel:%2B886-2-2794-0001%20ext.231>
> >>>                 FAX: +886-2-2792-6618 <tel:%2B886-2-2792-6618>
> >>>                 <tel:%2B886-2-2792-6618>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>         --
> >>>         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 <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
> >
> >
> >
> > _______________________________________________
> > LTIB home page: http://ltib.org
> >
> > Ltib mailing list
> > [email protected]
> > https://lists.nongnu.org/mailman/listinfo/ltib
> >
>
>
>
>
>


-- 
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to