Bug#1009969: openvswitch: FTBFS on riscv64

2022-04-21 Thread vimer
Source: openvswitch
Version: 2.15.0
Severity: normal

openvswitch FTBFS on riscv64:

| #define HAVE_STRUCT_TCF_T_FIRSTUSE 1
| #define HAVE_TCA_VLAN_PUSH_VLAN_PRIORITY 1
| #define HAVE_TCA_MPLS_TTL 1
| #define HAVE_TCA_TUNNEL_KEY_ENC_TTL 1
| #define HAVE_TCA_PEDIT_KEY_EX_HDR_TYPE_UDP 1
| #define HAVE_TCA_SKBEDIT_FLAGS 1
| #define HAVE_SCTP_CONNTRACK_HEARTBEATS 1
| #define HAVE_VIRTIO_TYPES 1
| #define HAVE_PRAGMA_MESSAGE 1
|
| configure: exit 0

make[1]: *** [debian/rules:170: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<>'
make: *** [debian/rules:9: build-arch] Error 2


The ull build log is available from:

https://buildd.debian.org/status/fetch.php?pkg=openvswitch=riscv64=2.15.0%2Bds1-10=1650281874=0



Bug#994245: nodejs: improve bootstraping nodejs

2022-03-13 Thread vimer

On Mon, Mar 14, 2022 at 02:25:14AM +0100, Jérémy Lal wrote:

Package: nodejs
Followup-For: Bug #994245
X-Debbugs-Cc: Bo YU 

Hi,

recently Bo YU has worked on building nodejs 14 for riscv64.

Bo, you can tell us here what you achieved, and what's blocking you right now ?

hi,

I try to build the pkg-js-tools package firstly as you suggested to solve
dependency of nodejs. But I was blocked by fowllow error:

1. DEB_BUILD_PROFILES="nocheck"
2. sudo sbuild --arch=riscv64 -d sid-riscv64-sbuild 
--extra-package=/home/vimer/nodejs_riscv64_debs/
the ` --extra-package`  argument is path the point to  riscv64 nodejs-* deb 
packages last time build. It seem like to start build, but at last get:
···
dh_auto_configure: error: unable to load build system class 'nodejs': Can't locate JSON.pm in @INC (you may need to 
install the JSON module) (@INC contains: /<>/blib/lib 
/<>/blib/arch /etc/perl /usr/local/lib/riscv64-linux-gnu/perl/5.34.0 
/usr/local/share/perl/5.34.0 /usr/lib/riscv64-linux-gnu/perl5/5.34 /usr/share/perl5 
/usr/lib/riscv64-linux-gnu/perl-base /usr/lib/riscv64-linux-gnu/perl/5.34 /usr/share/perl/5.34 
/usr/local/lib/site_perl .) at /<>/blib/lib/Debian/Debhelper/Buildsystem/nodejs.pm line 12.
BEGIN failed--compilation aborted at 
/<>/blib/lib/Debian/Debhelper/Buildsystem/nodejs.pm line 12.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.

dh_additional.t: error: dh_auto_configure --buildsystem=nodejs subprocess 
returned exit status 25
# Looks like your test exited with 25 before it could output anything.
t/dh_additional.t ..
1..19
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 19/19 subtests
...

I'm wondering if I should try this solution:
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=939521;filename=openjdk-11_11.0.5%2B6-1.1.debdiff;msg=5
BTW, I have replyed the another mail thread to send help solve above issue :-)

thanks,

Bo



Thanks,

Jérémy


-- System Information:
Debian Release: bookworm/sid
 APT prefers stable-security
 APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nodejs depends on:
ii  libc6  2.33-7
ii  libnode83  14.19.0~dfsg-1

Versions of packages nodejs recommends:
ii  ca-certificates  20211016
ii  nodejs-doc   14.19.0~dfsg-1

Versions of packages nodejs suggests:
ii  npm  8.5.4~ds1-1

-- no debconf information




Bug#1000493: [Pkg-javascript-devel] Bug#1000493: libnode93 breaks with libnode72 but not installed

2022-03-13 Thread vimer

On Mon, Mar 14, 2022 at 01:39:26AM +0100, Jérémy Lal wrote:

Package: nodejs
Version: 14.19.0~dfsg-1
Followup-For: Bug #1000493

I just got the same trouble, and now i really don't remember
the rationale behind:


When building nodejs on Debian arch, I remember encounter the issue.

Hope this help.

Bo,



Breaks:
libnode64,
libnode72

Besides both libnode64 and libnode72 having a file in common:
usr/share/systemtap/tapset/node.stp
which could better be shipped by nodejs package instead.

Jérémy

-- System Information:
Debian Release: bookworm/sid
 APT prefers stable-security
 APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nodejs depends on:
ii  libc6  2.33-7
ii  libnode83  14.19.0~dfsg-1

Versions of packages nodejs recommends:
ii  ca-certificates  20211016
ii  nodejs-doc   14.19.0~dfsg-1

Versions of packages nodejs suggests:
ii  npm  8.5.4~ds1-1

-- no debconf information
--
Pkg-javascript-devel mailing list
pkg-javascript-de...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel




Bug#1006808: RFS: jimtcl/0.79+dfsg0-4 [ITA] -- small-footprint implementation of Tcl - shared library

2022-03-05 Thread vimer
Package: sponsorship-requests
Severity: normal


Dear mentors,

