Opened 14 years ago

Closed 13 years ago

#24247 closed defect (worksforme)

erlang: Could not open file: otp_doc_html_R13B04.tar.gz

Reported by: denro03@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: erlang

Description

Here is the output:

Last login: Sat Mar 27 19:17:47 on ttys001
Willem-4:~ wildem$ sudo port -d install erlang
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/erlang
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/erlang
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port erlang.
DEBUG: Requested variant i386 is not provided by port erlang.
DEBUG: Requested variant macosx is not provided by port erlang.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gawk 3.1.7_0 exists in the ports tree
DEBUG: gawk 3.1.7_0  is the latest installed
DEBUG: gawk 3.1.7_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gawk
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port gawk.
DEBUG: Requested variant i386 is not provided by port gawk.
DEBUG: Requested variant macosx is not provided by port gawk.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.13.1_0 exists in the ports tree
DEBUG: libiconv 1.13.1_0  is the latest installed
DEBUG: libiconv 1.13.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gperf 3.0.4_0 exists in the ports tree
DEBUG: gperf 3.0.4_0  is the latest installed
DEBUG: gperf 3.0.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gperf.
DEBUG: Requested variant i386 is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.17_4 exists in the ports tree
DEBUG: gettext 0.17_4  is the latest installed
DEBUG: gettext 0.17_4  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gettext.
DEBUG: Requested variant i386 is not provided by port gettext.
DEBUG: Requested variant macosx is not provided by port gettext.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0  is the latest installed
DEBUG: ncurses 5.7_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0  is the latest installed
DEBUG: ncursesw 5.7_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncursesw.
DEBUG: Requested variant i386 is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0  is the latest installed
DEBUG: expat 2.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant i386 is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4
DEBUG: No need to upgrade! gawk 3.1.7_0 >= gawk 3.1.7_0
--->  Computing dependencies for erlang
DEBUG: Searching for dependency: gawk
DEBUG: Found Dependency: receipt exists for gawk
DEBUG: Executing org.macports.main (erlang)
DEBUG: Skipping completed org.macports.fetch (erlang)
--->  Verifying checksum(s) for erlang
DEBUG: Executing org.macports.checksum (erlang)
--->  Checksumming otp_src_R13B04.tar.gz
DEBUG: Correct (md5) checksum for otp_src_R13B04.tar.gz
DEBUG: Correct (sha1) checksum for otp_src_R13B04.tar.gz
DEBUG: Correct (rmd160) checksum for otp_src_R13B04.tar.gz
--->  Checksumming otp_doc_man_R13B04.tar.gz
DEBUG: Correct (md5) checksum for otp_doc_man_R13B04.tar.gz
DEBUG: Correct (sha1) checksum for otp_doc_man_R13B04.tar.gz
DEBUG: Correct (rmd160) checksum for otp_doc_man_R13B04.tar.gz
--->  Checksumming otp_doc_html_R13B04.tar.gz
Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B04.tar.gz
DEBUG: Backtrace: Could not open file: /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B04.tar.gz
    while executing
"md5 file $file"
    (procedure "calc_md5" line 2)
    invoked from within
"calc_$type $fullpath"
    (procedure "portchecksum::checksum_main" line 46)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for erlang): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (7)

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

Keywords: erlang erlang removed
Owner: changed from macports-tickets@… to bfulgham@…
Priority: HighNormal

Please remember to cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

So, does /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B04.tar.gz in fact exist?

comment:2 Changed 14 years ago by denro03@…

yes

Willem-4:~ wildem$ ls -la /opt/local/var/macports/distfiles/erlang/
total 170984
drwxr-xr-x   5 root  admin       170 27 Mar 14:10 .
drwxr-xr-x  26 root  admin       884 27 Mar 18:25 ..
-rw-r--r--   1 root  admin  27440785 27 Mar 14:10 otp_doc_html_R13B04.tar.gz
-rw-r--r--   1 root  admin   1033584 27 Mar 14:10 otp_doc_man_R13B04.tar.gz
-rw-r--r--   1 root  admin  59060560 27 Mar 14:10 otp_src_R13B04.tar.gz

comment:3 Changed 14 years ago by trog24 (Frank J. R. Hanstick)

The follower error occurred during:

sudo port -d upgrade installed
=== Entering application wx
make[3]: Nothing to be done for `opt'.
mkdir -p ../priv/powerpc-apple-darwin9.8.0
/usr/bin/g++-4.0 -bundle -flat_namespace -undefined warning -fPIC -framework OpenGL -L/opt/local/lib  powerpc-apple-darwin9.8.0/wxe_driver.o powerpc-apple-darwin9.8.0/wxe_ps_init.o powerpc-apple-darwin9.8.0/wxe_impl.o powerpc-apple-darwin9.8.0/wxePrintout.o powerpc-apple-darwin9.8.0/wxe_return.o  powerpc-apple-darwin9.8.0/wxe_funcs.o powerpc-apple-darwin9.8.0/wxe_events.o powerpc-apple-darwin9.8.0/wxe_init.o powerpc-apple-darwin9.8.0/gl_funcs.o powerpc-apple-darwin9.8.0/wxe_gl.o  -L/opt/local/lib   -L/opt/local/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL  -lwx_macu_stc-2.8 -lwx_macu_gl-2.8 -lwx_macu-2.8  -o ../priv/powerpc-apple-darwin9.8.0/wxe_driver.so
ld: file not found: /opt/local/lib/libjpeg.7.dylib
collect2: ld returned 1 exit status
make[3]: *** [../priv/powerpc-apple-darwin9.8.0/wxe_driver.so] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B04" && /usr/bin/make all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B04" && /usr/bin/make all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for erlang): org.macports.destroot org.macports.build
DEBUG: Registry error: kaffe not registered as installed & active.
    while executing
"registry::active $portname"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

The original error occurred running:

sudo port upgrade installed

before running with debug enabled.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

You probably don't want to "upgrade installed"; though it should not cause any problems, it will be quicker to use "upgrade outdated".

To the original error "Could not open file: /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B04.tar.gz", have you already tried cleaning erlang and trying to upgrade it again?

To the second error "file not found: /opt/local/lib/libjpeg.7.dylib", jpeg was updated to version 8 in r64763 so it's not surprising there isn't a libjpeg.7.dylib on your system. (There's probably a libjpeg.8.dylib instead.) So we need to work out which port you have that's still linking with jpeg 7 that hasn't been upgraded yet. Possibly it's one of the remaining ports in the list "port outdated" that erlang is coincidentally using when it shouldn't be. Try upgrading the remaining ports in the list first.

So, please "sudo port selfupdate" so you have the latest port definitions, then "sudo port clean erlang" to clean out this failed attempt, then look at "port outdated" and "sudo port upgrade" any ports other than erlang that are outdated. Then lastly come back and "sudo port upgrade erlang". Let us know how it goes.

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

Summary: Cannot install erlang on leoparderlang: Could not open file: otp_doc_html_R13B04.tar.gz

Replying to ryandesign@…:

To the original error "Could not open file: /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B04.tar.gz", have you already tried cleaning erlang and trying to upgrade it again?

Any news here? Do you still see this problem with MacPorts 1.9.1 and erlang R14A?

To the second error "file not found: /opt/local/lib/libjpeg.7.dylib"

This is filed separately in #25225.

comment:6 Changed 13 years ago by bfulgham@…

Is this problem still happening? We are currently at R14B01, so it's unlikely you are seeing the exact same problem.

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.