Source: subversion,unbound,swig
Severity: wishlist
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain
x-debbugs-cc: reproducible-builds@lists.alioth.debian.org


Hi subversion, unbound and swig maintainers,
we in the Reproducible Builds effort use a non default dpkg which export
-Wdate-time through dpkg-buildflags.

There are package that pass CPPFLAGS (for example) quite unchanged to swig.

Sadly swig does not recognize -Wdate-time and choke and fail on it badly, e.g.

/usr/bin/swig -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 
-I/usr/include/python2.7 -o pythonmod/interface.h -python 
./pythonmod/interface.i
swig error : Unrecognized option -Wdate-time
Use 'swig -help' for available options.
Makefile:369: recipe for target 'pythonmod/interface.h' failed
make[1]: *** [pythonmod/interface.h] Error 1


Needless to say, I'd like to build those packages with such flag (that we also
would like to get into the default set, see the bug #762683 for a start).


Possible solutions i see for this:

a. swig stops failing so badly on unrecognized options. If you really want to
   validate the options at least stop failing on unrecognized -W? Seems quite
   logical to pass CPPFLAGS to swig to me, and as such sounds sane
b. people stop passing CPPFLAGS to swig. I've already saw a "CPPFLAGS cleaner"
   on subversion's configure script. Please I don't want to see another


Even if I do have preference I don't have a strong opinion on this, so if you
agree this is not a bug in swig (which I could even accept, given that the
accepted flags are well documented), I'll just clone+reassign this bug around.


Thanks for maintaining such packages!

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540         .''`.
more about me:  http://mapreri.org                                 : :'  :
Launchpad user: https://launchpad.net/~mapreri                     `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia     `-

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to