Hi Henry,
Don't worry about those paths, they are just used to see if there is
a local copy. In the end it will try a download (these paths come
from the .ltibrc config file).
Please refer to my earlier mail: you need to get your local network
working!
"""
You need to fix your network problems to get this to work, it's not
feasible to manually download the files.
Start of by trying to load a file from the GPP from a browser on the
same machine you have ltib installed, for example try accessing: http://bitshrine.org/gpp/termcap-buffer.patch
If that works, then use any proxy settings you have in the browser
settings in the .ltibrc ltib config file.
""""
Regards, Stuart
On 04/07/12 10:16, Li Yuan-Lung wrote:
Hi Stuart,
I have added some print code to dump the download path in the
./bin/Ltibutils.pm (The sub-func "get_file" in about line 275).
Which shows a strange path like:
PATH:/data/Websites/bitshrine/gpp/rpm-4.0.4.tar.gz,
DIR:/data/Websites/bitshrine/gpp, FILE:rpm-4.0.4.tar.gz
Since there is no such path in my local, I guess it want to check
the package existing in bitshrine.org.
And I think the ltib want to have the package, I manually
downloaded the rpm-4.0.4.tar.gz as below:
/tmp/rpm-henry$ wget http://bitshrine.org/gpp/rpm-4.0.4.tar.gz
And after re-run the ltib, it passed rpm package checking but fail
in the next one:rpm_lfs.patch.
So I guess there might be something wrong when getting the package
from bitshrine.
Attachment is the logs for you to help check. And modified
Ltibutility.pm.
Thank you very much.
Henry
2012/7/2 Stuart Hughes <address@hidden>
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 <address@hidden
>> <mailto: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
<mailto: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
<mailto: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>
<mailto: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>
>>>
<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
> address@hidden
> 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
|