[oe-issues] [Bug 2746] New: libgsmd_svn.bb uses SRCREV instead of SRCDATE

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sun Aug 12 23:03:12 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2746

           Summary: libgsmd_svn.bb uses SRCREV instead of SRCDATE
           Product: Openembedded
           Version: Angstrom
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: marcel at ziswiler.com


I got the following error trying to bake Angstrom for my HTC Universal:
Parsing .bb files, please wait...ERROR: SRCREV was used yet no valid SCM was
fou
nd in SRC_URI
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${@base_get_srcrev(d)}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
0.1+svnr${SRCREV}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${PN}-${PV}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${P} ${PF} ${PN}  gsmd
ERROR: Error in executing: 
ERROR: Exception:<class 'bb.fetch.ParameterError'> Message:
ERROR: Printing the environment of the function
ERROR:  while parsing /OE/org.openembedded.dev/packages/gsm/libgsmd_svn.bb
done.
NOTE: Parsing finished. 4350 cached, 0 parsed, 213 skipped, 0 masked.
ERROR: Parsing errors found, exiting...

The following patch fixes this:
--- libgsmd_svn.bb.orig 2007-08-13 00:35:01.000000000 +0200
+++ libgsmd_svn.bb      2007-08-13 00:35:33.000000000 +0200
@@ -3,7 +3,7 @@
 LICENSE = "GPL LGPL"
 SECTION = "libs/gsm"
 PROVIDES += "gsmd"
-PV = "0.1+svnr${SRCREV}"
+PV = "0.1+svnr${SRCDATE}"
 PR = "r18"

 SRC_URI_OVERRIDES_PACKAGE_ARCH = "1"


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list