Debian Bug report logs -
#749635
fenix: Conflicting declarations of function load_file
Reported by: Michael Tautschnig <mt@debian.org>
Date: Wed, 28 May 2014 18:51:01 UTC
Severity: normal
Found in version fenix/0.92a.dfsg1-10
Fixed in version fenix/0.92a.dfsg1-12
Done: Peter Pentchev <roam@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#749635; Package fenix.
(Wed, 28 May 2014 18:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Tautschnig <mt@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 28 May 2014 18:51:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: fenix
Version: 0.92a.dfsg1-10
Usertags: goto-cc
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.
[...]
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing -DUSE_GETTEXT -Wl,-z,relro -Wl,-z,defs -o fxc main.o main_div.o token.o identifier.o segment.o constants.o strings.o varspace.o procedure.o codeblock.o c_main.o c_data.o c_code.o c_debug.o dcbw.o messages.o error.o sysstub.o typedef.o files.o xctype.o -L/usr/lib/x86_64-linux-gnu -lSDL -Wl,-Bdynamic -lc -lz -lX11 -lm -ldl
error: conflicting function declarations "load_file"
old definition in module main file main.c line 69
signed int (char *filename)
new definition in module token file token.c line 571
void (const char *)
Makefile:241: recipe for target 'fxc' failed
make[4]: *** [fxc] Error 64
make[4]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-fenix/fenix-0.92a.dfsg1/fxc/src'
Makefile:174: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
The following declaration does not match the actual definition of load_file:
http://sources.debian.net/src/fenix/0.92a.dfsg1-10/fxc/src/token.c?hl=571#L571
As the definition here
http://sources.debian.net/src/fenix/0.92a.dfsg1-10/fxc/src/main.c?hl=69#L69
does return specific values, it may well be the case that not only the
declaration in token.c should be fixed, but the return value should actually be
used.
Best,
Michael
[Message part 2 (application/pgp-signature, inline)]
Reply sent
to Peter Pentchev <roam@debian.org>:
You have taken responsibility.
(Wed, 13 Feb 2019 15:09:08 GMT) (full text, mbox, link).
Notification sent
to Michael Tautschnig <mt@debian.org>:
Bug acknowledged by developer.
(Wed, 13 Feb 2019 15:09:08 GMT) (full text, mbox, link).
Message #10 received at 749635-close@bugs.debian.org (full text, mbox, reply):
Source: fenix
Source-Version: 0.92a.dfsg1-12
We believe that the bug you reported is fixed in the latest version of
fenix, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 749635@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Peter Pentchev <roam@debian.org> (supplier of updated fenix package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 13 Feb 2019 16:35:24 +0200
Source: fenix
Architecture: source
Version: 0.92a.dfsg1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Peter Pentchev <roam@debian.org>
Closes: 684279 715899 744986 749635 803279 917493 917982
Changes:
fenix (0.92a.dfsg1-12) unstable; urgency=medium
.
[ Peter Pentchev ]
* Fix the build with giflib5 using the patch supplied by
Matthias Klose <doko@debian.org>. Closes: #803279
* Bump the debhelper compatibility level to 9:
- use CPPFLAGS, CFLAGS, and LDFLAGS provided by debhelper
- thus, drop the explicit versioned dependency on dpkg-dev
- add the cflags-env patch to actually honor CFLAGS passed via
the environment
* Declare compliance with Debian Policy 3.9.6 with no changes.
* Add a DEP-3 header to all the patches that did not have them.
* Convert the copyright file to the 1.0 machine-readable format and
add my debian/* copyright notice.
* Enable Large File Support.
* Add the declare-load-file patch to fix the conflicting declarations
of load_file() in the fxc source. Closes: #749635.
Reported by: Michael Tautschnig <mt@debian.org>
* Fix the encoding of the Spanish translation. Closes: #684279.
Reported by: Jakub Wilk <jwilk@debian.org>
Submitted by: Christian PERRIER <bubulle@debian.org>
* Refresh the debian/fenix.sh script a bit.
* Drop the version in the autotools-dev dependency, satisfied even in
oldoldstable.
* Convert debian/TODO and debian/doc/map.txt to UTF-8. Unfortunately,
this still leaves some non-UTF-8 characters in patches that reference
the original program source.
* Use the dpkg-dev defaults for compressing the Debian tarball.
* Depend on libmikmod-dev instead of libmikmod2-dev. Closes: #744986.
* Use dh-autoreconf to rebuild the autoconf framework and remove all
the changes to autogenerated files; all the patches already patched
the source files, too.
* Point the Vcs-* source control fields to the migrated Git repository.
.
[ Petter Reinholdtsen ]
* Updated Standards-Version from 3.9.6 to 3.9.8.
* Acknowledge NMU 0.92a.dfsg1-11.1.
.
[ Simon McVittie ]
* Update Vcs-* source control fields for salsa.debian.org
.
[ Peter Pentchev ]
* Add the fxi-fx-prefix patch to fix the build with recent glibc.
Closes: #917982
* Remove a patch not referenced in the series file.
* List the upstream files excluded from the DFSG-repacked tarball.
* Remove some trailing whitespace from old changelog entries.
* Drop the get-orig-source target now that we have Files-Excluded.
* Switch some Debian- and upstream-related URLs to the HTTPS scheme.
* Install debian/examples/skeleton.prg as a fenix-dev example.
* Use the debhelper-compat (= 9) mechanism.
* Update to debhelper compatibility level 12:
- drop the dependencies and invocations of dh_autoreconf and
dh_autotools_dev - those are done automatically in compatibility
level 10
* Bring up to compliance with Debian Policy 4.3.0:
- switch to priority optional instead of extra
- install the NEWS file as NEWS, not changelog, in both packages
- add "Rules-Requires-Root: no" to the source control stanza
* Add "Multi-Arch: foreign" to the binary packages.
* Use my Debian e-mail address.
* Add the year 2019 to my debian/* copyright notice.
* Do not compile anything when building only architecture-independent
packages. Closes: #917493
* Add the fxc-cmdline-crash and fxi-cmdline-title patches to
fix some command-line processing problems. Closes: #715899
* Add the map-gif-256-colors patch to fix fenix-map's parsing of
GIF images with 256 colors.
* Add a simple test suite.
Checksums-Sha1:
e9477f21755d75090d07f24d5b5450d0b8ddc60d 2547 fenix_0.92a.dfsg1-12.dsc
e11fe9735ee6b9fce6c28d359ff00ba9a4969498 114160 fenix_0.92a.dfsg1-12.debian.tar.xz
7816be70847357fef50352317ff562c65ea2a373 11396 fenix_0.92a.dfsg1-12_i386.buildinfo
Checksums-Sha256:
37e5cbb4eb8be5e75b3cf203bce18699aaf649145f61bc7d7638d9fdd25c4f1e 2547 fenix_0.92a.dfsg1-12.dsc
819e79f89149664ec5d059335459ba08a3b24f6e3f8d683e83a06d8d9058febe 114160 fenix_0.92a.dfsg1-12.debian.tar.xz
6728cef5de8646e987f4f6634648431cfdc76322180679ae3213b9d0da5cb898 11396 fenix_0.92a.dfsg1-12_i386.buildinfo
Files:
cfdd06bb2c3af4e71314641937ed8883 2547 devel optional fenix_0.92a.dfsg1-12.dsc
327a31c038f401b110b844336c33ad40 114160 devel optional fenix_0.92a.dfsg1-12.debian.tar.xz
5f740e4eaef173ebb4ddd3cb4816c0bb 11396 devel optional fenix_0.92a.dfsg1-12_i386.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlxkLnMACgkQZR7vsCUn
3xN7HA//fVVA4B+GHF+RA3wbhzk3yaGIvURPiQomvdP0qw262gLVWjcVN+gO4pUJ
kPNIaegIzFv+7q7Adn+gdpqfUHQr8ZrdTOcZzCoc+FW+HyEO+kEdQC0GPixeJCMk
P+S5CHBS7gxZebu0c5xySjgahDUYQ5lWRqKDGhOlcjFpnQmTS59GsckPWG4sjUdA
fIMBTBwiYuNfYozVngWJ21485NLVzlXa7n7GHGg1PK9OCSgW85qstZCcuDbQz/XH
STkg/uOQTiobrnQLmmWFztLD9Brsg3J43SgiyKxtoqo50i3M5SqroyKrVzwaf498
uQECNsyaoV/7pYDNPwUMwsqOihq5/cDJb5vMAM3b7kZPiAeMonAy6DpOb3RSyFnd
tvmd2P92naINyo232jgTduadDPmae5H7ToRZraJZf8aE7z7S+zJYfMQMjzfStoSg
Vdawvm6Np/E0TVznH47+Z36ax3Wvv29a3oQ4x3Pf+lzDwa3wB7rLK86I5IU2cmPo
xZg6MQTwP5ALsYbHv0Bf/AW1fjIcDWcad9gXDTesfdx1G9Ol5O3p+BZ/NOODEcHa
l/0jjcG4WBbf+vq3ItzuDSavrAH4HfFnzcg0ycnfkahRBZa0fWkZvoAZ04qN55Zd
Pi2Fih9zsReePiLaYhxU6fRJJSPq8vXtG+Eizuqsc/g9SRkaKMY=
=NbyF
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Mar 2019 07:28:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 12:58:43 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.