Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Thomas Pircher

On 2017-09-17 20:59, Gianfranco Costamagna wrote:

BTW the only patch the package is carrying at this moment, has been
created to make the package multiarch. So, moving the configurator
outside usr/bin, will make the patch even useless.


Hi,

yes, you have a good point there...
I have uploaded a new version that just removes the -fdebug-prefix-map 
option from the old-style config file.


Let me know if there are any other problems.

Thanks,
Thomas



Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Gianfranco Costamagna
Hello,


> This is the diff of /usr/bin/cgicc-config between packages from different
> architectures 


exactly :) sorry if I wasn't clear at the begin

BTW the only patch the package is carrying at this moment, has been created to 
make
the package multiarch. So, moving the configurator outside usr/bin, will make 
the patch
even useless.

we did this for some packages already, libsdl2 (only in git I patched it)
https://anonscm.debian.org/cgit/pkg-sdl/packages/libsdl2.git/commit/?id=d461026ee1fcbc930d51c6ce51d343ef9ef7fcc2

also, libpng, and I rebased the patch when we started the libpng1.6 transition 
to the new package.

patching it shouldn't be difficult to do, with some sed, or even if possible by 
just removing CXXFLAGS
from that file
(or splitting them into a reproducible and non-reproducible part)


>https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html>Links
> mentioned there may be useful to you too.


thanks, it was useful also for me :)

G.



Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Thomas Pircher

On 2017-09-17 16:14, Andrey Rahmatullin wrote:

On Sun, Sep 17, 2017 at 02:59:48PM +, Gianfranco Costamagna wrote:

hello, I find this approach a little bit too invasive

-cxxflags="-Wall -W -pedantic -g -O2 
-fdebug-prefix-map=/build/libcgicc-GEfIf8/libcgicc-3.2.19=. 
-fstack-protector-strong -Wformat -Werror=format-security"
+cxxflags="-Wall -W -pedantic -g -O2 
-fdebug-prefix-map=/build/libcgicc-pUjh6F/libcgicc-3.2.19=. 
-fstack-protector-strong -Wformat -Werror=format-security"


What's that? Have you diffed the build logs instread of the source
packages?


This is the diff of /usr/bin/cgicc-config between packages from 
different architectures (or possibly between two different builds?).
That's why #874225 was raised: the libcgicc-dev package had this 
conflicting file for multi-arch.


I'll try to get the debug-prefix-map removed from the cgicc-config file 
and will do a new upload to mentors.


Cheers,
Thomas



Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Andrey Rahmatullin
On Sun, Sep 17, 2017 at 04:33:49PM +0100, Thomas Pircher wrote:
> > > hello, I find this approach a little bit too invasive
> > > 
> > > -cxxflags="-Wall -W -pedantic -g -O2
> > > -fdebug-prefix-map=/build/libcgicc-GEfIf8/libcgicc-3.2.19=.
> > > -fstack-protector-strong -Wformat -Werror=format-security"
> > > +cxxflags="-Wall -W -pedantic -g -O2
> > > -fdebug-prefix-map=/build/libcgicc-pUjh6F/libcgicc-3.2.19=.
> > > -fstack-protector-strong -Wformat -Werror=format-security"
> > 
> > What's that? Have you diffed the build logs instread of the source
> > packages?
> 
> This is the diff of /usr/bin/cgicc-config between packages from different
> architectures 
Ah.

> (or possibly between two different builds?).
Yes, packages recording CFLAGS are also not reproducible. See
https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html
Links mentioned there may be useful to you too.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Andrey Rahmatullin
On Sun, Sep 17, 2017 at 02:59:48PM +, Gianfranco Costamagna wrote:
> hello, I find this approach a little bit too invasive
> 
> -cxxflags="-Wall -W -pedantic -g -O2 
> -fdebug-prefix-map=/build/libcgicc-GEfIf8/libcgicc-3.2.19=. 
> -fstack-protector-strong -Wformat -Werror=format-security"
> +cxxflags="-Wall -W -pedantic -g -O2 
> -fdebug-prefix-map=/build/libcgicc-pUjh6F/libcgicc-3.2.19=. 
> -fstack-protector-strong -Wformat -Werror=format-security"
> 
> 
> changes are just about that debug-prefix-map variable.. 
What's that? Have you diffed the build logs instread of the source
packages?

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Gianfranco Costamagna
control: owner -1 !
control: tags -1 moreinfo

>* Package name: libcgicc

hello, I find this approach a little bit too invasive

-cxxflags="-Wall -W -pedantic -g -O2 
-fdebug-prefix-map=/build/libcgicc-GEfIf8/libcgicc-3.2.19=. 
-fstack-protector-strong -Wformat -Werror=format-security"
+cxxflags="-Wall -W -pedantic -g -O2 
-fdebug-prefix-map=/build/libcgicc-pUjh6F/libcgicc-3.2.19=. 
-fstack-protector-strong -Wformat -Werror=format-security"


changes are just about that debug-prefix-map variable.. couldn't we just get 
rid of it and leave the file in that directory?

Moving the file outside $PATH is useless for its purpose.

maybe some sed magic can do the trick?


-fdebug-prefix-map=old=new
When compiling files in directory old, record debugging information describing 
them as in new instead.

so, probably not needed at runtime :)

G.



Bug#876027: RFS: libcgicc/3.2.19-0.2 [NMU] -- C++ class library for writing CGI applications

2017-09-17 Thread Thomas Pircher

Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "libcgicc"

* Package name: libcgicc
  Version : 3.2.19-0.2
  Upstream Author : Sebastien Diaz 
* URL : http://www.gnu.org/software/cgicc/
* License : GPL-2+
  Section : libs

It builds those binary packages:

  libcgicc-dev - C++ class library for writing CGI applications 
(development files
  libcgicc-doc - C++ class library for writing CGI applications 
(documentation)

  libcgicc3  - C++ class library for writing CGI applications (library)

To access further information about this package, please visit the 
following URL:

https://mentors.debian.net/package/libcgicc


Alternatively, one can download the package with dget using this 
command:


  dget -x 
https://mentors.debian.net/debian/pool/main/libc/libcgicc/libcgicc_3.2.19-0.2.dsc


More information about cgicc can be obtained from 
http://www.gnu.org/software/cgicc/.


Changes since the last upload:

  * Non-maintainer upload.
  * Updated to Standards-Version 4.1.0 (no changes required).
  * Move the old-style config file to the multi-arch directory under 
/usr/lib

(Closes: #874225).

I have deferred the package by 10 days to give the maintainer the 
opportunity to intervene, should he wish to do so.


Regards,
 Thomas Pircher