libpam_1.1.5.b problem

I’m trying to compile
#MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel

or
**#**MACHINE=beaglebone ./oebb.sh bitbake systemd-image
or
**#**MACHINE=beaglebone ./oebb.sh bitbake cloud9-image
and I always obtein the same result:

ERROR: Error executing a python function in /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb:
IOError: [Errno 2] No such file or directory: ‘/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam/./pam.d/*’

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File “base_do_fetch”, line 18, in
ERROR:
ERROR: File “base_do_fetch”, line 13, in base_do_fetch

Could anyone help me, please??
Thanks very much.

Did you try cleaning and rebuilding the failing package?
bitbake -c cleansstate libpam
bitbake libpam

Or clean it like above
then to just fetch
bitbake -c fetch libpam

If it's your first time building everything some fetches will fail. I have never been able to start a build on a fresh system without some fetches failing.

HTH

I have exactly the same issue. I’ve tried cleaning and re-fetching libpam but still get the same error.

I wondered if there is an issue in the script as it gets upset with this location:
{snipped}/sources/openembedded-
core/meta/recipes-extended/pam/libpam/./pam.d/*

Is there an extra “/.” that shouldn’t be in there?

I tried all options you type me, but when I execute
#bitbake libpam or
#bitbake -c fetch libpam
I always received the same messages:

NOTE: package libpam-1.1.5-r3: task do_fetch: Started
ERROR: Error executing a python function in /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb:
IOError: [Errno 2] No such file or directory: ‘/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam/./pam.d/*’

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File “base_do_fetch”, line 18, in
ERROR:
ERROR: File “base_do_fetch”, line 13, in base_do_fetch
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 1006, in download
ERROR: update_stamp(u, ud, self.d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 335, in update_stamp
ERROR: verify_checksum(u, ud, d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 277, in verify_checksum
ERROR: md5data = bb.utils.md5_file(ud.localpath)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/utils.py”, line 362, in md5_file
ERROR: for line in open(filename):
ERROR:
ERROR: The code that was being executed was:
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: *** 0018:base_do_fetch(d)
ERROR: 0019:
ERROR: (file: ‘base_do_fetch’, lineno: 18, function: )
ERROR: 0009: bb.data.update_data(localdata)
ERROR: 0010:
ERROR: 0011: try:
ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, localdata)
ERROR: *** 0013: fetcher.download()
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: (file: ‘base_do_fetch’, lineno: 13, function: base_do_fetch)
ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/libpam-1.1.5-r3/temp/log.do_fetch.3386
NOTE: package libpam-1.1.5-r3: task do_fetch: Failed
ERROR: Task 4 (/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch) failed with exit code ‘1’
Waiting for 1 running tasks to finish:
0: git-native-1.7.10.2-r0 do_install (pid 3385)
NOTE: package git-native-1.7.10.2-r0: task do_install: Succeeded
NOTE: Tasks Summary: Attempted 744 tasks of which 742 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch
Summary: There were 37 ERROR messages shown, returning a non-zero exit code.

Couls anyone help me please??
Thanks.

2012/5/23 Don deJuan <donjuansjiz@gmail.com>

Do a 'git pull ; ./oebb.sh update' that will drag in the fix for this into sources/bitbake

regards,

Koen

Is this the right mode:

#git pull ; ./oebb.sh update
#MACHINE=beaglebone ./oebb.sh config beaglebone
#MACHINE=beaglebone ./oebb.sh update
#MACHINE=beaglebone ./oebb.sh bitbake systemd-image

I did previous steps and the same result:

ERROR: Error executing a python function in /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb:
IOError: [Errno 2] No such file or directory: ‘/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam/./pam.d/*’

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File “base_do_fetch”, line 18, in
ERROR:
ERROR: File “base_do_fetch”, line 13, in base_do_fetch
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 1006, in download
ERROR: update_stamp(u, ud, self.d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 335, in update_stamp
ERROR: verify_checksum(u, ud, d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 277, in verify_checksum
ERROR: md5data = bb.utils.md5_file(ud.localpath)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/utils.py”, line 362, in md5_file
ERROR: for line in open(filename):
ERROR:
ERROR: The code that was being executed was:
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: *** 0018:base_do_fetch(d)
ERROR: 0019:
ERROR: (file: ‘base_do_fetch’, lineno: 18, function: )
ERROR: 0009: bb.data.update_data(localdata)
ERROR: 0010:
ERROR: 0011: try:
ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, localdata)
ERROR: *** 0013: fetcher.download()
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: (file: ‘base_do_fetch’, lineno: 13, function: base_do_fetch)
ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/libpam-1.1.5-r3/temp/log.do_fetch.22170
NOTE: package libpam-1.1.5-r3: task do_fetch: Failed
ERROR: Task 818 (/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch) failed with exit code ‘1’
Waiting for 1 running tasks to finish:
0: git-native-1.7.10.2-r0 do_populate_sysroot (pid 22169)
NOTE: package git-native-1.7.10.2-r0: task do_populate_sysroot: Succeeded
NOTE: Tasks Summary: Attempted 988 tasks of which 985 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 37 ERROR messages shown, returning a non-zero exit code.

Sorry, I don’t want to disturb, but is my first time with beaglebone and I’m a little confused.
Thanks very much.

git pull
./oebb.sh update
MACHINE=beaglebone ./oebb.sh bitbake libpam -c cleansstate
MACHINE=beaglebone ./oebb.sh bitbake systemd-image

I just do:
git pull (inside /sources/bitbake)
./oebb.sh update (inside setup-scripts)
MACHINE=beaglebone ./oebb.sh bitbake libpam -c cleansstate (inside setup-scripts)
MACHINE=beaglebone ./oebb.sh bitbake systemd-image (inside setup-scripts)

NOTE: package libpam-1.1.5-r3: task do_fetch: Started
ERROR: Error executing a python function in /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb:
IOError: [Errno 2] No such file or directory: ‘/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam/./pam.d/*’

NOTE: package prelink-native-1.0+git1+7b47f2f8a15ed13b7905bc120bb2586f3e164f7d-r9: task do_patch: Succeeded
NOTE: Running task 994 of 3323 (ID: 47, virtual:native:/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-devtools/prelink/prelink_git.bb, do_configure)
ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File “base_do_fetch”, line 18, in
ERROR:
ERROR: File “base_do_fetch”, line 13, in base_do_fetch
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 1006, in download
ERROR: update_stamp(u, ud, self.d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 335, in update_stamp
ERROR: verify_checksum(u, ud, d)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/fetch2/init.py”, line 277, in verify_checksum
ERROR: md5data = bb.utils.md5_file(ud.localpath)
ERROR:
ERROR: File “/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/bitbake/lib/bb/utils.py”, line 362, in md5_file
ERROR: for line in open(filename):
ERROR:
ERROR: The code that was being executed was:
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: *** 0018:base_do_fetch(d)
ERROR: 0019:
ERROR: (file: ‘base_do_fetch’, lineno: 18, function: )
ERROR: 0009: bb.data.update_data(localdata)
ERROR: 0010:
ERROR: 0011: try:
ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, localdata)
ERROR: *** 0013: fetcher.download()
ERROR: 0014: except bb.fetch2.BBFetchException, e:
ERROR: 0015: raise bb.build.FuncFailed(e)
ERROR: 0016:
ERROR: 0017:
ERROR: (file: ‘base_do_fetch’, lineno: 13, function: base_do_fetch)
ERROR: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/build/tmp-angstrom_v2012_05-eglibc/work/armv7a-angstrom-linux-gnueabi/libpam-1.1.5-r3/temp/log.do_fetch.2640
NOTE: package libpam-1.1.5-r3: task do_fetch: Failed
ERROR: Task 818 (/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch) failed with exit code ‘1’
NOTE: package prelink-native-1.0+git1+7b47f2f8a15ed13b7905bc120bb2586f3e164f7d-r9: task do_configure: Started
Waiting for 1 running tasks to finish:
0: prelink-native-1.0+git1+7b47f2f8a15ed13b7905bc120bb2586f3e164f7d-r9 do_configure (pid 2642)
NOTE: package prelink-native-1.0+git1+7b47f2f8a15ed13b7905bc120bb2586f3e164f7d-r9: task do_configure: Succeeded
NOTE: Tasks Summary: Attempted 994 tasks of which 987 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ramon/Damarc/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed/sources/openembedded-core/meta/recipes-extended/pam/libpam_1.1.5.bb, do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 37 ERROR messages shown, returning a non-zero exit code.

i don’t know what to do.

Thanks for your time.

2012/5/24 Koen Kooi <koen@beagleboard.org>

I think Koen was meaning to do a git pull in your setup-scripts directory. NOT in the bitbake directory. Bitbake would be updated when you run ./oebb.sh update.

Try that to pull in your update

I can’t do “git pull” in my setup-scripts directory buecause I receive next error:

ramon@debianBB:~/beaglebone/Angstrom-distribution-setup-scripts-69bb9ed$ git pull

fatal: Not a git repository (or any of the parent directories): .git

I can only execute git pull insde /sources/bitbake directory.
???

2012/5/24 Don deJuan <donjuansjiz@gmail.com>

Did you follow the instructions at http://www.angstrom-distribution.org/building-angstrom ?

yes Koen.
I reinstall my debian before follow the instructions.
I will try to reinstall my debian and start again. I don’t understand the problem with libpam.

2012/5/25 Koen Kooi <koen@beagleboard.org>