New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21098 (closed defect: worksforme)

Opened 6 years ago

Last modified 5 years ago

gd2 @2.0.35_1 autoreconf fails - "This Perl not built to support threads"

Reported by: jwz@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ricci@…
Port: autoconf gd2

Description

port install gd2
--->  Computing dependencies for gd2
--->  Fetching gd2
--->  Verifying checksum(s) for gd2
--->  Extracting gd2
--->  Applying patches to gd2
--->  Configuring gd2
Error: Target org.macports.configure returned: autoreconf failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35" && autoreconf --install " returned error 1
Command output: This Perl not built to support threads
Compilation failed in require at /opt/local/share/automake-1.11/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at /opt/local/share/automake-1.11/Automake/ChannelDefs.pm line 26.
Compilation failed in require at /opt/local/share/automake-1.11/Automake/Configure_ac.pm line 26.
BEGIN failed--compilation aborted at /opt/local/share/automake-1.11/Automake/Configure_ac.pm line 26.
Compilation failed in require at /opt/local/bin/aclocal line 39.
BEGIN failed--compilation aborted at /opt/local/bin/aclocal line 39.
autoreconf: aclocal failed with exit status: 255

Error: Status 1 encountered during processing.
Exit 1

Attachments

gd2.txt (54.8 KB) - added by jwz@… 6 years ago.
build log

Change History

comment:1 Changed 6 years ago by jmr@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Version 1.8.0 deleted
  • Port set to gd2

comment:2 Changed 6 years ago by ryandesign@…

It builds for me on Snow Leopard. Did you upgrade from Leopard? If so, did you follow the instructions on the Migration page? If so, and you still see the problem, please clean gd2 and try again with the debug switch so that we see more information.

sudo port clean gd2
sudo port -d install gd2 2>&1 | tee ~/Desktop/gd2.txt

Then attach gd2.txt from your desktop to your reply email.

comment:3 Changed 6 years ago by jwz@…

I did upgrade. And after doing the "Migration" fire drill, now it builds, thanks!

(I had re-installed the Macports dmg, then done "port selfupdate; port upgrade outdated". Apparently that works for most ports, but not all...)

comment:4 Changed 6 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid

Ok, thanks.

Changed 6 years ago by jwz@…

build log

comment:5 Changed 6 years ago by jwz@…

Sorry, I spoke too soon. It still doesn't build. I'm having the same problem with faac (#21112) and ghostscript (#21111) for what it's worth. But many other ports installed fine. Build log attached.

(Apparently I don't have permission to "reopen"?)

comment:6 Changed 6 years ago by ryandesign@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

Are any of the perl5, perl5.8 or perl5.10 ports installed? If so, were they rebuilt?

comment:7 Changed 6 years ago by jwz@…

Yes:

perl5                          @5.8.9          lang/perl5
perl5.10                       @5.10.1         lang/perl5.10
perl5.8                        @5.8.9          lang/perl5.8

I rebuilt them when I went through the "Migration" fire drill. I guess I'll try rebuilding them again...

comment:8 Changed 6 years ago by jwz@…

I cleaned and re-installed perl5, perl5.10 and perl5.8, and gd2 still fails with the same error.

comment:9 Changed 6 years ago by ryandesign@…

  • Cc ram@…, ricci@… added

It works fine for me on Snow Leopard so I don't know what's going on.

Somebody should please consolidate all these "This Perl not built to support threads" tickets into a single one. It is apparently an autoreconf/perl issue, and is not specific to any of the ports experiencing the error.

comment:10 Changed 6 years ago by ricci@…

perl can be built with threading (+threads), which would solve this problem. I don't think that's something we want to enable by default (perl +threads).

comment:11 Changed 6 years ago by jwz@…

Ok, that got gd2 to install, thanks! The question remains of why gd2 (or autoreconf) is insisting on a perl with threads. And of why, if this is really required, it is not reflected in the dependencies.

comment:12 Changed 6 years ago by ryandesign@…

It is not possible to declare a dependency on a variant; that's issue #126.

But as I've said everything works fine for me. I do not have the perl ports installed with any variant. So I remain at a loss to explain the failure on your system.

comment:13 Changed 6 years ago by ram@…

  • Cc ram@… removed

comment:14 Changed 5 years ago by jmr@…

  • Status changed from reopened to closed
  • Resolution set to worksforme
  • Port changed from gd2 to autoconf gd2
  • Summary changed from gd2 @2.0.35_1 does not build on macos 10.6 to gd2 @2.0.35_1 autoreconf fails - "This Perl not built to support threads"

Closing this ticket given its age and lack of working steps to reproduce.

Note: See TracTickets for help on using tickets.