[MacPorts] #68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open

MacPorts noreply at macports.org
Thu Oct 12 21:12:33 UTC 2023


#68409: libgit2 @1.7.1: Undefined symbols _libiconv _libiconv_close _libiconv_open
-----------------------+---------------------------
  Reporter:  jrabinow  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  sonoma, arm64
      Port:  libgit2   |
-----------------------+---------------------------

Comment (by jrabinow):

 I can deal with port breakage, but I don't go around creating random
 symlinks. Stuff I build/download goes under `/usr/local` (fbinfer and
 docker) if no other choice, `~/bin` if I want it in my PATH, or stays in
 its build directory.

 I might wind up rm -rf ing /opt/local because at this point yes, my system
 is tainted, but this cruft you're so wary of is macports own. That's fine,
 it's not a blame game, let's keep it that way.

 Moving on.

 ```
 $ port provides /opt/local/share/cmake-3.24/Modules/FindIconv.cmake
 /opt/local/share/cmake-3.24/Modules/FindIconv.cmake is provided by: cmake
 $ sudo port uninstall cmake
 Password:
 --->  Deactivating cmake @3.24.4_0
 --->  Cleaning cmake
 --->  Uninstalling cmake @3.24.4_0
 --->  Cleaning cmake
 $ ls -l /opt/local/share/cmake
 lrwxr-xr-x 1 root wheel 11 Dec 14  2022 /opt/local/share/cmake ->
 cmake-3.24/    # I would have expected this to be gone if it was provided
 by the port
 $ sudo rm /opt/local/share/cmake
 $ sudo port install cmake
 [...]
 $ ls -l /opt/local/share/cmake
 ls: cannot access '/opt/local/share/cmake': No such file or directory
 [Exit 2]
 ```

 So indeed, this is an errant symlink issue. Where did it come from? Here,
 the creation date gives us a hint:
 `Dec 14  2022`

 ```
 $ git log --oneline --pretty=reference devel/cmake
 85f77b08dcc (cmake: take co-ownership, to assist @michaelld, 2023-10-07)
 5b8d8ed41e2 (cmake: Update to 3.24.4, 2023-03-14)
 9c0f9ab73a6 (cmake: tweak patches to apply cleanly, 2023-01-04)
 9cac879c1a7 (cmake: update extract rename comment again to be more
 precise, 2022-12-30)
 5e5b4cb4f3f (cmake: fix extract.rename comment to be more accurate,
 2022-12-28)
 4580bcd8cdb (cmake: prepare for 'extract.rename' feature per the comment,
 2022-12-13)
 44aef1f0e46 (cmake: add comment for why the move to C++14, 2022-12-02)
 38f70c2aef5 (cmake: limit livecheck to the current major.minor version,
 2022-12-02)
 b12c4a40155 (cmake: when bootstrapping disable new Python variants,
 2022-11-26)
 d9e3218c0d5 (cmake{,-devel}: fix build before 10.10, 2022-11-26)
 ```

 I update my ports once a week max, and usually once every 2 days or so.
 The symlink was created a day after
 [4580bcd8cdb](https://github.com/macports/macports-
 ports/commit/4580bcd8cdb) so maybe it's related?

 What's https://trac.macports.org/ticket/66415, could this be relevant?

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


More information about the macports-tickets mailing list