I am looking for a sponsor for my package "jimtcl":

 * Package name: jimtcl
   Version : 0.79+dfsg0-4
   Upstream Author : Salvatore Sanfilippo 
 * URL : http://jim.tcl.tk/
 * License : BSD-2-clause, TCL
 * Vcs : https://salsa.debian.org/debian/jimtcl
   Section : devel

 It builds those binary packages:

   jimsh - small-footprint implementation of Tcl named Jim
   libjim-dev - small-footprint implementation of Tcl - development files
   libjim0.79 - small-footprint implementation of Tcl - shared library

 To access further information about this package, please visit the following 
URL:

   https://mentors.debian.net/package/jimtcl/

 Alternatively, one can download the package with dget using this command:

   dget -x 
https://mentors.debian.net/debian/pool/main/j/jimtcl/jimtcl_0.79+dfsg0-4.dsc

 Changes since the last upload:

   jimtcl (0.79+dfsg0-4) unstable; urgency=medium
   .
  * Add myself as maintainer (Closes: #993599).

 Regards,
 --
   vimer



Bug#978498: sofia-sip: fail to build on riscv64

2022-02-20 Thread vimer

Hi, Adrian!
On Sat, Feb 19, 2022 at 04:18:31PM +0100, John Paul Adrian Glaubitz wrote:

Hello Vimer!

On 2/19/22 15:32, vimer wrote:

I apply patch[1] to sip source and pass for " machine `riscv64' not
recognized" error, but fail at last:


I suggest using qemu-based sbuild environment for building packages for
riscv64. There is an outdated guide I wrote for sh4 [1] which explains
on how to set up such an environment.

Normally, you should be able to create such a changeroot with:

# apt install sbuild
# cd /srv
# debbootstrap --no-check-gpg --include=debian-ports-archive-keyring 
--arch=riscv64 \
 unstable sid-riscv64-sbuild http://ftp.ports.debian.org/debian-ports/

and use this configuration:

glaubitz@nofan:~> cat /etc/schroot/chroot.d/sid-riscv64-sbuild
[sid-riscv64-sbuild]
description=Debian sid chroot for riscv64
type=directory
directory=/srv/sid-riscv64-sbuild
#groups=Debian,guest,d-i
#profile=dsa
#aliases=sid
groups=root,sbuild,glaubitz,buildd
root-groups=root,sbuild,glaubitz,buildd
#command-prefix=
#source-root-users=glaubitz,sbuild,buildd
#run-setup-scripts=true
#run-exec-scripts=true
glaubitz@nofan:~>

Then you can packages virtually natively using --arch=riscv64.


That's very cool and i can build riscv arch sofia-sip debian package
with the method you suggested!

But there is one more litian error here. It is not a big deal i think.

And i can confirm the patch[1] taking effect in fact.

I am wonder how to push the package porting into debian  port's repositories
in next step.

BR,
vimer

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978498#10


Adrian


[1] https://wiki.debian.org/SH4/sbuildQEMU


--
.''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
 `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913





Bug#978498: sofia-sip: fail to build on riscv64

2022-02-19 Thread vimer

Hi,
I apply patch[1] to sip source and pass for " machine `riscv64' not
recognized" error, but fail at last:

```
...
touch man/man1/sip-date.1 man/man1/sip-options.1 man/man1/localinfo.1 
man/man1/addrinfo.1 man/man1/stunc.1 man/man1/sip-dig.1
  /bin/mkdir -p '/<>/debian/tmp/usr/share/man/man1'
/usr/bin/install -c -m 644 man/man1/sip-date.1 man/man1/sip-options.1 
man/man1/localinfo.1 man/man1/addrinfo.1 man/man1/stunc.1 man/man1/sip-dig.1 
'/<>/debian/tmp/usr/share/man/man1'
make[3]: Leaving directory '/<>/objs'
make[2]: Leaving directory '/<>/objs'
make[1]: Leaving directory '/<>/objs'
touch install-arch-stamp
dh_testdir
dh_testroot
dh_install --sourcedir=debian/tmp
dh_install: warning: Cannot find (any matches for) 
"usr/lib/libsofia-sip-ua-glib.so.*" (tried in debian/tmp, debian/tmp)

dh_install: warning: libsofia-sip-ua-glib3 missing files: 
usr/lib/libsofia-sip-ua-glib.so.*
dh_install: warning: Cannot find (any matches for) 
"usr/lib/libsofia-sip-ua-glib.a" (tried in debian/tmp, debian/tmp)

dh_install: warning: libsofia-sip-ua-glib-dev missing files: 
usr/lib/libsofia-sip-ua-glib.a
dh_install: warning: Cannot find (any matches for) 
"usr/lib/libsofia-sip-ua-glib.so" (tried in debian/tmp, debian/tmp)

dh_install: warning: libsofia-sip-ua-glib-dev missing files: 
usr/lib/libsofia-sip-ua-glib.so
dh_install: warning: Cannot find (any matches for) 
"usr/lib/pkgconfig/sofia-sip-ua-glib.pc" (tried in debian/tmp, debian/tmp)

dh_install: warning: libsofia-sip-ua-glib-dev missing files: 
usr/lib/pkgconfig/sofia-sip-ua-glib.pc
dh_install: error: missing files, aborting
make: *** [debian/rules:87: binary-arch] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned 
exit status 2
```

And i test `sbuild --host=armhf -d sid` in order to compare the build log, the 
error is same.
But `--host` is ok.
I try to fix it with many ways but can not find why it is not build or install
the missing file.
Maybe my chroot have some problem?

BR,
vimer

[1]: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=978498;filename=sofia-sip-retooling.patch;msg=10