Debian Bug report logs - #848660
ruby: might need to strip -fdebug-prefix-map

version graph

Package: libruby2.5; Maintainer for libruby2.5 is Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for libruby2.5 is src:ruby2.5 (PTS, buildd, popcon).

Reported by: Christian Hofstaedtler <zeha@debian.org>

Date: Mon, 19 Dec 2016 10:21:02 UTC

Severity: normal

Fixed in version 2.5.7-1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Antonio Terceiro <terceiro@debian.org>:
Bug#848660; Package ruby2.3. (Mon, 19 Dec 2016 10:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Hofstaedtler <zeha@debian.org>:
New Bug report received and forwarded. Copy sent to Antonio Terceiro <terceiro@debian.org>. (Mon, 19 Dec 2016 10:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Christian Hofstaedtler <zeha@debian.org>
To: submit@bugs.debian.org
Subject: ruby: might need to strip -fdebug-prefix-map
Date: Mon, 19 Dec 2016 11:14:00 +0100
Package: ruby2.3
Severity: normal

dpkg-buildflags has started injecting -fdebug-prefix-map with a
variable path into C(..)FLAGS. We need to figure out if we need to
strip that.

-- 
 ,''`.  Christian Hofstaedtler <zeha@debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-




Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Mon, 30 Apr 2018 22:33:16 GMT) (full text, mbox, link).


Notification sent to Christian Hofstaedtler <zeha@debian.org>:
Bug acknowledged by developer. (Mon, 30 Apr 2018 22:33:16 GMT) (full text, mbox, link).


Message #10 received at 848660-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 680297-done@bugs.debian.org,760952-done@bugs.debian.org,817082-done@bugs.debian.org,821140-done@bugs.debian.org,832020-done@bugs.debian.org,848660-done@bugs.debian.org,850886-done@bugs.debian.org,851176-done@bugs.debian.org,859381-done@bugs.debian.org,884879-done@bugs.debian.org,889117-done@bugs.debian.org,
Cc: ruby2.3@packages.debian.org
Subject: Bug#897187: Removed package(s) from unstable
Date: Mon, 30 Apr 2018 22:30:29 +0000
Version: 2.3.6-2+rm

Dear submitter,

as the package ruby2.3 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/897187

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

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



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 May 2018 07:31:50 GMT) (full text, mbox, link).


Bug unarchived. Request was from Helmut Grohne <helmut@subdivi.de> to control@bugs.debian.org. (Sun, 20 Jan 2019 11:51:12 GMT) (full text, mbox, link).


Bug reopened Request was from Helmut Grohne <helmut@subdivi.de> to control@bugs.debian.org. (Sun, 20 Jan 2019 11:51:14 GMT) (full text, mbox, link).


No longer marked as fixed in versions 2.3.6-2+rm. Request was from Helmut Grohne <helmut@subdivi.de> to control@bugs.debian.org. (Sun, 20 Jan 2019 11:51:16 GMT) (full text, mbox, link).


Bug reassigned from package 'ruby2.3' to 'libruby2.5'. Request was from Helmut Grohne <helmut@subdivi.de> to control@bugs.debian.org. (Sun, 20 Jan 2019 11:51:18 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#848660; Package libruby2.5. (Mon, 11 Feb 2019 21:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Mon, 11 Feb 2019 21:57:03 GMT) (full text, mbox, link).


Message #25 received at 848660@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Christian Hofstaedtler <zeha@debian.org>, 848660@bugs.debian.org
Subject: Re: Bug#848660: ruby: might need to strip -fdebug-prefix-map
Date: Mon, 11 Feb 2019 22:53:24 +0100
Hi Christian,

> dpkg-buildflags has started injecting -fdebug-prefix-map with a
> variable path into C(..)FLAGS. We need to figure out if we need to
> strip that.

Strip it? As in, the output of CFLAGS ends up in the build...?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#848660; Package libruby2.5. (Tue, 12 Feb 2019 09:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 12 Feb 2019 09:33:03 GMT) (full text, mbox, link).


Message #30 received at 848660@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Chris Hofstaedtler <zeha@debian.org>
Cc: 848660@bugs.debian.org
Subject: Re: Bug#848660: ruby: might need to strip -fdebug-prefix-map
Date: Tue, 12 Feb 2019 10:31:22 +0100
Hi Chris,

> > Strip it? As in, the output of CFLAGS ends up in the build...?
> 
> Indeed:
> 
> $ irb
> irb(main):001:0> RbConfig::CONFIG['CFLAGS']
> => "-g -O2 -fdebug-prefix-map=/build/ruby2.3-TqM27i/ruby2.3-2.3.3=. -
> fstack-protector-strong -Wformat -Werror=format-security -fPIC"
> 
> AFAIK the popular extension building mechanisms (mkmf et al) use this
> to discover the required build flags when compiling native extensions.

Getcha. They won't need that *particular* -fdebug-prefix-map value
though so you can probably strip it immediately prior to it
landing in the binary artifact(s) via:

   $ sed -e 's@ [^ ]*-f\(file\|debug\)-prefix-map=[^ ]*@@g'


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#848660; Package libruby2.5. (Tue, 12 Feb 2019 09:39:05 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Hofstaedtler <zeha@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 12 Feb 2019 09:39:05 GMT) (full text, mbox, link).


Message #35 received at 848660@bugs.debian.org (full text, mbox, reply):

From: Chris Hofstaedtler <zeha@debian.org>
To: Chris Lamb <lamby@debian.org>
Cc: 848660@bugs.debian.org
Subject: Re: Bug#848660: ruby: might need to strip -fdebug-prefix-map
Date: Tue, 12 Feb 2019 10:27:13 +0100
Hi Chris,

* Chris Lamb <lamby@debian.org> [190211 22:53]:
> > dpkg-buildflags has started injecting -fdebug-prefix-map with a
> > variable path into C(..)FLAGS. We need to figure out if we need to
> > strip that.
> 
> Strip it? As in, the output of CFLAGS ends up in the build...?

Indeed:

$ irb
irb(main):001:0> RbConfig::CONFIG['CFLAGS']
=> "-g -O2 -fdebug-prefix-map=/build/ruby2.3-TqM27i/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC"

AFAIK the popular extension building mechanisms (mkmf et al) use this
to discover the required build flags when compiling native extensions.
Maybe it does not matter in practice, but that is part of "figuring
it out" :-)

Best,
Chris




Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Sat, 02 May 2020 20:57:07 GMT) (full text, mbox, link).


Notification sent to Christian Hofstaedtler <zeha@debian.org>:
Bug acknowledged by developer. (Sat, 02 May 2020 20:57:07 GMT) (full text, mbox, link).


Message #40 received at 848660-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 848660-done@bugs.debian.org,881773-done@bugs.debian.org,881779-done@bugs.debian.org,897279-done@bugs.debian.org,920017-done@bugs.debian.org,934315-done@bugs.debian.org,935413-done@bugs.debian.org,950989-done@bugs.debian.org,954643-done@bugs.debian.org,
Cc: ruby2.5@packages.debian.org
Subject: Bug#959203: Removed package(s) from unstable
Date: Sat, 02 May 2020 20:54:04 +0000
Version: 2.5.7-1+rm

Dear submitter,

as the package ruby2.5 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/959203

The version of this package that was in Debian prior to this removal
can still be found using http://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
ftpmaster@ftp-master.debian.org.

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



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 31 May 2020 07:28:27 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: Wed May 17 13:17:51 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.