Debian Bug report logs -
#672962
mosh: please support DEB_BUILD_OPTIONS="noopt"
Reply or subscribe to this bug.
Display info messages
Message #5 received at [email protected] (full text , mbox , reply ):
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.