Opened 8 years ago

Closed 8 years ago

#40111 closed defect (invalid)

bzip2: fetch failure

Reported by: ross.stewart@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: bzip2

Description

Mac OSX 10.8.4 Xcode 4.6.2

Failure to build numpy

[rosss-imac:~/Desktop] rossstewart% sudo port install py27-numpy
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Computing dependencies for py27-numpy
--->  Dependencies to be installed: py27-nose py27-setuptools python27 bzip2 db46 db_select gettext expat libiconv gperf ncurses libedit openssl zlib xz python_select sqlite3
--->  Fetching distfiles for bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://www.bzip.org/1.0.6
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://lil.fr.distfiles.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://distfiles.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://cjj.kr.distfiles.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.6.tar.gz from http://svn.macports.org/repository/macports/distfiles/bzip2
Error: org.macports.fetch for port bzip2 returned: fetch failed
Error: Failed to install bzip2
Please see the log file for port bzip2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log
Error: The following dependencies were not installed: py27-nose py27-setuptools python27 bzip2 db46 db_select gettext expat libiconv gperf ncurses libedit openssl zlib xz python_select sqlite3
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-numpy failed

Attachments (1)

main.log (17.0 KB) - added by ross.stewart@… 8 years ago.
Logfile attached as requested in comment 1

Download all attachments as: .zip

Change History (13)

comment:1 in reply to:  description ; Changed 8 years ago by larryv (Lawrence Velázquez)

Port: bzip2 added
Summary: numpy build failurebzip2: fetch failure

Replying to ross.stewart@…:

Failure to build numpy

No; as your output clearly shows, the failure is in fetching bzip2. Please clean, try again, and attach the mentioned main.log if it fails again.

% sudo port clean bzip2 py27-numpy
% sudo port install py27-numpy
% port logfile py27-numpy

comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

The file exists on many of those servers. If you cannot fetch it, there is something wrong with your network that you'll have to diagnose and fix. Are any proxies involved?

comment:3 in reply to:  description ; Changed 8 years ago by ryandesign (Ryan Schmidt)

Replying to ross.stewart@…:

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

What DYLD_ environment variables have you set in your environment? Although MacPorts ignores them, it is often an error to set them in the first place.

comment:4 in reply to:  3 Changed 8 years ago by ross.stewart@…

Replying to ryandesign@…:

Replying to ross.stewart@…:

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

What DYLD_ environment variables have you set in your environment? Although MacPorts ignores them, it is often an error to set them in the first place.

The DYLD_ variable is:

DYLD_LIBRARY_PATH=/usr/local/cuda/lib:/Applications/mantid/MantidLibs

comment:5 in reply to:  1 Changed 8 years ago by ross.stewart@…

Replying to larryv@…:

Replying to ross.stewart@…:

Failure to build numpy

No; as your output clearly shows, the failure is in fetching bzip2. Please clean, try again, and attach the mentioned main.log if it fails again.

% sudo port clean bzip2 py27-numpy
% sudo port install py27-numpy
% port logfile py27-numpy

Did these steps, build fails again in exactly the same way. Log file attached Ross

Changed 8 years ago by ross.stewart@…

Attachment: main.log added

Logfile attached as requested in comment 1

comment:6 Changed 8 years ago by ryandesign (Ryan Schmidt)

Well, that's the log for py27-numpy; Larry wanted the log for bzip2, which is the port that's actually failing. However, if it's just a fetch failure like you showed us before, it's up to you to figure out why it failed and how to fix it, since it's a problem with the network between you and the servers; the servers are working fine.

comment:7 in reply to:  2 Changed 8 years ago by ross.stewart@…

Replying to ryandesign@…:

The file exists on many of those servers. If you cannot fetch it, there is something wrong with your network that you'll have to diagnose and fix. Are any proxies involved?

yes, I'm behind a proxy server

HTTP_PROXY=http://wwwcache.rl.ac.uk:8080

Ross

