pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/59444 (textproc/ruby-nokogiri fails to install)



The following reply was made to PR pkg/59444; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: wiz%NetBSD.org@localhost, triaxx%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/59444 (textproc/ruby-nokogiri fails to install)
Date: Tue, 27 May 2025 19:13:21 +0900

 Both of you said that "rl" was specified for ${ARFLAGS}:
 
 https://mail-index.netbsd.org/pkgsrc-bugs/2025/05/26/msg074055.html
 >> ar rl libgumbo.a ascii.o  attribute.o  char_ref.o  error.o  foreign_attrs.o  parser.o  string_buffer.o  string_piece.o  svg_attrs.o  svg_tags.o  tag.o  tag_lookup.o  token_buffer.o  tokenizer.o  utf8.o  util.o  vector.o
 >> ar: ascii.o: file format not recognized
 >> *** Error code 1
 
 https://mail-index.netbsd.org/pkgsrc-users/2023/12/27/msg038653.html
 >> ar rl libgumbo.a ascii.o  attribute.o  char_ref.o  error.o  foreign_attrs.o  parser.o  string_buffer.o  string_piece.o  svg_attrs.o  svg_tags.o  tag.o  tag_lookup.o  token_buffer.o  tokenizer.o  utf8.o  util.o  vector.o
 >> ar: ascii.o: file format not recognized
 >> *** Error code 1
 
 I cannot reproduce it here (NetBSD/i386 10.1 and pkgsrc-2025Q1 based) and
 work.i386/.inst/usr/pkg/lib/ruby/gems/3.2.0/gems/nokogiri-1.18.8/ext/nokogiri/tmp/i486--netbsdelf/ports/libgumbo/1.0.0-nokogiri/compile.log said:
 
 >> ar r libgumbo.a ascii.o  attribute.o  char_ref.o  error.o  foreign_attrs.o  parser.o  string_buffer.o  string_piece.o  svg_attrs.o  svg_tags.o  tag.o  tag_lookup.o  token_buffer.o  tokenizer.o  utf8.o  util.o  vector.o
 >> ar: creating libgumbo.a
 >> (ranlib libgumbo.a || true) >/dev/null 2>&1
 
 As noted in the following message
 https://mail-index.netbsd.org/pkgsrc-users/2023/12/27/msg038656.html
 
 "MAKE_ENV+= ARFLAGS=r" in Makefile might help for newer binutils, but
 do you know where/how "rl" for ARFLAGS comes from in your environments?
 
 Thanks,
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index