Re: xenocara build failure
On Mon, May 13, 2013 at 09:15:17PM -0700, Marco S Hyman wrote: This is probably something stupid I'm doing, but I can't see it right this second. Trying to build xenocara from sources pulled from anon...@anoncvs3.usa.openbsd.org:/cvs as of about 60 minutes before sending this email message gives me snip *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j Maurice
Re: xenocara build failure
On May 13, 2013, at 11:54 PM, Maurice Janssen maur...@z74.net wrote: *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j I'm doing a simple make build (after a make bootstrap make obj) Looking at the sources and the build output only leads to questions. 1) makefile issue? freetype fails to build but the makefile continues to the install phase where it finally fails trying to install the lib that didn't build. 2) t1load.c uses a structure element named keywords_encountered. The code that uses this element does not appear to be conditional. 3) No-where in the source can I find where anything with the name keywords_encountered is defined. There is a comment in Changelog.23: that says the field keywords_encountered was added to t1load.h back in 2006!!! Yet that field doesn't exist in my t1load.h and a cvs diff says my file is current. Confusion.
Re: xenocara build failure
On Tue, May 14, 2013 at 11:13:58AM -0700, Marco S Hyman wrote: On May 13, 2013, at 11:54 PM, Maurice Janssen maur...@z74.net wrote: *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? Are you using make in parallel (-j) mode? If so, please try without -j I'm doing a simple make build (after a make bootstrap make obj) Looking at the sources and the build output only leads to questions. 1) makefile issue? freetype fails to build but the makefile continues to the install phase where it finally fails trying to install the lib that didn't build. 2) t1load.c uses a structure element named keywords_encountered. The code that uses this element does not appear to be conditional. 3) No-where in the source can I find where anything with the name keywords_encountered is defined. There is a comment in Changelog.23: that says the field keywords_encountered was added to t1load.h back in 2006!!! Yet that field doesn't exist in my t1load.h and a cvs diff says my file is current. Confusion. What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 -Otto
Re: xenocara build failure
What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. When I moved t1load.h out of the way and re-updated I got a different version. Grumble... I think it's time to refresh all my sources from scratch now that I can't be sure that everything is up to date. Thanks, Marc
Re: xenocara build failure
On Tue, May 14, 2013 at 11:38, Marco S Hyman wrote: What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. When I moved t1load.h out of the way and re-updated I got a different version. Yes, it should. No, it doesn't. There's a bug somewhere in cvs.
Re: xenocara build failure
On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. In any case my compile issue is resolved. Thanks to those who provided help.
Re: xenocara build failure
On Tue, May 14, 2013 at 2:02 PM, Marco S Hyman m...@snafu.org wrote: On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? --patrick
Re: xenocara build failure
On Tue, May 14, 2013 at 02:02:27PM -0700, Marco S Hyman wrote: On May 14, 2013, at 1:56 PM, Ted Unangst t...@tedunangst.com wrote: You are on to something... cvs up -PAd should remove all tags, no? It didn't. Yes, it should. No, it doesn't. There's a bug somewhere in cvs. *nod* Trashing the source and fetching from scratch showed a few things stuck at older tags. The nsd sources in src and several things in xenocara including freetype and Xfont. In any case my compile issue is resolved. Thanks to those who provided help. I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. -Otto
Re: xenocara build failure
On May 14, 2013, at 2:07 PM, patrick keshishian pkesh...@gmail.com wrote: and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? There was no output. I have exactly one modified file in my xenocara tree. It's not in the lib subdir. I have a few more modifications in my src tree, but none in nsd which is the code that wasn't up to date. Otto Moerbeek o...@drijf.net wrote: I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. I tried updating from two different servers. anon...@anoncvs3.usa.openbsd.org:/cvs anon...@anoncvs.ca.openbsd.org:/cvs
Re: xenocara build failure
On 2013-05-14, Marco S Hyman m...@snafu.org wrote: What is the revision of the file? Any sticky tags/dates? rev should be 1.1.1.2 You are on to something... cvs up -PAd should remove all tags, no? It didn't. I have significantly fewer problems if I explicitly set the root on the command line: 'cvs -d $CVSROOT up [...]' (I have shell aliases, acvs etc, to do this for servers I use often).
Re: xenocara build failure
On Tue, May 14, 2013 at 2:42 PM, Marco S Hyman m...@snafu.org wrote: On May 14, 2013, at 2:07 PM, patrick keshishian pkesh...@gmail.com wrote: and none of those files were locally modified? Do you have the output of cvs up -PAd in regard to those specific files? There was no output. I have exactly one modified file in my xenocara tree. It's not in the lib subdir. I have a few more modifications in my src tree, but none in nsd which is the code that wasn't up to date. Otto Moerbeek o...@drijf.net wrote: I believe others have seen problems wher the server was running opencvs. No idea if this case is related to that. I tried updating from two different servers. anon...@anoncvs3.usa.openbsd.org:/cvs anon...@anoncvs.ca.openbsd.org:/cvs I don't recall the details exactly, but i have experienced problems where at some point I have switched from one CVS server to another, because a server was unavailable, and ended up with CVS/Root files with the different server entries. Then, when updating the source tree later, had problems with the directories with differing CVS/Root entries. --patrick
xenocara build failure
This is probably something stupid I'm doing, but I can't see it right this second. Trying to build xenocara from sources pulled from anon...@anoncvs3.usa.openbsd.org:/cvs as of about 60 minutes before sending this email message gives me cc -O2 -pipe -I/usr/xenocara/lib/freetype/include -I/usr/xenocara/lib/freetype/builds/unix -I/usr/xenocara/lib/freetype/src/lzw -DFT2_BUILD_LIBRARY -c /usr/xenocara/lib/freetype/src/type1/type1.c -o type1.o In file included from /usr/xenocara/lib/freetype/src/type1/type1.c:23: /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 'parse_private': /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: 'T1_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: (Each undeclared identifier is reported only once /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: for each function it appears in.) In file included from /usr/xenocara/lib/freetype/src/type1/type1.c:23: /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 'parse_dict': /usr/xenocara/lib/freetype/src/type1/t1load.c:1871: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1871: error: 'T1_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1872: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1873: error: 'T1_FONTDIR_AFTER_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1978: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1990: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 't1_init_loader': /usr/xenocara/lib/freetype/src/type1/t1load.c:2047: error: 'struct T1_Loader_' has no member named 'keywords_encountered' *** Error 1 in lib/freetype (bsd.lib.mk:37 'type1.o': @cc -O2 -pipe -I/usr/xenocara/lib/freetype/include -I/usr/xenocara/lib/freetype/...) *** Error 1 in lib/freetype (Makefile:36 'build') *** Error 1 in lib (bsd.subdir.mk:48 'build') *** Error 1 in . (bsd.subdir.mk:48 'realbuild') *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong?
Re: xenocara build failure
On 05/14/13 00:15, Marco S Hyman wrote: This is probably something stupid I'm doing, but I can't see it right this second. Trying to build xenocara from sources pulled from anon...@anoncvs3.usa.openbsd.org:/cvs as of about 60 minutes before sending this email message gives me cc -O2 -pipe -I/usr/xenocara/lib/freetype/include -I/usr/xenocara/lib/freetype/builds/unix -I/usr/xenocara/lib/freetype/src/lzw -DFT2_BUILD_LIBRARY -c /usr/xenocara/lib/freetype/src/type1/type1.c -o type1.o In file included from /usr/xenocara/lib/freetype/src/type1/type1.c:23: /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 'parse_private': /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: 'T1_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: (Each undeclared identifier is reported only once /usr/xenocara/lib/freetype/src/type1/t1load.c:1037: error: for each function it appears in.) In file included from /usr/xenocara/lib/freetype/src/type1/type1.c:23: /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 'parse_dict': /usr/xenocara/lib/freetype/src/type1/t1load.c:1871: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1871: error: 'T1_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1872: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1873: error: 'T1_FONTDIR_AFTER_PRIVATE' undeclared (first use in this function) /usr/xenocara/lib/freetype/src/type1/t1load.c:1978: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c:1990: error: 'struct T1_Loader_' has no member named 'keywords_encountered' /usr/xenocara/lib/freetype/src/type1/t1load.c: In function 't1_init_loader': /usr/xenocara/lib/freetype/src/type1/t1load.c:2047: error: 'struct T1_Loader_' has no member named 'keywords_encountered' *** Error 1 in lib/freetype (bsd.lib.mk:37 'type1.o': @cc -O2 -pipe -I/usr/xenocara/lib/freetype/include -I/usr/xenocara/lib/freetype/...) *** Error 1 in lib/freetype (Makefile:36 'build') *** Error 1 in lib (bsd.subdir.mk:48 'build') *** Error 1 in . (bsd.subdir.mk:48 'realbuild') *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? I've seen this before. After you rebuild your system, reboot. (Yes, in addition to after rebooting into the new kernel.) Bet your problem will be solved. -- Scott McEachern https://www.blackstaff.ca Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin
Re: xenocara build failure
On May 13, 2013, at 9:47 PM, Scott McEachern sc...@blackstaff.ca wrote: *** Error 1 in lib/freetype (bsd.lib.mk:37 'type1.o': @cc -O2 -pipe -I/usr/xenocara/lib/freetype/include -I/usr/xenocara/lib/freetype/...) *** Error 1 in lib/freetype (Makefile:36 'build') *** Error 1 in lib (bsd.subdir.mk:48 'build') *** Error 1 in . (bsd.subdir.mk:48 'realbuild') *** Error 1 in /usr/xenocara (Makefile:35 'build') Any hints as to what I'm doing wrong? I've seen this before. After you rebuild your system, reboot. (Yes, in addition to after rebooting into the new kernel.) Bet your problem will be solved. Tried that... still fails in the same place. I think I'll try grabbing source from a different CVS server and see if that makes a difference... grasping at straws.