Opened 2 years ago
Closed 19 months ago
#65855 closed defect (fixed)
wgrib2 @3.0.2_2 +gfortran: wrong jasper dependency
Reported by: | cooljeanius (Eric Gallager) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | tenomoto (Takeshi Enomoto) | |
Port: | wgrib2 |
Description
Building wgrib2 in trace mode results in the following error:
/opt/local/bin/gfortran-mp-12 -o wgrib2 -DGFORTRAN -I/opt/local/lib/libaec/include -I/opt/local/libexec/jasper2/include -DJAS_VERSION_MAJOR=2 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2/g2clib-1.4.0 -Os -arch x86_64 AAIG.o AAIGlong.o Aerosol.o Alarm.o Alias.o Ave_test.o Ave_var.o Bbox.o Box_ave.o Check_pdt_size.o Checksum.o Cluster.o CodeTable.o Code_Values.o Config.o Cress_lola.o Csv.o Csv_long.o CubeFace2global.o Cyclic.o Data.o Dump.o EOF.o Earth.o Else.o End.o Endif.o Ens_processing.o Ensemble.o Export_lonlat.o ExtName.o Fcst_ave.o Fi.o File.o Fix_CFSv2_fcst.o Fix_ncep.o Fix_ncep_2.o Fix_ncep_3.o Fix_ncep_4.o Fix_undef.o FlagTable.o Flush.o For.o Ftime.o Ftime1.o Ftime2.o Ftn_api.o GDT.o Gctpc.o Geolocation.o Grads.o Grib.o Grib_out_irr.o Grib_out_irr2.o Gribtable_used.o Grid_def.o Grid_id.o Gridout.o Help.o Hybrid.o If_delayed_error.o If_rec.o Import.o Import_grib.o Import_grib_fs.o Import_lonlat.o Import_netcdf.o Inv.o Inv_no.o Irr_grids.o JMA.o Last.o Latlon.o Level.o Limit.o Lola.o Macro.o Match.o Match_fs.o Match_inv.o Mem_buffer.o Merge.o Misc.o Mod_grib.o Model_version_date.o Mysql.o Mysql_dump.o Mysql_speed.o NCEP_norm.o NCEP_uv.o Names.o Ncpu.o Ndate.o Ndates.o Netcdf.o Netcdf_sup.o New_grid.o New_grid_order.o Precision.o Prob.o Proj4.o PyInv.o RPN.o Range.o Reduced_gaussian_grid.o Reset_delayed_error.o Scaling_0001.o Scan.o Sec0.o Sec1.o Sec3.o Sec4.o Sec5.o Sec6.o Sec_len.o Set_byte.o Set_date.o Set_ens_num.o Set_ensm_derived_fcst.o Set_ftime1.o Set_ftime2.o Set_gds.o Set_metadata.o Set_pdt.o Set_percentile.o Set_prob.o Set_sec_size.o Set_ts_dates.o Set_val.o Small_grib.o SpatialProcessing.o Spectral_bands.o Status.o Submsg_uv.o Summary.o Tigge.o Time_processing.o Timer.o Tosubmsg.o UDF.o Undefine.o Unix_time.o Unmerge_fcst.o VerfTime.o Warn_old_g2lib.o Waves.o Wind_dir.o Wind_speed.o Wind_uv.o Write_sec.o Wrt_grib.o addtime.o aec_pk.o bitstream.o cname.o codetable_4_230.o complex_pk.o copy.o crc32.o cubed_sphere2ll.o dec_png_clone.o decenc_openjpeg.o enc_jpeg2000_clone.o fatal_error.o ffopen.o flt2ieee.o flt2ieee_nan.o fnlist.o gctpc_ll2xy.o geo.o gribtab.o grid_ident.o ieee2flt.o ieee2flt_nan.o ieee_pk.o init.o int8.o intpower.o itoshort_a.o jpeg_pk.o lat2ij.o manage_inv_out.o missing.o mk_gdt.o mk_kgds.o ncep_grids.o new_grid_lambertc.o openmp_util.o parse_loop.o parse_msg.o prod_def_temp_size.o proj4_initialize.o proj4_transform.o rd_inventory.o rd_seq_grib.o rdieee_file.o read_latlon.o rotll.o save_string.o sec3_grids.o setup_user_gribtable.o simple_pk.o space_view.o space_view2ij.o stagger.o string2time_unit.o subtime.o swap_buffer.o test_sec.o units.o unpk.o unpk_0.o unpk_complex.o unpk_run_length.o update_sec3.o update_sec4.o v1_v2_if.o wgrib2.o wgrib2_api.o wrtieee.o wxtext.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2/lib -L/opt/local/lib/proj5/lib -L/opt/local/lib/libaec/lib /opt/local/libexec/jasper2/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -lip2_d -lgrib2c -lgeo -lproj -ljasper -laec -lsp_v2.0.2_d -lnetcdf -lhdf5_hl -lhdf5 -ldl -lpng -lz -lm ld: library not found for -ljasper collect2: error: ld returned 1 exit status make[1]: *** [wgrib2] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2/wgrib2' make: *** [wgrib2/wgrib2] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/work/grib2" && /usr/bin/make -j1 -w all USE_OPENMP=1 Exit code: 2 Warning: The following existing files were hidden from the build system by trace mode: /opt/local/bin/clang-mp-10 /opt/local/bin/clang-mp-11 /opt/local/bin/clang-mp-13 /opt/local/bin/gunzip /opt/local/include/grib2.h /opt/local/lib/libjasper.dylib /private/var/select/sh The following files would have been hidden from the build system by trace mode if they existed: /AppleInternal/XBS/.isChrooted /BinaryCache /BuildSupport/makeProject /Users/macports/.CFUserTextEncoding /opt/rocm /usr/gnu/include /usr/local/cuda-7.0 /usr/local/cuda-7.5 /usr/local/cuda-8.0 /usr/local/cuda/include Error: Failed to build wgrib2: command execution failed DEBUG: Error code: CHILDSTATUS 27394 2
So, -ljasper
does exist, but trace mode just hid it. port provides /opt/local/lib/libjasper.dylib
says the library hidden by trace mode was from the jasper port: /opt/local/lib/libjasper.dylib is provided by: jasper
. However, wgrib2's jasper dependency is on jasper2 rather than just-plain jasper.
Attachments (1)
Change History (3)
Changed 2 years ago by cooljeanius (Eric Gallager)
Attachment: | wgrib2_main.log added |
---|
comment:1 Changed 2 years ago by jmroot (Joshua Root)
This was already fixed by [0b0c562249a548661f6d6d627083793f9cb75f1a/macports-ports].
comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log for wgrib2