Skip to contentSkip to conversation

Bruce Ashfield : linux-yocto/3.10: fix drm build failure

oe-commits Martin Jansa 4 participants 8 messages Mar 30, 2014 – Apr 3, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20140330090302.B0FBA50478@opal

#1 lore raw
Quoted 72 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

    .../drm/drm_mm.h:105:2: error: implicit declaration of function
    'BUG_ON' [-Werror=implicit-function-declaration]
    |   BUG_ON(!hole_node->hole_follows);
    |   ^
    |   CC      drivers/pci/setup-res.o
    |   CC      drivers/gpu/drm/i915/i915_drv.o
    | cc1: some warnings being treated as errors
    | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
    | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

 meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
 meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
 3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH = "standard/preempt-rt/base"
 KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -1
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
 KBRANCH_qemux86-64  = "standard/common-pc-64/base"
 KBRANCH_qemumips64 = "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -6
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 12 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -0
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
Signature · 5 lines
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 90 lines · Martin Jansa
Quoted 72 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

    .../drm/drm_mm.h:105:2: error: implicit declaration of function
    'BUG_ON' [-Werror=implicit-function-declaration]
    |   BUG_ON(!hole_node->hole_follows);
    |   ^
    |   CC      drivers/pci/setup-res.o
    |   CC      drivers/gpu/drm/i915/i915_drv.o
    | cc1: some warnings being treated as errors
    | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
    | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

 meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
 meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
 3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH = "standard/preempt-rt/base"
 KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -1
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
 KBRANCH_qemux86-64  = "standard/common-pc-64/base"
 KBRANCH_qemumips64 = "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -6
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 6 lines

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 23

Quoted 6 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -0
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"

We've also just seen:

http://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/22/steps/BuildImages/logs/stdio

which may be related.

Cheers,

Richard

#3 lore raw
Quoted 96 lines · Richard Purdie
Quoted 95 lines · Martin Jansa
Quoted 72 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

    .../drm/drm_mm.h:105:2: error: implicit declaration of function
    'BUG_ON' [-Werror=implicit-function-declaration]
    |   BUG_ON(!hole_node->hole_follows);
    |   ^
    |   CC      drivers/pci/setup-res.o
    |   CC      drivers/gpu/drm/i915/i915_drv.o
    | cc1: some warnings being treated as errors
    | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
    | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

 meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
 meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
 3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH = "standard/preempt-rt/base"
 KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -1
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
 KBRANCH_qemux86-64  = "standard/common-pc-64/base"
 KBRANCH_qemumips64 = "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -6
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 5 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -0
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
 SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
Quoted 5 lines
Quoted 1 line

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 23

Quoted 1 line
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -0
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"

We've also just seen:

http://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/22/steps/BuildImages/logs/stdio

Wouldn't be the same thing, but clearly is a merge commit. git rerere must have pulled in an old
resolution on my behalf.

I probably won't be near a computer with enough power to fix this up until tonight, but I'll have a look
then.

Bruce

Quoted 12 lines

which may be related.

Cheers,

Richard

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#4 lore raw
In reply to Martin Jansa
Quoted 72 lines · Martin Jansa
Quoted 71 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

     .../drm/drm_mm.h:105:2: error: implicit declaration of function
     'BUG_ON' [-Werror=implicit-function-declaration]
     |   BUG_ON(!hole_node->hole_follows);
     |   ^
     |   CC      drivers/pci/setup-res.o
     |   CC      drivers/gpu/drm/i915/i915_drv.o
     | cc1: some warnings being treated as errors
     | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
     | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

  meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
  meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
  meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
  3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
  KBRANCH = "standard/preempt-rt/base"
  KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
  KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -0
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
  KBRANCH_qemux86-64  = "standard/common-pc-64/base"
  KBRANCH_qemumips64 = "standard/mti-malta64"
 
Quoted 14 lines

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 11 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -7
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ?

