Patchwork [0/3] Make poky work correctly with long TMPDIR

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Nov. 30, 2012, 3:08 a.m.
Message ID <cover.1354084523.git.Qi.Chen@windriver.com>
Download mbox
Permalink /patch/39925/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib ChenQi/autotools

Comments

Qi.Chen@windriver.com - Nov. 30, 2012, 3:08 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Poky had a problem with long TMPDIR. 
If the TMPDIR had a length of 410 chars, for example, the world building
would fail for three reasons.
1) autotools.bbclass: With long TMPDIR, aclocal would have a very long argument
   list whick makes building some packages (coretuils for example) fail.
2) qt4-native: It hardcodes some static char arrays to be 256.
3) ghostscript: It configures its MAX_TOKEN to be 256.

This series of patches are aimed at making poky building system working correctly with long TMPDIR.
The three patches solve the three above problems respectively.

The following changes since commit 0d7d413d64bab8d3c758414c6c8c653ccc325653:

  build-appliance-image: Update to dee77eca39f406f90e60d9c5ef7a66fcc8f57dbf commit (2012-11-21 20:40:43 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/autotools
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/autotools

Chen Qi (3):
  autotools.bbclass: use relative path for acpaths whenever possible
  qt4-native: make qt4-native work with long building path
  ghostscript: make ghostscript work with long building path

 meta/classes/autotools.bbclass                     |   14 ++--
 ...tscript-work-with-long-building-directory.patch |   19 +++++
 .../ghostscript/ghostscript_9.05.bb                |   10 +--
 ...e-qt4-native-work-with-long-building-path.patch |   82 ++++++++++++++++++++
 meta/recipes-qt/qt4/qt4-native.inc                 |    3 +-
 5 files changed, 116 insertions(+), 12 deletions(-)
 create mode 100644 meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch
 create mode 100644 meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch
Qi.Chen@windriver.com - Nov. 30, 2012, 10:37 a.m.
On 11/30/2012 06:33 PM, Qi.Chen@windriver.com wrote:
> From: Chen Qi<Qi.Chen@windriver.com>
>
> Poky had a problem with long TMPDIR.
> If the TMPDIR had a length of 410 chars, for example, the world building
> would fail for three reasons.
> 1) autotools.bbclass: With long TMPDIR, aclocal would have a very long argument
>     list whick makes building some packages (coretuils for example) fail.
> 2) qt4-native: It hardcodes some static char arrays to be 256.
> 3) ghostscript: It configures its MAX_TOKEN to be 256.
>
> This series of patches are aimed at making poky building system working correctly with long TMPDIR.
> The three patches solve the three above problems respectively.
>
> [Version 2 fixes the indentation problem in my last patch]
>
> The following changes since commit 0d7d413d64bab8d3c758414c6c8c653ccc325653:
>
>    build-appliance-image: Update to dee77eca39f406f90e60d9c5ef7a66fcc8f57dbf commit (2012-11-21 20:40:43 +0000)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib ChenQi/autotools
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/autotools
>
> Chen Qi (3):
>    autotools.bbclass: use relative path for acpaths whenever possible
>    qt4-native: make qt4-native work with long building path
>    ghostscript: make ghostscript work with long building path
>
>   meta/classes/autotools.bbclass                     |   14 ++--
>   ...tscript-work-with-long-building-directory.patch |   19 +++++
>   .../ghostscript/ghostscript_9.05.bb                |   10 +--
>   ...e-qt4-native-work-with-long-building-path.patch |   82 ++++++++++++++++++++
>   meta/recipes-qt/qt4/qt4-native.inc                 |    3 +-
>   5 files changed, 116 insertions(+), 12 deletions(-)
>   create mode 100644 meta/recipes-extended/ghostscript/ghostscript/0001-make-ghostscript-work-with-long-building-directory.patch
>   create mode 100644 meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch
>
Sorry for my carelessness. Please ignore this version.
The upstream status is incorrect.