Tree/Branch: poky/master Commit: eb0cb7e8234f5d2e5623406e9660be91cf52f65e This issue is related with bug 2434. Robert'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 #############
I hadn'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.
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