Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510166 - sys-apps/util-linux-2.24.1-r2 - sys-utils/unshare.c:151:36: error: 'MS_PRIVATE' undeclared (first use in this function)
Summary: sys-apps/util-linux-2.24.1-r2 - sys-utils/unshare.c:151:36: error: 'MS_PRIVAT...
Status: RESOLVED DUPLICATE of bug 508522
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 15:43 UTC by georg
Modified: 2014-05-12 17:48 UTC (History)
1 user (show)

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


Attachments
build log (build.log,33.93 KB, text/plain)
2014-05-12 17:14 UTC, georg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georg 2014-05-12 15:43:08 UTC
I tried to update my beaglebone black system with emerge -uDN world. On ARM 2.24.1-r2 is stable. on amd64 it is still testing.

Maybe it should be reverted to testing.


Reproducible: Always

Steps to Reproduce:
1.Try to update arm system.
2.
3.
Actual Results:  
Fails to build:

  CC       sys-utils/fallocate.o
  CCLD     fallocate
  CC       sys-utils/unshare.o
sys-utils/unshare.c: In function 'main':
sys-utils/unshare.c:151:36: error: 'MS_PRIVATE' undeclared (first use in this function)
sys-utils/unshare.c:151:36: note: each undeclared identifier is reported only once for each function it appears in
sys-utils/unshare.c:151:47: error: 'MS_REC' undeclared (first use in this function)
make[2]: *** [sys-utils/unshare.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/util-linux-2.24.1'
make: *** [all] Error 2
 * ERROR: sys-apps/util-linux-2.24.1-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/util-linux-2.24.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/util-linux-2.24.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/util-linux-2.24.1-r2/work/uti



Expected Results:  
Success to build

 emerge --info =sys-apps/util-linux-2.24.1-r2
Portage 2.2.8-r1 (hardened/linux/uclibc/arm/armv7a, gcc-4.7.3, uclibc-0.9.33.2-r10, 3.8.13-00726-g633615e armv7l)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-00726-g633615e-armv7l-with-gentoo-2.2
KiB Mem:      510544 total,     14980 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 12 May 2014 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 armv7a-hardfloat-linux-uclibceabi [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/uclibc:          0.9.33.2-r10
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-uclibceabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-uclibceabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-logs 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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="arm bindist cli cracklib crypt cxx dri fortran hardened iconv ipv6 modules ncurses nptl openmp pax_kernel pcre pic readline session ssl tcpd uclibc unicode xattr zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="uclibc" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 15:57:58 UTC
Please attach the entire build log to this bug report.
Comment 2 georg 2014-05-12 17:14:37 UTC
Created attachment 376786 [details]
build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-12 17:48:18 UTC

*** This bug has been marked as a duplicate of bug 508522 ***