Trond Endrestøl
2015-Jan-04 17:41 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
Hi, I'm investigating how to convert my stable/8 systems to stable/9, and subsequently to stable/10. The test subject was installed with 8.4-RELEASE, I then upgraded to the latest stable/8, r276471, with no contents in /etc/make.conf nor /etc/src.conf. So far, so good. Next, I tried to compile stable/9 r276623 on the stable/8 system, still no contents in /etc/make.conf nor /etc/src.conf, and nothing mentioned in /usr/src/UPDATING, only to receive this error message: ===> lib/libmagic (obj,build-tools) cc -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 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error I reverted the stable/9 tree to r276385 to get rid of file 5.21 (r276416), and now the system is able to build world and kernel. Once I get stable/9 r276385 installed, I might be able to build the latest stable/9 source tree. -- +-------------------------------+------------------------------------+ | 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. | +-------------------------------+------------------------------------+
Kevin Oberman
2015-Jan-04 20:45 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
On Sun, Jan 4, 2015 at 9:41 AM, Trond Endrest?l < Trond.Endrestol at fagskolen.gjovik.no> wrote:> Hi, > > I'm investigating how to convert my stable/8 systems to stable/9, and > subsequently to stable/10. > > The test subject was installed with 8.4-RELEASE, I then upgraded to > the latest stable/8, r276471, with no contents in /etc/make.conf nor > /etc/src.conf. So far, so good. > > Next, I tried to compile stable/9 r276623 on the stable/8 system, > still no contents in /etc/make.conf nor /etc/src.conf, and nothing > mentioned in /usr/src/UPDATING, only to receive this error message: > > > ===> lib/libmagic (obj,build-tools) > cc -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 >> [...] > > I reverted the stable/9 tree to r276385 to get rid of file 5.21 > (r276416), and now the system is able to build world and kernel. > > Once I get stable/9 r276385 installed, I might be able to build the > latest stable/9 source tree. >This is very odd. /usr/include/xlocale.h has been in the source tree for over three years. In the buildworld process, header files are moved to /usr/obj very early in the make and used for building world. Do you have /usr/src/include/xlocale.h? If so, it should be found when building file. Do you have /usr/include/xlocale.h? (This file should NOT be used in buildworld, but it is a data point.) Are you running the "official" system update process? Not that there is much there at this point. # cd /usr/src # make buildworld -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman at gmail.com
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-----
Dimitry Andric
2015-Jan-13 18:26 UTC
Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
On 04 Jan 2015, at 18:41, Trond Endrest?l <Trond.Endrestol at fagskolen.gjovik.no> wrote:> > I'm investigating how to convert my stable/8 systems to stable/9, and > subsequently to stable/10....> ===> lib/libmagic (obj,build-tools) > cc -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 directoryFYI, I have submitted a fix for this issue here, to be reviewed: https://reviews.freebsd.org/D1518 -Dimitry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150113/ecc6fa98/attachment.sig>