yow-bashfiel-d3 [/home/bruc...o-3.10.git]> git branch --contains c7739be126930006e3bfbdb2fb070a967abc5e09
standard/arm-versatile-926ejs
standard/axxia/base
* standard/base
standard/beagleboard
standard/ck
standard/common-pc-64/base
standard/common-pc-64/chiefriver
standard/common-pc-64/crystalforest
standard/common-pc-64/jasperforest
standard/common-pc-64/rangeley
standard/common-pc-64/romley
standard/common-pc-64/sugarbay
standard/common-pc/atom-pc
standard/common-pc/base
standard/crownbay
standard/edf
standard/emenlow
standard/fri2
standard/fsl-mpc8315e-rdb
standard/ltsi
standard/minnow
standard/mti-malta32
standard/mti-malta64
standard/ocf
standard/preempt-rt/base
standard/preempt-rt/fri2
standard/preempt-rt/minnow
standard/preempt-rt/qemuppc
standard/preempt-rt/routerstationpro
standard/qemuppc
standard/routerstationpro
standard/sys940x
standard/tiny/base
standard/tiny/common-pc
standard/tiny/fri2
standard/tiny/minnow

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.10/commit/?h=standard/common-pc/base&id=c7739be126930006e3bfbdb2fb070a967abc5e09

Bruce

Quoted 17 lines

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 12 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -1
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
--

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

#5 lore raw
Quoted 88 lines · Bruce Ashfield
Quoted 72 lines · Martin Jansa
Quoted 71 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

     .../drm/drm_mm.h:105:2: error: implicit declaration of function
     'BUG_ON' [-Werror=implicit-function-declaration]
     |   BUG_ON(!hole_node->hole_follows);
     |   ^
     |   CC      drivers/pci/setup-res.o
     |   CC      drivers/gpu/drm/i915/i915_drv.o
     | cc1: some warnings being treated as errors
     | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
     | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

  meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
  meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
  meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
  3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
  KBRANCH = "standard/preempt-rt/base"
  KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
  KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -0
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
  KBRANCH_qemux86-64  = "standard/common-pc-64/base"
  KBRANCH_qemumips64 = "standard/mti-malta64"
 
Quoted 14 lines

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 11 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -7
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

Quoted 3 lines

I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ?

Sorry for noise, it was after all our mirror not getting updates anymore, fetching it manually works.

Quoted 63 lines

yow-bashfiel-d3 [/home/bruc...o-3.10.git]> git branch --contains c7739be126930006e3bfbdb2fb070a967abc5e09
standard/arm-versatile-926ejs
standard/axxia/base
* standard/base
standard/beagleboard
standard/ck
standard/common-pc-64/base standard/common-pc-64/chiefriver standard/common-pc-64/crystalforest standard/common-pc-64/jasperforest standard/common-pc-64/rangeley standard/common-pc-64/romley standard/common-pc-64/sugarbay standard/common-pc/atom-pc
standard/common-pc/base
standard/crownbay
standard/edf
standard/emenlow
standard/fri2
standard/fsl-mpc8315e-rdb
standard/ltsi
standard/minnow
standard/mti-malta32
standard/mti-malta64
standard/ocf
standard/preempt-rt/base
standard/preempt-rt/fri2
standard/preempt-rt/minnow standard/preempt-rt/qemuppc standard/preempt-rt/routerstationpro standard/qemuppc
standard/routerstationpro
standard/sys940x
standard/tiny/base
standard/tiny/common-pc
standard/tiny/fri2
standard/tiny/minnow

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.10/commit/?h=standard/common-pc/base&id=c7739be126930006e3bfbdb2fb070a967abc5e09

Bruce

Quoted 17 lines

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 12 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -1
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
  SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
  SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
--

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 89 lines · Martin Jansa
Quoted 88 lines · Bruce Ashfield
Quoted 86 lines · Martin Jansa
Quoted 72 lines · On Sun, Mar 30, 2014 at 09:03:02AM +0000, [email protected] wrote:
Module: openembedded-core.git
Branch: master
Commit: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42c0eba4fac6b8bd28b58ec04574d04b0ab0c457
Author: Bruce Ashfield <[email protected]>
Date:   Thu Mar 27 13:22:32 2014 -0400

linux-yocto/3.10: fix drm build failure

Andrea Adami reported the following build failure:

      .../drm/drm_mm.h:105:2: error: implicit declaration of function
      'BUG_ON' [-Werror=implicit-function-declaration]
      |   BUG_ON(!hole_node->hole_follows);
      |   ^
      |   CC      drivers/pci/setup-res.o
      |   CC      drivers/gpu/drm/i915/i915_drv.o
      | cc1: some warnings being treated as errors
      | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
      | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h] fixes the build problems.

---

   meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb   |  4 ++--
   meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |  2 +-
   meta/recipes-kernel/linux/linux-yocto_3.10.bb      | 14 +++++++-------
   3 files changed, 10 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.10.bb +2 -2
index 9b0c5d3..fe6773a 100644
@@ -3,8 +3,8 @@ require recipes-kernel/linux/linux-yocto.inc
   KBRANCH = "standard/preempt-rt/base"
   KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-SRCREV_machine ?= "f121a3aa028df37b8050779adaa239d29aaa2edd"
-SRCREV_machine_qemuppc ?= "7172d3cbc73584e724b61ef5d13fc3519720f4c0"
+SRCREV_machine ?= "f4351616572c6ad5a8b71b1becf02c3e779b85b8"
+SRCREV_machine_qemuppc ?= "a6dfc85e99633d739068a03d2551e39847628551"
   SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
   SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb +1 -1
index baa82fd..123f307 100644
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "3.10.34"
 
   KMETA = "meta"
 
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
   SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
   PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.10.bb +0 -1
index 56fbd07..49dd13d 100644
@@ -11,13 +11,13 @@ KBRANCH_qemux86  = "standard/common-pc/base"
   KBRANCH_qemux86-64  = "standard/common-pc-64/base"
   KBRANCH_qemumips64 = "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "e18e8c2c7cad913a25342f9f860eeeefce24b8aa"

meta/recipes-kernel/linux/linux-yocto_3.10.bb KBRANCH_qemux86 = "standard/common-pc/base" · line 17

Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +4 -6
-SRCREV_machine_qemumips ?= "6f191aaecfdbebda450cec4a1f30fb0d1a2ed889"
-SRCREV_machine_qemuppc ?= "ba2e16160c7f910de432511ca0008101a7b2263b"
-SRCREV_machine_qemux86 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemux86-64 ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
-SRCREV_machine_qemumips64 ?= "e05f0378e9c21d689eed8aacb306d2c1a044e0d0"
-SRCREV_machine ?= "2ee37bfe732c73f7d39af55875ce8d30b282471c"
+SRCREV_machine_qemuarm ?= "0e99eabbe5b3bec853ace496f94612bc37800260"
+SRCREV_machine_qemumips ?= "b6b20f49e9a169a0672b7cc2d7b93d6652ca7873"
+SRCREV_machine_qemuppc ?= "d71b782615b802c78e1586494b94dd40531775c8"
+SRCREV_machine_qemux86 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"

Is it correct revision?

Quoted 6 lines
Quoted 3 lines

I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ?

Sorry for noise, it was after all our mirror not getting updates anymore, fetching it manually works.

