Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482028 - lxde-base/lxpanel - sandbox violation in cp tmpwrk13604/archive/m4/codeset.m4 /codeset.m4
Summary: lxde-base/lxpanel - sandbox violation in cp tmpwrk13604/archive/m4/codeset.m4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LXDE team (DEFUNCT)
URL:
Whiteboard:
Keywords:
Depends on: 485254
Blocks:
  Show dependency tree
 
Reported: 2013-08-21 22:18 UTC by vonabarak
Modified: 2013-09-18 19:10 UTC (History)
4 users (show)

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


Attachments
build log (build.log,8.16 KB, text/plain)
2013-08-21 22:23 UTC, vonabarak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vonabarak 2013-08-21 22:18:11 UTC
With sandbox in FEATURES installing of lxde-base/lxpanel-0.5.12 (amd64 stable branch) crashes on src_prepare.


Reproducible: Always

Steps to Reproduce:
1.add FEATURES="sandbox" to /etc/portage/make.conf
2.emerge lxde-base/lxpanel
3.Failed to emerge lxde-base/lxpanel-0.5.12
Actual Results:  
Cannot instal lxpanel

Expected Results:  
lxpanel have been installed

emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.11.0-rc5 x86_64)
=================================================================
System uname: Linux-3.11.0-rc5-x86_64-AMD_E2-1800_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     3640912 total,    456296 free
KiB Swap:    6291452 total,   6288468 free
Timestamp of tree: Wed, 21 Aug 2013 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x11 lxde Local-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=btver1 -mtune=btver1 -m64 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 -mno-3dnow -mssse3 -msse4a -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=btver1 -mtune=btver1 -m64 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 -mno-3dnow -mssse3 -msse4a -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/lxde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bluetooth branding bzip2 cairo cdda cdr cli colord consolekit crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gif gmp gnome gnome-keyring gnome-online-accounts gtk iconv icu idn ipv6 jpeg lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nsplugin ntp ogg openal opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba scsi sdl session smp socialweb spell sse sse2 sse3 sse4a ssl ssse3 startup-notification svg syslog tcpd tiff truetype udev udisks unicode upower usb v4l vdpau vim-syntax vorbis wifi wxwidgets x264 xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi krita plan sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="en ru ru_RU ru_RU.UTF8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 vonabarak 2013-08-21 22:23:26 UTC
Created attachment 356646 [details]
build log
Comment 2 vonabarak 2013-08-21 22:28:23 UTC
With FEATURES="-sandbox" i'm able to compile and install lxpanel perfectly.
Comment 3 vonabarak 2013-08-21 23:12:34 UTC
With FEATURES="-sandbox" it have created a lot of .m4 files in root directory.
Comment 4 Chris Hall 2013-09-16 16:01:41 UTC
I've also been getting this, for both lxpanel and lxtask.  Downgrading to gettext-0.18.2 seems to make the build work successfully.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2013-09-16 16:10:50 UTC
Pavel would you like to look at this?
Comment 6 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-16 17:17:40 UTC
(In reply to Markos Chandras from comment #5)
> Pavel would you like to look at this?

Yeah, I'll look into this.
Comment 7 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-17 02:21:35 UTC
(In reply to Pavel Kazakov from comment #6)
> (In reply to Markos Chandras from comment #5)
> > Pavel would you like to look at this?
> 
> Yeah, I'll look into this.

Looks as if the latest unstable version (0.18.3.1) of autopoint defaults to root if neither AC_CONFIG_MACRO_DIR nor ACLOCAL_AMFLAGS is set. However, the latest stable version (0.18.2) of autopoint does default to m4 if neither of these macros is set.

I tried running:
    AT_M4DIR="m4" eautoreconf

but it doesn't work for autopoint, only some of the other autotools. 

So, to fix this issue, I'll add a patch (give me a day or so) that adds the following values.

Makefile.am:
ACLOCAL_AMFLAGS = -I m4

configure.ac:
AC_CONFIG_MACRO_DIR([m4])

Might also be a good idea to talk to upstream.
Comment 8 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-17 05:49:46 UTC
> Might also be a good idea to talk to upstream.

Just noticed on the lxde mailing list that lxpanel 0.6.1 was recently released.
http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxpanel;a=summary

And the ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR macro values have been set on the latest version, so no need to talk to upstream.

After the patch, I can probably work on the 0.6.1 version bump.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2013-09-17 08:30:23 UTC
(In reply to Pavel Kazakov from comment #8)
> > Might also be a good idea to talk to upstream.
> 
> Just noticed on the lxde mailing list that lxpanel 0.6.1 was recently
> released.
> http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxpanel;a=summary
> 
> And the ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR macro values have been set
> on the latest version, so no need to talk to upstream.
> 
> After the patch, I can probably work on the 0.6.1 version bump.

Yes lets do the bump instead.
Comment 10 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-17 23:40:08 UTC
(In reply to Markos Chandras from comment #9)
> 
> Yes lets do the bump instead.

Great! Done: https://bugs.gentoo.org/show_bug.cgi?id=485254

The version bump fixes this sandbox issue.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2013-09-18 19:10:04 UTC
+*lxpanel-0.6.1 (18 Sep 2013)
+
+  18 Sep 2013; Markos Chandras <hwoarang@gentoo.org> +lxpanel-0.6.1.ebuild:
+  Version bump. Fixes #485254 and 482028 thanks to Pavel Kazakov
+  <nullishzero@gmail.com>
+