Opened 15 years ago

Closed 14 years ago

#21098 closed defect (worksforme)

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

Reported by: yesthatjwz (Jamie Zawinski) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ghosthound
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 (1)

gd2.txt (54.8 KB) - added by yesthatjwz (Jamie Zawinski) 15 years ago.
build log

Download all attachments as: .zip

Change History (15)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Port: gd2 added
Version: 1.8.0

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 years ago by yesthatjwz (Jamie Zawinski)

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, thanks.

Changed 15 years ago by yesthatjwz (Jamie Zawinski)

Attachment: gd2.txt added

build log

comment:5 Changed 15 years ago by yesthatjwz (Jamie Zawinski)

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: closedreopened

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

comment:7 Changed 15 years ago by yesthatjwz (Jamie Zawinski)

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 15 years ago by yesthatjwz (Jamie Zawinski)

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

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 years ago by ghosthound

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 15 years ago by yesthatjwz (Jamie Zawinski)

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 years ago by skymoo (Adam Mercer)

Cc: ram@… removed

comment:14 Changed 14 years ago by jmroot (Joshua Root)

Port: autoconf added
Resolution: worksforme
Status: reopenedclosed
Summary: gd2 @2.0.35_1 does not build on macos 10.6gd2 @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.