[argyllcms] ftbfs with GCC-5

  • From: Jörg Frings-Fürst <debian@xxxxxxxxxxxxxxxxxx>
  • To: Argyllcms ML <argyllcms@xxxxxxxxxxxxx>
  • Date: Mon, 23 Feb 2015 17:19:53 +0100

Hello,

I forward this Debian bug[1]:

[quote]
Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/argyll_1.6.3-4_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
          ^
numlib/numsup.h:299:6: error: declaration for parameter 'free_dvector' but no 
such parameter
 void free_dvector(double *v,int nl,int nh);
      ^
numlib/numsup.h:298:9: error: declaration for parameter 'dvectorz' but no such 
parameter
 double *dvectorz(int nl,int nh);
         ^
numlib/numsup.h:297:9: error: declaration for parameter 'dvector' but no such 
parameter
 double *dvector(int nl,int nh);
         ^
numlib/numsup.h:283:7: error: declaration for parameter 'recalloc' but no such 
parameter
 void *recalloc(  /* Return new address */
       ^
numlib/numsup.h:278:13: error: declaration for parameter 'cr_char' but no such 
parameter
 extern char cr_char;
             ^
numlib/numsup.h:277:12: error: declaration for parameter 'not_interactive' but 
no such parameter
 extern int not_interactive;
            ^
numlib/numsup.h:276:13: error: declaration for parameter 
'check_if_not_interactive' but no such parameter
 extern void check_if_not_interactive();
             ^
numlib/numsup.h:274:12: error: declaration for parameter 
'ret_null_on_malloc_fail' but no such parameter
 extern int ret_null_on_malloc_fail;
            ^
numlib/numsup.h:272:13: error: declaration for parameter 'verbose' but no such 
parameter
 extern void verbose(int level, char *fmt, ...);
             ^
numlib/numsup.h:271:13: error: declaration for parameter 'warning' but no such 
parameter
 extern void warning(char *fmt, ...);
             ^
numlib/numsup.c:1873:1: error: expected '{' at end of input
 }
 ^

        cc -c -o numlib/dnsq.o -D_FORTIFY_SOURCE=2 -g -DUNIX -D_THREAD_SAFE 
-pipe -O2 -DARGYLLCMS -Inumlib -I/usr/local/include numlib/dnsq.c

...failed Cc_ numlib/dnsq.o ...

        cc -c -o numlib/numsup.o -D_FORTIFY_SOURCE=2 -g -DUNIX -D_THREAD_SAFE 
-pipe -O2 -DARGYLLCMS -Inumlib -I/usr/local/include numlib/numsup.c

...failed Cc_ numlib/numsup.o ...
...skipped <numlib>libnum.a for lack of <numlib>libnum.a(numsup.o)...
...failed updating 2 target(s)...
...skipped 1 target(s)...
make[1]: *** [override_dh_auto_build] Error 1
debian/rules:13: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
[\quote]


CU
Jörg


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777779

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key        : 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54526 Niederkail

Threema: SYR8SJXB

IRC: j_f-f@xxxxxxxxxxxx
     j_f-f@xxxxxxxx

My wish list: 
 - Please send me a picture from the nature at your home.


Attachment: signature.asc
Description: This is a digitally signed message part

Other related posts:

  • » [argyllcms] ftbfs with GCC-5 - Jrg Frings-Frst