[MacPorts] #72308: ortep3 uses a wrong path for X11: ld: warning: directory '/opt/X11/lib' following -L not found

MacPorts noreply at macports.org
Tue Apr 8 14:03:04 UTC 2025


#72308: ortep3 uses a wrong path for X11: ld: warning: directory '/opt/X11/lib'
following -L not found
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  kamischi
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  ortep3
--------------------------+----------------------
 {{{
 --->  Extracting ortep.f
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ortep3/ortep3/work/ortep3-1.0.3"
 && cp '/opt/local/var/macports/distfiles/ortep3/ortep.f'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ortep3/ortep3/work/ortep3-1.0.3/
 --->  Configuring ortep3
 --->  Building ortep3
 ortep.f:3727:10:

  3726 |   162 DO 165 J=1,9
       |
 2
  3727 |   165 PAC(J,1)=PAT(J,1)
       |          1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:3727:19:

  3726 |   162 DO 165 J=1,9
       |
 2
  3727 |   165 PAC(J,1)=PAT(J,1)
       |                   1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:537:8:

   536 |       DO 105 J=1,26
       |
 2
   537 |   105 W(J,1)=0.
       |        1
 Warning: Array reference at (1) out of bounds (26 > 13) in loop beginning
 at (2)
 ortep.f:620:8:

   618 |   175 DO 180 J=1,3
       |
 2
   619 |       E(J,J)=1.
   620 |       E(J+1,1)=0.
       |        1
 Warning: Array reference at (1) out of bounds (4 > 3) in loop beginning at
 (2)
 ortep.f:621:8:

   618 |   175 DO 180 J=1,3
       |
 2
 ......
   621 |   180 E(J+5,1)=0.
       |        1
 Warning: Array reference at (1) out of bounds (6 > 3) in loop beginning at
 (2)
 ortep.f:621:8:

   618 |   175 DO 180 J=1,3
       |
 2
 ......
   621 |   180 E(J+5,1)=0.
       |        1
 Warning: Array reference at (1) out of bounds (8 > 3) in loop beginning at
 (2)
 ortep.f:4236:11:

  4234 |       DO 3005 I=1,3
       |
 2
  4235 |       SYMB(I,I)=1.
  4236 |       SYMB(I+1,1)=0.
       |           1
 Warning: Array reference at (1) out of bounds (4 > 3) in loop beginning at
 (2)
 ortep.f:4237:11:

  4234 |       DO 3005 I=1,3
       |
 2
 ......
  4237 |  3005 SYMB(I+5,1)=0.
       |           1
 Warning: Array reference at (1) out of bounds (6 > 3) in loop beginning at
 (2)
 ortep.f:4237:11:

  4234 |       DO 3005 I=1,3
       |
 2
 ......
  4237 |  3005 SYMB(I+5,1)=0.
       |           1
 Warning: Array reference at (1) out of bounds (8 > 3) in loop beginning at
 (2)
 ortep.f:3853:12:

  3852 |   135 DO 140 J=1,9
       |
 2
  3853 |       T1=AA(J,1)
       |            1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:3854:9:

  3852 |   135 DO 140 J=1,9
       |
 2
  3853 |       T1=AA(J,1)
  3854 |       AA(J,1)=BB(J,1)
       |         1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:3854:17:

  3852 |   135 DO 140 J=1,9
       |
 2
  3853 |       T1=AA(J,1)
  3854 |       AA(J,1)=BB(J,1)
       |                 1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:3855:9:

  3852 |   135 DO 140 J=1,9
       |
 2
 ......
  3855 |       BB(J,1)=T1
       |         1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:234:11:

   233 |       DO 312 J=1,9
       |
 2
   234 |   312 SYMB(J,1)=0.
       |           1
 Warning: Array reference at (1) out of bounds (9 > 3) in loop beginning at
 (2)
 ortep.f:2550:32:

  2550 |       CALL SIMBOL(Y(1),Y(2),HGT,' ',TH,7-NJ3)
       |                                1
 Warning: Actual argument contains too few elements for dummy argument
 'itxt' (1/72) at (1)
 ortep.f:3678:27:

  3678 |       CALL SIMBOL(W,W2,HGT,ITEX,THT,NC)
       |                           1
 Warning: Actual argument contains too few elements for dummy argument
 'itxt' (8/72) at (1)
 ortep.f:2084:16:

  2084 |   945 CALL PROJ(D(1,65),DP(1,65),X,XO,VIEW,1,65,L)
       |                1
 Warning: Actual argument contains too few elements for dummy argument 'd'
 (198/387) at (1)
 ortep.f:2084:24:

  2084 |   945 CALL PROJ(D(1,65),DP(1,65),X,XO,VIEW,1,65,L)
       |                        1
 Warning: Actual argument contains too few elements for dummy argument 'dp'
 (132/258) at (1)
 ortep.f:2117:16:

  2117 |       CALL PROJ(V1,DP,X,XO,VIEW,1,1,1)
       |                1
 Warning: Actual argument contains too few elements for dummy argument 'd'
 (4/387) at (1)
 ortep.f:2123:16:

  2123 |   988 CALL PROJ(DA,DP,X,XO,VIEW,1,3,1)
       |                1
 Warning: Actual argument contains too few elements for dummy argument 'd'
 (9/387) at (1)
 ortep.f:1258:19:

  1258 |       CALL AXEQB(A,V,V,1)
       |                   1
 Warning: Actual argument contains too few elements for dummy argument 'x'
 (3/9) at (1)
 ortep.f:1258:21:

  1258 |       CALL AXEQB(A,V,V,1)
       |                     1
 Warning: Actual argument contains too few elements for dummy argument 'b1'
 (3/9) at (1)
 ortep.f:3934:48:

  3934 |   185 if (nout.ge.0) WRITE (NOUT,176)I,maksym(1,fsym)
       |                                                1
 Warning: Actual argument contains too few elements for dummy argument 'gp'
 (12/2304) at (1)
 ortep.f:576:36:

   576 |       CALL SIMBOL(W(2,1),W(3,1),HGT,' ',0.,-1)
       |                                    1
 Warning: Actual argument contains too few elements for dummy argument
 'itxt' (1/72) at (1)
 ortep.f:577:36:

   577 |       CALL SIMBOL(W(2,2),W(3,2),HGT,' ',0.,-2)
       |                                    1
 Warning: Actual argument contains too few elements for dummy argument
 'itxt' (1/72) at (1)
 ld: warning: directory '/opt/X11/lib' following -L not found
 }}}

 This does not break the build as long as nothing exists at that path, but
 it is unsafe behavior.

-- 
Ticket URL: <https://trac.macports.org/ticket/72308>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list