Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14951 closed update (fixed)

whois update to 4.7.26

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
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 (1)

whois-4.7.26.txt (5.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 16 years ago.
my conversation with the developer about this issue

Download all attachments as: .zip

Change History (6)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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.

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

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

Attachment: whois-4.7.26.txt added

my conversation with the developer about this issue

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Port: whois added

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:5 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.