cvs build: 404 Not found; PV/PR numbering

Shakthi Kannan shakthimaan at gmail.com
Thu Oct 25 16:04:09 CEST 2007


Hi,

I have uploaded code to cvs.projects.openmoko.org, and am trying to
use a .bb file with SRC_URI pointed to cvs, to build. Here is the .bb
file:

=== .bb file ===

DESCRIPTION = "AT Test Suite"
AUTHORS = "Atul Ramesh Raut, Shakthi Kannan"
HOMEPAGE = "http://projects.openmoko.org/projects/atmycommand"
SECTION = "openmoko/pim"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS += "libmokoui2 libgsmd"
PR = "r0"
PV = 1.1+cvs

inherit autotools

SRC_URI = "cvs://anonymous@cvs.projects.openmoko.org/cvsroot/atmycommand;method=pserver;module=atmycommand"

S = "${WORKDIR}/atmycommand"

=== END ===

I get the following output:

=== OUTPUT ===

NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 718 of 730 (ID: 10,
/home/foo/moko/local/packages/atmycommand/atmycommand.bb, do_fetch)
NOTE: package atmycommand-1.1+cvs: started
NOTE: package atmycommand-1.1+cvs-r0: task do_fetch: started
NOTE: fetch http://downloads.openmoko.org/sources/atmycommand_cvs.projects.openmoko.org__20071025.tar.gz
--19:26:18--  http://downloads.openmoko.org/sources/atmycommand_cvs.projects.openmoko.org__20071025.tar.gz
           => `/home/foo/moko/sources/atmycommand_cvs.projects.openmoko.org__20071025.tar.gz'
Resolving downloads.openmoko.org... 88.198.93.219
Connecting to downloads.openmoko.org|88.198.93.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:26:19 ERROR 404: Not Found.

=== END ===

1. Why is it looking for __20071025.tar.gz package?

2. I am not sure about the PV/PR numbering scheme. How should they be
numbered? Earlier, I used the following for testing, offline (and it
was ok):

=== local file .bb build ===

DESCRIPTION = "AT Test Suite"
AUTHORS = "Atul Ramesh Raut, Shakthi Kannan"
HOMEPAGE = "http://projects.openmoko.org/projects/atmycommand"
SECTION = "openmoko/pim"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS += "libmokoui2 libgsmd"

inherit autotools

SRC_URI = "file:///home/foo/working/atmycommand.tar.bz2"

S = "${WORKDIR}/atmycommand"

=== END ===

Appreciate any inputs on what changes need to be done to the .bb file,

Thanks,

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com



More information about the openmoko-devel mailing list