Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30549 closed defect (invalid)

Error installing Boost (for mongoDB)

Reported by: phillip.salfity@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: phillip.salfity@…
Port: boost

Description

I keep getting the same error trying to install mongoDB.

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/work
:debug:main Executing org.macports.main (boost)
:msg:main --->  Fetching boost
:debug:fetch fetch phase started at Thu Jul 28 11:21:34 EDT 2011
:debug:fetch Executing org.macports.fetch (boost)
:info:fetch --->  boost_1_46_1.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/boost
:debug:fetch Pinging downloads.sourceforge.net...
:debug:fetch Pinging aarnet.dl.sourceforge.net...
:debug:fetch Pinging biznetnetworks.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-2.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-2.dl.sourceforge.net...
:debug:fetch Pinging citylan.dl.sourceforge.net...
:debug:fetch Pinging dfn.dl.sourceforge.net...
:debug:fetch Pinging fastbull.dl.sourceforge.net...
:debug:fetch Pinging freefr.dl.sourceforge.net...
:debug:fetch Pinging garr.dl.sourceforge.net...
:debug:fetch Pinging heanet.dl.sourceforge.net...
:debug:fetch Pinging hivelocity.dl.sourceforge.net...
:debug:fetch Pinging ignum.dl.sourceforge.net...
:debug:fetch Pinging internode.dl.sourceforge.net...
:debug:fetch Pinging iweb.dl.sourceforge.net...
:debug:fetch Pinging jaist.dl.sourceforge.net...
:debug:fetch Pinging kent.dl.sourceforge.net...
:debug:fetch Pinging mesh.dl.sourceforge.net...
:debug:fetch Pinging nchc.dl.sourceforge.net...
:debug:fetch Pinging ncu.dl.sourceforge.net...
:debug:fetch Pinging netcologne.dl.sourceforge.net...
:debug:fetch Pinging puzzle.dl.sourceforge.net...
:debug:fetch Pinging softlayer.dl.sourceforge.net...
:debug:fetch Pinging space.dl.sourceforge.net...
:debug:fetch Pinging sunet.dl.sourceforge.net...
:debug:fetch Pinging surfnet.dl.sourceforge.net...
:debug:fetch Pinging switch.dl.sourceforge.net...
:debug:fetch Pinging transact.dl.sourceforge.net...
:debug:fetch Pinging ufpr.dl.sourceforge.net...
:debug:fetch Pinging voxel.dl.sourceforge.net...
:debug:fetch Pinging waix.dl.sourceforge.net...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging her.gr.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch downloads.sourceforge.net ping time is 23.577
:debug:fetch aarnet.dl.sourceforge.net ping time is 329.370
:debug:fetch biznetnetworks.dl.sourceforge.net ping time is 281.441
:debug:fetch cdnetworks-us-1.dl.sourceforge.net ping time is 73.817
:debug:fetch cdnetworks-us-2.dl.sourceforge.net ping time is 74.085
:debug:fetch cdnetworks-kr-1.dl.sourceforge.net ping time is 210.373
:debug:fetch cdnetworks-kr-2.dl.sourceforge.net ping time is 210.794
:debug:fetch citylan.dl.sourceforge.net ping time is 143.811
:debug:fetch dfn.dl.sourceforge.net ping time is 113.253
:debug:fetch fastbull.dl.sourceforge.net ping time is 108.343
:debug:fetch freefr.dl.sourceforge.net ping time is 98.613
:debug:fetch garr.dl.sourceforge.net ping time is 119.636
:debug:fetch heanet.dl.sourceforge.net ping time is 96.576
:debug:fetch hivelocity.dl.sourceforge.net ping time is 10000
:debug:fetch ignum.dl.sourceforge.net ping time is 114.733
:debug:fetch internode.dl.sourceforge.net ping time is 248.585
:debug:fetch iweb.dl.sourceforge.net ping time is 16.191
:debug:fetch jaist.dl.sourceforge.net ping time is 213.933
:debug:fetch kent.dl.sourceforge.net ping time is 86.128
:debug:fetch mesh.dl.sourceforge.net ping time is 95.460
:debug:fetch nchc.dl.sourceforge.net ping time is 228.466
:debug:fetch ncu.dl.sourceforge.net ping time is 10000
:debug:fetch netcologne.dl.sourceforge.net ping time is 10000
:debug:fetch puzzle.dl.sourceforge.net ping time is 182.846
:debug:fetch softlayer.dl.sourceforge.net ping time is 40.367
:debug:fetch space.dl.sourceforge.net ping time is 191.948
:debug:fetch sunet.dl.sourceforge.net ping time is 109.809
:debug:fetch surfnet.dl.sourceforge.net ping time is 10000
:debug:fetch switch.dl.sourceforge.net ping time is 10000
:debug:fetch transact.dl.sourceforge.net ping time is 233.583
:debug:fetch ufpr.dl.sourceforge.net ping time is 228.355
:debug:fetch voxel.dl.sourceforge.net ping time is 8.039
:debug:fetch waix.dl.sourceforge.net ping time is 281.981
:debug:fetch distfiles.macports.org ping time is 79.388
:debug:fetch aarnet.au.distfiles.macports.org ping time is 329.718
:debug:fetch her.gr.distfiles.macports.org ping time is 150.984
:debug:fetch lil.fr.distfiles.macports.org ping time is 94.405
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 31.051
:msg:fetch --->  Attempting to fetch boost_1_46_1.tar.bz2 from http://voxel.dl.sourceforge.net/boost
:msg:fetch --->  Verifying checksum(s) for boost
:debug:checksum checksum phase started at Thu Jul 28 11:25:41 EDT 2011
:debug:checksum Executing org.macports.checksum (boost)
:info:checksum --->  Checksumming boost_1_46_1.tar.bz2
:debug:checksum Correct (md5) checksum for boost_1_46_1.tar.bz2
:debug:checksum Correct (sha1) checksum for boost_1_46_1.tar.bz2
:debug:checksum Correct (rmd160) checksum for boost_1_46_1.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum --->  Extracting boost
:debug:extract extract phase started at Thu Jul 28 11:25:42 EDT 2011
:debug:extract Executing org.macports.extract (boost)
:info:extract --->  Extracting boost_1_46_1.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/boost/boost_1_46_1.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/boost/boost_1_46_1.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Thu Jul 28 11:26:06 EDT 2011
:debug:patch Executing org.macports.patch (boost)
:msg:patch --->  Applying patches to boost
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-tools_build_v2_engine_src_build.sh.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && /usr/bin/patch -p0'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- tools/build/v2/engine/build.sh.orig	2011-03-21 22:16:09.000000000 -0500
:info:patch |+++ tools/build/v2/engine/build.sh	2011-03-21 22:16:59.000000000 -0500
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 1 out of 1 hunk ignored
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_46_1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost/files/patch-tools_build_v2_engine_src_build.sh.diff'" returned error 1
:error:patch Target org.macports.patch returned: shell command failed (see log for details)
:debug:patch Backtrace: shell command failed (see log for details)
    while executing
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for boost): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:patch Failed to install boost
:notice:patch Log for boost is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/main.log

