Opened 12 years ago

Closed 12 years ago

#34591 closed defect (duplicate)

hdf5: broken file found by rev-upgrade

Reported by: asnedden@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: hdf5

Description

OSX: 10.6.8

After running

sudo port install py27-pyfits@3.0.5

macports tries building hdf5. I get the following error

Warning: Error determining file type of `/opt/local/bin/display': lstat(/opt/local/bin/display):no such file or directory
Warning: A file belonging to the `ImageMagick' port is missing or unreadable. Consider reinstalling it.

--->  Scanning binaries for linking errors: 100.0%
--->  Found 1 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     hdf5 @1.6.9 

It repeats this attempt at building hdf5 two more times and then suggests that I run

port -d -y rev-upgrade

and report a bug. So..

user$ port -d -y rev-upgrade
sqlite error: attempt to write a readonly database (8)
    while executing
"registry::write {
            try {
                ui_msg -nonewline "$macports::ui_prefix Updating database of binaries"
                set i 1
   ..."
    (procedure "revupgrade_scanandrebuild" line 9)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4784)

I had other software (i.e. MINC2) that was built with hdf5 v1.6.9 that still appears to work correctly and it seems that I still have the same h5* binaries installed in /opt/local/bin/. Attached is the full output. Thank you for your time.

Attachments (1)

output (7.4 KB) - added by asnedden@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by asnedden@…

Attachment: output added

comment:1 Changed 12 years ago by asnedden@…

Cc: asnedden@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: asnedden@… removed
Component: portsbase
Port: py27-pyfits@3.0.5 removed

The reporter is automatically Cc'ed.

Have you tried reinstalling ImageMagick as suggested in the output?

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Component: baseports
Port: hdf5 added
Summary: py27-pyfits @3.0.5 ::::::::: dependent port hdf5 brokenhdf5: broken file found by rev-upgrade

comment:4 Changed 12 years ago by jmroot (Joshua Root)

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