Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-05-08 Thread sun min
Hi,

My sbuild chroot is deployed within Windows Subsystem Linux, I have 16GB 
physical memory.

Yes I suspect it is related to the memory issue and checked the 
debian/patches/reduce-memory-overheads.patch.
Besides, I also tried to modify Debian/rules  and declared  
EXTRA_CMAKE_ARGUMENTS += -DUSE_LD_GOLD=OFF, but I still failed  to build.

I think this failure  is related to my personal build env, now that the buildd 
for riscv64 can pass , this bug can be closed ,thank you!


Best wishes,
--
sun min


From: Alberto Garcia 
Sent: Tuesday, May 9, 2023 2:12
To: sun min
Cc: 1035...@bugs.debian.org
Subject: Re: Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end 
of file; missing .cfi_endproc directive

On Mon, May 01, 2023 at 05:18:39AM +, sun min wrote:
> I get the package source with below command:
> dget http://deb.debian.org/debian/pool/main/w/wpewebkit/wpewebkit_2.38.6-1.dsc

I have seen people reporting the same bug when building other projects
and it seems that this could be hardware or memory related... how much
RAM do you have to build WebKit?

Berto


Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-05-08 Thread Alberto Garcia
On Mon, May 01, 2023 at 05:18:39AM +, sun min wrote:
> I get the package source with below command:
> dget http://deb.debian.org/debian/pool/main/w/wpewebkit/wpewebkit_2.38.6-1.dsc

I have seen people reporting the same bug when building other projects
and it seems that this could be hardware or memory related... how much
RAM do you have to build WebKit?

Berto



Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-04-30 Thread sun min
Hi, Alberto:

My host info are as follows:
uname -a
Linux Debian 5.10.102.1-microsoft-standard-WSL2+ #3 SMP Fri Apr 22 17:24:10 CST 
2022 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux bookworm/sid
Release:unstable
Codename:   sid

My sbuild env is created using this command:
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=riscv64 \
--include=debian-ports-archive-keyring,ca-certificates  \
--make-sbuild-tarball=/srv/sid-riscv64-sbuild.tgz \
sid \
http://ftp.ports.debian.org/debian-ports/

I get the package source with below command:
dget http://deb.debian.org/debian/pool/main/w/wpewebkit/wpewebkit_2.38.6-1.dsc

And launch the sbuild:
sudo update-binfmts –enable
sudo sbuild --source --arch=riscv64 -c sid-riscv64-sbuild

My local build stopped around [1833/6141] while the
  buildd  finished at [6132/6132].

Best wishes,
--
sun min


From: Alberto Garcia 
Sent: Saturday, April 29, 2023 19:57
To: sun min; 1035...@bugs.debian.org
Subject: Re: Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end 
of file; missing .cfi_endproc directive

Control: tags -1 moreinfo

On Fri, Apr 28, 2023 at 05:57:34AM +, sun min wrote:
> Source: wpewebkit
> Version: 2.38.6-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
>
> Dear Maintainer,
>
> My sbuild for risv64 archtecture log says:

Hi, wpewebkit 2.38.x has been building fine in riscv64 for a while
without many problems:

   https://buildd.debian.org/status/logs.php?pkg=wpewebkit=riscv64

There was a failure in November 2022 seemingly because of a compiler
bug, but that's about it.

What is the exact environment that you are using to build webkit?

Berto



Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-04-29 Thread Alberto Garcia
Control: tags -1 moreinfo

On Fri, Apr 28, 2023 at 05:57:34AM +, sun min wrote:
> Source: wpewebkit
> Version: 2.38.6-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> 
> Dear Maintainer,
> 
> My sbuild for risv64 archtecture log says:

Hi, wpewebkit 2.38.x has been building fine in riscv64 for a while
without many problems:

   https://buildd.debian.org/status/logs.php?pkg=wpewebkit=riscv64

There was a failure in November 2022 seemingly because of a compiler
bug, but that's about it.

What is the exact environment that you are using to build webkit?

Berto



Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-04-28 Thread sun min
> My sbuild for risv64 archtecture log says:
>
> {standard input}: Assembler messages:
> {standard input}:2844: Warning: end of file not at end of a line; newline 
> inserted
> {standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
> directive
> c++: fatal error: Killed signal terminated program cc1plus

I build again, this time I can’t find any clear failure reason.
It complains : “c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.”


Best wishes,
--
sun min



Bug#1035042: wpewebkit: ftbfs riscv64 Error: open CFI at the end of file; missing .cfi_endproc directive

2023-04-28 Thread sun min
Source: wpewebkit
Version: 2.38.6-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

My sbuild for risv64 archtecture log says:

{standard input}: Assembler messages:
{standard input}:2844: Warning: end of file not at end of a line; newline 
inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
directive
c++: fatal error: Killed signal terminated program cc1plus

I guess the below file caused the build failure.

Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.cpp

It seems that build for alpha failed for the same reason.

Thanks !

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: riscv64



Best wishes,
--
sun min