Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177344 - app-i18n/scim-qtimm-0.9.4 ignores USE=-debug
Summary: app-i18n/scim-qtimm-0.9.4 ignores USE=-debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 16:24 UTC by Sascha G.
Modified: 2007-08-03 00:10 UTC (History)
1 user (show)

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


Attachments
disable-debug.diff (,425 bytes, patch)
2007-06-06 19:21 UTC, David Chang
Details | Diff
suse-bugzilla-116220-keyboard-layout.patch (suse-bugzilla-116220-keyboard-layout.patch,389 bytes, patch)
2007-06-06 19:21 UTC, David Chang
Details | Diff
scim-qtimm-0.9.4.ebuild (scim-qtimm-0.9.4.ebuild,2.05 KB, text/plain)
2007-06-06 19:24 UTC, David Chang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha G. 2007-05-06 16:24:45 UTC
Whether I use USE=debug or USE=-debug, the debugging is being turned on.
The two following things occur:

- configure script tells me
[...]
  Enable debug           yes
[...]
- $ qsize scim-qtimm
app-i18n/scim-qtimm-0.9.4: 11 files, 17 non-files, 222.477 KB .

Only after I removed the line "$(use_enable debug scim-debug) \" from the ebuild, the configure script disabled debugging, and libqscim.so is being reduced by about 50kb, resulting in
$ qsize scim-qtimm
app-i18n/scim-qtimm-0.9.4: 11 files, 17 non-files, 170.477 KB .

I tried fiddling around with --enable/--disable-debug and --enable/--disable-scim-debug, but came to no satisfying conclusion.
If --disable-scim-debug is being thrown at the configure script, debugging was always being turned on.

Portage 2.1.2.6 (selinux/2005.1/x86/hardened, gcc-3.4.6, glibc-2.3.6-r5, 2.6.21-hardened i686)
=================================================================
System uname: 2.6.21-hardened i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 06 May 2007 11:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks loadpolicy parallel-fetch sandbox selinux sesandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from /etc/portage/rsync_excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa bzip2 cairo caps cjk crypt cups dri dts dvd dvdread flac gif hardened iconv idn jpeg kdeenablefinal mmap mmx nls nptl offensive ogg pam pic png selinux sse sse2 ssl symlink theora threads truetype unicode vorbis x264 x86 xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de ja" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 David Chang 2007-06-06 19:21:08 UTC
Created attachment 121349 [details, diff]
disable-debug.diff

from openSUSE
Comment 2 David Chang 2007-06-06 19:21:56 UTC
Created attachment 121350 [details, diff]
suse-bugzilla-116220-keyboard-layout.patch

from openSUSE
Comment 3 David Chang 2007-06-06 19:23:13 UTC
Comment on attachment 121350 [details, diff]
suse-bugzilla-116220-keyboard-layout.patch

see suse bugzilla #116220
Comment 4 David Chang 2007-06-06 19:23:46 UTC
Comment on attachment 121349 [details, diff]
disable-debug.diff

disables hardcoded debug message
Comment 5 David Chang 2007-06-06 19:24:38 UTC
Created attachment 121351 [details]
scim-qtimm-0.9.4.ebuild
Comment 6 David Chang 2007-06-06 19:25:29 UTC
fixed ebuild and added two patches from opensuse
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2007-08-03 00:10:10 UTC
app-i18n/scim-qtimm-0.9.4-r1 in cvs. thanks.