All of lore.kernel.org
 help / color / mirror / Atom feed
* How do you find a rev of OE that will build?
@ 2007-12-19  2:02 Grant Edwards
  2007-12-20 22:51 ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2007-12-19  2:02 UTC (permalink / raw)
  To: openembedded-devel

How does one find a rev of OE that builds?

I've been following the GettingStarted page trying to build
task-bask for about a week now, and I always hit errors due to
failed patches.  Here's the error du jour after doing a
pull/update about a half hour ago:

[...]
NOTE: Running task 284 of 976 (ID: 650, /home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb, do_patch)
NOTE: package python-native-2.5.1: started
NOTE: package python-native-2.5.1-ml1: task do_patch: started
NOTE: Applying patch 'bindir-libdir.patch'
ERROR: Error in executing: 
ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
Applying patch bindir-libdir.patch
patching file Makefile.pre.in
Hunk #1 FAILED at 78.
1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
Patch bindir-libdir.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
Applying patch bindir-libdir.patch
patching file Makefile.pre.in
Hunk #1 FAILED at 78.
1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
Patch bindir-libdir.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
Applying patch bindir-libdir.patch
patching file Makefile.pre.in
Hunk #1 FAILED at 78.
1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
Patch bindir-libdir.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Build of /home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb do_patch failed
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 134, in ?
    main()
  File "/usr/bin/bitbake", line 131, in main
    cooker.cook()
  File "usr/lib/python2.4/site-packages/bb/cooker.py", line 552, in cook
  File "usr/lib/python2.4/site-packages/bb/cooker.py", line 466, in buildTargets
  File "usr/lib/python2.4/site-packages/bb/runqueue.py", line 403, in execute_runqueue
  File "usr/lib/python2.4/site-packages/bb/runqueue.py", line 531, in execute_runqueue_internal
  File "usr/lib/python2.4/site-packages/bb/cooker.py", line 125, in tryBuild
  File "usr/lib/python2.4/site-packages/bb/cooker.py", line 98, in tryBuildPackage
  File "usr/lib/python2.4/site-packages/bb/build.py", line 292, in exec_task
  File "usr/lib/python2.4/site-packages/bb/build.py", line 281, in execute
  File "usr/lib/python2.4/site-packages/bb/build.py", line 98, in exec_func
  File "usr/lib/python2.4/site-packages/bb/build.py", line 117, in exec_func_python
  File "usr/lib/python2.4/site-packages/bb/utils.py", line 144, in better_exec
  File "do_patch", line 4, in ?
  File "do_patch", line 2, in do_patch
  File "usr/lib/python2.4/site-packages/bb/build.py", line 98, in exec_func
  File "usr/lib/python2.4/site-packages/bb/build.py", line 117, in exec_func_python
  File "usr/lib/python2.4/site-packages/bb/utils.py", line 144, in better_exec
  File "base_do_patch", line 4, in ?
  File "base_do_patch", line 2, in base_do_patch
  File "usr/lib/python2.4/site-packages/bb/build.py", line 98, in exec_func
  File "usr/lib/python2.4/site-packages/bb/build.py", line 117, in exec_func_python
  File "usr/lib/python2.4/site-packages/bb/utils.py", line 144, in better_exec
  File "patch_do_patch", line 100, in ?
  File "patch_do_patch", line 98, in patch_do_patch
  File "<bb>", line 339, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch bindir-libdir.patch
patching file Makefile.pre.in
Hunk #1 FAILED at 78.
1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
Patch bindir-libdir.patch can be reverse-applied

NOTE: Parsing finished. 4718 cached, 0 parsed, 218 skipped, 0 masked.
NOTE: build 200712181957: started

OE Build Configuration:
BB_VERSION     = "1.8.8"
OE_REVISION    = "6834c8854d34a28405ba69e170089d3a873e3d1a"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "collie"
DISTRO         = "angstrom"
DISTRO_VERSION = "2007.11RC1.2"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 284 of 976 (ID: 650, /home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb, do_patch)
ERROR: Task 650 (/home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb, do_patch) failed
NOTE: Tasks Summary: Attempted 283 tasks of which 283 didn't need to be rerun and 1 failed.
ERROR: '/home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb' failed

-- 
Grant Edwards
grante@visi.com





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do you find a rev of OE that will build?
  2007-12-19  2:02 How do you find a rev of OE that will build? Grant Edwards
@ 2007-12-20 22:51 ` Grant Edwards
  2007-12-21  0:47   ` Paul Sokolovsky
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2007-12-20 22:51 UTC (permalink / raw)
  To: openembedded-devel

On 2007-12-19, Grant Edwards <grante@visi.com> wrote:

> I've been following the GettingStarted page trying to build
> task-bask for about a week now, and I always hit errors due to
> failed patches.  Here's the error du jour after doing a
> pull/update about a half hour ago:
>
> [...]
> NOTE: Running task 284 of 976 (ID: 650, /home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb, do_patch)
> NOTE: package python-native-2.5.1: started
> NOTE: package python-native-2.5.1-ml1: task do_patch: started
> NOTE: Applying patch 'bindir-libdir.patch'
> ERROR: Error in executing: 
> ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
> Applying patch bindir-libdir.patch
> patching file Makefile.pre.in
> Hunk #1 FAILED at 78.
> 1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
[...]

