Debian Bug report logs - #672962
mosh: please support DEB_BUILD_OPTIONS="noopt"

version graph

Package: mosh; Maintainer for mosh is Keith Winstein <[email protected]>; Source for mosh is src:mosh (PTS, buildd, popcon).

Reported by: Timo Juhani Lindfors <[email protected]>

Date: Mon, 14 May 2012 23:33:01 UTC

Severity: wishlist

Found in version mosh/1.2-1

Reply or subscribe to this bug.

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


Report forwarded to [email protected], Keith Winstein <[email protected]>:
Bug#672962; Package mosh. (Mon, 14 May 2012 23:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Juhani Lindfors <[email protected]>:
New Bug report received and forwarded. Copy sent to Keith Winstein <[email protected]>. (Mon, 14 May 2012 23:33:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Timo Juhani Lindfors <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: mosh: please support DEB_BUILD_OPTIONS="noopt"
Date: Tue, 15 May 2012 02:28:25 +0300
Package: mosh
Version: 1.2-1
Severity: wishlist

If I try to build mosh with

DEB_BUILD_OPTIONS='nostrip debug noopt' fakeroot apt-get --build source mosh

it still uses -O2 with gcc:

...
make[3]: Entering directory `/home/lindi/tmp/mosh-1.2/src'
Making all in protobufs
make[4]: Entering directory `/home/lindi/tmp/mosh-1.2/src/protobufs'
/usr/bin/protoc --cpp_out=. -I. userinput.proto
/usr/bin/protoc --cpp_out=. -I. hostinput.proto
/usr/bin/protoc --cpp_out=. -I. transportinstruction.proto
make  all-am
make[5]: Entering directory `/home/lindi/tmp/mosh-1.2/src/protobufs'
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o userinput.pb.o userinput.pb.cc
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o hostinput.pb.o hostinput.pb.cc
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o transportinstruction.pb.o transportinstruction.pb.cc
...

This makes debugging difficult.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Dec 28 01:49:52 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.