Your message dated Sat, 28 Dec 2024 02:56:24 +0000
with message-id <[email protected]>
and subject line Bug#1087975: Removed package(s) from unstable
has caused the Debian Bug report #1033646,
regarding puf FTCBFS: uses AC_TRY_RUN
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 [email protected]
immediately.)
--
1033646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033646
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: puf
Version: 1.0.0-7
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
puf fails to cross build from source, because it uses AC_TRY_RUN without
a cross argument. In this case, it only uses it do compare various
sizeof values, so we can just use AC_CHECK_SIZEOF instead, which happens
to work just fine for cross compilation. I'm attaching a patch for your
convenience.
Helmut
--- puf-1.0.0.orig/configure.in
+++ puf-1.0.0/configure.in
@@ -53,18 +53,17 @@
dnl Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_SIZEOF([long])
+AC_CHECK_SIZEOF([long long])
+AC_CHECK_SIZEOF([off_t])
+
AC_CACHE_CHECK([whether off_t can be long long], ob_cv_type_off_t_ll, [
- AC_TRY_RUN([#define _FILE_OFFSET_BITS 64
-#include <sys/types.h>
-#include <stdlib.h>
-int main()
-{
- if (sizeof(long long) == sizeof(long))
- exit(1);
- if (sizeof(off_t) != sizeof(long long))
- exit(1);
- exit(0);
-}], ob_cv_type_off_t_ll=yes, ob_cv_type_off_t_ll=no)])
+ if test "$ac_cv_sizeof_long" != "$ac_cv_sizeof_long_long" && test "$ac_cv_sizeof_off_t" = "$ac_cv_sizeof_long_long"; then
+ ob_cv_type_off_t_ll=yes
+ else
+ ob_cv_type_off_t_ll=no
+ fi
+])
if test $ob_cv_type_off_t_ll = yes; then
AC_CACHE_CHECK([whether \"%lli\" works], ob_cv_func_printf_ok, [
AC_TRY_RUN([#include <stdio.h>
--- End Message ---
--- Begin Message ---
Version: 1.0.0-7+rm
Dear submitter,
as the package puf has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1087975
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Paul Richards Tagliamonte (the ftpmaster behind the curtain)
--- End Message ---