[MacPorts] #68359: py27-numpy @1.16.6_3+gfortran+openblas: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'

MacPorts noreply at macports.org
Tue Oct 10 08:49:25 UTC 2023


#68359: py27-numpy @1.16.6_3+gfortran+openblas: ld: duplicate LC_RPATH
'/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'
-------------------------+--------------------
  Reporter:  afield1235  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  sonoma
      Port:  py27-numpy  |
-------------------------+--------------------

Comment (by lukaso):

 {{{
 $ otool -l /Users/user/macports-gimp3-x86_64/lib/libopenblas-r1.dylib
 (master $%=)
 /Users/user/macports-gimp3-x86_64/lib/libopenblas-r1.dylib:
 Load command 0
       cmd LC_SEGMENT_64
   cmdsize 632
   segname __TEXT
    vmaddr 0x0000000000000000
    vmsize 0x0000000000e20000
   fileoff 0
  filesize 14811136
   maxprot 0x00000005
  initprot 0x00000005
    nsects 7
     flags 0x0
 Section
   sectname __text
    segname __TEXT
       addr 0x00000000000021c0
       size 0x0000000000c90156
     offset 8640
      align 2^5 (32)
     reloff 0
     nreloc 0
      flags 0x80000400
  reserved1 0
  reserved2 0
 Section
   sectname __text_startup
    segname __TEXT
       addr 0x0000000000c92318
       size 0x0000000000000f8e
     offset 13181720
      align 2^2 (4)
     reloff 0
     nreloc 0
      flags 0x80000400
  reserved1 0
  reserved2 0
 Section
   sectname __stubs
    segname __TEXT
       addr 0x0000000000c932a6
       size 0x00000000000001ce
     offset 13185702
      align 2^1 (2)
     reloff 0
     nreloc 0
      flags 0x80000408
  reserved1 0 (index into indirect symbol table)
  reserved2 6 (size of stubs)
 Section
   sectname __init_offsets
    segname __TEXT
       addr 0x0000000000c93474
       size 0x000000000000000c
     offset 13186164
      align 2^2 (4)
     reloff 0
     nreloc 0
      flags 0x00000016
  reserved1 0
  reserved2 0
 Section
   sectname __const
    segname __TEXT
       addr 0x0000000000c93480
       size 0x0000000000012a00
     offset 13186176
      align 2^7 (128)
     reloff 0
     nreloc 0
      flags 0x00000000
  reserved1 0
  reserved2 0
 Section
   sectname __cstring
    segname __TEXT
       addr 0x0000000000ca5e80
       size 0x000000000000b556
     offset 13262464
      align 2^0 (1)
     reloff 0
     nreloc 0
      flags 0x00000002
  reserved1 0
  reserved2 0
 Section
   sectname __eh_frame
    segname __TEXT
       addr 0x0000000000cb13d8
       size 0x000000000016ec20
     offset 13308888
      align 2^3 (8)
     reloff 0
     nreloc 0
      flags 0x00000000
  reserved1 0
  reserved2 0
 Load command 1
       cmd LC_SEGMENT_64
   cmdsize 232
   segname __DATA_CONST
    vmaddr 0x0000000000e20000
    vmsize 0x0000000000008000
   fileoff 14811136
  filesize 32768
   maxprot 0x00000003
  initprot 0x00000003
    nsects 2
     flags 0x10
 Section
   sectname __got
    segname __DATA_CONST
       addr 0x0000000000e20000
       size 0x0000000000000278
     offset 14811136
      align 2^3 (8)
     reloff 0
     nreloc 0
      flags 0x00000006
  reserved1 77 (index into indirect symbol table)
  reserved2 0
 Section
   sectname __const
    segname __DATA_CONST
       addr 0x0000000000e20280
       size 0x0000000000007298
     offset 14811776
      align 2^4 (16)
     reloff 0
     nreloc 0
      flags 0x00000000
  reserved1 0
  reserved2 0
 Load command 2
       cmd LC_SEGMENT_64
   cmdsize 312
   segname __DATA
    vmaddr 0x0000000000e28000
    vmsize 0x000000000000c000
   fileoff 14843904
  filesize 16384
   maxprot 0x00000003
  initprot 0x00000003
    nsects 3
     flags 0x0
 Section
   sectname __data
    segname __DATA
       addr 0x0000000000e28000
       size 0x0000000000003ca0
     offset 14843904
      align 2^5 (32)
     reloff 0
     nreloc 0
      flags 0x00000000
  reserved1 0
  reserved2 0
 Section
   sectname __bss
    segname __DATA
       addr 0x0000000000e2bd00
       size 0x0000000000004688
     offset 0
      align 2^7 (128)
     reloff 0
     nreloc 0
      flags 0x00000001
  reserved1 0
  reserved2 0
 Section
   sectname __common
    segname __DATA
       addr 0x0000000000e30400
       size 0x00000000000000b0
     offset 0
      align 2^7 (128)
     reloff 0
     nreloc 0
      flags 0x00000001
  reserved1 0
  reserved2 0
 Load command 3
       cmd LC_SEGMENT_64
   cmdsize 72
   segname __LINKEDIT
    vmaddr 0x0000000000e34000
    vmsize 0x0000000000080000
   fileoff 14860288
  filesize 511464
   maxprot 0x00000001
  initprot 0x00000001
    nsects 0
     flags 0x0
 Load command 4
           cmd LC_ID_DYLIB
       cmdsize 96
          name /Users/user/macports-gimp3-x86_64/lib/libopenblas-r1.dylib
 (offset 24)
    time stamp 1 Thu Jan  1 01:00:01 1970
       current version 0.0.0
 compatibility version 0.0.0
 Load command 5
       cmd LC_DYLD_CHAINED_FIXUPS
   cmdsize 16
   dataoff 14860288
  datasize 1296
 Load command 6
       cmd LC_DYLD_EXPORTS_TRIE
   cmdsize 16
   dataoff 14861584
  datasize 79928
 Load command 7
      cmd LC_SYMTAB
  cmdsize 24
   symoff 14965408
    nsyms 15907
   stroff 15220544
  strsize 151208
 Load command 8
             cmd LC_DYSYMTAB
         cmdsize 80
       ilocalsym 0
       nlocalsym 10848
      iextdefsym 10848
      nextdefsym 4979
       iundefsym 15827
       nundefsym 80
          tocoff 0
            ntoc 0
       modtaboff 0
         nmodtab 0
    extrefsymoff 0
     nextrefsyms 0
  indirectsymoff 15219920
   nindirectsyms 156
       extreloff 0
         nextrel 0
       locreloff 0
         nlocrel 0
 Load command 9
      cmd LC_UUID
  cmdsize 24
     uuid 4AA4A3AD-A3C7-3C29-94A0-7913F26DBC94
 Load command 10
       cmd LC_BUILD_VERSION
   cmdsize 32
  platform 1
     minos 13.0
       sdk n/a
    ntools 1
      tool 3
   version 907.0
 Load command 11
       cmd LC_SOURCE_VERSION
   cmdsize 16
   version 0.0
 Load command 12
           cmd LC_LOAD_DYLIB
       cmdsize 56
          name @rpath/libgfortran.5.dylib (offset 24)
    time stamp 2 Thu Jan  1 01:00:02 1970
       current version 6.0.0
 compatibility version 6.0.0
 Load command 13
           cmd LC_LOAD_DYLIB
       cmdsize 56
          name @rpath/libquadmath.0.dylib (offset 24)
    time stamp 2 Thu Jan  1 01:00:02 1970
       current version 1.0.0
 compatibility version 1.0.0
 Load command 14
           cmd LC_LOAD_DYLIB
       cmdsize 56
          name /usr/lib/libSystem.B.dylib (offset 24)
    time stamp 2 Thu Jan  1 01:00:02 1970
       current version 1319.100.3
 compatibility version 1.0.0
 Load command 15
           cmd LC_LOAD_DYLIB
       cmdsize 56
          name @rpath/libgcc_s.1.1.dylib (offset 24)
    time stamp 2 Thu Jan  1 01:00:02 1970
       current version 1.1.0
 compatibility version 1.0.0
 Load command 16
           cmd LC_RPATH
       cmdsize 72
          path /Users/user/macports-gimp3-x86_64/lib/libgcc (offset 12)
 Load command 17
           cmd LC_RPATH
       cmdsize 72
          path /Users/user/macports-gimp3-x86_64/lib/libgcc (offset 12)
 Load command 18
           cmd LC_RPATH
       cmdsize 32
          path @loader_path (offset 12)
 Load command 19
           cmd LC_RPATH
       cmdsize 64
          path /Users/user/macports-gimp3-x86_64/lib (offset 12)
 Load command 20
           cmd LC_RPATH
       cmdsize 104
          path /Users/user/macports-gimp3-x86_64/lib/gcc13/gcc/x86_64
 -apple-darwin22/13.2.0 (offset 12)
 Load command 21
           cmd LC_RPATH
       cmdsize 72
          path /Users/user/macports-gimp3-x86_64/lib/gcc13 (offset 12)
 Load command 22
       cmd LC_FUNCTION_STARTS
   cmdsize 16
   dataoff 14941512
  datasize 23624
 Load command 23
       cmd LC_DATA_IN_CODE
   cmdsize 16
   dataoff 14965136
  datasize 272
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68359#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list