Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299176 - >=gnome-extra/nm-applet-0.7.2 breaks with pie support
Summary: >=gnome-extra/nm-applet-0.7.2 breaks with pie support
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-01 05:05 UTC by Jory A. Pratt
Modified: 2012-10-07 08:08 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt gentoo-dev 2010-01-01 05:05:28 UTC
nm-connection-editor shows no info about any connections that are known to be used by system for all users. Simple solution is to disable PIE support until hardened team can investigate for a clean solution.

Index: nm-applet-0.7.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.7.2.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 nm-applet-0.7.2.ebuild
--- nm-applet-0.7.2.ebuild	24 Nov 2009 15:51:54 -0000	1.1
+++ nm-applet-0.7.2.ebuild	1 Jan 2010 05:01:59 -0000
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.7.2.ebuild,v 1.1 2009/11/24 15:51:54 dagger Exp $
 
 EAPI=2
-inherit gnome2 eutils versionator
+inherit gnome2 eutils flag-o-matic versionator
 #autotools
 
 #PATCH_VERSION="1a"
@@ -46,6 +46,8 @@
 S=${WORKDIR}/${MY_P}
 
 pkg_setup () {
+	append-flags -fno-PIE
+
 	G2CONF="${G2CONF} \
 		--disable-more-warnings \
 		--localstatedir=/var \
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2010-01-05 12:29:29 UTC
That's interesting. Could you please post some more info? emerge --info would give me more information.

btw, what does nm-tool tells you?

Comment 2 Jory A. Pratt gentoo-dev 2010-01-05 15:54:29 UTC
Portage 2.1.7.16 (hardened/linux/amd64/10.0/no-multilib, gcc-4.4.2, glibc-2.11-r1, 2.6.31-hardened-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-hardened-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3 -s --no-print-directory"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/toolchain /home/mozilla /home/gentoo"
SYNC="cvs://anarchy@cvs.gentoo.org:/var/cvsroot"
USE="X a52 aac acpi alsa amd64 aspell audit berkdb bluetooth branding bzip2 cairo cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dvd dvdnav encode fam ffmpeg gdbm gnome gnome-keyring gstreamer gtk hal hardened iconv jpeg justify laptop libssh2 libsysfs mad mjpeg mmx modules mp3 mpeg mudflap nautilus ncurses networkmanager nptl nptlonly nsplugin nss opengl openmp openssl pam pcre perl pic png policykit python readline rtc ruby sdl session shm spell sqlite sse sse2 ssl svg sysfs tcpd theora tiff truetype twolame udev unicode urandom usb vdpau vorbis x264 xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I will have to rebuild with pie reenabled in order to get you nm-tool info, I will try to get to it a bit later today no promises tho.
Comment 3 Jory A. Pratt gentoo-dev 2010-01-07 22:07:41 UTC
NetworkManager Tool

State: connected

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        00:1D:60:6B:6A:5E

  Capabilities:
    Carrier Detect:  yes
    Speed:           10 Mb/s

  Wired Properties
    Carrier:         off


- Device: wlan0  [Auto Penguin] ------------------------------------------------
  Type:              802.11 WiFi
  Driver:            iwlagn
  State:             connected
  Default:           yes
  HW Address:        00:13:E8:A9:8C:4B

  Capabilities:
    Speed:           54 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    *Penguin:        Infra, 00:1E:2A:54:C7:5E, Freq 2437 MHz, Rate 54 Mb/s, Strength 100 WEP

  IPv4 Settings:
    Address:         192.168.1.3
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             192.168.1.1
Comment 4 Pacho Ramos gentoo-dev 2012-04-06 15:00:03 UTC
Is this still valid with latest versions?
Comment 5 Pacho Ramos gentoo-dev 2012-10-07 08:08:02 UTC
(In reply to comment #4)
> Is this still valid with latest versions?