[MacPorts] #64705: libidn fails to build

MacPorts noreply at macports.org
Mon Feb 21 19:29:10 UTC 2022


#64705: libidn fails to build
---------------------+----------------------
  Reporter:  metbic  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:  yosemite
      Port:  libidn  |
---------------------+----------------------

Old description:

> Hello all. Greetings!
>
> Tried to upgrade the all-popular inkscape.
>
> Went alright until hit the snag with libidn.
>
> Error message states:
>
> {{{
> --->  Building libidn
> Error: Failed to build libidn: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_libidn/libidn/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> }}}
>
> I cannot uninstall and re-install because I fear it will destroy
> ghostscript.
>
> {{{
>
> Note: It is not recommended to uninstall/deactivate a port that has
> dependents as it breaks the dependents.
> The following ports will break:
>  p5.26-net-libidn @0.120.0_5
>  p5.28-net-libidn @0.120.0_5
>  ghostscript @9.53.3_1
> }}}
>

> There is no maintainer.
>
> Does it have to do with the thread about libidn2?
> [https://trac.macports.org/ticket/63309]
>
> Thank you and forgive me if I forgot to report something.
>

>
> best regards \\
> metbic

New description:

 Hello all. Greetings!

 Tried to upgrade the all-popular inkscape.

 Went alright until hit the snag with libidn.

 Error message states:

 {{{
 --->  Building libidn
 Error: Failed to build libidn: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_libidn/libidn/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 I cannot uninstall and re-install because I fear it will destroy
 ghostscript.

 {{{

 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break:
  p5.26-net-libidn @0.120.0_5
  p5.28-net-libidn @0.120.0_5
  ghostscript @9.53.3_1
 }}}


 There is no maintainer.

 Does it have to do with the thread about libidn2?
 #63309

 Thank you and forgive me if I forgot to report something.



 best regards \\
 metbic

--

Comment (by ryandesign):

 Replying to [ticket:64705 metbic]:
 > Does it have to do with the thread about libidn2?
 > #63309

 Nothing whatsoever.


 Replying to [comment:2 evanmiller]:
 > This issue looks similar: https://legacy.imagemagick.org/discourse-
 server/viewtopic.php?t=28136
 >
 > Apparently there is supposed to be a {{{global_symbol_pipe}}} variable
 that is defined during configure, but that's not happening for some
 reason. This is a good explanation, though it lacks a solution:
 >
 > https://lists.gnu.org/archive/html/bug-libtool/2015-07/msg00000.html

 That bug-libtool post says "it only occurs due to outside influences". If
 that's so, maybe building with trace mode would hide those outside
 influences from the build.

 {{{
 sudo port clean libidn
 sudo port -t upgrade libidn
 }}}


 Replying to [comment:12 metbic]:
 > it's already too late ...  the older version is no longer there
 >
 > {{{
 > port installed libidn
 > The following ports are currently installed:
 >   libidn @1.36_0+universal (active)
 >
 > }}}

 If the older version is no longer installed then indeed you cannot follow
 the steps in the first section of that wiki page, "Reactivating an older
 version that's still installed", but you can follow the steps in the
 subsequent section, "(Re)installing an older version that's no longer
 installed". However, reinstalling older versions of ports is not the
 intended solution for issues; we should try to figure out what is wrong
 and fix it with the current versions.

 However, you've shown above that you have libidn 1.36 installed, which is
 not the current version; the current version is 1.38. The updates to 1.37
 and then 1.38 were made in 2021.

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


More information about the macports-tickets mailing list