Opened 10 years ago

Closed 9 years ago

#45866 closed defect (fixed)

gnutls @3.3.10 fails to build

Reported by: harciga Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: haspatch maintainer Cc: larryv (Lawrence Velázquez)
Port: gnutls autoconf

Description

log file attached

Attachments (2)

main.log (20.6 KB) - added by harciga 10 years ago.
Portfile-gnutls.diff (332 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.

Download all attachments as: .zip

Change History (15)

Changed 10 years ago by harciga

Attachment: main.log added

comment:1 Changed 10 years ago by Schamschula (Marius Schamschula)

Looks like perl is a build dependency.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: mschamschula@… removed
Owner: changed from macports-tickets@… to mschamschula@…

"perl" is not a port in Macports. While you probably meant "perl5", you need to specify the version of perl to use. "perl5.16" is currently the default and the correct version to use.

comment:3 Changed 10 years ago by Schamschula (Marius Schamschula)

Thanks for the reminder on perl: fixed.

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-gnutls.diff added

comment:4 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added
Resolution: fixed
Status: newclosed

Thanks. r128062.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

You've only added a dependency on perl5.16. You haven't added any code to make the port actually use this version of perl.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: larryv@… added
Port: autoconf added

And in fact the bug is not in gnutls but in autoconf, since the log says:

:info:configure sh: /opt/local/bin/autoreconf: /opt/local/bin/perl: bad interpreter: No such file or directory

comment:7 in reply to:  6 Changed 10 years ago by larryv (Lawrence Velázquez)

The dependency on perl5 is not ideal (and I’ll think about how best to improve it), but if you do have perl5 installed, then how do you not have /opt/local/bin/perl?

% port installed perl5
The following ports are currently installed:
  perl5 @5.12.4_0+perl5_16 (active)
% port contents perl5 | grep 'bin/perl$'
  /opt/local/bin/perl
% ls -l /opt/local/bin/perl
lrwxr-xr-x  1 root  admin     8B Oct 19 01:32 /opt/local/bin/perl@ -> perl5.16
%

comment:8 Changed 9 years ago by larryv (Lawrence Velázquez)

Port: gnutls, autoconfgnutls autoconf

Is this still an issue? The autoconf port uses the system Perl now.

comment:9 in reply to:  8 ; Changed 9 years ago by Schamschula (Marius Schamschula)

Replying to larryv@…:

Is this still an issue? The autoconf port uses the system Perl now.

I just test built gnutls 3.3.15, and, indeed, this is no longer an issue.

This change can be reverted.

comment:10 in reply to:  9 ; Changed 9 years ago by larryv (Lawrence Velázquez)

Revert which change? r128062?

comment:11 in reply to:  10 ; Changed 9 years ago by Schamschula (Marius Schamschula)

Replying to larryv@…:

Revert which change? r128062?

Yes.

comment:12 in reply to:  11 Changed 9 years ago by larryv (Lawrence Velázquez)

Okay, cool. r137311

comment:13 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.