Re: [yocto] [Yocto] Fullpass Test Report for Beagleboard 1.1 M1 20110602 Build

2011-06-09 Thread Richard Purdie
On Wed, 2011-06-08 at 15:09 -0700, Stewart, David C wrote:
> I think it's reasonable as a M* milestone

Agreed. The whole point of the milestones is to check for regressions
introduced by major changes like the toolchain upgrade. We now know what
the regressions are and can work to address them. The process is working
as it should :).

Cheers,

Richard


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Unscheduled tasks

2011-06-09 Thread Richard Purdie
Hi,

I've talked to variois people about adding things to the unscheduled
feature list. This was buried at the bottom of the current schedule but
it now has its own page:

https://wiki.pokylinux.org/wiki/Yocto_Project_Unscheduled_Feature_List

I'd really like to get the stuff on there cleaned up. It may be these
end up as feature enhancement requests in the bugzilla and this page
becomes autogenerated from those. For now I'd like to:

a) Clean up the descriptions on this page where we can

b) Ensure we keep adding ideas to this list or bugzilla but that we do
record things somewhere.

Cheers,

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] undefined reference to `pthread_getspecific' in perl-native_5.12.2.bb task do_compile?

2011-06-09 Thread Daryl Spitzer
> Looks like we fixed this issue in our recent point release. Could you
> try http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2 ?

I tried it, and am getting what I think is an unrelated error.  I'll
start a new thread for that.

Shouldn't documentation references to
"http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.tar.bz2";
be changed to 
"http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz";
(such as in 
http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html)?

Thanks Joshua and Gary.

--
Daryl


On Wed, Jun 8, 2011 at 4:57 PM, Joshua Lock  wrote:
> On Wed, 2011-06-08 at 06:48 -0700, Daryl Spitzer wrote:
>> >>> Does this look familiar?  Why would I be getting these errors when
>> >>> following the Yocto Project Quick Start instructions, without changes?
>> >>>  Did I miss something?
>> >>
>> >> It does not. However this is when trying to build perl-native, i.e. Poky
>> >> is trying to build its own version of Perl but linked against your
>> >> system libraries etc and is unable to find some pthread functions to
>> >> link to.
>> >>
>> >> Can you tell us which distribution/version combination you are using?
>> >>
>> >> Could be that we need to patch perl-native to -lpthread ?
>> >
>> > Is your host Ubuntu 11.04 on x86 (not x86_64)?  There was a patch for this
>> > that I'm not sure got back ported into Bernard.
>>
>> Oops.  I forgot to provide those details...
>>
>> My host is Ubuntu 11.04 64 bit:
>>
>> $ cat /etc/lsb-release
>> DISTRIB_ID=Ubuntu
>> DISTRIB_RELEASE=11.04
>> DISTRIB_CODENAME=natty
>> DISTRIB_DESCRIPTION="Ubuntu 11.04"
>> $ uname -m
>> x86_64
>>
>> I ran `wget 
>> http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.tar.bz2`
>> (as directed in the Yocto Project Quick Start).  Does that 5.0
>> correspond to Yocto Project 1.0.1?
>
> Hi Daryl,
>
> Looks like we fixed this issue in our recent point release. Could you
> try
> http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2 ?
>
> Cheers,
> Joshua
> --
> Joshua Lock
>        Yocto Build System Monkey
>        Intel Open Source Technology Centre
>
>
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Troubleshooting ERROR: Function 'Fetcher failure for URL: 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs; module=apps/update-rc.d; tag=r0_7'?

2011-06-09 Thread Daryl Spitzer
I'm continuing to try to successfully build an image for the first
time, following the instructions in the Yocto Project Quick Start
(http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html).

As suggested in
https://lists.yoctoproject.org/pipermail/yocto/2011-June/001598.html,
I'm now trying 
http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2.
 And I'm following the instructions in
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy,
including defining CVS_PROXY_HOST & CVS_PROXY_PORT in my local.conf
file.

But I'm getting the following error:

NOTE: fetch 
http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
NOTE: Fetch 
cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
cvs [checkout aborted]: end of file from server (consult above messages if any)
ERROR: Function 'Fetcher failure for URL:
'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7'.
Unable to fetch URL
cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
from any source.' failed

(This is the contents of the logfile created in
poky-5.0.1-build/tmp/work/all-poky-linux/update-rc.d-0.7-r3/temp/log.do_fetch.16236.)

It's not clear to me if this is a proxy problem.

If I try `wget 
http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`,
I see the following:

$ wget 
http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
--2011-06-09 11:25:37--
http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
Resolving gateway... 149.199.33.100, 172.22.140.250
Connecting to gateway|149.199.33.100|:8080... connected.
Proxy request sent, awaiting response... 400 Bad Request
2011-06-09 11:25:37 ERROR 400: Bad Request.

But `wget 
http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`
(same as above, but s/anoncvs@//) succeeds:

 wget 
http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
--2011-06-09 11:29:39--
http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
Resolving gateway... 149.199.33.100, 172.22.140.250
Connecting to gateway|149.199.33.100|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2475 (2.4K) [application/x-gzip]
Saving to: `apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz'

