Noticed build failure on hppa: * http-parser-1.2.2.gem BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... * Running unpack phase for all ... * Unpacking .gem file... ... [ ok ] * Uncompressing metadata ... [ ok ] * Unpacking data.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/http-parser-1.2.2/work >>> Preparing source in /var/tmp/portage/dev-ruby/http-parser-1.2.2/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby25 ... * Running source copy phase for ruby26 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/http-parser-1.2.2/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/http-parser-1.2.2/work ... * Running compile phase for ruby25 ... mkdir -p hppa2.0-linux/http-parser hppa2.0-unknown-linux-gnu-gcc -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -Wall -Wextra -O3 -fPIC -o hppa2.0-linux/http-parser/http_parser.o -c ./http-parser/http_parser.c hppa2.0-unknown-linux-gnu-gcc -shared -o hppa2.0-linux/libhttp-parser-ext.so hppa2.0-linux/http-parser/http_parser.o -fexceptions mv: не удалось выполнить stat для 'ext/x86_64-linux/libhttp-parser-ext.so': Нет такого файла или каталога (it's "no such file or directory"). DId not check where 'x86_64-linux' leaked out yet.
Thanks, I hit this too and didn’t get to report it yet!
Oh, it's right in the ebuild: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-ruby/http-parser/http-parser-1.2.2.ebuild#n28 ``` each_ruby_compile() { ${RUBY} -C ext -S rake || die mv ext/x86_64-linux/libhttp-parser-ext.so lib/http-parser/ || die } ```
(In reply to Sergei Trofimovich from comment #2) > Oh, it's right in the ebuild: > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-ruby/http-parser/http- > parser-1.2.2.ebuild#n28 > > ``` > each_ruby_compile() { > ${RUBY} -C ext -S rake || die > mv ext/x86_64-linux/libhttp-parser-ext.so lib/http-parser/ || die > } > ``` Yes, sorry, that was for initial testing and I later didn't realise that was still in. Should hopefully be fixed now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01df953bffa5d4b40ed18d497351ee0bd081dde1 commit 01df953bffa5d4b40ed18d497351ee0bd081dde1 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-01-10 08:08:36 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-01-10 08:08:36 +0000 dev-ruby/http-parser: don't hardcode build platform Closes: https://bugs.gentoo.org/763978 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/http-parser/http-parser-1.2.2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)