Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137463 - smstools-2.2.1-r2.ebuild does not enabling status monitor or debugging
Summary: smstools-2.2.1-r2.ebuild does not enabling status monitor or debugging
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://smstools.meinemullemaus.de/sta...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 00:02 UTC by Scott McKenzie
Modified: 2006-06-21 03:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to add debug and stats USE flags (smstools-2.2.1-r2.ebuild.patch,807 bytes, patch)
2006-06-21 00:23 UTC, Scott McKenzie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McKenzie 2006-06-21 00:02:42 UTC
SMS Server Tools has a status monitor that may be enabled by editing the Makefile and recompiling.  The current ebuild does not have this option.
Comment 1 Scott McKenzie 2006-06-21 00:20:14 UTC
Portage 2.1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-hardened-r3 i686)
=================================================================
System uname: 2.6.14-hardened-r3 i686 Pentium II (Klamath)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -mtune=pentium2 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium2 -mtune=pentium2 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 apache2 apm avi berkdb bitmap-fonts cli crypt dbus dri eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer hal ide imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis oss pam pcre perl png pppd python quicktime readline reflection session spell spl ssl tcpd threads tiff truetype-fonts type1-fonts userlocales vorbis xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Scott McKenzie 2006-06-21 00:23:31 UTC
Created attachment 89695 [details, diff]
patch to add debug and stats USE flags
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2006-06-21 02:27:15 UTC
Please see http://www.gentoo.org/proj/en/qa/backtraces.xml for information about "splitdebug". Changing CFLAGS with USE="debug" is against policy, and as such I will not apply that change to the ebuild.
Looking into the status monitor change.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-06-21 02:53:20 UTC
before you decide whether strip debug info or not (FEATURES realm), you actually must have debug info incorporated in your binaries (compiler's realm).

I don't see how *adding* CFLAGS like -g could be against Gentoo policy. The same technique is used by countless packages, whether if it was implemented by upstream (through --enable-debug) or by our devs.

Comment 5 Tony Vroon (RETIRED) gentoo-dev 2006-06-21 03:09:29 UTC
This is in portage as -r3. Scott, thank you for your bug report.
Alin, this was discussed in #gentoo-dev on IRC before replying to the bug.