Bug#470327: [Pkg-octave-devel] Bug#470327: Bug#470327: problem in fltk-config
Oops; thanks for the report. I'll fix fltk-config as time permits (likely tonight @-0400); however, I'd argue that octplot is misusing it anyway, as --libs is primarily intended to give makefile dependencies (foo: foo.o `fltk-config --libs`). Instead, please use --ldflags, or, in the unlikely case that you actually mean to link fltk statically, --ldstaticflags. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#470327: [Pkg-octave-devel] Processed (with 1 errors): Re: Bug#470327: problem in fltk-config
package fltk1.1 found 470327 1.1.8~rc1-2 thanks I am fixing the problem below: * Debian Bug Tracking System <[EMAIL PROTECTED]> [2008-03-11 08:51]: > Processing commands for [EMAIL PROTECTED]: > > > package octplot > Ignoring bugs not assigned to: octplot > > > reassign 470327 fltk1.1 > Bug#470327: octplot: FTBFS: Makefile:124: *** missing separator. Stop. > Bug reassigned from package `octplot' to `fltk1.1'. > > > found 1.1.8~rc1-2 > Unknown command or malformed arguments to command. -- Rafael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#470327: [Pkg-octave-devel] Bug#470327: Bug#470327: problem in fltk-config
Am Dienstag, den 11.03.2008, 11:05 +0100 schrieb Rafael Laboissiere: > * Thomas Weber <[EMAIL PROTECTED]> [2008-03-11 09:42]: > > > package octplot > > reassign 470327 fltk1.1 > > found 1.1.8~rc1-2 > > thanks > > > > Hi Aaron, > > > > fltk-config outputs several lines instead of one when called as > > > > $ fltk-config --use-gl --libs > > > > [...] > > As a workaround, while waiting for the upstream fix, we could use instead: > > fltk-config --use-gl --libs | perl -e 'print join (" ", map {s/\n//;$_} <>)' > > Although, I am afraid my fellows of the DOG will kill me for proposing a > Perl-based solution :-) I don't think Shai will be too happy if we propose adding Perl (or any other language) to his build system. But for our needs, why not? Other option: fltk-config --libs --use-gl | tr '\n' ' ' Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#470327: [Pkg-octave-devel] Bug#470327: Bug#470327: problem in fltk-config
* Thomas Weber <[EMAIL PROTECTED]> [2008-03-11 09:42]: > package octplot > reassign 470327 fltk1.1 > found 1.1.8~rc1-2 > thanks > > Hi Aaron, > > fltk-config outputs several lines instead of one when called as > > $ fltk-config --use-gl --libs > > [...] As a workaround, while waiting for the upstream fix, we could use instead: fltk-config --use-gl --libs | perl -e 'print join (" ", map {s/\n//;$_} <>)' Although, I am afraid my fellows of the DOG will kill me for proposing a Perl-based solution :-) -- Rafael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#470327: [Pkg-octave-devel] Bug#470327: problem in fltk-config
package octplot reassign 470327 fltk1.1 found 1.1.8~rc1-2 thanks Hi Aaron, fltk-config outputs several lines instead of one when called as $ fltk-config --use-gl --libs which makes it difficult to use the output in further commands. The problem is in the "if" part, starting at line 319. This change happened in upstream Subversion revision 5985, which was a fix for STR #1799. I don't know fltk's upstream, so can you please clarify if this change will stay? I'll then try to come up with a work-around, although I think outputting everything on one line is preferred. See below for the corresponding FTBFS bug report for octplog. Am Montag, den 10.03.2008, 12:04 -0700 schrieb Larry Doolittle: > The origin of the problem is a change (between fltk1.1-1.1.7 and > fltk1.1-1.1.8~rc1) in the output of fltk-config. > > With libfltk1.1{,-dev} version 1.1.7-7 installed, I get > > $ fltk-config --use-gl --libs > /usr/lib/libfltk.a /usr/lib/libfltk_gl.a > $ > > but with revision 1.1.8~rc1-2 I get > > $ fltk-config --use-gl --libs > /usr/lib/libfltk.a > /usr/lib/libfltk_gl.a > $ > > The octplot configure script gets tripped up by the extra linefeed, > so the resulting Makefile has > > LIBS = /usr/lib/libfltk.a > /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL -lm -lfreetype -lz > > instead of > > LIBS = /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL > -lm -lfreetype -lz > > I humbly suggest reassigning to package fltk1.1, Doing so now, thanks for the analysis. > although I could also > make an argument that autoconf should deal with this case. There's not > really anything to fix in octplot, which just does >LIBS="$LIBS `$FLTK_CONFIG $fltkconf_args --use-gl --libs`" > in configure.ac. Thanks Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#470327: problem in fltk-config
The origin of the problem is a change (between fltk1.1-1.1.7 and fltk1.1-1.1.8~rc1) in the output of fltk-config. With libfltk1.1{,-dev} version 1.1.7-7 installed, I get $ fltk-config --use-gl --libs /usr/lib/libfltk.a /usr/lib/libfltk_gl.a $ but with revision 1.1.8~rc1-2 I get $ fltk-config --use-gl --libs /usr/lib/libfltk.a /usr/lib/libfltk_gl.a $ The octplot configure script gets tripped up by the extra linefeed, so the resulting Makefile has LIBS = /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL -lm -lfreetype -lz instead of LIBS = /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL -lm -lfreetype -lz I humbly suggest reassigning to package fltk1.1, although I could also make an argument that autoconf should deal with this case. There's not really anything to fix in octplot, which just does LIBS="$LIBS `$FLTK_CONFIG $fltkconf_args --use-gl --libs`" in configure.ac. - Larry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]