Your message dated Fri, 26 Jul 2024 18:42:08 +0000
with message-id <e1sxpti-005bo3...@fasolo.debian.org>
and subject line Bug#1072228: Removed package(s) from unstable
has caused the Debian Bug report #819145,
regarding freebsd-buildutils: prototype setmode to fix implicit pointer 
conversion
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 ow...@bugs.debian.org
immediately.)


-- 
819145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819145
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: freebsd-buildutils
Version: 10.0-8
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

As is evident from the build logs [1], there is an implicit declaration and 
pointer conversion of the
setmode function in freebsd-utils. This can lead to unintended consequences, 
especially on 64-bit
architectures.

In Ubuntu, the attached patch was applied to achieve the following:

  * Merge from Debian unstable. Remaining changes:
    - Prototype setmode since freebsd-glue and libbsd don't do the right thing.

Thanks for considering the patch.

Logan Rosen

[1] https://qa.debian.org/bls/packages/f/freebsd-buildutils.html

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru freebsd-buildutils-10.0/debian/patches/prototype-setmode.diff freebsd-buildutils-10.0/debian/patches/prototype-setmode.diff
--- freebsd-buildutils-10.0/debian/patches/prototype-setmode.diff	1969-12-31 18:00:00.000000000 -0600
+++ freebsd-buildutils-10.0/debian/patches/prototype-setmode.diff	2015-07-11 02:19:06.000000000 -0500
@@ -0,0 +1,15 @@
+Description: Prototype setmode
+
+Index: b/src/usr.sbin/mtree/spec.c
+===================================================================
+--- a/src/usr.sbin/mtree/spec.c
++++ b/src/usr.sbin/mtree/spec.c
+@@ -49,6 +49,8 @@
+ #include "mtree.h"
+ #include "extern.h"
+ 
++extern void *setmode(const char *mode_str);
++
+ int lineno;				/* Current spec line number. */
+ 
+ static void	 set(char *, NODE *);
diff -Nru freebsd-buildutils-10.0/debian/patches/series freebsd-buildutils-10.0/debian/patches/series
--- freebsd-buildutils-10.0/debian/patches/series	2015-07-09 06:37:17.000000000 -0500
+++ freebsd-buildutils-10.0/debian/patches/series	2016-03-23 01:17:38.000000000 -0500
@@ -25,6 +25,7 @@
 disable_wsystem_headers.diff
 nostrip.diff
 config_ldflags.diff
+prototype-setmode.diff
 
 # Patches that are likely to be Debian-specific
 avoid_defsyspath_collision.diff

--- End Message ---
--- Begin Message ---
Version: 10.3~svn296373-7.1+rm

Dear submitter,

as the package freebsd-buildutils 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/1072228

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
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to