100%[==>] 2,475   --.-K/s   in 0s

2011-06-09 11:29:39 (336 MB/s) -
`apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz' saved
[2475/2475]


How do I troubleshoot or move past this?

--
Daryl
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Troubleshooting ERROR: Function 'Fetcher failure for URL: 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs; module=apps/update-rc.d; tag=r0_7'?

2011-06-09 Thread Richard Purdie
On Thu, 2011-06-09 at 11:32 -0700, Daryl Spitzer wrote:
> I'm continuing to try to successfully build an image for the first
> time, following the instructions in the Yocto Project Quick Start
> (http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html).
> 
> As suggested in
> https://lists.yoctoproject.org/pipermail/yocto/2011-June/001598.html,
> I'm now trying 
> http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2.
>  And I'm following the instructions in
> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy,
> including defining CVS_PROXY_HOST & CVS_PROXY_PORT in my local.conf
> file.
> 
> But I'm getting the following error:
> 
> NOTE: fetch 
> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
> NOTE: Fetch 
> cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
> cvs [checkout aborted]: end of file from server (consult above messages if 
> any)
> ERROR: Function 'Fetcher failure for URL:
> 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7'.
> Unable to fetch URL
> cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
> from any source.' failed
> 
> (This is the contents of the logfile created in
> poky-5.0.1-build/tmp/work/all-poky-linux/update-rc.d-0.7-r3/temp/log.do_fetch.16236.)
> 
> It's not clear to me if this is a proxy problem.
> 
> If I try `wget 
> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`,
> I see the following:
> 
> $ wget 
> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
> --2011-06-09 11:25:37--
> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
> Resolving gateway... 149.199.33.100, 172.22.140.250
> Connecting to gateway|149.199.33.100|:8080... connected.
> Proxy request sent, awaiting response... 400 Bad Request
> 2011-06-09 11:25:37 ERROR 400: Bad Request.
> 
> But `wget 
> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`
> (same as above, but s/anoncvs@//) succeeds:
> 
>  wget 
> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
> --2011-06-09 11:29:39--
> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
> Resolving gateway... 149.199.33.100, 172.22.140.250
> Connecting to gateway|149.199.33.100|:8080... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 2475 (2.4K) [application/x-gzip]
> Saving to: `apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz'
> 
> 100%[==>] 2,475   --.-K/s   in 0s
> 
> 2011-06-09 11:29:39 (336 MB/s) -
> `apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz' saved
> [2475/2475]
> 
> 
> How do I troubleshoot or move past this?

To move past it, place the file you've downloaded into wherever DL_DIR
is pointing and also touch
apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz.done to signify the
download is complete. It should them move you past that point.

As for the root cause, we should be discarding the username information
when trying mirrors. I'll have a look and see if I can work out a patch
for the fetcher to do that...

Cheers,

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Troubleshooting ERROR: Function 'Fetcher failure for URL: 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs; module=apps/update-rc.d; tag=r0_7'?

2011-06-09 Thread Daryl Spitzer
Thanks Richard.

How do I find out where DL_DIR is pointing?

I found this line, commented out in conf/local.conf:

#DL_DIR ?= "${TOPDIR}/downloads"

It's not listed after I run `bitbake -k poky-image-sato`:

OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH   = ""
METADATA_REVISION = ""
TARGET_ARCH   = "i586"
TARGET_OS = "linux"
MACHINE   = "qemux86"
DISTRO= "poky"
DISTRO_VERSION= "1.0.1"
TARGET_FPU= ""

And there is no DL_DIR environment variable defined (after I run
`source poky-bernard-5.0.1/poky-init-build-env poky-5.0.1-build`).

There is a poky-5.0.1-build/downloads directory.  I'll assume that's
it.  But I'd like to learn how to find out without guessing.

--
Daryl

P.S.  It looks like that was a safe assumption.  The build has moved
past that point of failure.


On Thu, Jun 9, 2011 at 2:54 PM, Richard Purdie
 wrote:
> On Thu, 2011-06-09 at 11:32 -0700, Daryl Spitzer wrote:
>> I'm continuing to try to successfully build an image for the first
>> time, following the instructions in the Yocto Project Quick Start
>> (http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html).
>>
>> As suggested in
>> https://lists.yoctoproject.org/pipermail/yocto/2011-June/001598.html,
>> I'm now trying 
>> http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2.
>>  And I'm following the instructions in
>> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy,
>> including defining CVS_PROXY_HOST & CVS_PROXY_PORT in my local.conf
>> file.
>>
>> But I'm getting the following error:
>>
>> NOTE: fetch 
>> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
>> NOTE: Fetch 
>> cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
>> cvs [checkout aborted]: end of file from server (consult above messages if 
>> any)
>> ERROR: Function 'Fetcher failure for URL:
>> 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7'.
>> Unable to fetch URL
>> cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
>> from any source.' failed
>>
>> (This is the contents of the logfile created in
>> poky-5.0.1-build/tmp/work/all-poky-linux/update-rc.d-0.7-r3/temp/log.do_fetch.16236.)
>>
>> It's not clear to me if this is a proxy problem.
>>
>> If I try `wget 
>> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`,
>> I see the following:
>>
>> $ wget 
>> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
>> --2011-06-09 11:25:37--
>> http://anon...@autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
>> Resolving gateway... 149.199.33.100, 172.22.140.250
>> Connecting to gateway|149.199.33.100|:8080... connected.
>> Proxy request sent, awaiting response... 400 Bad Request
>> 2011-06-09 11:25:37 ERROR 400: Bad Request.
>>
>> But `wget 
>> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz`
>> (same as above, but s/anoncvs@//) succeeds:
>>
>>  wget 
>> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
>> --2011-06-09 11:29:39--
>> http://autobuilder.yoctoproject.org/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz
>> Resolving gateway... 149.199.33.100, 172.22.140.250
>> Connecting to gateway|149.199.33.100|:8080... connected.
>> Proxy request sent, awaiting response... 200 OK
>> Length: 2475 (2.4K) [application/x-gzip]
>> Saving to: `apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz'
>>
>> 100%[==>] 2,475       --.-K/s   in 0s
>>
>> 2011-06-09 11:29:39 (336 MB/s) -
>> `apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz' saved
>> [2475/2475]
>>
>>
>> How do I troubleshoot or move past this?
>
> To move past it, place the file you've downloaded into wherever DL_DIR
> is pointing and also touch
> apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz.done to signify the
> download is complete. It should them move you past that point.
>
> As for the root cause, we should be discarding the username information
> when trying mirrors. I'll have a look and see if I can work out a patch
> for the fetcher to do that...
>
> Cheers,
>
> Richard
>
>
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Troubleshooting ERROR: Function 'Fetcher failure for URL: 'cvs://anoncvs:anon...@anoncvs.handhelds.org/cvs; module=apps/update-rc.d; tag=r0_7'?

2011-06-09 Thread Richard Purdie
On Thu, 2011-06-09 at 15:17 -0700, Daryl Spitzer wrote:
> How do I find out where DL_DIR is pointing?
> 
> I found this line, commented out in conf/local.conf:
> 
> #DL_DIR ?= "${TOPDIR}/downloads"
> 
> It's not listed after I run `bitbake -k poky-image-sato`:
> 
> OE Build Configuration:
> BB_VERSION= "1.11.0"
> METADATA_BRANCH   = ""
> METADATA_REVISION = ""
> TARGET_ARCH   = "i586"
> TARGET_OS = "linux"
> MACHINE   = "qemux86"
> DISTRO= "poky"
> DISTRO_VERSION= "1.0.1"
> TARGET_FPU= ""
> 
> And there is no DL_DIR environment variable defined (after I run
> `source poky-bernard-5.0.1/poky-init-build-env poky-5.0.1-build`).
> 
> There is a poky-5.0.1-build/downloads directory.  I'll assume that's
> it.  But I'd like to learn how to find out without guessing.

You can dump the bitbake datastore and find it like this:

bitbake -e | grep ^DL_DIR

Also, I think I have a patch for your problem:

diff --git a/bitbake/lib/bb/fetch2/__init__.py 
b/bitbake/lib/bb/fetch2/__init__.py
index 27fcc3c..02a36b5 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -203,7 +203,10 @@ def uri_replace(ud, uri_find, uri_replace, d):
 result_decoded[loc] = uri_decoded[loc]
 if isinstance(i, basestring):
 if (re.match(i, uri_decoded[loc])):
-result_decoded[loc] = re.sub(i, uri_replace_decoded[loc], 
uri_decoded[loc])
+if not uri_replace_decoded[loc]:
+result_decoded[loc] = ""
+else:
+result_decoded[loc] = re.sub(i, uri_replace_decoded[loc], 
uri_decoded[loc])
 if uri_find_decoded.index(i) == 2:
 if ud.mirrortarball:
 result_decoded[loc] = 
os.path.join(os.path.dirname(result_decoded[loc]), 
os.path.basename(ud.mirrortarball))

although I'm running some further tests on this to confirm it...

Cheers,

Richard


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] undefined reference to `pthread_getspecific' in perl-native_5.12.2.bb task do_compile?

2011-06-09 Thread Joshua Lock
On Thu, 2011-06-09 at 11:17 -0700, Daryl Spitzer wrote:
> > Looks like we fixed this issue in our recent point release. Could you
> > try http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2 ?
> 
> I tried it, and am getting what I think is an unrelated error.  I'll
> start a new thread for that.
> 
> Shouldn't documentation references to
> "http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.tar.bz2";
> be changed to 
> "http://www.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz";
> (such as in 
> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html)?

You are right Daryl, apologies for any inconvenience. I've filed a bug
with a patch attached for the Quick Start doc.

http://bugzilla.yoctoproject.org/show_bug.cgi?id=1153

Regards,
Joshua
-- 
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Centre

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto