Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge boost-build-1.49.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
aktivb
n00b
n00b


Joined: 07 Apr 2013
Posts: 8

PostPosted: Sun Apr 07, 2013 2:18 pm    Post subject: Failed to emerge boost-build-1.49.0 Reply with quote

Subject says it all:

Build log:

* Package: dev-util/boost-build-1.49.0
* Repository: gentoo
* Maintainer: cpp@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
* FEATURES: sandbox
>>> Unpacking source...
>>> Source unpacked in /ram/portage/portage/dev-util/boost-build-1.49.0/work
>>> Preparing source in /ram/portage/portage/dev-util/boost-build-1.49.0/work/boost_1_49_0/tools/build/v2 ...
* Applying boost-build-1.48.0-support_dots_in_python-buildid.patch ...
[ ok ]
* Applying boost-build-1.48.0-disable_python_rpath.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /ram/portage/portage/dev-util/boost-build-1.49.0/work/boost_1_49_0/tools/build/v2 ...
>>> Source configured.
>>> Compiling source in /ram/portage/portage/dev-util/boost-build-1.49.0/work/boost_1_49_0/tools/build/v2 ...
###
### Using 'cc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
x86_64-pc-linux-gnu-gcc -o bootstrap/mkjambase0 -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed mkjambase.c
./bootstrap/mkjambase0 jambase.c Jambase
x86_64-pc-linux-gnu-gcc -o bootstrap/jam0 -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jamba$
e.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c string$
.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c exec$
nix.c fileunix.c
expand.c: In function 'var_expand':
expand.c:85:9: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat]
variable.c: In function 'var_string_to_file':
variable.c:408:36: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
variable.c:409:36: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --without-python
don't know how to make command.c
don't know how to make compile.c
don't know how to make debug.c
don't know how to make expand.c
don't know how to make glob.c
don't know how to make hash.c
don't know how to make hcache.c
don't know how to make headers.c
don't know how to make hdrmacro.c
don't know how to make jam.c
don't know how to make jambase.c
don't know how to make jamgram.c
don't know how to make lists.c
don't know how to make make.c
don't know how to make make1.c
don't know how to make mem.c
don't know how to make newstr.c
don't know how to make option.c
don't know how to make output.c
don't know how to make parse.c
don't know how to make regexp.c
don't know how to make rules.c
don't know how to make scan.c
don't know how to make search.c
don't know how to make subst.c
don't know how to make w32_getreg.c
don't know how to make timestamp.c
don't know how to make variable.c
don't know how to make modules.c
don't know how to make strings.c
don't know how to make filesys.c
don't know how to make builtins.c
don't know how to make pwd.c
don't know how to make class.c
don't know how to make native.c
don't know how to make md5.c
don't know how to make modules/set.c
don't know how to make modules/path.c
don't know how to make modules/regex.c
don't know how to make modules/property-set.c
don't know how to make modules/sequence.c
don't know how to make modules/order.c
don't know how to make execunix.c
don't know how to make fileunix.c
don't know how to make pathunix.c
...found 49 targets...
...updating 1 target...
...can't find 45 targets...
...can't make 2 targets...
[MKDIR] /usr/bin/locate/bin.linuxx86_64
ACCESS DENIED mkdir: /usr/bin/locate/bin.linuxx86_64
mkdir: cannot create directory '/usr/bin/locate/bin.linuxx86_64': Permission denied

mkdir "/usr/bin/locate/bin.linuxx86_64"

...failed [MKDIR] /usr/bin/locate/bin.linuxx86_64...
ACCESS DENIED unlink: /usr/bin/locate/bin.linuxx86_64
...skipped b2 for lack of command.c...
...skipped bjam for lack of b2...
...failed updating 1 target...
...skipped 2 targets...
* ERROR: dev-util/boost-build-1.49.0 failed (compile phase):
* building bjam failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 5148: Called die
* The specific snippet of code:
* LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
*
* If you need support, post the output of `emerge --info '=dev-util/boost-build-1.49.0'`,
* the complete build log and the output of `emerge -pqv '=dev-util/boost-build-1.49.0'`.
* The complete build log is located at '/ram/portage/portage/dev-util/boost-build-1.49.0/temp/build.log'.
* The ebuild environment file is located at '/ram/portage/portage/dev-util/boost-build-1.49.0/temp/environment'.
* Working directory: '/ram/portage/portage/dev-util/boost-build-1.49.0/work/boost_1_49_0/tools/build/v2/engine'
* S: '/ram/portage/portage/dev-util/boost-build-1.49.0/work/boost_1_49_0/tools/build/v2'

emerge --info:

Portage 2.1.11.52 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-2.1
KiB Mem: 16433308 total, 133876 free
KiB Swap: 16776956 total, 16776216 free
Timestamp of tree: Sun, 07 Apr 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.10.3, 1.11.6
sys-devel/binutils: 2.22-r1
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.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --ask --ask-enter-invalid"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.df.lth.se/pub/gentoo/ ftp://mirror.mdfnet.se/gentoo"
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="/ram/portage"
PORTDIR="/store/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git gpm gtk iconv ipv6 jpeg lcms ldap libnotify lock mad mercurial mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl session spell sse sse2 ssl startup-notification subversion svg symlink tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

emerge -pqv: [ebuild N ] dev-util/boost-build-1.49.0 USE="-examples -python
Back to top
View user's profile Send private message
Maleita
Apprentice
Apprentice


Joined: 16 Sep 2004
Posts: 243
Location: Brasil -> São Paulo->Campinas

PostPosted: Sun Apr 07, 2013 3:28 pm    Post subject: Reply with quote

Quote:
try python-updater
Back to top
View user's profile Send private message
aktivb
n00b
n00b


Joined: 07 Apr 2013
Posts: 8

PostPosted: Mon Apr 08, 2013 4:16 am    Post subject: Reply with quote

No, python-updater did nothing
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 241

PostPosted: Mon Apr 08, 2013 7:10 am    Post subject: Reply with quote

funny you are getting ACCESS DENIED errors in your build log.

Could you post the command you typed to emerge boost?

Also, post the output of

Code:
$ whoami
$ groups <myuserid>
Back to top
View user's profile Send private message
aktivb
n00b
n00b


Joined: 07 Apr 2013
Posts: 8

PostPosted: Mon Apr 08, 2013 1:07 pm    Post subject: Reply with quote

my command:
emerge boost-build

whoami: root
groups: root bin daemon sys adm disk wheel floppy tape video

Yes, it tries to create a dir /usr/bin/locate/bin.linuxx86_64
Which it can't, because I have a file /usr/bin/locate
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 241

PostPosted: Mon Apr 08, 2013 2:13 pm    Post subject: Reply with quote

The only thing I can suggest is to update portage to the latest version (which is 2.1.22.55 stable) and try again.

Also try resyncing.

Sorry, bro.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3925

PostPosted: Mon Apr 08, 2013 8:49 pm    Post subject: Re: Failed to emerge boost-build-1.49.0 Reply with quote

aktivb wrote:

[MKDIR] /usr/bin/locate/bin.linuxx86_64
ACCESS DENIED mkdir: /usr/bin/locate/bin.linuxx86_64
mkdir: cannot create directory '/usr/bin/locate/bin.linuxx86_64': Permission denied

mkdir "/usr/bin/locate/bin.linuxx86_64"

...failed [MKDIR] /usr/bin/locate/bin.linuxx86_64...
ACCESS DENIED unlink: /usr/bin/locate/bin.linuxx86_64


/usr/bin/locate should be a file for many of us, provided by sys-apps/mlocate, so obviously a bug you could report.
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 241

PostPosted: Tue Apr 09, 2013 4:11 pm    Post subject: Re: Failed to emerge boost-build-1.49.0 Reply with quote

krinn wrote:
aktivb wrote:

[MKDIR] /usr/bin/locate/bin.linuxx86_64
ACCESS DENIED mkdir: /usr/bin/locate/bin.linuxx86_64
mkdir: cannot create directory '/usr/bin/locate/bin.linuxx86_64': Permission denied

mkdir "/usr/bin/locate/bin.linuxx86_64"

...failed [MKDIR] /usr/bin/locate/bin.linuxx86_64...
ACCESS DENIED unlink: /usr/bin/locate/bin.linuxx86_64


/usr/bin/locate should be a file for many of us, provided by sys-apps/mlocate, so obviously a bug you could report.


Just a question - is it normal/acceptable for files to be created in the /usr dir during the configure/build stage?
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3925

PostPosted: Tue Apr 09, 2013 4:16 pm    Post subject: Reply with quote

To me no: that's why sandbox is there for, preventing someone playing oustide its scope and putting hell for no reason..
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 241

PostPosted: Tue Apr 09, 2013 4:21 pm    Post subject: Reply with quote

krinn wrote:
To me no: that's why sandbox is there for, preventing someone playing oustide its scope and putting hell for no reason..


My thoughts exactly. Something's not quite right about the whole build process here.

When I emerge boost-build-1.49.0 at that stage it just says [MKDIR], then [MKDIR] done. No path is displayed.

Funny...
Back to top
View user's profile Send private message
aktivb
n00b
n00b


Joined: 07 Apr 2013
Posts: 8

PostPosted: Tue Apr 16, 2013 7:04 pm    Post subject: Reply with quote

Well, I got it resolved, but not solved.

First I fetched the binaries.

Then I got a shipload of new hardware and did a clean install. I have no trouble building boost-build now.

But that just leaves the problem hanging there, there was definitively something strange going on, but unfortunately (or fortunately, for me) I'm no longer able to reproduce the problem for a bug report.
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 241

PostPosted: Wed Apr 17, 2013 4:53 am    Post subject: Reply with quote

Congratulations on your new machine :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum