pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ruby-nokogiri build problem: ar doesn't accept file
Hi!
When I try building ruby-nokogiri (doesn't matter if Ruby 3.1 or 3.2),
on NetBSD-10.99.10/amd64, I get:
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri.
Configuration options: --enable-shared --disable-static
Copying gumbo-parser files into tmp/x86_64--netbsd/ports/libgumbo/1.0.0-nokogiri/gumbo-parser...
Running 'compile' for libgumbo 1.0.0-nokogiri... ERROR. Please review logs to see what happened:
----- contents of '/scratch/textproc/ruby-nokogiri/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.5/ext/nokogiri/tmp/x86_64--netbsd/ports/libgumbo/1.0.0-nokogiri/compile.log' -----
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c ascii.c -o ascii.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c attribute.c -o attribute.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c char_ref.c -o char_ref.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c error.c -o error.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c foreign_attrs.c -o foreign_attrs.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c parser.c -o parser.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c string_buffer.c -o string_buffer.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c string_piece.c -o string_piece.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c svg_attrs.c -o svg_attrs.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c svg_tags.c -o svg_tags.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c tag.c -o tag.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c tag_lookup.c -o tag_lookup.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c token_buffer.c -o token_buffer.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c tokenizer.c -o tokenizer.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c utf8.c -o utf8.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c util.c -o util.o
gcc -O2 -g -pthread -I/usr/pkg/include -I/usr/include -fPIC -O2 -g -std=c99 -Wall -I/usr/pkg/include/libxml2 -g -I/usr/pkg/include -I/usr/include -c vector.c -o vector.o
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
The file is
work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.5/ext/nokogiri/tmp/x86_64--netbsd/ports/libgumbo/1.0.0-nokogiri/gumbo-parser/ascii.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped
and it's built this way:
/scratch/textproc/ruby-nokogiri/work/.gcc/bin/gcc -fcommon -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-zrelro -fPIC -O2 -g -pthread -I/scratch/textproc/ruby-nokogiri/work/.buildlink/include -fPIC -O2 -g -std=c99 -Wall -I/scratch/textproc/ruby-nokogiri/work/.buildlink/include/libxml2 -g -c ascii.c -o ascii.o
Why doesn't ar like it?
Thomas
Home |
Main Index |
Thread Index |
Old Index