[Freewx-maint] Bug#786986: Wxwidgets webview link flags problem

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Mon Jun 22 06:34:54 UTC 2015


Hi Olly,

>"As discussed on irc" isn't useful context for anyone except you and me,
>and I can't really remember that discussion, except that I kept asking
>you to open a bug with the details.


no problem, here you can find the irc log (if needed) [1], but yes, you are right :)

>AFAICS, the build can't succeed, as a required dependency isn't installed.

>So the build failing seems to be the correct behaviour to me.

Nope, the question is: the configure should fail, not the build.

(that the overall process should fail is indeed correct)

>I don't see that as being an improvement.
>Is your complaint that the error that the build fails with in this case
>doesn't clearly point to the missing package as being the problem?

>

nope

>If so, it would be very useful to show how the build currently fails
>in this case.




you can grab poedit from unstable and try to build for experimental, with libcpprest-dev and 

libsecret-1-dev enabled as build-dependency without the webview enabled.

(I did it and the log is there [2])


Anyway, I don't really think this is needed, the reproducibility is trivial.
(mostly quoting irc)

WX_CONFIG_CHECK([3.0.0], [WXFOUND=1], [WXFOUND=0], [webview], [--unicode])

should throw an error if webview is not there.

this isn't a problem in autoconf, since:

(starting from a pbuilder clean environment)
apt-get install libwxgtk3.0-dev
wx-config --libs webview
-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_webview-3.0 -lwx_baseu-3.0 



the returned list should be empty, since wx-webview isn't there.
(autoconf relies on this check, so it doesn't fail, leading to a link time failure)


[1] http://irc.mapreri.org/logs/oftc/%23debian-devel/2015/%23debian-devel_2015-05-27.log.html
[2] http://debomatic-amd64.debian.net/distribution#experimental/poedit/1.8.1-5/buildlog

hope this helps :)

cheers (and thanks),


Gianfranco



More information about the Freewx-maint mailing list