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)
Change History (15)
Changed 10 years ago by harciga
comment:1 Changed 10 years ago by Schamschula (Marius Schamschula)
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: | new → closed |
Thanks. r128062.
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 follow-up: 7 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 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 follow-up: 9 Changed 9 years ago by larryv (Lawrence Velázquez)
Port: | gnutls, autoconf → gnutls autoconf |
---|
Is this still an issue? The autoconf
port uses the system Perl now.
comment:9 follow-up: 10 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 follow-up: 11 Changed 9 years ago by larryv (Lawrence Velázquez)
Revert which change? r128062?
comment:11 follow-up: 12 Changed 9 years ago by Schamschula (Marius Schamschula)
comment:13 Changed 9 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Looks like perl is a build dependency.