Change History (10)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: mongodb removed
Owner: changed from macports-tickets@… to adfernandes@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by phillip.salfity@…

Cc: phillip.salfity@… added

Cc Me!

comment:3 Changed 13 years ago by phillip.salfity@…

Cc: phillip.salfity@… removed

Cc Me!

comment:4 Changed 13 years ago by phillip.salfity@…

Cc: phillip.salfity@… added

Cc Me!

comment:5 Changed 13 years ago by phillip.salfity@…

Not sure how to update the ticket to CC adfernandes@…

comment:6 Changed 13 years ago by adfernandes (Andrew Fernandes)

Hi - you are somehow trying to build an old version of boost (1.46.1). The current version is 1.47.0. Please do a sudo port -dv sync and try again.

comment:7 in reply to:  5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Replying to phillip.salfity@…:

Not sure how to update the ticket to CC adfernandes@…

Joshua already addressed this for you above by assigning the ticket to him, but please keep it in mind when filing future tickets.

comment:8 in reply to:  6 Changed 13 years ago by phillip.salfity@…

Replying to adfernandes@…:

Hi - you are somehow trying to build an old version of boost (1.46.1). The current version is 1.47.0. Please do a sudo port -dv sync and try again.

I ran the command you had suggested; however I'm still getting an error and it still seems to be trying to install boost_1_46_1

Is there any way to force it to version 1.47.0?

comment:9 Changed 13 years ago by phillip.salfity@…

I was able to get it working with: $ sudo port -dv sync $sudo port clean boost $sudo port -v install boost

Thanks for the help.

comment:10 Changed 13 years ago by adfernandes (Andrew Fernandes)

Ah yes. The infamous "clean". Glad you figured it out!

Note: See TracTickets for help on using tickets.