No worries. Better to report and have me poke at it, then letting it sit. It's not like I don't cross up SRCREVs periodically :(

Bruce

Quoted 65 lines
Quoted 64 lines

yow-bashfiel-d3 [/home/bruc...o-3.10.git]> git branch --contains c7739be126930006e3bfbdb2fb070a967abc5e09
standard/arm-versatile-926ejs
standard/axxia/base
* standard/base

    standard/beagleboard
    standard/ck
    standard/common-pc-64/base
    standard/common-pc-64/chiefriver
    standard/common-pc-64/crystalforest
    standard/common-pc-64/jasperforest
    standard/common-pc-64/rangeley
    standard/common-pc-64/romley
    standard/common-pc-64/sugarbay
    standard/common-pc/atom-pc
    standard/common-pc/base
    standard/crownbay
    standard/edf
    standard/emenlow
    standard/fri2
    standard/fsl-mpc8315e-rdb
    standard/ltsi
    standard/minnow
    standard/mti-malta32
    standard/mti-malta64
    standard/ocf
    standard/preempt-rt/base
    standard/preempt-rt/fri2
    standard/preempt-rt/minnow
    standard/preempt-rt/qemuppc
    standard/preempt-rt/routerstationpro
    standard/qemuppc
    standard/routerstationpro
    standard/sys940x
    standard/tiny/base
    standard/tiny/common-pc
    standard/tiny/fri2
    standard/tiny/minnow

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.10/commit/?h=standard/common-pc/base&id=c7739be126930006e3bfbdb2fb070a967abc5e09

Bruce

Quoted 17 lines

ERROR: Fetcher failure: Unable to find revision c7739be126930006e3bfbdb2fb070a967abc5e09 in branch standard/common-pc/base even from upstream
ERROR: Logfile of failure stored in: work/qemux86-webos-linux/linux-yocto/1_3.10.34+gitAUTOINC+df3aa753c8_c7739be126-r0/temp/log.do_fetch.73290

Quoted 12 lines
meta/recipes-kernel/linux/linux-yocto_3.10.bb +3 -1
+SRCREV_machine_qemux86-64 ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
+SRCREV_machine_qemumips64 ?= "88abb1eb327f4e3c711d19a228cb153fdd9b3506"
+SRCREV_machine ?= "c7739be126930006e3bfbdb2fb070a967abc5e09"
   SRCREV_meta ?= "df3aa753c8826127fb5ad811d56d57168551d6e4"
 
   SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
--

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

#7 lore raw
In reply to Martin Jansa
Quoted 6 lines · Martin Jansa
Quoted 3 lines

I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ?

Sorry for noise, it was after all our mirror not getting updates anymore, fetching it manually works.

I've noticed one more thing:

When fetch fails, the checkout in downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git is removed and then git cloned again:

This is what I did:

# check that checkout is there:
OE qemux86@ ~/build/oe-core $ ll downloads/git2/*linux-yocto-3.14*
-rw-r--r-- 1 bitbake bitbake    0 Apr  1 14:38 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git.done

downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git:
total 156

drwxr-xr-x   6 bitbake bitbake  4096 Apr  1 14:38 ./
drwxr-xr-x 210 bitbake bitbake 36864 Apr  2 17:29 ../
-rw-r--r--   1 bitbake bitbake 42799 Apr  1 14:38 FETCH_HEAD
-rw-r--r--   1 bitbake bitbake    23 Mar 29 21:18 HEAD
-rw-r--r--   1 bitbake bitbake   163 Apr  1 14:38 config
-rw-r--r--   1 bitbake bitbake    73 Mar 29 20:57 description
drwxr-xr-x   2 bitbake bitbake  4096 Mar 29 20:57 hooks/
drwxr-xr-x   2 bitbake bitbake  4096 Mar 29 20:57 info/
drwxr-xr-x   4 bitbake bitbake  4096 Mar 29 20:57 objects/
-rw-r--r--   1 bitbake bitbake 40375 Mar 29 21:18 packed-refs
drwxr-xr-x   4 bitbake bitbake  4096 Mar 29 20:57 refs/
# create backup just in case:
OE qemux86@ ~/build/oe-core $ cp -ra downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git-backup 
# put wrong SRCREV
OE qemux86@ ~/build/oe-core $ vi openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.14.bb
# try to build it:
OE qemux86@ ~/build/oe-core $ bitbake linux-yocto
NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 40335, PID: 8726
Loading cache: 100% |#########################################################################################################################| ETA:  00:00:00...
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL git://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta, attempting MIRRORS if available
Currently 2 running tasks (238 of 551):
0: linux-yocto-3.14+gitAUTOINC+fc8c30398d_0143c6ebb4-r0 do_fetch (pid 10446)
1: binutils-cross-2.24-r0 do_compile (pid 15509)
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-eglibc/work/qemux86-oe-linux/linux-yocto/3.14+gitAUTOINC+fc8c30398d_0143c6ebb4-r0/temp/log.do_fetch.10446                                                                                                                                                        Currently 1 running tasks (238 of 551):
NOTE: Tasks Summary: Attempted 239 tasks of which 67 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/OE/build/oe-core/openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

It was removed and then created again (this isn't good proof, but I was checking while the build was running and the directory was gone):

drwxr-xr-x 4 bitbake bitbake 4096 Apr 2 18:56 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git drwxr-xr-x 6 bitbake bitbake 4096 Apr 1 14:38 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git-backup

It's because fetcher is calling clean() before trying the MIRRORS, but I think in this special case it's a bit sad, because for very big repos the first thing I want to do is "git branch -a --contains $SRCREV" in downloads/git2/repo and it's already gone

It can also increase the load we create on git servers, but I don't know if we can correctly recover from old kinds of fetcher issues without actually doing the clean(). E.g. if it failed because of wrong permissions on some directory...

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#8 lore raw
Quoted 66 lines · Martin Jansa
Quoted 6 lines · Martin Jansa
Quoted 3 lines

I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ?

Sorry for noise, it was after all our mirror not getting updates anymore, fetching it manually works.

I've noticed one more thing:

When fetch fails, the checkout in downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git is removed and then git cloned again:

This is what I did:

# check that checkout is there:
OE qemux86@ ~/build/oe-core $ ll downloads/git2/*linux-yocto-3.14*
-rw-r--r-- 1 bitbake bitbake    0 Apr  1 14:38 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git.done

downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git:
total 156
drwxr-xr-x 6 bitbake bitbake 4096 Apr 1 14:38 ./
drwxr-xr-x 210 bitbake bitbake 36864 Apr 2 17:29 ../

(quoted diff) +0 -4
-rw-r--r--   1 bitbake bitbake 42799 Apr  1 14:38 FETCH_HEAD
-rw-r--r--   1 bitbake bitbake    23 Mar 29 21:18 HEAD
-rw-r--r--   1 bitbake bitbake   163 Apr  1 14:38 config
-rw-r--r--   1 bitbake bitbake    73 Mar 29 20:57 description
drwxr-xr-x   2 bitbake bitbake  4096 Mar 29 20:57 hooks/
drwxr-xr-x   2 bitbake bitbake  4096 Mar 29 20:57 info/
drwxr-xr-x   4 bitbake bitbake  4096 Mar 29 20:57 objects/
-rw-r--r--   1 bitbake bitbake 40375 Mar 29 21:18 packed-refs
drwxr-xr-x   4 bitbake bitbake  4096 Mar 29 20:57 refs/
# create backup just in case:
OE qemux86@ ~/build/oe-core $ cp -ra downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git-backup 
# put wrong SRCREV
OE qemux86@ ~/build/oe-core $ vi openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.14.bb
# try to build it:
OE qemux86@ ~/build/oe-core $ bitbake linux-yocto
NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 40335, PID: 8726
Loading cache: 100% |#########################################################################################################################| ETA:  00:00:00...
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL git://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta, attempting MIRRORS if available
Currently 2 running tasks (238 of 551):
0: linux-yocto-3.14+gitAUTOINC+fc8c30398d_0143c6ebb4-r0 do_fetch (pid 10446)
1: binutils-cross-2.24-r0 do_compile (pid 15509)
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-eglibc/work/qemux86-oe-linux/linux-yocto/3.14+gitAUTOINC+fc8c30398d_0143c6ebb4-r0/temp/log.do_fetch.10446                                                                                                                                                        Currently 1 running tasks (238 of 551):
NOTE: Tasks Summary: Attempted 239 tasks of which 67 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/OE/build/oe-core/openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

It was removed and then created again (this isn't good proof, but I was checking while the build was running and the directory was gone):

drwxr-xr-x 4 bitbake bitbake 4096 Apr 2 18:56 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git drwxr-xr-x 6 bitbake bitbake 4096 Apr 1 14:38 downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git-backup

Quoted 7 lines

It's because fetcher is calling clean() before trying the MIRRORS, but I think in this special case it's a bit sad, because for very big repos the first thing I want to do is "git branch -a --contains $SRCREV" in downloads/git2/repo and it's already gone

It can also increase the load we create on git servers, but I don't know if we can correctly recover from old kinds of fetcher issues without actually doing the clean(). E.g. if it failed because of wrong permissions on some directory...

I think this is due to the use of mirror tarballs. If it finds a mirror tarball, it will try and use it however it has to clean the previous directory out the way to be able to extract the tarball. Its hard to know in advance if a mirror tarball will contain what we want but if it hasn't been able to fetch it through an update (git pull), it will try.

Cheers,

Richard