Xin Li
2015-Jan-04 20:53 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 1/4/15 09:41, Trond Endrest?l wrote:> Hi, > > I'm investigating how to convert my stable/8 systems to stable/9, > and subsequently to stable/10. >[...]> In file included from > /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: > /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: > expected specifier-qualifier-list before 'locale_t' *** Error code > 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** > Error code 2 1 errorLooks like you are using -j -- have you tried building without -j? Cheers, -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJUqahRAAoJEJW2GBstM+ns+kQQAILVOgnsCA/7j4WhbSDcWFPR QHarrJuMOFvgDcITOZZwFrh5Yj5o7ZrnsO8K5X7nhcNOPQQ/MUPAffiVaoLS78d9 hJQF5DkAjJ9/JITgywu94/RQZSOCfq11irMtavJXZDOdh06T0gYkhl822b+yg5IY rOdW65twTnMePUsjopgcv3F1PNnDa6AOZP760ATnyXQsxXFiMUe0xgaFvAi6VoxN NTcJmxpc5X+PWIf5BfPjsl0ZvHpLDlDTxKwlJzNwdhFlUMMpKBnbzUEAM50EwJ3d xuKYbfWxEbYLP8hw6/jCRAl4rXWHdZrNlkeFFfR+nMU4iWB002EWatbogEEmw/Jh Qs4JZv/1rP5c26T09HPShWYDQVHf5Z+OYL9VN4PZbPsQl33XQVImv6fzMxwZnVCo xsCBJg+X5IsyjA2oJPWXUGT7AiqTvbu4cEEwaczG1DHbmCVfLEQNwLEteJPsb7DD VyvqsaolZ8bFn/2HSduypZMo+KFEwwSPjFGHLZPU5ilgdjkI+4hxAPVI6fZ2WZZB UdwzOp0BclTt4v/0Um50PQoZZJIFhIX8s2a2jYhOSDNe9Gjp+i2oL8Nmyx5teLoU zzw5zGQ8bipg9mG47WsrnIhviaQKXtqMBH8y6WeRQNgFdA9U7XnhR58Mbe1cq4CT pNhNE1EIbArDOPgY0YrU =KhC+ -----END PGP SIGNATURE-----
Trond Endrestøl
2015-Jan-05 07:27 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
On Sun, 4 Jan 2015 12:53-0800, Xin Li wrote:> On 1/4/15 09:41, Trond Endrest?l wrote: > > Hi, > > > > I'm investigating how to convert my stable/8 systems to stable/9, > > and subsequently to stable/10. > > > [...] > > In file included from > > /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: > > /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: > > expected specifier-qualifier-list before 'locale_t' *** Error code > > 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** > > Error code 2 1 error > > Looks like you are using -j -- have you tried building without -j?Yes to your assumption, and no to your question. As in all good scientific endeavor, I should repeat what I did, and I will try to remember to compile the latest stable/9 without -j 2 while running the latest stable/8. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Trond Endrestøl
2015-Jan-05 09:49 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
On Sun, 4 Jan 2015 12:53-0800, Xin Li wrote:> On 1/4/15 09:41, Trond Endrest?l wrote: > > Hi, > > > > I'm investigating how to convert my stable/8 systems to stable/9, > > and subsequently to stable/10. > > > [...] > > In file included from > > /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: > > /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: > > expected specifier-qualifier-list before 'locale_t' *** Error code > > 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** > > Error code 2 1 error > > Looks like you are using -j -- have you tried building without -j?I did a test run on one of my stable/8 servers. That one's currently running stable/8 r276500 and it attempted to build stable/9 r276691 single threaded. No such luck. Unless this problem is resolved, then those of us migrating from stable/8 to stable/{9,10} need a pit stop at stable/9 r276385. ===> lib/libmagic (obj,build-tools) gcc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c /usr/src/lib/libmagic/../../contrib/file/src/encoding.c /usr/src/lib/libmagic/../../contrib/file/src/funcs.c /usr/src/lib/libmagic/../../contrib/file/src/magic.c /usr/src/lib/libmagic/../../contrib/file/src/print.c -lz -legacy In file included from /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c:32: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c:32: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' In file included from /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c:27: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c:27: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' In file included from /usr/src/lib/libmagic/../../contrib/file/src/encoding.c:35: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/encoding.c:35: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' In file included from /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:27: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:27: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c: In function 'file_regcomp': /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:456: error: 'file_regex_t' has no member named 'c_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:456: warning: implicit declaration of function 'newlocale' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:456: error: 'LC_CTYPE_MASK' undeclared (first use in this function) /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:456: error: (Each undeclared identifier is reported only once /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:456: error: for each function it appears in.) /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:457: error: 'file_regex_t' has no member named 'c_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:458: error: 'file_regex_t' has no member named 'old_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:458: warning: implicit declaration of function 'uselocale' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:458: error: 'file_regex_t' has no member named 'c_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:459: error: 'file_regex_t' has no member named 'old_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:463: error: 'file_regex_t' has no member named 'rc' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:463: error: 'file_regex_t' has no member named 'rx' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c: In function 'file_regexec': /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:470: error: 'file_regex_t' has no member named 'rc' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:471: error: 'file_regex_t' has no member named 'rx' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c: In function 'file_regfree': /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:477: error: 'file_regex_t' has no member named 'rc' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:478: error: 'file_regex_t' has no member named 'rx' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:480: error: 'file_regex_t' has no member named 'old_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:481: warning: implicit declaration of function 'freelocale' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:481: error: 'file_regex_t' has no member named 'c_lc_ctype' /usr/src/lib/libmagic/../../contrib/file/src/funcs.c: In function 'file_regerror': /usr/src/lib/libmagic/../../contrib/file/src/funcs.c:490: error: 'file_regex_t' has no member named 'rx' In file included from /usr/src/lib/libmagic/../../contrib/file/src/magic.c:33: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/magic.c:33: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' In file included from /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: xlocale.h: No such file or directory In file included from /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: expected specifier-qualifier-list before 'locale_t' *** Error code 1 Stop in /usr/src/lib/libmagic. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+