[Bug 2081717] Re: FTBFS with gcc-14

Paul Mars 2081717 at bugs.launchpad.net
Mon Sep 23 12:24:59 UTC 2024


** Bug watch added: Debian Bug tracker #1074915
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074915

** Also affects: discount (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074915
   Importance: Unknown
       Status: Unknown

** Changed in: discount (Ubuntu)
   Importance: Undecided => Medium

** Changed in: discount (Ubuntu)
   Importance: Medium => High

** Changed in: discount (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2081717

Title:
  FTBFS with gcc-14

Status in discount package in Ubuntu:
  In Progress
Status in discount package in Debian:
  Unknown

Bug description:
  discount FTBFS with gcc-14

  
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  cc -Wno-return-type -Wno-implicit-int -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/discount-2.2.7-2build1 -fPIC -c main.c
  main.c: In function ‘main’:
  main.c:311:36: error: passing argument 2 of ‘mkd_e_code_format’ from incompatible pointer type [-Wincompatible-pointer-types]
    311 |             mkd_e_code_format(doc, external_codefmt);
        |                                    ^~~~~~~~~~~~~~~~
        |                                    |
        |                                    char * (*)(char *, int,  char *)
  In file included from main.c:12:
  ./mkdio.h:71:31: note: expected ‘mkd_callback_t’ {aka ‘char * (*)(const char *, const int,  void *)’} but argument is of type ‘char * (*)(char *, int,  char *)’
     71 | void mkd_e_code_format(void*, mkd_callback_t);
        |                               ^~~~~~~~~~~~~~
  make[1]: *** [Makefile:128: main.o] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned exit code 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/discount/+bug/2081717/+subscriptions




More information about the Ubuntu-sponsors mailing list