comment:8 Changed 8 years ago by ryandesign (Ryan Schmidt)

Is that proxy entered into System Preferences (Network section) and/or the macports.conf file properly?

comment:9 in reply to:  8 ; Changed 8 years ago by ross.stewart@…

Replying to ryandesign@…:

Is that proxy entered into System Preferences (Network section) and/or the macports.conf file properly?

It's in the System Preferences - not macports.conf. When I run selfupdate though, it seems to get through the proxy ok.

[rosss-imac:~] rossstewart% sudo port -v selfupdate
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Updating MacPorts base sources using rsync
receiving file list ... done
base.tar

sent 13396 bytes  received 10183 bytes  6736.86 bytes/sec
total size is 4925440  speedup is 208.89
receiving file list ... done
base.tar.rmd160

sent 64 bytes  received 635 bytes  279.60 bytes/sec
total size is 512  speedup is 0.73
MacPorts base version 2.2.0 installed,
MacPorts base version 2.2.0 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
ports.tar

sent 51424 bytes  received 147916 bytes  56954.29 bytes/sec
total size is 53780480  speedup is 269.79
receiving file list ... done
ports.tar.rmd160

sent 64 bytes  received 636 bytes  466.67 bytes/sec
total size is 512  speedup is 0.73
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Adding port aqua/qt4-mac-mysql55-plugin
Adding subport qt4-mac-mysql5-plugin
Adding subport qt4-mac-mysql51-plugin
Adding subport qt4-mac-mysql56-plugin
Adding subport qt4-mac-mariadb-plugin
Adding subport qt4-mac-percona-plugin
Adding port archivers/lzip
Adding port comms/s710
Adding port databases/mariadb
Adding subport mariadb-server
Adding port devel/bzr
Adding port devel/bzr-explorer
Adding port devel/cvsgraph
Adding port devel/icu
Adding port devel/libgphoto2
Adding port devel/qbzr
Adding port graphics/g2
Adding port graphics/gd2
Adding port graphics/graphviz
Adding subport graphviz-gui
Adding subport gvedit
Adding port graphics/graphviz-devel
Adding subport graphviz-gui-devel
Adding subport gvedit-devel
Adding port graphics/icoconvert
Adding port graphics/libpuzzle
Adding port graphics/mkhexgrid
Adding port graphics/mscgen
Adding port lang/gcc42
Adding port lang/gcc43
Adding port lang/gcc44
Adding port lang/gcc45
Adding subport libgcc45
Adding port lang/gcc46
Adding port lang/gcc47
Adding port lang/gcc48
Adding subport libgcc
Adding port lang/gcc49
Adding subport libgcc-devel
Adding port lang/mosml-dynlibs
Adding port math/gnuplot
Adding port math/ploticus
Adding port multimedia/mythtv-core.25
Adding port multimedia/mythweb.25
Adding port multimedia/mythweb.26
Adding port net/argus-monitor
Adding port net/mldonkey
Adding port net/mrtg
Adding port net/nagios
Adding port net/vnstat
Adding port net/yazpp
Adding port net/youtube-dl
Adding port perl/p5-gd
Adding subport p5.8-gd
Adding subport p5.10-gd
Adding subport p5.12-gd
Adding subport p5.14-gd
Adding subport p5.16-gd
Adding port perl/p5-gimp
Adding subport p5.8-gimp
Adding subport p5.10-gimp
Adding subport p5.12-gimp
Adding subport p5.14-gimp
Adding subport p5.16-gimp
Adding port perl/p5-gnome2-wnck
Adding subport p5.8-gnome2-wnck
Adding subport p5.10-gnome2-wnck
Adding subport p5.12-gnome2-wnck
Adding subport p5.14-gnome2-wnck
Adding subport p5.16-gnome2-wnck
Adding port perl/p5-html-extract
Adding subport p5.8-html-extract
Adding subport p5.10-html-extract
Adding subport p5.12-html-extract
Adding subport p5.14-html-extract
Adding subport p5.16-html-extract
Adding port perl/p5-html-fillinform
Adding subport p5.8-html-fillinform
Adding subport p5.10-html-fillinform
Adding subport p5.12-html-fillinform
Adding subport p5.14-html-fillinform
Adding subport p5.16-html-fillinform
Adding port perl/p5-html-lint
Adding subport p5.8-html-lint
Adding subport p5.10-html-lint
Adding subport p5.12-html-lint
Adding subport p5.14-html-lint
Adding subport p5.16-html-lint
Adding port perl/p5-html-template-compiled
Adding subport p5.8-html-template-compiled
Adding subport p5.10-html-template-compiled
Adding subport p5.12-html-template-compiled
Adding subport p5.14-html-template-compiled
Adding subport p5.16-html-template-compiled
Adding port perl/p5-html-tokeparser-simple
Adding subport p5.8-html-tokeparser-simple
Adding subport p5.10-html-tokeparser-simple
Adding subport p5.12-html-tokeparser-simple
Adding subport p5.14-html-tokeparser-simple
Adding subport p5.16-html-tokeparser-simple
Adding port perl/p5-html-treebuilder-xpath
Adding subport p5.8-html-treebuilder-xpath
Adding subport p5.10-html-treebuilder-xpath
Adding subport p5.12-html-treebuilder-xpath
Adding subport p5.14-html-treebuilder-xpath
Adding subport p5.16-html-treebuilder-xpath
Adding port perl/p5-http-response-encoding
Adding subport p5.8-http-response-encoding
Adding subport p5.10-http-response-encoding
Adding subport p5.12-http-response-encoding
Adding subport p5.14-http-response-encoding
Adding subport p5.16-http-response-encoding
Adding port perl/p5-http-server-simple-mason
Adding subport p5.8-http-server-simple-mason
Adding subport p5.10-http-server-simple-mason
Adding subport p5.12-http-server-simple-mason
Adding subport p5.14-http-server-simple-mason
Adding subport p5.16-http-server-simple-mason
Adding port perl/p5-term-gnuplot
Adding subport p5.8-term-gnuplot
Adding subport p5.10-term-gnuplot
Adding subport p5.12-term-gnuplot
Adding subport p5.14-term-gnuplot
Adding subport p5.16-term-gnuplot
Adding port python/py-gd
Adding subport py24-gd
Adding subport py25-gd
Adding subport py26-gd
Adding port python/quodlibet
Adding port ruby/rb-gd
Adding port science/EMBOSS
Adding port science/grads
Adding port science/magicspp
Adding port science/splash
Adding port science/wview
Adding port tex/dvipng
Adding port tex/pTeX
Adding port www/webalizer
Adding port x11/pcb

Total number of ports parsed:	139 
Ports successfully parsed:	139 
Ports failed:			0 
Up-to-date ports skipped:	17306

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
[rosss-imac:~] rossstewart% sudo port upgrade outdated
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Nothing to upgrade.
[rosss-imac:~] rossstewart% 

Ross

comment:10 in reply to:  9 ; Changed 8 years ago by ryandesign (Ryan Schmidt)

Replying to ross.stewart@…:

It's in the System Preferences - not macports.conf. When I run selfupdate though, it seems to get through the proxy ok.

Try entering it into macports.conf.

selfupdate uses rsync, not http.

comment:11 in reply to:  10 Changed 8 years ago by ross.stewart@…

Replying to ryandesign@…:

Replying to ross.stewart@…:

It's in the System Preferences - not macports.conf. When I run selfupdate though, it seems to get through the proxy ok.

Try entering it into macports.conf.

selfupdate uses rsync, not http.

It's fixed now. The problem was that the only thing set in System Preferences was the automatic proxy configuration (proxy.pac). I only had to enter the http proxy manually to get it to work. numpy is now installed. Thanks for your help

Ross

comment:12 Changed 8 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed

Great, glad that worked.

Note: See TracTickets for help on using tickets.