Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14951 (closed enhancement: fixed)

Opened 8 months ago

Last modified 3 weeks ago

whois update to 4.7.26

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone: Port Updates
Component: ports Version: 1.6.0
Keywords: Cc:
Port: whois

Description

whois 4.7.26 is out. But I can't update the port to it because it won't compile:

--->  Fetching whois
--->  Verifying checksum(s) for whois
--->  Extracting whois
--->  Configuring whois
--->  Building whois with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_whois/work/whois-4.7.26" && make all " returned error 2
Command output: cc -DENABLE_NLS -I/opt/local/include -MM -MG *.c > Makefile.depend
perl -w make_ip_del.pl < ip_del_list > ip_del.h
perl -w make_ip6_del.pl < ip6_del_list > ip6_del.h
perl -w make_as_del.pl < as_del_list > as_del.h
perl -w make_tld_serv.pl < tld_serv_list > tld_serv.h
cc -DENABLE_NLS -I/opt/local/include -O2 -c whois.c
cc -DENABLE_NLS -I/opt/local/include -O2 -c utils.c
cc -L/opt/local/lib -lintl  -o whois whois.o utils.o
cc -DENABLE_NLS -I/opt/local/include -O2 -c mkpasswd.c
cc -L/opt/local/lib -lintl -lcrypt -o mkpasswd mkpasswd.o utils.o
/usr/bin/ld: can't locate file for: -lcrypt
collect2: ld returned 1 exit status
make: *** [mkpasswd] Error 1

Error: Unable to upgrade port: 1

I can't find a changelog, but it seems that 4.7.26 now builds mkpasswd by default, and to build mkpasswd it adds -lcrypt to the LDFLAGS, and this option is not supported in Mac OS X.

Attachments

whois-4.7.26.txt (5.0 KB) - added by ryandesign@… 4 months ago.
my conversation with the developer about this issue

Change History

Changed 8 months ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

According to this message, there is no libcrypt because the crypt function is already in the system's C library, so -lcrypt can simply be omitted. I added a patch to accomplish this and committed the update to 4.7.26 in r35825. I'll inform the developer of the software of this problem.

Changed 4 months ago by ryandesign@…

The developer indicated that we are meant to patch the Makefile as appropriate to our operating system, so the patch will remain in the port indefinitely.

Changed 4 months ago by ryandesign@…

my conversation with the developer about this issue

Changed 3 weeks ago by ryandesign@…

  • port set to whois
Note: See TracTickets for help on using tickets.