Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #363795 > unrolled thread

Bug#1071354: r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments

Started bySantiago Vila <sanvila@debian.org>
First post2024-05-17 22:50 +0200
Last post2024-05-28 17:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1071354: r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments Santiago Vila <sanvila@debian.org> - 2024-05-17 22:50 +0200
    Bug#1071354: marked as done (r-cran-eco: FTBFS: rand.c:245:5:  error: format not a string literal and no format arguments) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-28 17:10 +0200

#363795 — Bug#1071354: r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments

FromSantiago Vila <sanvila@debian.org>
Date2024-05-17 22:50 +0200
SubjectBug#1071354: r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments
Message-ID<IFcGF-e26K-37@gated-at.bofh.it>
Package: src:r-cran-eco
Version: 4.0-3-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --buildsystem R
    dh_update_autotools_config -O--buildsystem=R
    dh_autoreconf -O--buildsystem=R
    dh_auto_configure -O--buildsystem=R
    dh_auto_build -O--buildsystem=R
    dh_auto_test -O--buildsystem=R
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=R
    dh_prep -O--buildsystem=R
    dh_auto_install --destdir=debian/r-cran-eco/ -O--buildsystem=R
I: R Package: eco Version: 4.0-3
I: Building using R version 4.4.0-2
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Wed, 23 Nov 2022 11:39:37 +0100
	mkdir -p /<<PKGBUILDDIR>>/debian/r-cran-eco/usr/lib/R/site-library
	R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-eco/usr/lib/R/site-library --clean . "--built-timestamp='Wed, 23 Nov 2022 11:39:37 +0100'"
* installing *source* package ‘eco’ ...
** package ‘eco’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (Debian 13.2.0-25) 13.2.0’
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c bayes.c -o bayes.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c fintegrate.c -o fintegrate.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsBase.c -o gibbsBase.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsBase2C.c -o gibbsBase2C.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsBaseRC.c -o gibbsBaseRC.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsDP.c -o gibbsDP.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsEM.c -o gibbsEM.o
gibbsEM.c: In function ‘cEMeco’:
gibbsEM.c:235:52: warning: format ‘%g’ expects a matching ‘double’ argument [-Wformat=]
   235 |       if (setP.ncar) Rprintf("Sig3: %10g%10g%10g%10g\n",setP.Sigma3[0][0],setP.Sigma3[1][1],setP.Sigma3[2][2]);
       |                                                 ~~~^
       |                                                    |
       |                                                    double
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsXBase.c -o gibbsXBase.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsXDP.c -o gibbsXDP.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c gibbsZBase.c -o gibbsZBase.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c init.c -o init.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c preBaseX.c -o preBaseX.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c preDP.c -o preDP.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c preDPX.c -o preDPX.o
gcc -I"/usr/share/R/include" -DNDEBUG       -fpic  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/r-base-4.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c rand.c -o rand.o
rand.c: In function ‘logit’:
rand.c:245:5: error: format not a string literal and no format arguments [-Werror=format-security]
   245 |     Rprintf(emsg);
       |     ^~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [/usr/lib/R/etc/Makeconf:195: rand.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
ERROR: compilation failed for package ‘eco’
* removing ‘/<<PKGBUILDDIR>>/debian/r-cran-eco/usr/lib/R/site-library/eco’
dh_auto_install: error: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-eco/usr/lib/R/site-library --clean . "--built-timestamp='Wed, 23 Nov 2022 11:39:37 +0100'" returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

[toc] | [next] | [standalone]


#364362 — Bug#1071354: marked as done (r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-05-28 17:10 +0200
SubjectBug#1071354: marked as done (r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments)
Message-ID<IJ6CB-gqTj-1@gated-at.bofh.it>
In reply to#363795

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 28 May 2024 14:57:15 +0000
with message-id <E1sByGJ-00BWVh-5r@fasolo.debian.org>
and subject line Bug#1072069: Removed package(s) from unstable
has caused the Debian Bug report #1071354,
regarding r-cran-eco: FTBFS: rand.c:245:5: error: format not a string literal and no format arguments
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1071354: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071354
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web