* [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 @ 2003-05-03 22:16 Tom Tromey 2003-05-06 13:24 ` Anthony Green 2003-05-21 7:31 ` Anthony Green 0 siblings, 2 replies; 11+ messages in thread From: Tom Tromey @ 2003-05-03 22:16 UTC (permalink / raw) To: rhug-rhats [-- Attachment #1: Type: text/plain, Size: 273 bytes --] rhug hasn't built for me in quite a while. However, this is a different failure than usual. FYI. I don't have time to investigate. I never got an answer about sending my nightly build error messages to the list. I'm inclined to do it... stop me if you don't want it. [-- Attachment #2: Type: message/rfc822, Size: 5811 bytes --] From: tromey@redhat.com (Tom Tromey) To: tromey@redhat.com Subject: FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 Date: Sat, 3 May 2003 03:26:44 -0600 (MDT) Message-ID: <20030503092644.F41484F80CC@fleche.redhat.com> file::build/Log.Std /bin/sh ./libtool --mode=compile gcj -fjni --encoding=8859_1 -fassume-compiled --classpath=../../rhug/gnu.readline/upstream/src -O2 -g -c -o ./upstream/src/org/gnu/readline/ReadlineLibrary.lo `test -f ./upstream/src/org/gnu/readline/ReadlineLibrary.java || echo '../../rhug/gnu.readline/'`./upstream/src/org/gnu/readline/ReadlineLibrary.java gcj -fjni --encoding=8859_1 -fassume-compiled --classpath=../../rhug/gnu.readline/upstream/src -O2 -g -c ../../rhug/gnu.readline/./upstream/src/org/gnu/readline/ReadlineLibrary.java -MT ./upstream/src/org/gnu/readline/ReadlineLibrary.lo -MD -MP -MF .deps/./upstream/src/org/gnu/readline/ReadlineLibrary.TPlo -fPIC -o ./upstream/src/org/gnu/readline/.libs/ReadlineLibrary.o source='./upstream/src/native/org_gnu_readline_Readline.c' object='org_gnu_readline_Readline.lo' libtool=yes \ depfile='.deps/org_gnu_readline_Readline.Plo' tmpdepfile='.deps/org_gnu_readline_Readline.TPlo' \ depmode=gcc3 /bin/sh ../../rhug/gnu.readline/depcomp \ /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"rhug-gnu_readline\" -DVERSION=\"0.6\" -DHAVE_DLFCN_H=1 -I. -I../../rhug/gnu.readline -g -g -c -o org_gnu_readline_Readline.lo `test -f ./upstream/src/native/org_gnu_readline_Readline.c || echo '../../rhug/gnu.readline/'`./upstream/src/native/org_gnu_readline_Readline.c mkdir .libs gcc -DPACKAGE=\"rhug-gnu_readline\" -DVERSION=\"0.6\" -DHAVE_DLFCN_H=1 -I. -I../../rhug/gnu.readline -g -g -c ../../rhug/gnu.readline/./upstream/src/native/org_gnu_readline_Readline.c -MT org_gnu_readline_Readline.lo -MD -MP -MF .deps/org_gnu_readline_Readline.TPlo -fPIC -DPIC -o .libs/org_gnu_readline_Readline.o ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `Java_org_gnu_readline_Readline_initReadlineImpl': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:72: error: `rl_readline_name' undeclared (first use in this function) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:72: error: (Each undeclared identifier is reported only once ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:72: error: for each function it appears in.) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `Java_org_gnu_readline_Readline_readlineImpl': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:111: warning: assignment makes pointer from integer without a cast ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `java_completer': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:283: warning: assignment discards qualifiers from pointer target type ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `Java_org_gnu_readline_Readline_setCompleterImpl': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:312: error: `rl_completion_entry_function' undeclared (first use in this function) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:312: error: `Function' undeclared (first use in this function) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:312: error: parse error before ')' token ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `Java_org_gnu_readline_Readline_getWordBreakCharactersImpl': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:325: error: `rl_completer_word_break_characters' undeclared (first use in this function) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:327: error: `rl_basic_word_break_characters' undeclared (first use in this function) ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c: In function `Java_org_gnu_readline_Readline_setWordBreakCharactersImpl': ../../rhug/gnu.readline/upstream/src/native/org_gnu_readline_Readline.c:362: error: `rl_completer_word_break_characters' undeclared (first use in this function) make[2]: *** [org_gnu_readline_Readline.lo] Error 1 make[2]: Leaving directory `/home/tromey/gnu/Nightly/rhug/build/gnu.readline' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tromey/gnu/Nightly/rhug/build/gnu.readline' make: *** [all-recursive] Error 1 [-- Attachment #3: Type: text/plain, Size: 6 bytes --] Tom ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-03 22:16 [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 Tom Tromey @ 2003-05-06 13:24 ` Anthony Green 2003-05-21 7:31 ` Anthony Green 1 sibling, 0 replies; 11+ messages in thread From: Anthony Green @ 2003-05-06 13:24 UTC (permalink / raw) To: Tom Tromey; +Cc: rhug-rhats On Sat, 2003-05-03 at 15:08, Tom Tromey wrote: > I never got an answer about sending my nightly build error messages to > the list. I'm inclined to do it... stop me if you don't want it. I think this is fine. I'll try to look at the failure this week. AG ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-03 22:16 [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 Tom Tromey 2003-05-06 13:24 ` Anthony Green @ 2003-05-21 7:31 ` Anthony Green 2003-05-21 9:38 ` Gary Benson 2003-05-21 13:01 ` Stefan Seefeld 1 sibling, 2 replies; 11+ messages in thread From: Anthony Green @ 2003-05-21 7:31 UTC (permalink / raw) To: tromey, Gary Benson; +Cc: rhug-rhats On Sat, 2003-05-03 at 15:08, Tom Tromey wrote: > rhug hasn't built for me in quite a while. > However, this is a different failure than usual. I was able to build gnu.readline without incident. My build falls down in xerces... libtool: link: `upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo' is not a valid libtool object ..which is an interesting error message since that file doesn't exist. However, I do have a file like that which ends in ".loT". This probably has something to do with this change... 2003-04-08 Gary Benson <gbenson@redhat.com> * Makefile.am: Build resources using libtool. * Makefile.in: Rebuilt. Gary - any ideas? AG -- Anthony Green <green@redhat.com> Red Hat, Inc. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-21 7:31 ` Anthony Green @ 2003-05-21 9:38 ` Gary Benson 2003-05-21 15:46 ` Anthony Green 2003-05-21 13:01 ` Stefan Seefeld 1 sibling, 1 reply; 11+ messages in thread From: Gary Benson @ 2003-05-21 9:38 UTC (permalink / raw) To: rhug-rhats [-- Attachment #1: Type: text/plain, Size: 779 bytes --] Anthony Green wrote: > On Sat, 2003-05-03 at 15:08, Tom Tromey wrote: > > rhug hasn't built for me in quite a while. > > However, this is a different failure than usual. > > I was able to build gnu.readline without incident. > > My build falls down in xerces... > > libtool: link: > `upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo' is > not a valid libtool object > > ..which is an interesting error message since that file doesn't exist. > However, I do have a file like that which ends in ".loT". > > This probably has something to do with this change... > > 2003-04-08 Gary Benson <gbenson@redhat.com> > > * Makefile.am: Build resources using libtool. > * Makefile.in: Rebuilt. > > Gary - any ideas? Hmmm, does this patch help? [-- Attachment #2: xerces-2.2.1-relink.patch --] [-- Type: text/plain, Size: 3114 bytes --] Patch libtool so we don't relink at install time --- ltmain.sh.orig 2003-03-28 11:37:25.000000000 -0500 +++ ltmain.sh 2003-03-28 16:32:23.000000000 -0500 @@ -832,6 +832,7 @@ linker_flags= dllsearchpath= lib_search_path=`pwd` + inst_prefix_dir= avoid_version=no dlfiles= @@ -964,6 +965,11 @@ prev= continue ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; release) release="-$arg" prev= @@ -1172,6 +1178,11 @@ continue ;; + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) @@ -2245,7 +2256,16 @@ if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + add_dir= + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="-L$inst_prefix_dir$libdir" + ;; + esac + fi + add_dir="$add_dir -L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in @@ -2255,7 +2275,16 @@ add="-l$name" else # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + add_dir= + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="-L$inst_prefix_dir$libdir" + ;; + esac + fi + add_dir="$add_dir -L$libdir" add="-l$name" fi @@ -4376,7 +4405,7 @@ fi done # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)" + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. @@ -4677,6 +4706,24 @@ dir="$dir$objdir" if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit 1 + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` + fi + $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-21 9:38 ` Gary Benson @ 2003-05-21 15:46 ` Anthony Green 2003-05-21 16:44 ` Gary Benson 0 siblings, 1 reply; 11+ messages in thread From: Anthony Green @ 2003-05-21 15:46 UTC (permalink / raw) To: Gary Benson; +Cc: rhug-rhats On Wed, 2003-05-21 at 02:38, Gary Benson wrote: > > Hmmm, does this patch help? No - no change. AG -- Anthony Green <green@redhat.com> Red Hat, Inc. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-21 15:46 ` Anthony Green @ 2003-05-21 16:44 ` Gary Benson 2003-05-21 19:15 ` Anthony Green 0 siblings, 1 reply; 11+ messages in thread From: Gary Benson @ 2003-05-21 16:44 UTC (permalink / raw) To: rhug-rhats Anthony Green wrote: > On Wed, 2003-05-21 at 02:38, Gary Benson wrote: > > Hmmm, does this patch help? > > No - no change. what happens if you try: make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo or make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.o ? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-21 16:44 ` Gary Benson @ 2003-05-21 19:15 ` Anthony Green [not found] ` <20030522092501.GB15469@redhat.com> 0 siblings, 1 reply; 11+ messages in thread From: Anthony Green @ 2003-05-21 19:15 UTC (permalink / raw) To: Gary Benson; +Cc: rhug-rhats On Wed, 2003-05-21 at 09:44, Gary Benson wrote: > Anthony Green wrote: > > On Wed, 2003-05-21 at 02:38, Gary Benson wrote: > > > Hmmm, does this patch help? > > > > No - no change. > > what happens if you try: > > make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo > > or > > make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.o Bizarre... [green@escape xerces]$ make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo make: Nothing to be done for `upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo'. [green@escape xerces]$ ls -l upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.* -rw-rw-r-- 1 green green 271 May 21 08:23 upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.loT [green@escape xerces]$ make upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.o make: *** No rule to make target `upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.o'. Stop. AG -- Anthony Green <green@redhat.com> Red Hat, Inc. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20030522092501.GB15469@redhat.com>]
[parent not found: <1053620895.3465.797.camel@escape>]
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 [not found] ` <1053620895.3465.797.camel@escape> @ 2003-05-22 16:44 ` Gary Benson 2003-05-22 18:48 ` Anthony Green 0 siblings, 1 reply; 11+ messages in thread From: Gary Benson @ 2003-05-22 16:44 UTC (permalink / raw) To: rhug-rhats Anthony Green wrote: > I got it. I am building outside of my srcdir. I think this needs a > "$(srcdir)/" or two somewhere... > > .resource-stamp: $(XERCES_PROP_S) > @for x in $(XERCES_PROP_S); do \ > if [ ! -f $$x.o -o $$x -nt $$x.o ]; then \ > $(top_srcdir)/mkinstalldirs `dirname $$x`; \ > cp -a $$x $$x.java; \ > echo $(LTGCJCOMPILE) -o $$x.o -c $$x \ > -Wc,--resource,`echo $$x | sed "s/.*\/src\///g"`; \ > $(LTGCJCOMPILE) -o $$x.o -c $$x.java \ > -Wc,--resource,`echo $$x | sed "s/.*\/src\///g"`; \ > rm -f $$x.java; \ > fi; \ > done > @touch $@ > > Maybe just "cp -a $(srcdir)/$$x $$.java; \"? I don't understand the > "[ ! -f ... " etc part. Does this need a $(srcdir) as well? The [ ! -f $$x.o -o $$x -nt $$x.o ] is basically to make it only build the .o file when it isn't there or the .properties file is newer than it (like what make should be doing). Basically, I think that every $$x.o and $$x.java need a $(srcdir), but $$x on its own does not. Gary ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-22 16:44 ` Gary Benson @ 2003-05-22 18:48 ` Anthony Green 2003-05-23 8:42 ` Gary Benson 0 siblings, 1 reply; 11+ messages in thread From: Anthony Green @ 2003-05-22 18:48 UTC (permalink / raw) To: Gary Benson; +Cc: rhug-rhats On Thu, 2003-05-22 at 09:44, Gary Benson wrote: > Basically, I think that every $$x.o and $$x.java need a $(srcdir), but > $$x on its own does not. But if the $$x.java is a temporary file, then I think it should remain in the build dir. I'll check in some patches for this. Thanks, AG -- Anthony Green <green@redhat.com> Red Hat, Inc. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-22 18:48 ` Anthony Green @ 2003-05-23 8:42 ` Gary Benson 0 siblings, 0 replies; 11+ messages in thread From: Gary Benson @ 2003-05-23 8:42 UTC (permalink / raw) To: rhug-rhats Anthony Green wrote: > On Thu, 2003-05-22 at 09:44, Gary Benson wrote: > > Basically, I think that every $$x.o and $$x.java need a $(srcdir), > > but $$x on its own does not. > > But if the $$x.java is a temporary file, then I think it should remain > in the build dir. Ah, yes. I meant the opposite of what I said :-] > I'll check in some patches for this. Cool, thanks. Gary ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 2003-05-21 7:31 ` Anthony Green 2003-05-21 9:38 ` Gary Benson @ 2003-05-21 13:01 ` Stefan Seefeld 1 sibling, 0 replies; 11+ messages in thread From: Stefan Seefeld @ 2003-05-21 13:01 UTC (permalink / raw) To: rhug-rhats Anthony Green wrote: > On Sat, 2003-05-03 at 15:08, Tom Tromey wrote: > >>rhug hasn't built for me in quite a while. >>However, this is a different failure than usual. > > > I was able to build gnu.readline without incident. > > My build falls down in xerces... > > libtool: link: > `upstream/src/org/apache/xerces/impl/msg/DOMMessages.properties.lo' is > not a valid libtool object just for the record, I was able to build almost all of rhug with gcc 3.3, with only slight changes to the Makefiles (adding some --classpath arguments to gcjh...). I occasionally run 'make clear', and then I observed the same, i.e. lots of references to *.lo files from within .la files, which couldn't be resolved/built/whatever. Running 'make install' revealed another error, again in the libtool department: libtool tries to install archives (.a files), while none are built. Anyways, with a little bit of manual fine-tuning I was able to run ant, which is much further than I ever got. Thanks ! Stefan ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-05-23 8:42 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-05-03 22:16 [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 Tom Tromey 2003-05-06 13:24 ` Anthony Green 2003-05-21 7:31 ` Anthony Green 2003-05-21 9:38 ` Gary Benson 2003-05-21 15:46 ` Anthony Green 2003-05-21 16:44 ` Gary Benson 2003-05-21 19:15 ` Anthony Green [not found] ` <20030522092501.GB15469@redhat.com> [not found] ` <1053620895.3465.797.camel@escape> 2003-05-22 16:44 ` Gary Benson 2003-05-22 18:48 ` Anthony Green 2003-05-23 8:42 ` Gary Benson 2003-05-21 13:01 ` Stefan Seefeld
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).