Opened 8 years ago

Closed 8 years ago

#53107 closed update (fixed)

py-pygrib @2.0.2 update

Reported by: ForTozs Owned by: jswhit (Jeff Whitaker)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: basmac
Port: py-pygrib

Description

Here is a patch to update pygrib 2.0.1 to 2.0.2. This fixes a problem related to JasPer:

error: no member named 'inmem_' in 'jas_image_t'

Attachments (1)

py27-pygrib.diff (854 bytes) - added by ForTozs 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by ForTozs

Attachment: py27-pygrib.diff added

comment:1 Changed 8 years ago by EJFielding (Eric Fielding)

It does seem that py27-pygrib @2.0.1 is broken.

sudo port upgrade py27-matplotlib-basemap
--->  Scanning binaries for linking errors
--->  Found 4 broken file(s), matching files to ports
--->  Found 3 broken port(s), determining rebuild order
--->  Rebuilding in order
     py27-matplotlib-basemap @1.0.7
     py27-pygrib @2.0.1
     qca-ossl @2.1.0
--->  Computing dependencies for py27-matplotlib-basemap
--->  Cleaning py27-matplotlib-basemap
--->  Computing dependencies for py27-pygrib
--->  Fetching archive for py27-pygrib
--->  Attempting to fetch py27-pygrib-2.0.1_1.darwin_15.x86_64.tbz2 from https://packages.macports.org/py27-pygrib
--->  Attempting to fetch py27-pygrib-2.0.1_1.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-pygrib
--->  Attempting to fetch py27-pygrib-2.0.1_1.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-pygrib
--->  Fetching distfiles for py27-pygrib
--->  Verifying checksums for py27-pygrib
--->  Extracting py27-pygrib
--->  Configuring py27-pygrib
--->  Building py27-pygrib
Error: org.macports.build for port py27-pygrib returned: command execution failed
Please see the log file for port py27-pygrib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygrib/py27-pygrib/main.log
Error: Unable to upgrade port: 1
Error rebuilding py27-pygrib
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    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_revupgrade $action $portlist $opts"
    (procedure "action_upgrade" line 25)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 103)
    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 5286)

main.log excerpt:

:info:build g2clib_src/enc_jpeg2000.c:124:11: error: no member named 'inmem_' in 'jas_image_t'
:info:build     image.inmem_=1;
:info:build     ~~~~~ ^
:info:build 1 error generated.

comment:2 Changed 8 years ago by jswhit (Jeff Whitaker)

It was broken by the latest update to the Jasper library. 2.0.2 fixes compatibility with the new Jasper.

comment:3 Changed 8 years ago by jswhit (Jeff Whitaker)

comment:4 Changed 8 years ago by mf2k (Frank Schima)

Cc: jswhit@… removed
Keywords: haspatch added
Owner: set to jswhit
Port: py-pygrib added; py27-pygrib removed
Status: newassigned
Summary: py27-pygrib @2.0.2 updatepy-pygrib @2.0.2 update

comment:5 Changed 8 years ago by EJFielding (Eric Fielding)

Applying the attached patch to /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pygrib/Portfile fixes the build problem. Thanks!

comment:6 Changed 8 years ago by basmac

Still fails with most recent port selfupdate (Dec 22) as its still trying to build 2.0.1 ?

[mac27:/opt/local/lib] root# port install py27-pygrib ---> Computing dependencies for py27-pygrib ---> Fetching archive for py27-pygrib ---> Attempting to fetch py27-pygrib-2.0.1_1.darwin_16.x86_64.tbz2 from https://packages.macports.org/py27-pygrib ---> Attempting to fetch py27-pygrib-2.0.1_1.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-pygrib ---> Attempting to fetch py27-pygrib-2.0.1_1.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-pygrib ---> Fetching distfiles for py27-pygrib ---> Verifying checksums for py27-pygrib ---> Extracting py27-pygrib ---> Configuring py27-pygrib ---> Building py27-pygrib Error: org.macports.build for port py27-pygrib returned: command execution failed Please see the log file for port py27-pygrib for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pygrib/py27-pygrib/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port py27-pygrib failed [mac27:/opt/local/lib]

comment:7 Changed 8 years ago by basmac

Cc: basmac added

comment:8 Changed 8 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

In d4a08e7/macports-ports:

py-pygrib: Update to version 2.0.2. Remove py33 sub-port. Add py35 sub-port.

Closes: #53107
Closes: #52059

Note: See TracTickets for help on using tickets.