[oe] [PATCH] devmem2: fix broken SRC_URI

Oleksandr Kravchuk oleksandr.kravchuk at pelagicore.com
Fri Dec 30 08:02:36 UTC 2016


Thank you for the clarifications, Martin!

I can confirm that bitbake now manages to successfully obtain the
source code file, devmem2.c from the openembedded.org's mirror,
therefore my patch can be safely rejected.

On 29 December 2016 at 01:37, Martin Jansa <martin.jansa at gmail.com> wrote:
> It's already on OE src mirror (which is populated by my world builds for
> last couple months):
>
> http://sources.openembedded.org/devmem2.c
>
> But this mirror is already in default MIRRORS variable, so it's searched
> when original SRC_URI doesn't work.
>
> I assume Oleksandr got this error while sources.openembedded.org was down
> because of planned OE infrastructure downtime this week.
>
> On Thu, Dec 29, 2016 at 12:21 AM, Khem Raj <raj.khem at gmail.com> wrote:
>
>> On Wed, Dec 28, 2016 at 4:17 AM, Oleksandr Kravchuk
>> <oleksandr.kravchuk at pelagicore.com> wrote:
>> > This is a reasonable question. I can only say that the header is
>> > slightly different, therefore I had to modify the checksums.
>> >
>> > I could use another mirror that contains original devmem2.c, but I am
>> > unfortunately not confident in their longevity.
>>
>> Can we just store these files on OE src mirror ?
>> may be send the original files to Tom and he should be able to help
>> to host them
>>
>> >
>> > On 28 December 2016 at 13:10, Martin Jansa <martin.jansa at gmail.com>
>> wrote:
>> >> If it's a mirror, then why would there be different LIC_FILES_CHKSUM and
>> >> SRC_URI checksums?
>> >>
>> >> On Wed, Dec 28, 2016 at 1:00 PM, Oleksandr Kravchuk <
>> >> oleksandr.kravchuk at pelagicore.com> wrote:
>> >>
>> >>> Original SRC_URI for devmem2 source code is accessible. Use the mirror
>> >>> provided by free-electrons instead.
>> >>>
>> >>> Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk at pelagicore.com>
>> >>> ---
>> >>>  meta-oe/recipes-support/devmem2/devmem2.bb | 8 ++++----
>> >>>  1 file changed, 4 insertions(+), 4 deletions(-)
>> >>>
>> >>> diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb
>> >>> b/meta-oe/recipes-support/devmem2/devmem2.bb
>> >>> index e48cc92..ba9d4cb 100644
>> >>> --- a/meta-oe/recipes-support/devmem2/devmem2.bb
>> >>> +++ b/meta-oe/recipes-support/devmem2/devmem2.bb
>> >>> @@ -1,9 +1,9 @@
>> >>>  SUMMARY = "Simple program to read/write from/to any location in
>> memory"
>> >>>  LICENSE = "GPLv2+"
>> >>> -LIC_FILES_CHKSUM = "file://devmem2.c;endline=28;md5=
>> >>> dd68f2b0a5184b3db3dc25c99e0bd0cd"
>> >>> +LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=
>> >>> a9eb9f3890384519f435aedf986297cf"
>> >>>  PR = "r7"
>> >>>
>> >>> -SRC_URI = "http://www.lartmaker.nl/lartware/port/devmem2.c \
>> >>> +SRC_URI = "http://free-electrons.com/pub/mirror/devmem2.c \
>> >>>             file://devmem2-fixups-2.patch;apply=yes;striplevel=0"
>> >>>  S = "${WORKDIR}"
>> >>>
>> >>> @@ -18,5 +18,5 @@ do_install() {
>> >>>      install devmem2 ${D}${bindir}
>> >>>  }
>> >>>
>> >>> -SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d"
>> >>> -SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d652
>> >>> 1e58ac482c4e29d6c9ebca8768f699c191"
>> >>> +SRC_URI[md5sum] = "e23f236e94be4c429aa1ceac0f01544b"
>> >>> +SRC_URI[sha256sum] = "3b15515693bae1ebd14d914e46d388
>> >>> edfec2175829ea1576a7a0c8606ebbe639"
>> >>> --
>> >>> 2.7.4
>> >>>
>> >>> --
>> >>> _______________________________________________
>> >>> Openembedded-devel mailing list
>> >>> Openembedded-devel at lists.openembedded.org
>> >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> >>>
>> >> --
>> >> _______________________________________________
>> >> Openembedded-devel mailing list
>> >> Openembedded-devel at lists.openembedded.org
>> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> >
>> >
>> >
>> > --
>> > echo "EOF" >> /var/tmp/email
>> > --
>> > _______________________________________________
>> > Openembedded-devel mailing list
>> > Openembedded-devel at lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list