I updated today and tried again.  No joy.  python-native_2.5.1
still fails when applying patches with the same error.

Is there a way to tell bitbake to use an older version of the
package -- presuming there are older versions that will build?

Are packages in the .dev branch normally unbuildable for
extended periods of time?  Should I not be trying to build
using the .dev branch?

-- 
Grant Edwards                   grante             Yow! I smell a RANCID
                                  at               CORN DOG!
                               visi.com            




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do you find a rev of OE that will build?
  2007-12-20 22:51 ` Grant Edwards
@ 2007-12-21  0:47   ` Paul Sokolovsky
  2007-12-21  2:40     ` Grant Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Sokolovsky @ 2007-12-21  0:47 UTC (permalink / raw)
  To: Grant Edwards; +Cc: openembedded-devel

Hello Grant,

Friday, December 21, 2007, 12:51:46 AM, you wrote:

> On 2007-12-19, Grant Edwards <grante@visi.com> wrote:

>> I've been following the GettingStarted page trying to build
>> task-bask for about a week now, and I always hit errors due to
>> failed patches.  Here's the error du jour after doing a
>> pull/update about a half hour ago:
>>
>> [...]
>> NOTE: Running task 284 of 976 (ID: 650, /home/grante/quarq/oe/org.openembedded.dev/packages/python/python-native_2.5.1.bb, do_patch)
>> NOTE: package python-native-2.5.1: started
>> NOTE: package python-native-2.5.1-ml1: task do_patch: started
>> NOTE: Applying patch 'bindir-libdir.patch'
>> ERROR: Error in executing: 
>> ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1  Output:
>> Applying patch bindir-libdir.patch
>> patching file Makefile.pre.in
>> Hunk #1 FAILED at 78.
>> 1 out of 1 hunk FAILED -- rejects in file Makefile.pre.in
> [...]

> I updated today and tried again.  No joy.  python-native_2.5.1
> still fails when applying patches with the same error.

> Is there a way to tell bitbake to use an older version of the
> package -- presuming there are older versions that will build?

> Are packages in the .dev branch normally unbuildable for
> extended periods of time?  Should I not be trying to build
> using the .dev branch?

  No, anything on critical path to build a common embedded system
image can't be broken and unnoticed for long. I rebuilt python-native
for you:

NOTE: package python-native-2.5.1-ml1: task do_patch: started
NOTE: Applying patch 'bindir-libdir.patch'
NOTE: Applying patch 'cross-distutils.patch'
NOTE: Applying patch 'dont-modify-shebang-line.patch'
NOTE: Applying patch 'default-is-optimized.patch'
NOTE: package python-native-2.5.1-ml1: task do_patch: completed

      Anyway, as you see, it's not some dark magic failing, but merely
a patch application. So, why don't you look closer and see what
corrupts the data - your tar, a quilt built on your system, or your
kernel? ;-) And the best place to continue this is the bugtracker.



-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do you find a rev of OE that will build?
  2007-12-21  0:47   ` Paul Sokolovsky
@ 2007-12-21  2:40     ` Grant Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2007-12-21  2:40 UTC (permalink / raw)
  To: openembedded-devel

On 2007-12-21, Paul Sokolovsky <pmiscml@gmail.com> wrote:

>   No, anything on critical path to build a common embedded system
> image can't be broken and unnoticed for long. I rebuilt python-native
> for you:
>
> NOTE: package python-native-2.5.1-ml1: task do_patch: started
> NOTE: Applying patch 'bindir-libdir.patch'
> NOTE: Applying patch 'cross-distutils.patch'
> NOTE: Applying patch 'dont-modify-shebang-line.patch'
> NOTE: Applying patch 'default-is-optimized.patch'
> NOTE: package python-native-2.5.1-ml1: task do_patch: completed
>
> Anyway, as you see, it's not some dark magic failing, but
> merely a patch application. So, why don't you look closer and
> see what corrupts the data - your tar, a quilt built on your
> system, or your kernel? ;-)

OK.  It just seems odd that 100+ other packages would build
fine, but when one particular package fails it's not the
package that's suspect but the tools that work fine for 100+
other OE packages and and entire Gentoo system build.

> And the best place to continue this is the bugtracker.

Thanks.

-- 
Grant Edwards                   grante             Yow!  Why is it that when
                                  at               you DIE, you can't take
                               visi.com            your HOME ENTERTAINMENT
                                                   CENTER with you??




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-21  2:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19  2:02 How do you find a rev of OE that will build? Grant Edwards
2007-12-20 22:51 ` Grant Edwards
2007-12-21  0:47   ` Paul Sokolovsky
2007-12-21  2:40     ` Grant Edwards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.