<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2759</bug_id>
          
          <creation_ts>2012-07-13 08:35:24 +0000</creation_ts>
          <short_desc>qt4-native-4.8.1-r14.1 build error with long TMPDIR: initializer-string for array of chars is too long [-fpermissive]</short_desc>
          <delta_ts>2012-12-10 14:20:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23089</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-07-13 08:35:24 +0000</bug_when>
    <thetext>Tree/Branch: poky/master
Commit: eb0cb7e8234f5d2e5623406e9660be91cf52f65e

This issue is related with bug 2434. Robert&apos;s patches set the maximum length of TMPDIR to 410. But when I create a build directory and make the length of TPMPDIR to 410. The qt4 build failed:

##############
In file included from /buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qlibraryinfo.cpp:70:0:
/buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qconfig.cpp:16:67: error: initializer-string for array of chars is too long [-fpermissive]
In file included from /buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qlibraryinfo.cpp:70:0:
/buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qconfig.cpp:18:67: error: initializer-string for array of chars is too long [-fpermissive]
In file included from /buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qlibraryinfo.cpp:70:0:
/buildarea1/yzhao1/poky-build/build/0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/91/92/93/94/95/96/97/98/99/100/101/102/103/104/105/106/107/108/109/110/111/112/113/114/115/116/117/118/119/tmp/work/x86_64-linux/qt4-native-4.8.1-r14.1/qt-everywhere-opensource-src-4.8.1/src/corelib/global/qconfig.cpp:19:67: error: initializer-string for array of chars is too long [-fpermissive]
make: *** [qlibraryinfo.o] Error 1
#############</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23090</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-07-13 08:48:21 +0000</bug_when>
    <thetext>I hadn&apos;t tested the qt4 when I was working on the too long path, it would be great if someone who is familiar with qt4 building takes this bug, or I will take it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28119</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-12-10 14:20:50 +0000</bug_when>
    <thetext>This should be fixed with the following patch by Chen Qi that has now been merged:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=202f4ead95c3c5090864df6cb799a25f36996152</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>