Bug#819145: marked as done (freebsd-buildutils: prototype setmode to fix implicit pointer conversion)

"Debian Bug Tracking System" <[email protected]> Fri, 26 Jul 2024 18:45:39 +0000
Newsgroups gmane.linux.debian.ports.bsd
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1722019539-2350155-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Fri, 26 Jul 2024 18:42:08 +0000
with message-id <[email protected]>
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 con=
version
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.)


--=20
819145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D819145
Debian Bug Tracking System
Contact [email protected] with problems

------------=_1722019539-2350155-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 24 Mar 2016 04:55:27 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.0 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FOURLA,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HAS_PACKAGE,
	HEADER_FROM_DIFFERENT_DOMAINS,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW,SPF_PASS,
	URIBL_CNKR,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 41; hammy, 150; neutral, 194; spammy,
	0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--H*F:D*ubuntu.com,
	0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug
Return-path: <[email protected]>
Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1aixIt-0001sM-Jl
	for [email protected]; Thu, 24 Mar 2016 04:55:27 +0000
Received: by mail-qg0-x233.google.com with SMTP id u110so30041009qge.3
        for <[email protected]>; Wed, 23 Mar 2016 21:55:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:mime-version:from:to:subject:message-id:date;
        bh=Bt7rz0eU66G5/PQ00HnnrHNI/yB+eOGLkpW4aEy5drc=;
        b=rKug2IP6/580tkkFhGEKFVl+LzqA+eubmY84tgqqwAOhCNdZUfSh/fT9S7eUWv13zt
         s+ibRRIRwiF6g7EjJDwk/jQaHE/WD5Drgj2lvRHhbshbcG3rjN1mZ4Gdpna4Acb+33Cq
         uMsQUujroNii9e8DOda46hWSkDLY/Bx1kFAOYs0GZDWkJI5YUdOG/3wMBBKxtvk1AN7S
         XfotDaUzqg2jnz764GcXqv735w8jnezGKfG0DI4e1Gpw7GJGG+La5+17wXalC8uX9LXv
         /sKu8jadKtA3PjNAfj5IdZctIAwQROs8lAd/NTViHSM7HEY/DaTt+jAFE8ZnpzrExpuj
         Ibcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:sender:mime-version:from:to:subject:message-id
         :date;
        bh=Bt7rz0eU66G5/PQ00HnnrHNI/yB+eOGLkpW4aEy5drc=;
        b=I729Sc0NaL5y071hdJo2H1dWR3STWBIJ5LocrRsfhwr4H0aSfbrVtQPhZ6al30jCoY
         P7XUMJCJ/OOxE42QwOjCnZUqM1XJOM3+Mgx+aDcAu7Z8mgfbawtyd1g6OTEmGIiGCpht
         kaZ5JlLQWnsujYrvvE0qsVK05JjvYT47EB0PM0AaKx2uRM3om++UL3NogLfziMN/NlGx
         mSiUf6IqNzdVQ5qum8fRQx93Hfo4raC0EFir6Qc0rsP2NawKGBjMjM2/6sA/TCNKnirG
         o5ABtxpxiHiDla2gZKlARqOhB7Ci6SfyFVwk6S8JRTEBH/bVQlY68zL5xwLSWn+v29d8
         rzuw==
X-Gm-Message-State: AD7BkJIXDmzsb1GQIEH1vYN+Ib7w1Egws5jWa11ATjOkmo54QFAo/7Q+IIDQSgqnzWoOXg==
X-Received: by 10.140.99.72 with SMTP id p66mr8040499qge.16.1458795320797;
        Wed, 23 Mar 2016 21:55:20 -0700 (PDT)
Received: from [127.0.1.1] (cpe-67-241-67-251.twcny.res.rr.com. [67.241.67.251])
        by smtp.gmail.com with ESMTPSA id u202sm2612234qka.43.2016.03.23.21.55.19
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 23 Mar 2016 21:55:20 -0700 (PDT)
Sender: Logan Rosen <[email protected]>
Content-Type: multipart/mixed; boundary="===============8920870301075567701=="
MIME-Version: 1.0
From: Logan Rosen <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: freebsd-buildutils: prototype setmode to fix implicit pointer conversion
Message-ID: <145879531890.15974.11963598084894775682.reportbug@vagrant>
X-Mailer: reportbug 6.6.6ubuntu1
Date: Wed, 23 Mar 2016 23:55:18 -0500
Delivered-To: [email protected]

This is a multi-part MIME message sent by reportbug.


--===============8920870301075567701==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: freebsd-buildutils
Version: 10.0-8
Severity: normal
Tags: patch
User: [email protected]
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)

--===============8920870301075567701==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="freebsd-buildutils_10.0-8ubuntu1.debdiff"

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

--===============8920870301075567701==--

------------=_1722019539-2350155-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 819145-done) by bugs.debian.org; 26 Jul 2024 18:42:13 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-108.0 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,
	SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
	VERSION autolearn=unavailable autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 0; hammy, 150; neutral, 45; spammy, 0.
	spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--H*RU:sk:fasolo.,
	0.000-+--H*r:sk:fasolo., 0.000-+--Hx-spam-relays-external:sk:fasolo.
Return-path: <[email protected]>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:48380)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1sXPtM-009qp5-Hx; Fri, 26 Jul 2024 18:42:13 +0000
Received: from [192.91.235.231] (port=38622 helo=fasolo.debian.org)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,[email protected] (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1sXPtL-00Ao8H-J5; Fri, 26 Jul 2024 18:42:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:
	Content-Transfer-Encoding:Content-Type:Subject:MIME-Version:Cc:To:From:
	Reply-To:Content-ID:Content-Description:In-Reply-To:References;
	bh=Q/GMA/0T8fdt0ucT16HJucH0VPfM0kBvnpANY8sSKa8=; b=Hp4vgFr1RkAKtwgYHzcWpD4KZD
	B1Mlyso79x1C6Y6gSgyEMP/HRcNO2d3eK4NK3g91FX8JswyyiiF2mDUoDjaMijXyDdmJCAvz1o7NB
	dLq+wUAq81Zfs/bZRrISFPoX4y95dzukLzbTtT1HIP9lv7d76LCdm1X1BIt6z9Z7MUoqC18hQEULv
	h++gPeX6/jvijbDTuv6+SYP3oeBd95xecjkHMkDF2I3Zb9pB2VXwT5KECnVr/sH12Qnb47W/++PA/
	47P9mIWlOX+gkr4ILLfvvmPBi4EzmAqKtjj/TphHjMPUAHD0tU3sZBTPhZjMdBIB8FC5AxkR70w07
	6KZ9cvGw==;
Received: from kitterman by fasolo.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1sXPtI-005bO3-Kb; Fri, 26 Jul 2024 18:42:08 +0000
From: Debian FTP Masters <[email protected]>
To: [email protected],[email protected],[email protected],[email protected],[email protected],
X-DAK: dak rm
Cc: [email protected]
X-Filler: 42
X-Debian: DAK
Debian: DAK
MIME-Version: 1.0
Subject: Bug#1072228: Removed package(s) from unstable
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <[email protected]>
Date: Fri, 26 Jul 2024 18:42:08 +0000
X-CrossAssassin-Score: 2

Version: 10.3~svn296373-7.1+rm

Dear submitter,

as the package freebsd-buildutils has just been removed from the Debian archi=
ve
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
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
------------=_1722019539-2350155-0--