opkg/opkg-native_svn.bb: "svn co -r 194 http://svn.openmoko.org/trunk/src/target//opkg@194" fails!
I downloaded a new distribution during this week and got the following error:
Quoted 22 lines
NOTE: Running task 2855 of 4901 (ID: 44,
/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_setscene)
NOTE: package opkg-native-0.1.4+svnr194: started
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_setscene: started
NOTE: Checking if staging package installed
NOTE: No. Manually removing any installed files
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_setscene: completed
NOTE: package opkg-native-0.1.4+svnr194: completed
NOTE: Running task 2856 of 4901 (ID: 45,/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_fetch)
NOTE: package opkg-native-0.1.4+svnr194: started
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_fetch: started
NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/opkg_svn.openmoko.org_.trunk.src.target._194_.tar.gz
--2008-12-30 00:38:10-- http://www.angstrom-distribution.org/unstable/sources/opkg_svn.openmoko.org_.trunk.src.target._194_.tar.gz
Resolving www.angstrom-distribution.org... 85.214.40.226
Connecting to www.angstrom-distribution.org|85.214.40.226|:80... connected.
HTTP request sent, awaiting response... 404 Not Found2008-12-30 00:38:10 ERROR 404: Not Found.NOTE: Fetch ;module=opkg;proto=http
svn: URL 'http://svn.openmoko.org/trunk/src/target/opkg' doesn't exist
NOTE: Task failed: Fetch failed: Fetch command export SSH_AUTH_SOCK=/tmp/keyring-vcy2cd/ssh; export PATH=/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin/i686-linux:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/sbin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin:/home/ulf/projects/OE_atmel/build/tmp/cross/i686/bin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/sbin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/bin:/home/ulf/projects/OE_atmel/bitbake/bin:/home/ulf/projects/OE/bitbake/bin:/home/ulf/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/home/ulf/projects/Buildroot/20081221/buildroot-arm/build_arm/staging_dir/usr/bin:/home/ulf/projects/Buildroot/20081221/buildroot-arm/build_arm/staging_dir/usr/bin;/usr/bin/envsvn co -r 194 http://svn.openmoko.org/trunk/src/target//opkg@194 opkg failed with signal 1, output:
svn: URL 'http://svn.openmoko.org/trunk/src/target/opkg' doesn't exist
Quoted 8 lines
NOTE: package opkg-native-0.1.4+svnr194-r2: task
do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package opkg-native-0.1.4+svnr194: failed
ERROR: Build of/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bbdo_fetchfailed
ERROR: Task 45 (/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_fetch) failed
NOTE: Tasks Summary: Attempted 2855 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb' failed
NOTE: build 200812291602: completed
I.E:
"svn co -r 194 http://svn.openmoko.org/trunk/src/target//opkg@194"
failed.
/conf/distro/include/sane-srcrevs.inc contains:
SRCREV_pn-opkg ?= "194" SRCREV_pn-opkg-native ?= "194" SRCREV_pn-opkg-sdk ?= "192" SRCREV_pn-opkg-utils ?= "4578" SRCREV_pn-opkg-utils-native ?= "4595"
so the svn download tries version 194.
If you do an svn without specifying the revision, then you download revision 4880.
A lot has happened since then, and I guess Rev 194 has disappeared.
Has tried 4880 and the build seems to continue past this points, but I would like to know if there is a reason to use another revision.
Best Regards
Ulf Samuelsson
hi Ulf,
Would you like to check your opkg.inc
It should point to svn://opkg.googlecode.com/svn;module=trunk;proto=http It looks like that your opkg.bb files are old ones.
If your opkg.inc is correct, maybe you will need to run bitbake -c clean opkg-native; bitbake -c rebuild opkg-native again. (It should be done automatically :-/ )
Cheers,
Tick
2008/12/30 Ulf Samuelsson <[email protected]>:
Quoted 69 lines
I downloaded a new distribution during this week and got the following error:
Quoted 22 lines
NOTE: Running task 2855 of 4901 (ID: 44,
/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_setscene)
NOTE: package opkg-native-0.1.4+svnr194: started
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_setscene: started
NOTE: Checking if staging package installed
NOTE: No. Manually removing any installed files
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_setscene: completed
NOTE: package opkg-native-0.1.4+svnr194: completed
NOTE: Running task 2856 of 4901 (ID: 45,/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_fetch)
NOTE: package opkg-native-0.1.4+svnr194: started
NOTE: package opkg-native-0.1.4+svnr194-r2: taskdo_fetch: started
NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/opkg_svn.openmoko.org_.trunk.src.target._194_.tar.gz
--2008-12-30 00:38:10-- http://www.angstrom-distribution.org/unstable/sources/opkg_svn.openmoko.org_.trunk.src.target._194_.tar.gz
Resolving www.angstrom-distribution.org... 85.214.40.226
Connecting to www.angstrom-distribution.org|85.214.40.226|:80... connected.
HTTP request sent, awaiting response... 404 Not Found2008-12-30 00:38:10 ERROR 404: Not Found.NOTE: Fetch ;module=opkg;proto=http
svn: URL 'http://svn.openmoko.org/trunk/src/target/opkg' doesn't exist
NOTE: Task failed: Fetch failed: Fetch command export SSH_AUTH_SOCK=/tmp/keyring-vcy2cd/ssh; export PATH=/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin/i686-linux:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/sbin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/usr/bin:/home/ulf/projects/OE_atmel/build/tmp/cross/i686/bin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/sbin:/home/ulf/projects/OE_atmel/build/tmp/staging/i686-linux/bin:/home/ulf/projects/OE_atmel/bitbake/bin:/home/ulf/projects/OE/bitbake/bin:/home/ulf/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/home/ulf/projects/Buildroot/20081221/buildroot-arm/build_arm/staging_dir/usr/bin:/home/ulf/projects/Buildroot/20081221/buildroot-arm/build_arm/staging_dir/usr/bin;/usr/bin/envsvn co -r 194 http://svn.openmoko.org/trunk/src/target//opkg@194 opkg failed with signal 1, output:
svn: URL 'http://svn.openmoko.org/trunk/src/target/opkg' doesn't existQuoted 8 lines
NOTE: package opkg-native-0.1.4+svnr194-r2: task
do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package opkg-native-0.1.4+svnr194: failed
ERROR: Build of/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bbdo_fetchfailed
ERROR: Task 45 (/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb,do_fetch) failed
NOTE: Tasks Summary: Attempted 2855 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/ulf/projects/OE/openembedded/packages/opkg/opkg-native_svn.bb' failed
NOTE: build 200812291602: completedI.E:
"svn co -r 194 http://svn.openmoko.org/trunk/src/target//opkg@194"
failed./conf/distro/include/sane-srcrevs.inc contains:
SRCREV_pn-opkg ?= "194" SRCREV_pn-opkg-native ?= "194" SRCREV_pn-opkg-sdk ?= "192" SRCREV_pn-opkg-utils ?= "4578" SRCREV_pn-opkg-utils-native ?= "4595"
so the svn download tries version 194.
If you do an svn without specifying the revision, then you download revision 4880.
A lot has happened since then, and I guess Rev 194 has disappeared.Has tried 4880 and the build seems to continue past this points, but I would like to know if there is a reason to use another revision.
Best Regards
Ulf Samuelsson_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 3 lines · Tick Chen
hi Ulf,
Would you like to check your opkg.inc
It should point to svn://opkg.googlecode.com/svn;module=trunk;proto=http
This change has caused quite a bit of disruption -- and at this moment, opkg is broken and there is no way to find a working version.
The last "stable" version (as specified in the sane srcrevs file) was 4838. I had tested (successfully) with 4870.
If all the history was moved along in the move to the new upstream repo at googlecode, there is no tagging or even a README that would map any of the old (significant) version numbers to the new ones.
The result is that I have no choice but to revert to the old repository and the known-good version numbers there in order to get opkg working correctly again -- even though it may very well be that the same sources are in the new repo, and that (if someone had provided tags or some mapping file) selecting a SRCREV would suffice to work around this instability. :(
If someone can provide a mapping of either of the two SRCREVs listed above (4838 or 4870) to the new repo, then we can avoid having to revert that last opkg commit.
Mike (mwester)
BTW, the bug right now is displayed in the example below -- the code erroneously attempts to update the status file twice. This has been reported.
root@machine:~# opkg install tzdata Installing tzdata (2007k-r3.01) to root... Downloading http://xyz.thing.com/feeds/myfeed/tzdata_2007k-r3.01_armv5teb.ipk Configuring tzdata file_move: ERROR: failed to rename //usr/lib/opkg/status.tmp to //usr/lib/opkg/status: No such file or directory root@machine:~#
Hi Mwester,
(sending to OE list)
The old R4870 maps to R180 in new repository
R4838 maps to R160.
Thanks for reporting issue, I will look into this.
Tick
2009/1/3 Mike (mwester) <[email protected]>:
Quoted 52 lines
Quoted 3 lines · Tick Chen
hi Ulf,
Would you like to check your opkg.inc
It should point to svn://opkg.googlecode.com/svn;module=trunk;proto=httpThis change has caused quite a bit of disruption -- and at this moment, opkg is broken and there is no way to find a working version.
The last "stable" version (as specified in the sane srcrevs file) was 4838. I had tested (successfully) with 4870.
If all the history was moved along in the move to the new upstream repo at googlecode, there is no tagging or even a README that would map any of the old (significant) version numbers to the new ones.
The result is that I have no choice but to revert to the old repository and the known-good version numbers there in order to get opkg working correctly again -- even though it may very well be that the same sources are in the new repo, and that (if someone had provided tags or some mapping file) selecting a SRCREV would suffice to work around this instability. :(
If someone can provide a mapping of either of the two SRCREVs listed above (4838 or 4870) to the new repo, then we can avoid having to revert that last opkg commit.
Mike (mwester)
BTW, the bug right now is displayed in the example below -- the code erroneously attempts to update the status file twice. This has been reported.
root@machine:~# opkg install tzdata Installing tzdata (2007k-r3.01) to root... Downloading http://xyz.thing.com/feeds/myfeed/tzdata_2007k-r3.01_armv5teb.ipk Configuring tzdata file_move: ERROR: failed to rename //usr/lib/opkg/status.tmp to //usr/lib/opkg/status: No such file or directory root@machine:~#--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "opkg-devel" group. To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/opkg-devel?hl=en
-~----------~----~----~----~------~----~------~--~---