Bug#1009290: mariadb-server-10.6: Fails to start on live system

2023-05-31 Thread Antoni Villalonga
Hi,

I've faced same problem on a fresh Bookworm live system (mariadb-server
1:10.11.2-1).

As a workaround I've mounted /var/lib/mysql as a ext4 filesystem.

FYI: It works fine on Bullseye.

Kind regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#1036816: vpnc-script doesn't run properly due to VPNPID

2023-05-26 Thread Antoni Villalonga
Hi Again,

An alternative workaround is running vpnc with --no-detach.

Best regards,

On Fri, May 26, 2023 at 10:41:42PM +, Antoni Villalonga wrote:
> [...]
> 
> My workaround (I only run one VPN at a time, like most people...):
>  | --- a 2022-05-12 19:15:11.0 +
>  | +++ b 2023-05-26 22:29:22.205185888 +
>  | @@ -99,7 +99,7 @@
>  |  VPNPID=$PPID
>  |  PCMD=`ps -c -o cmd= -p $PPID`
>  |  case "$PCMD" in
>  | -*sh) VPNPID=`ps -o ppid= -p $PPID` ;;
>  | +*sh) VPNPID=FIXME ;;
>  |  esac
>  |  fi
> 
> [...]

-- 
Antoni Villalonga
https://friki.cat/



Bug#1036816: vpnc-script doesn't run properly due to VPNPID

2023-05-26 Thread Antoni Villalonga
Package: vpnc-scripts
Version: 0.1~git20220510-1
Severity: normal

Dear Maintainer,

I'm testing to upgrade from Bullseye to Bookworm.

I think this bug is similar to #460822 bot not the same.

In my case vpnc-script runs fine on "connect" and the "resolv.conf" backup file
is saved.
On "disconnect" I've noticed it didn't restore de "resolv.conf" and thus a
major networking issue occurs.


I've noticed the "backup" file contains spaces and looks like this:
  /var/run/vpnc/resolv.conf-backup. 12345

It smells very bad but may not lead to a problem...

After some debug near line 100 of vpnc-script, where VPNPID variable is set,
I've found that VPNPID value isn't the same on "connect" and "disconnect"
executions. This makes "resolv.conf" restoration process fail on "disconnect"
execution.

I've added the following line at the script:
 | ps -ef > "/tmp/ps-$reason"

And after connect/disconnect I got this:
 | % grep vpnc /tmp/ps-connect /tmp/ps-disconnect
 | /tmp/ps-connect:root   60817   60814  0 22:15 pts/13   00:00:00 vpnc 
my.conf
 | /tmp/ps-connect:root   60941   60817  0 22:16 pts/13   00:00:00 sh -c 
/usr/share/vpnc-scripts/vpnc-script
 | /tmp/ps-connect:root   60942   60941  0 22:16 pts/13   00:00:00 /bin/sh 
/usr/share/vpnc-scripts/vpnc-script
 | /tmp/ps-disconnect:root   61116   1  0 22:16 ?00:00:00 vpnc 
my.conf
 | /tmp/ps-disconnect:root   61153   61116  0 22:17 ?00:00:00 sh -c 
/usr/share/vpnc-scripts/vpnc-script
 | /tmp/ps-disconnect:root   61156   61153  0 22:17 ?00:00:00 
/bin/sh /usr/share/vpnc-scripts/vpnc-script


Let's loock at strace from "connect" process...
 | % grep 61116 /tmp/strace-connect | head -n2
 | 60817 clone(child_stack=NULL, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7ff2c14bfc10) = 61116
 | 60817 write(1, "VPNC started in background (pid: 61116)...\n", 43 



So, my conclusion is that vpnc process (60817) forked into a new process
(61116) AFTER running vpnc-script. When "disconnect" process runs won't be able
to locate the "backup" file and the DNS resolution may fail.


My workaround (I only run one VPN at a time, like most people...):
 | --- a 2022-05-12 19:15:11.0 +
 | +++ b 2023-05-26 22:29:22.205185888 +
 | @@ -99,7 +99,7 @@
 |  VPNPID=$PPID
 |  PCMD=`ps -c -o cmd= -p $PPID`
 |  case "$PCMD" in
 | -    *sh) VPNPID=`ps -o ppid= -p $PPID` ;;
 | +*sh) VPNPID=FIXME ;;
 |  esac
 |  fi


Hope it can be fixed soon.

Kind regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#1032419: prometheus-node-exporter-collectors: Missing dependency to 'jq'

2023-03-06 Thread Antoni Villalonga
Package: prometheus-node-exporter-collectors
Version: 0+git20210115.7d89f19-1
Severity: important

Dear Maintainer,

I've noticed the file
/usr/share/prometheus-node-exporter-collectors/nvme_metrics.sh included in the
package prometheus-node-exporter-collectors=0+git20210115.7d89f19-1 depends on
'jq' binary.

See line 48:
device_list="$(nvme list -o json | jq -r '.Devices | .[].DevicePath')"

Please add 'jq' as package dependency.

Best regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#1022781: Unable to lock an existing session

2022-10-25 Thread Antoni Villalonga
Hi Martin,

Your bug report is appreciated.

On Tue, Oct 25, 2022 at 08:33:23PM +0200, martin f krafft wrote:
> Package: xautolock
> Version: 1:2.2-7
> Severity: critical
> Tags: security
> 
> This is not software you can rely on to lock your screen:

I guess the exit value of your `xautolock -locknow` execution is not zero. At
it's defined as EXIT_FAILURE (EXIT_FAILURE=1 in stdlib.c).

Check the exit value and you can relay again with this lovely ancient software
:)

> ```
> lotus:~% xautolock -locknow
> Could not locate a running xautolock.
> lotus:~% ps aux | grep '[x]autolo'
> madduck   172688  0.0  0.0   6584  2756 ?SOct23   0:34 xautolock 
> -time 3 -locker exec /usr/bin/xsecurelock -notify 30 -notifier notify-send 
> Locking the screen in 30 seconds
> ```

The message "Could not locate a running xautolock." (src/message.c:286) only
show up when `type` is not `XA_INTEGER` (19. Defined in
/usr/include/X11/Xatom.h from x11proto-dev).

I can't reproduce this situation even after testing on Bookworm and Sid.

Can you give us more details about your system setup?
It seems your system is based on Debian testing/unstable.
Are you using xorg locally using a single single logged in?



I'll appreciate if you can add the following line just before (
"if (type == XA_INTEGER)") and rebuild xautolock...
src/message.c:250:  printf("DEBUG checkConnectionAndSendMessage | 
XGetWindowProperty type: %d\n", type);

After that, run "xautolock -locknow" and you'll get a message with the `type`
value.

> Strace didn't disclose any file the process might be looking for.

My strace for 'xautolock -locknow' run looks like:
  | 122 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
  | 123 connect(3, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
  | [...]
  | 390 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{
  | 391 writev(3, [{iov_base="\22\0\7\0\1\0\200\0Y\1\0\0\37\
  | 392 poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3,
  | 393 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{
  | 394 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 395 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 396 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{
  | 397 writev(3, [{iov_base="\20\0\7\0\21\0\200\0XAUTOLOCK_
  | 398 poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3,
  | 399 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{
  | 400 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 401 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 402 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{
  | 403 writev(3, [{iov_base="\24\0\6\0g\7\0\0\227\1\0\0\0\0
  | 404 poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3,
  | 405 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{
  | 406 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 407 recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
  | 408 kill(1234567, 0)= -1 ESRCH (

Around line 390 is where checkConnectionAndSendMessage() calls 
RootWindowOfScreen().
And at line 402 XGetWindowProperty() is called.
In my execution 'type'==19, so a kill(pid, 0) is called to check the pid is 
available.

I've run strace as:
  % strace -s 1000 --output=xautolock-strace.txt xautolock -locknow

Thanks again for your report.
Hope you can run an strace and give back more info about your system setup.

Best regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#1019392: toybox: autopkgtest regression on ppc64el: exited with signal (or returned 255)

2022-09-11 Thread Antoni Villalonga
Hi,

On Sat, Sep 10, 2022 at 11:16:15PM +0200, Paul Gevers wrote:
> Hi,
> 
> On 10-09-2022 04:23, Antoni Villalonga wrote:
> > Hi Paul,
> > 
> > Thanks for reporting the issue.
> > 
> > I've tested the package on a virtual ppc64el Debian/Sid fresh installation.
> > 
> > Testing the coreutils seq takes around 0.8 seconds:
> >   $ echo -ne '' | timeout 10 seq 1000 > /dev/null
> > 
> > Testing the toybox seq takes around 1.4 seconds:
> >   $ echo -ne '' | timeout 10 toybox seq 1000 > /dev/null
> > 
> > In that case, Coreutils seems to perform twice faster than Toybox. In any 
> > case
> > both have taken lot less than 10 seconds specified for the test.
> 
> And in an unstable container on one of our ppc64el host:
> root@elbrus:/# time echo -ne '' | timeout 10 seq 1000 > /dev/null
> 
> real0m0.183s
> user0m0.177s
> sys 0m0.007s
> root@elbrus:/# time echo -ne '' | timeout 10 toybox seq 1000 > /dev/null
> 
> real0m0.426s
> user0m0.411s
> sys 0m0.012s

Thanks for testing.

> Are you sure it's this commmand that times out in the test?

You are right the comand I issued doesn't reproduce the problem correctly.

The problem was on toybox timeout implementation itself.
It's already fixed upstream and I've pushed a patch to salsa.

https://salsa.debian.org/debian/toybox/-/blob/2c4a6613ca8d579841224b6b762cc07680f23183/debian/patches/timeout.patch

Thanks for your time!

-- 
Antoni Villalonga
https://friki.cat/



Bug#1019392: toybox: autopkgtest regression on ppc64el: exited with signal (or returned 255)

2022-09-09 Thread Antoni Villalonga
mdir file
> PASS: rmdir one two
> PASS: rmdir one missing two file three
> PASS: rmdir mode 000
> PASS: rmdir non-empty
> PASS: rmdir -p dir/file
> PASS: rmdir -p part of path
> PASS: rmdir -p one/two/three
> PASS: rmdir -p one/two/three/
> PASS: sed as cat
> PASS: sed sed - - twice
> PASS: sed -n
> PASS: sed -n p
> PASS: sed explicit pattern
> PASS: sed -n 1p
> PASS: sed 2p
> PASS: sed -n 2p
> PASS: sed -n $p
> PASS: sed as cat #2
> PASS: sed no input means no last line
> PASS: sed -n $,$p
> PASS: sed -n 1,2p
> PASS: sed -n 2,3p
> PASS: sed -n 2,1p
> PASS: sed $ with 2 inputs
> PASS: sed -n /two/p
> PASS: sed -n 1,/two/p
> PASS: sed -n /one/,2p
> PASS: sed -n 1,/one/p
> PASS: sed -n /one/,1p
> PASS: sed sed -n /two/,$p
> PASS: sed -n 3p
> PASS: sed prodigal newline
> PASS: sed Newline only added if further output
> PASS: sed match \t tab
> PASS: sed match t delim disables \t tab
> PASS: sed match t delim makes \t literal t
> PASS: sed match n delim
> PASS: sed match n delim disables \n newline
> PASS: sed match \n literal n
> PASS: sed end match does not check starting match line
> PASS: sed end match/start match mixing number/letter
> PASS: sed num then regex
> PASS: sed regex then num
> PASS: sed multiple regex address match
> PASS: sed regex address overlap
> PASS: sed getdelim with nested [:blah:]
> PASS: sed [ in [[]
> PASS: sed [[] with ] as delimiter
> PASS: sed [[] with [ as delimiter
> PASS: sed prodigaler newline
> PASS: sed aci
> PASS: sed b loop
> PASS: sed b skip
> PASS: sed b end
> PASS: sed c range
> PASS: sed c {range}
> PASS: sed c multiple continuation
> PASS: sed c empty continuation
> PASS: sed D further processing depends on whether line is blank
> PASS: sed newline staying away
> PASS: sed match empty line
> PASS: sed \1
> PASS: sed \1 p
> PASS: sed \1 no newline
> PASS: sed \1 p no newline
> PASS: sed -n s//\1/p
> PASS: sed -n s//\1/p no newline
> PASS: sed backref error
> PASS: sed empty match after nonempty match
> PASS: sed empty match
> PASS: sed s///#comment
> PASS: sed s///num off end
> PASS: sed N flushes pending a and advances match counter
> PASS: sed delimiter in regex [char range] doesn't count
> PASS: sed delete regex range start line after trigger
> PASS: sed blank pattern repeats last pattern
> PASS: sed -e '1a\' -e 'huh'
> PASS: sed -f input
> PASS: sed -f - input
> PASS: sed '1ahello'
> PASS: sed -e '/x/c\' -e 'y'
> PASS: sed -e 's/a[([]*b/X/'
> PASS: sed 'y/a\bc/de\f/'
> PASS: sed [a-a] (for perl)
> PASS: sed trailing a\ (for debian)
> PASS: sed skip start of range
> PASS: sed range +1
> PASS: sed range +0
> PASS: sed range +3
> PASS: sed not -s
> PASS: sed -s
> PASS: sed bonus backslashes
> PASS: sed end b with }
> PASS: sed -z
> PASS: sed \n with empty capture
> PASS: sed \n too high
> PASS: sed s///x
> PASS: sed megabyte s/x/y/g (20 sec timeout)
> PASS: sed w doesn't blank
> PASS: sed s i and I
> PASS: seq (exit with error)
> PASS: seq (exit with error)
> PASS: seq one argument
> PASS: seq two arguments
> PASS: seq two arguments reversed
> PASS: seq two arguments equal
> PASS: seq two arguments equal, arbitrary negative step
> PASS: seq two arguments equal, arbitrary positive step
> PASS: seq count up by 2
> PASS: seq count down by 2
> PASS: seq count wrong way #1
> PASS: seq count wrong way #2
> PASS: seq count by .3
> PASS: seq count by -.9
> PASS: seq count down by zero
> PASS: seq separator -
> PASS: seq format string
> PASS: seq separator and format string
> PASS: seq padding
> PASS: seq padding
> PASS: seq padding
> PASS: seq filter -f "%f"
> PASS: seq filter -f "%e"
> PASS: seq filter -f "%g"
> PASS: seq filter -f "boo %f yah"
> PASS: seq filter -f "% f"
> PASS: seq filter -f "%-1.2f"
> PASS: seq filter -f "%+-f"
> PASS: seq filter -f "%+ - f"
> PASS: seq filter -f "%.2f"
> PASS: seq filter -f "%3.f"
> PASS: seq filter -f "%'.2f"
> PASS: seq filter -f "%%%f%%"
> PASS: seq filter reject -f '%d'
> PASS: seq filter reject -f '%s'
> PASS: seq filter reject -f ''
> PASS: seq filter reject -f 'boo %f %f yah'
> PASS: seq filter reject -f '%*f'
> PASS: seq filter reject -f '%-1.2.3f'
> PASS: seq filter reject -f '%2$f'
> PASS: seq filter reject -f '%1-f'
> PASS: seq filter reject -f '%1 f'
> PASS: seq filter reject -f '%2..2f'
> PASS: seq filter reject -f '%%%f%%%'
> PASS: seq precision inc
> PASS: seq precision first
> PASS: seq precision int
> PASS: seq precision e
> PASS: seq precision E
> PASS: seq invalid last
> PASS: seq invalid first
> PASS: seq invalid increment
> PASS: seq INT_MIN
> make: *** [Makefile:77: tests] Error 1
> FAIL: seq fast path
> echo -ne '' | timeout 10 seq 1000 > /dev/null
> --- expected  2022-09-07 20:37:15.139178572 +
> +++ actual2022-09-07 20:37:15.595188871 +
> @@ -0,0 +1 @@
> +exited with signal (or returned 255)
> autopkgtest [20:37:15]: test toybox-selftest
> 




-- 
Antoni Villalonga
https://friki.cat/



Bug#1006557: toybox: Causes initramfs-tools trigger to fail without giving a reason

2022-02-27 Thread Antoni Villalonga
On Sun, Feb 27, 2022 at 09:02:17PM +0100, Axel Beckert wrote:
> Package: toybox
> Version: 0.8.6+dfsg-2
> Severity: serious
> 
> Hi,
> 
> since I upgraded toybox to 0.8.6+dfsg-2, the initramfs-tools trigger
> fails on my machine:
> 
> Processing triggers for initramfs-tools (0.140) ...
> update-initramfs: Generating /boot/initrd.img-5.16.0-3-amd64
> E: /usr/share/initramfs-tools/hooks/zy-toybox failed with return 1.
> update-initramfs: failed for /boot/initrd.img-5.16.0-3-amd64 with 1.
> dpkg: error processing package initramfs-tools (--configure):
>  installed initramfs-tools package post-installation script subprocess 
> returned error exit status 1
> 
> Unfortunately /usr/share/initramfs-tools/hooks/zy-toybox doesn't note
> what exactly went wrong.
> 
> [...]
> Changing
> 
>   TB_BIN=/usr/bin/toybox
> 
> to
> 
>   TB_BIN=/bin/toybox
> 
> fixes this.

Hi Axel,

Thanks for reporting the bug and the fix.

I've checked why it works on my system. I've tested the package on a Debian
Live environment where /bin is symlink to /usr/bin. \o/

Your fix proposal is correct.
I'll push it to Salsa ASAP.

Thanks for your time!

-- 
Antoni Villalonga
https://friki.cat/



Bug#1005084: linux-image-5.10.0-10-amd64: USB-c screen flickers

2022-02-06 Thread Antoni Villalonga
Package: src:linux
Version: 5.10.84-1
Severity: normal
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

I've noticed periodic screen flickering when using adb software.
My usb-c screen is connected directly to the main board (Intel NUC). An other
screen (not affected) is connected using DisplayPort.

After a quick strace it shows up that this syscall turns my usb-c screen black
for around one second:
  openat(AT_FDCWD, "/dev/bus/usb/004/001", O_RDONLY|O_CLOEXEC);

A small C program can reproduce the issue.

This kernel message is logged:
  usb usb4: root hub lost power or was reset


More users have noticed similar problems before:
  
https://www.reddit.com/r/androiddev/comments/hvwn1p/adb_causing_external_monitor_to_flicker/


Please note that root is not needed to reproduce the problem.


Best regards,



Bug#968162: ITP: toybox -- BSD-licensed Linux command line utilities

2021-12-22 Thread Antoni Villalonga
On Mon, Dec 13, 2021 at 09:33:08PM +0100, Bastian Germann wrote:
> On Wed, 27 Oct 2021 12:11:36 +0000 Antoni Villalonga  wrote:
> > You are very welcome to sponsor the package.
> > Let me update my git repo at salsa with last upstream version and Debian 
> > Policy
> > related changes.
> 
> Hi Antoni,
> 
> I am sorry for not having had a better look at the package.
> Can you please update to 0.8.6 that was released recently and check if it has
> the 0.8.5 issues fixed?
> I will make sure to have a look at it in this year.

I've created a new branch updated to last upstream version 0.8.6.

No errors fixed since 0.8.5 so I've trimmed down the package removing "pending"
(experimental) toys.

3 Lintian errors must be fixed:
  E: toybox source: source-is-missing tests/files/elf/fdstatic
  E: toybox source: source-is-missing tests/files/elf/ndk-elf-note-full
  E: toybox source: source-is-missing tests/files/elf/ndk-elf-note-short

I think dCopyright Files-Excluded should help, but I've messed up in my tests.

See more details here:
  https://salsa.debian.org/debian/toybox/-/merge_requests/2

Best Regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#884718: Closing this bug (BTS maintenance for src:linux bugs)

2021-10-27 Thread Antoni Villalonga
reopen 884718

> On Wed, Oct 27, 2021 at 01:13:52PM +0000, Antoni Villalonga wrote:
> > On Sat, Oct 16, 2021 at 06:01:29AM -0700, carnil wrote:
> > > Hi
> > > 
> > > This bug was filed for a very old kernel or the bug is old itself
> > > without resolution.
> > > 
> > > If you can reproduce it with
> > > 
> > > - the current version in unstable/testing
> > > - the latest kernel from backports
> > > 
> > > please reopen the bug, see https://www.debian.org/Bugs/server-control
> > > for details.
> > > 
> > > Regards,
> > > Salvatore
> > 
> > Hi,
> > 
> > The bug stil persists as [045e:075c] usb mouse and other hardware (like
> > portable HDDs) are recognized as joysticks.
> > 
> > The joystick is visible to libsdl and thus powermanga becomes unplayable.
> > 
> > Hope it can be fixed soon.
> > Thanks for your time! :)

-- 
Antoni Villalonga
https://friki.cat/



Bug#968162: ITP: toybox -- BSD-licensed Linux command line utilities

2021-10-27 Thread Antoni Villalonga
On Mon, Oct 04, 2021 at 10:46:40PM +0200, Bastian Germann wrote:
> On Mon, 10 Aug 2020 03:46:35 +0200 Antoni Villalonga wrote:
> > * Package name: toybox
> >   Version : 0.8.3
> >   Upstream Author : Rob Landley 
> > * URL : https://www.landley.net/toybox/
> > * License : 0BSD
> >   Programming Lang: C
> >   Description : BSD-licensed Linux command line utilities
> >  Toybox combines common Linux command line utilities together into a single
> >  BSD-licensed executable that's simple, small, fast, reasonably
> >  standards-compliant, and powerful enough to turn Android into a development
> >  environment.
> > 
> > Remark: This package is maintained by Antoni Villalonga at
> >https://salsa.debian.org/friki/toybox
> 
> Hi Antoni,
> 
> Do you still plan to hand in toybox? I can sponsor it if you like. If you
> are no longer interested, can I continue your work?
> 
> Thanks,
> Bastian

Hi Bastian,

I'm glad to see interest on this package :)

You are very welcome to sponsor the package.
Let me update my git repo at salsa with last upstream version and Debian Policy
related changes.

I've also worked finding toybox-coreutils compatibility issues by building
some Debian key-packages:
  https://salsa.debian.org/friki/toy-experiment/-/raw/master/report.html
  (sorry for the 'raw' link without a proper html preview)


Please text me to share your thoughts and needs about the package and I'll try
to adapt to it.

Regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#977541: ffmpeg: Invalid MXF generation

2020-12-16 Thread Antoni Villalonga
Package: ffmpeg
Version: 7:4.3.1-5
Severity: normal
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

Please consider cherrypicking this upstream commit:
  
https://github.com/FFmpeg/FFmpeg/commit/9e24b98b15cbec1e0212d909ad29c746e1d1738b

Bug is already fixed for debian at: "7:4.2.1-1".

Merge Request:
  https://salsa.debian.org/multimedia-team/ffmpeg/-/merge_requests/7

Kind regards,



Bug#971393: mbedtls: New upstream version (2.24.0) with TLS 1.3 support

2020-09-29 Thread Antoni Villalonga
Source: mbedtls
Severity: normal
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

Please consider upgrading package to newer versions with TLS 1.3 support
enabled.

Regards,



Bug#957859: t4kcommon: ftbfs with GCC-10

2020-08-31 Thread Antoni Villalonga
Please consider adding attached patch.

Salsa Merge Request:
  https://salsa.debian.org/tux4kids-pkg-team/t4kcommon/-/merge_requests/1

Regards,

-- 
Antoni Villalonga
https://friki.cat/
Description: fix ftbfs with GCC-10
 Fix wrapped_lines variable declaration (extern)
Author: ant...@friki.cat
Forwarded: https://github.com/tux4kids/t4kcommon/pull/8
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/t4k_common.h
+++ b/src/t4k_common.h
@@ -239,7 +239,7 @@ MFStrategy;
 #define MAX_LINES 128 //!< Maximum lines to wrap.
 #define MAX_LINEWIDTH 256 //!< Maximum characters of each line.
 
-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
+extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
 
 //TODO separate headers for different areas a la SDL?
 


Bug#969130: libruby2.7: ENOENT error crash some ruby scripts

2020-08-27 Thread Antoni Villalonga
Package: libruby2.7
Version: 2.7.1-3
Severity: important
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

Some ruby scripts fail to run from a removed directory.

% cat /tmp/test.rb
#!/usr/bin/ruby
require 'unicode'
% mkdir /tmp/foo
% cd /tmp/foo
% rmdir /tmp/foo
% /tmp/test.rb
Traceback (most recent call last):
5: from /tmp/test.rb:2:in `'
4: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in 
`require'
3: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in 
`require'
2: from /usr/lib/ruby/vendor_ruby/unicode.rb:2:in `'
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in 
`require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot 
load such file -- unicode/2.7/unicode_native (LoadError)
16: from /tmp/test.rb:2:in `'
15: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in 
`require'
14: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in 
`require'
13: from /usr/lib/ruby/vendor_ruby/unicode.rb:2:in `'
12: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:156:in 
`require'
11: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:161:in 
`rescue in require'
10: from /usr/lib/ruby/2.7.0/rubygems.rb:204:in `try_activate'
 9: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:996:in 
`find_by_path'
 8: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:996:in `find'
 7: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:996:in `each'
 6: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:997:in `block in 
find_by_path'
 5: from /usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:39:in 
`compatible?'
 4: from /usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:7:in 
`bundler_version'
 3: from /usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:22:in 
`bundler_version_with_reason'
 2: from /usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:73:in 
`lockfile_version'
 1: from /usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:85:in 
`lockfile_contents'
/usr/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb:85:in `pwd': No such 
file or directory - getcwd (Errno::ENOENT)

If apt-listchanges package is installed apt crashes that way. That's why I've
switched to "important".

Following inline patch fixes the issue.

---- 
From: Antoni Villalonga 
Date: Fri, 28 Aug 2020 02:09:42 +0200
Subject: Rescue getcwd ENOENT error
Forwarded: not-needed
Upstream-Author: David Rodríguez

Rescue ENOENT error allowing run ruby scripts when cwd does not exists.
Cherry-pick from upstream 96064e6f1ce100a37680dc8f9509f06b3350e9c8

--- a/lib/rubygems/bundler_version_finder.rb
+++ b/lib/rubygems/bundler_version_finder.rb
@@ -82,12 +82,19 @@
   def self.lockfile_contents
 gemfile = ENV["BUNDLE_GEMFILE"]
 gemfile = nil if gemfile && gemfile.empty?
-Gem::Util.traverse_parents Dir.pwd do |directory|
-  next unless gemfile = Gem::GEM_DEP_FILES.find { |f| 
File.file?(f.tap(::UNTAINT)) }

-  gemfile = File.join directory, gemfile
-  break
-end unless gemfile
+unless gemfile
+  begin
+Gem::Util.traverse_parents(Dir.pwd) do |directory|
+  next unless gemfile = Gem::GEM_DEP_FILES.find { |f| 
File.file?(f.tap(::UNTAINT)) }
+
+  gemfile = File.join directory, gemfile
+  break
+end
+  rescue Errno::ENOENT
+return
+  end
+end

 return unless gemfile
 

Regards,


Bug#968162: ITP: toybox -- BSD-licensed Linux command line utilities

2020-08-09 Thread Antoni Villalonga
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: ant...@friki.cat

Subject: ITP: toybox -- BSD-licensed Linux command line utilities
Package: wnpp
Owner: Antoni Villalonga 
Severity: wishlist

* Package name: toybox
  Version : 0.8.3
  Upstream Author : Rob Landley 
* URL : https://www.landley.net/toybox/
* License : 0BSD
  Programming Lang: C
  Description : BSD-licensed Linux command line utilities
 Toybox combines common Linux command line utilities together into a single
 BSD-licensed executable that's simple, small, fast, reasonably
 standards-compliant, and powerful enough to turn Android into a development
 environment.

Remark: This package is maintained by Antoni Villalonga at
   https://salsa.debian.org/friki/toybox



Bug#961903: prusa-slicer: Unwanted background connections to http://files.prusa3d.com/

2020-08-08 Thread Antoni Villalonga
Please consider the attached patch.

Raw file: 
https://salsa.debian.org/friki/slic3r-prusa/-/raw/1d54f79dc7108515aeb62d2dab4918aea1ffd0e7/debian/patches/Secured-self-updates-and-disable-by-default.patch
Merge Request: 
https://salsa.debian.org/3dprinting-team/slic3r-prusa/-/merge_requests/1

-- 
Antoni Villalonga
https://friki.cat/
From: Antoni Villalonga 
Date: Sun, 09 Aug 2020 00:15:17 +0200
Subject: Secure self-updates and disable by default
Bug-Debian: http://bugs.debian.org/961903
Forwarded: not-needed

--- a/src/slic3r/GUI/AppConfig.cpp
+++ b/src/slic3r/GUI/AppConfig.cpp
@@ -57,9 +57,9 @@
 set("show_incompatible_presets", "0");
 
 if (get("version_check").empty())
-set("version_check", "1");
+set("version_check", "0");
 if (get("preset_update").empty())
-set("preset_update", "1");
+set("preset_update", "0");
 
 if (get("export_sources_full_pathnames").empty())
 set("export_sources_full_pathnames", "0");
--- a/resources/profiles/BIBO.ini
+++ b/resources/profiles/BIBO.ini
@@ -7,7 +7,7 @@
 # This means, the server may force the PrusaSlicer configuration to be downgraded.
 config_version = 0.0.1
 # Where to get the updates from?
-config_update_url = http://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/BIBO/
+config_update_url = https://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/BIBO/
 
 # The printer models will be shown by the Configuration Wizard in this order,
 # also the first model installed & the first nozzle installed will be activated after install.
--- a/resources/profiles/Creality.ini
+++ b/resources/profiles/Creality.ini
@@ -7,8 +7,8 @@
 # This means, the server may force the PrusaSlicer configuration to be downgraded.
 config_version = 0.0.2
 # Where to get the updates from?
-config_update_url = http://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/Creality/
-# changelog_url = http://files.prusa3d.com/?latest=slicer-profiles=%1%
+config_update_url = https://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/Creality/
+# changelog_url = https://files.prusa3d.com/?latest=slicer-profiles=%1%
 
 # The printer models will be shown by the Configuration Wizard in this order,
 # also the first model installed & the first nozzle installed will be activated after install.
--- a/resources/profiles/LulzBot.ini
+++ b/resources/profiles/LulzBot.ini
@@ -4,7 +4,7 @@
 # Vendor name will be shown by the Config Wizard.
 name = LulzBot
 config_version = 0.0.1
-config_update_url = http://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/LulzBot/
+config_update_url = https://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/LulzBot/
 
 [printer_model:MINI_AERO]
 name = Mini Aero
--- a/resources/profiles/PrusaResearch.ini
+++ b/resources/profiles/PrusaResearch.ini
@@ -7,8 +7,8 @@
 # This means, the server may force the PrusaSlicer configuration to be downgraded.
 config_version = 1.1.2
 # Where to get the updates from?
-config_update_url = http://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/PrusaResearch/
-changelog_url = http://files.prusa3d.com/?latest=slicer-profiles=%1%
+config_update_url = https://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/PrusaResearch/
+changelog_url = https://files.prusa3d.com/?latest=slicer-profiles=%1%
 
 # The printer models will be shown by the Configuration Wizard in this order,
 # also the first model installed & the first nozzle installed will be activated after install.
--- a/src/slic3r/GUI/UpdateDialogs.cpp
+++ b/src/slic3r/GUI/UpdateDialogs.cpp
@@ -25,7 +25,7 @@
 namespace GUI {
 
 
-static const char* URL_CHANGELOG = "http://files.prusa3d.com/?latest=slicer-stable=%1%;;
+static const char* URL_CHANGELOG = "https://files.prusa3d.com/?latest=slicer-stable=%1%;;
 static const char* URL_DOWNLOAD = "https://www.prusa3d.com/downloads=%1%;;
 static const char* URL_DEV = "https://github.com/prusa3d/PrusaSlicer/releases/tag/version_%1%;;
 
--- a/src/slic3r/Utils/PresetUpdater.cpp
+++ b/src/slic3r/Utils/PresetUpdater.cpp
@@ -301,7 +301,7 @@
 		const std::string idx_path = (cache_path / (vendor.id + ".idx")).string();
 		const std::string idx_path_temp = idx_path + "-update";
 		//check if idx_url is leading to our site 
-		if (! boost::starts_with(idx_url, "http://files.prusa3d.com/wp-content/uploads/repository/;))
+		if (! boost::starts_with(idx_url, "https://files.prusa3d.com/wp-content/uploads/repository/;))
 		{
 			BOOST_LOG_TRIVIAL(warning) << "unsafe url path for vendor \"" << vendor.name << "\" rejected: " << idx_url;
 			continue;


Bug#957710: ftbfs with GCC-10

2020-08-05 Thread Antoni Villalonga
Hi,

I've written a patch.

After that, I've seen Reiner Herrmann already posted a working solution.

It's mostly the same fix but slightly different.
Please consider my version as an alternative. IMAO mine is preferable ;)

Regards,

-- 
Antoni Villalonga
https://friki.cat/
Description: Fix ftbfs with GCC-10
Forwarded: no
Author: Antoni Villalonga 
Last-Update: 2020-08-05
--- a/proxychains/core.h
+++ b/proxychains/core.h
@@ -68,27 +68,27 @@
 
 
 typedef int (*connect_t)(int, const struct sockaddr *, socklen_t);
-connect_t true_connect;
+extern connect_t true_connect;
 
 typedef struct hostent* (*gethostbyname_t)(const char *);
-gethostbyname_t true_gethostbyname;
+extern gethostbyname_t true_gethostbyname;
 
 typedef int (*getaddrinfo_t)(const char *, const char *,
 		const struct addrinfo *,
 		struct addrinfo **);
-getaddrinfo_t true_getaddrinfo;
+extern getaddrinfo_t true_getaddrinfo;
 
 typedef int (*freeaddrinfo_t)(struct addrinfo *);
-freeaddrinfo_t true_freeaddrinfo;
+extern freeaddrinfo_t true_freeaddrinfo;
 
 typedef int (*getnameinfo_t) (const struct sockaddr *,
 		socklen_t, char *,
 		socklen_t, char *,
 		socklen_t, unsigned int);
-getnameinfo_t true_getnameinfo;
+extern getnameinfo_t true_getnameinfo;
 
 typedef struct hostent *(*gethostbyaddr_t) (const void *, socklen_t, int);
-gethostbyaddr_t true_gethostbyaddr;
+extern gethostbyaddr_t true_gethostbyaddr;
 
 int proxy_getaddrinfo(const char *node, const char *service,
 		const struct addrinfo *hints,
--- a/proxychains/libproxychains.c
+++ b/proxychains/libproxychains.c
@@ -81,6 +81,12 @@
 	unsigned int *proxy_count,
 	chain_type *ct,
 	my_network *subnets);
+connect_t true_connect;
+gethostbyname_t true_gethostbyname;
+getaddrinfo_t true_getaddrinfo;
+freeaddrinfo_t true_freeaddrinfo;
+getnameinfo_t true_getnameinfo;
+gethostbyaddr_t true_gethostbyaddr;
 
 static void init_lib()
 {


Bug#957141: dns2tcp: ftbfs with GCC-10

2020-08-03 Thread Antoni Villalonga
Please find attached patch to fix this issue.

-- 
Antoni Villalonga
https://friki.cat/
Description: fixes gcc-10 build issues
Author: Antoni Villalonga 
Last-Update: 2020-08-02
--- a/common/includes/debug.h
+++ b/common/includes/debug.h
@@ -24,7 +24,7 @@
 #include 
 #include 
 
-int debug;
+extern int debug;
 
 #ifndef _WIN32
 #define DPRINTF(level, fmt, args...)  \
--- a/server/main.c
+++ b/server/main.c
@@ -42,6 +42,8 @@
 #include "myerror.h"
 #include "log.h"
 
+int debug;
+
 int			detach_process(t_conf *conf)
 {
   int			fd;
--- a/client/main.c
+++ b/client/main.c
@@ -36,6 +36,8 @@
 #include "myerror.h"
 #include "dns.h"
 
+int debug;
+
 /**
  * @brief main part
  * @retval 0 on success


Bug#966627: git-buildpackage: "gbp pull" ambiguous refname

2020-07-31 Thread Antoni Villalonga
Package: git-buildpackage
Version: 0.9.20
Severity: normal
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

I got a non-working situation while using routine-update package.
After tracing down the problem, I've found it's related to 'gbp pull'.

Please, take a look at this example session that reproduces the problem.
  "warning: refname 'master' is ambiguous."

 | % git init foo
 | Initialized empty Git repository in /tmp/foo/.git/
 | % pushd foo
 | % echo HELLO WORLD > README
 | % git add README
 | % git commit -m "Init"
 | [master (root-commit) 69e36c7] Init
 |  1 file changed, 1 insertion(+)
 |  create mode 100644 README
 | % popd
 | % git clone foo bar
 | Cloning into 'bar'...
 | done.
 | % pushd bar
 | % git remote rename origin master
 | % gbp pull --verbose
 | gbp:info: Fetching from default remote for each branch
 | gbp:debug: ['git', 'rev-parse', '--show-cdup']
 | gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
 | gbp:debug: ['git', 'rev-parse', '--git-dir']
 | gbp:debug: ['git', 'symbolic-ref', 'HEAD']
 | gbp:debug: ['git', 'show-ref', 'refs/heads/master']
 | gbp:debug: ['git', 'status', '--porcelain']
 | gbp:debug: ['git', 'fetch', '--quiet']
 | gbp:debug: ['git', 'fetch', '--quiet', '--tags']
 | gbp:debug: ['git', 'config', 'branch.master.remote']
 | gbp:debug: ['git', 'config', 'branch.master.merge']
 | gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/master']
 | gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream']
 | gbp:debug: ['git', 'config', 'branch.master.remote']
 | gbp:debug: ['git', 'config', 'branch.master.merge']
 | gbp:debug: ['git', 'rev-list', '--left-right', 'master...master/master', 
'--']
 | warning: refname 'master' is ambiguous.
 | gbp:info: Branch 'master' is already up to date.
 | gbp:debug: ['git', 'symbolic-ref', 'HEAD']
 | gbp:debug: ['git', 'show-ref', 'refs/heads/master']

I've fixed localy adding 'refs/heads/' to from_branch.

 | --- a/usr/lib/python3/dist-packages/gbp/git/repository.py
 | +++ b/usr/lib/python3/dist-packages/gbp/git/repository.py
 | @@ -509,7 +509,7 @@ class GitRepository(object):
 |  has_remote = False  # remote repo has new commits
 |  out = self._git_getoutput('rev-list',
 |["--left-right",
 | -   "%s...%s" % (from_branch, to_branch),
 | +   "%s...%s" % ('refs/heads/' + 
from_branch, to_branch),
 | "--"])[0]
 | 
 |  if not out:  # both branches have the same commits

By now I've didn't noticed bad side effects.

Regards,

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-buildpackage depends on:
ii  devscripts 2.20.4
ii  git1:2.28.0-1
ii  man-db 2.9.3-2
ii  python33.8.2-3
ii  python3-dateutil   2.8.1-4
ii  python3-pkg-resources  46.1.3-1
ii  sensible-utils 0.0.12+nmu1

Versions of packages git-buildpackage recommends:
ii  cowbuilder0.88
ii  pbuilder  0.230.4
ii  pristine-tar  1.48+salsaci
ii  python3-requests  2.23.0+dfsg-2

Versions of packages git-buildpackage suggests:
ii  python3-notify2  0.3-4
ii  sudo 1.9.1-2
ii  unzip6.0-25

-- no debconf information



Bug#937232: Status of paleomix (Was: Please list your contributions to COVID-19 sprint as intput for my DebConf20 talk)

2020-07-30 Thread Antoni Villalonga
On Thu, Jul 30, 2020 at 10:07:37AM +0200, Andreas Tille wrote:
> On Wed, Jul 29, 2020 at 11:10:40PM +0200, Steffen Möller wrote:
> >  - the python3-setuptools I would have left at the top since this is
> > something "meta" that does not describe what the package is
> > implementing, but ... hey ... I may be wrong here, alphabetical as you
> > have it is just as fine

I love the spanish expression "Donde fueres, haz lo que vieres". It's similar
to "When in Rome, do as the Romans".

I have no reason to keep an alphabetic order, so I'll move setuptools deps to
the top as you usually do in all med-team packages (and probably other
packagers do as well).

Do you think I should try to get last upstream code before debian release?
There are some more upstream commits since june 16th.

Regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#936503: Anybody volunteering to try to save falcon in Debian (Was: Bug#936503: falcon: Python2 removal in sid/bullseye)

2020-07-23 Thread Antoni Villalonga
On Mon, Jun 15, 2020 at 09:07:12AM +0200, Andreas Tille wrote:
> Control: tags -1 upstream
> Control: forwarded -1 
> https://github.com/PacificBiosciences/FALCON_unzip/issues/160
> 
> Antoni, thanks for opening the issue, Andreas.

Hi,

https://github.com/PacificBiosciences/FALCON_unzip/issues/160#issuecomment-662481212

> Christopher Dunn (pb-cdunn):
> 
> We have pushed the latest falcon code-base for python3. If that helps, you
> are free to install it.
>  * https://github.com/PacificBiosciences/pypeflow3
>  * https://github.com/PacificBiosciences/falcon3
>  * https://github.com/PacificBiosciences/falcon_unzip3

Yeah! :)


PS: I can see they also updated that repo yesterday (related software?):
https://github.com/PacificBiosciences/pbbam

-- 
Antoni Villalonga
https://friki.cat/



Bug#965219: dbconfig-common: Write file error (wrong owner)

2020-07-17 Thread Antoni Villalonga
Package: dbconfig-common
Version: 2.0.13
Severity: important
X-Debbugs-Cc: ant...@friki.cat

Dear Maintainer,

I have problems installing some packages due to permission/owner
problems.

I can workaround the problem adding a chown, just before
'exec > $tmpout'.

At file /usr/sbin/dbconfig-generate-include:247
247 chown root:root "$tmpout"
248 exec > $tmpout

Before chown, the tmp file owner was www-data. I didn't traced back why
it's created with that user...

May be because postinstall script sets
'dbc_generate_include_owner="www-data:www-data"'?


It worked fine before, at 2.0.11 version.

I think it's IMPORTANT because some packages can't be installed due to
that problem.

Regards,



Bug#963204: ITP: gindex -- Gapped-spaced index with minimizer support

2020-06-20 Thread Antoni Villalonga
Package: wnpp
Severity: wishlist

Subject: ITP: gindex -- Gapped-spaced index with minimizer support
Package: wnpp
Owner: Antoni Villalonga 
Severity: wishlist

* Package name: gindex
  Version : 0.0.0~git20170304.b1fb5ad
  Upstream Author : Ivan Sovic
* URL : https://github.com/isovic/gindex
* License : MIT
  Programming Lang: C
  Description : Gapped-spaced index with minimizer support
 A gapped-spaced index with minimizer support

Remark: This package is maintained by Debian Med Packaging Team at
   https://salsa.debian.org/med-team/gindex



Bug#963052: ITP: pairtools -- Framework to process sequencing data from a Hi-C experiment

2020-06-18 Thread Antoni Villalonga
Package: wnpp
Severity: wishlist

Subject: ITP: pairtools -- Framework to process sequencing data from a Hi-C 
experiment
Package: wnpp
Owner: Antoni Villalonga 
Severity: wishlist

* Package name: pairtools
  Version : 0.3.0
  Upstream Author : Mirny Lab
* URL : https://github.com/mirnylab/pairtools
* License : MIT
  Programming Lang: Python
  Description : Framework to process sequencing data from a Hi-C experiment
 Simple and fast command-line framework to process sequencing data from a Hi-C
 experiment.
 .
 Process pair-end sequence alignments and perform the following operations:
 .
 - Detect ligation junctions (a.k.a. Hi-C pairs) in aligned paired-end
   sequences of Hi-C DNA molecules
 - Sort .pairs files for downstream analyses
 - Detect, tag and remove PCR/optical duplicates 
 - Generate extensive statistics of Hi-C datasets
 - Select Hi-C pairs given flexibly defined criteria
 - Restore .sam alignments from Hi-C pairs

Remark: This package is maintained by Debian Med Packaging Team at
   https://salsa.debian.org/med-team/pairtools



Bug#963051: ITP: vt -- toolset for short variant discovery in genetic sequence data

2020-06-18 Thread Antoni Villalonga
Package: wnpp
Severity: wishlist

Subject: ITP: vt -- toolset for short variant discovery in genetic sequence data
Package: wnpp
Owner: Antoni Villalonga 
Severity: wishlist

* Package name: vt
  Version : 0.57721+ds
  Upstream Author : Adrian Tan 
* URL : https://genome.sph.umich.edu/wiki/Vt
* License : MIT
  Programming Lang: C
  Description : toolset for short variant discovery in genetic sequence data
 vt is a variant tool set that discovers short variants from Next Generation
 Sequencing data.
 .
 Vt-normalize is a tool to normalize representation of genetic variants in
 the VCF.  Variant normalization is formally defined as the consistent
 representation of genetic variants in an unambiguous and concise way.  In
 vt a simple general algorithm to enforce this is implemented.

Remark: This package is maintained by Debian Med Packaging Team at
   https://salsa.debian.org/med-team/vt



Bug#963050: ITP: vt -- Tool set for short variant discovery in genetic sequence data

2020-06-18 Thread Antoni Villalonga
Package: wnpp
Severity: wishlist

Subject: ITP: vt -- Tool set for short variant discovery in genetic sequence 
data
Package: wnpp
Owner: Antoni Villalonga 
Severity: wishlist

* Package name: vt
  Version : 0.57721+ds
  Upstream Author : Adrian Tan 
* URL : https://genome.sph.umich.edu/wiki/Vt
* License : MIT
  Programming Lang: C
  Description : Tool set for short variant discovery in genetic sequence 
data
 vt is a variant tool set that discovers short variants from Next Generation
 Sequencing data.
 .
 Visit http://genome.sph.umich.edu/wiki/vt for instructions.
 .
 vt uses htslib, tclap, Rmath, pcre2 and libsvm.

Remark: This package is maintained by Debian Med Packaging Team at
   https://salsa.debian.org/med-team/vt



Bug#936503: Anybody volunteering to try to save falcon in Debian (Was: Bug#936503: falcon: Python2 removal in sid/bullseye)

2020-06-15 Thread Antoni Villalonga
Hi,

> Any reader of the Debian Med list who wants to spent time to discuss this
> with upstream to save falcon in Debian?

Open issue:
  https://github.com/PacificBiosciences/FALCON_unzip/issues/160

Regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#961903: prusa-slicer: Unwanted background connections to http://files.prusa3d.com/

2020-05-31 Thread Antoni Villalonga
Package: prusa-slicer
Severity: normal

Dear Maintainer,

prusa-slicer connects to http://files.prusa3d.com/ to download firmware-related
information, without user confirmation.

It leaks information about software usage and affects the final generated
files.

Moreover the insecure connection opens vector of attack that may endup on
printers physical damage.

Please, dissable that feature by default and switch to secure connections.

Regards,



Bug#958840: kmer: autopkgtest regression: No module named 'localAlignerInterface'

2020-05-17 Thread Antoni Villalonga
Hi,

For some reason I din't included all my previous work on my merge request.

I've recovered most of it from a binary package I've found on my machine. And
after lot of hours I've found the python module naming issue (see d/rules
changes).

All changes are now included on:
 https://salsa.debian.org/med-team/kmer/-/merge_requests/4

Sorry for the long delay and the childish mistake.

Best regrads,

PS: d/changelog is unmodified in my last MR. Probably should include a
reference to close this bug.

On Sat, May 16, 2020 at 07:37:54AM +0200, Andreas Tille wrote:
> Hi Antoni,
> 
> since you once dived into this which was interrupted when Salsa was
> offline:  Would you be able to finish this?
> 
> That would be really helpful.
> 
> Kind regards
> 
>   Andreas.
> 
> On Tue, Apr 28, 2020 at 08:43:55PM +0200, Andreas Tille wrote:
> > On Tue, Apr 28, 2020 at 04:43:30PM +, Antoni Villalonga wrote:
> > > 
> > > I think I've faced that problem and fixed.
> > > Fix should be included into '2to3.patch'
> > > 
> > > I think the relevant part is:
> > > 
> > > --- a/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
> > > +++ b/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
> > > @@ -227,8 +227,17 @@
> > >  };
> > >  
> > >  
> > > +static struct PyModuleDef cModMethods =
> > > +{
> > > +PyModuleDef_HEAD_INIT,
> > > +"localAlignerInterface",  /* name of module */
> > > +"",  /* module documentation, may be NULL */
> > > +-1,  /* size of per-interpreter state of the module, or -1 
> > > if the module keeps state in global variables. */
> > > +registration_table
> > > +};
> > > +
> > >  extern "C"
> > > -void initlocalAlignerInterface() {
> > > -  Py_InitModule("localAlignerInterface", registration_table);
> > > +void PyInit_localAlignerInterface() {
> > > +  PyModule_Create();
> > >  }
> > 
> > Thanks.  Looks promising.
> >  
> > > Sorry I can't access salsa due to a maintenance, also can't test 
> > > autopkgtest
> > > for testing for the same reason.
> > 
> > Salsa and other hosts seem to be back now.
> >  
> > > It worked fine for sid some days ago.
> > 
> > Kind regards and thanks a lot for your contribution
> > 
> >   Andreas. 
> > 
> > -- 
> > http://fam-tille.de
> > 
> > ___
> > Debian-med-packaging mailing list
> > debian-med-packag...@alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
> 
> -- 
> http://fam-tille.de

-- 
Antoni Villalonga
https://friki.cat/



Bug#958840: kmer: autopkgtest regression: No module named 'localAlignerInterface'

2020-04-28 Thread Antoni Villalonga
Hi,

On Tue, Apr 28, 2020 at 11:44:28AM +0200, Andreas Tille wrote:
> Hi Antoni
> 
> On Sat, Apr 25, 2020 at 09:02:07PM +0200, Paul Gevers wrote:
> > ...
> > python3 /usr/bin/../lib/atac/bin/AtacDriver.py
> > /tmp/autopkgtest-lxc.pom4prd4/downtmp/autopkgtest_tmp/results/work/LeprvsTuber.matches.extended
> > 
> > Traceback (most recent call last):
> >   File "/usr/bin/../lib/atac/bin/AtacDriver.py", line 26, in 
> > import localAlignerInterface
> > ModuleNotFoundError: No module named 'localAlignerInterface'
> > PYTHONPATH=/usr/bin/../lib/atac/lib
> > Chainer failed.
> > autopkgtest [14:11:24]: test atac-unit-test: ---]
> 
> Since you helped with the Python3 port of kmer I wonder whether you
> might have some idea how to fix this.  The module is available in
> 
>atac-driver/chainer/localalign/localAlignerInterfacemodule.C
> 
> but for some reason it is not found.
> 
> Any help would be really appreciated.
> 
> Kind regards an thanks a lot for your initial help

I think I've faced that problem and fixed.
Fix should be included into '2to3.patch'

I think the relevant part is:

--- a/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
+++ b/atac-driver/chainer/localalign/localAlignerInterfacemodule.C
@@ -227,8 +227,17 @@
 };
 
 
+static struct PyModuleDef cModMethods =
+{
+PyModuleDef_HEAD_INIT,
+"localAlignerInterface",  /* name of module */
+"",  /* module documentation, may be NULL */
+-1,  /* size of per-interpreter state of the module, or -1 if the 
module keeps state in global variables. */
+registration_table
+};
+
 extern "C"
-void initlocalAlignerInterface() {
-  Py_InitModule("localAlignerInterface", registration_table);
+void PyInit_localAlignerInterface() {
+  PyModule_Create();
 }



Sorry I can't access salsa due to a maintenance, also can't test autopkgtest
for testing for the same reason.

It worked fine for sid some days ago.

Regards,

-- 
Antoni Villalonga
https://friki.cat/



Bug#944754: curl: Version in buster has accidental debug output

2020-01-13 Thread Antoni Villalonga
Hi,

Is there a chance to amend this issue on next buster release point?

This debug utput was not released on purpose, and get fixed upstream removing
one single line of code. It has a big impact, "curl -v" is unusable.

Best regards,

PS: May this bug be merged with #930354?

-- 
Antoni Villalonga
http://friki.cat/



Bug#947731: dns2tcp: Man pages references

2019-12-29 Thread Antoni Villalonga
Package: dns2tcp
Version: 0.5.2-1.1+b2
Severity: minor

Dear Maintainer,

The man pages references to 'ssltunnel' in "SEE ALSO" section.
I can't found 'ssltunnel' references at Debian repos.

Regards,



Bug#470928: Use dnsserver from /etc/resolv.conf when none specified

2019-12-29 Thread Antoni Villalonga
Package: dns2tcp
Followup-For: Bug #470928

Dear Maintainer,

This bug was fixed at 0.5.2 version.

It's documented and working fine for me.

Regards,



Bug#943833: [src:x11vnc] Drop bundled libvncserver/libvncclient

2019-11-03 Thread Antoni Villalonga
On Wed, Oct 30, 2019 at 02:59:32PM +, Mike Gabriel wrote:
> Package: src:x11vnc
> Version: 0.9.13-6
> Severity: wishlist
> 
> While this is not a functionality improvement, it helps with security
> audits. Please consider removing the libvncclient/ and libvncserver/ folders
> from the x11vnc orig tarball. Thanks!

Hi Mike,

I've uploaded x11vnc 0.9.16-1 to experimental.
Can we consider this bug fixed on that version?

Thanks for your time!

-- 
Antoni Villalonga
http://friki.cat/



Bug#941781: konversation: Search "next" and "previous" buttons functionalities interchanged

2019-10-05 Thread Antoni Villalonga
Package: konversation
Version: 1.7.5-1
Severity: minor

Dear Maintainer,

I've noticed when I ctrl+f to search on a conversation or on a
conversation log, the "next" button search backwards and the "previous"
search forward.

Regards,



Bug#940519: curl: Enable support for http3 protocol

2019-09-16 Thread Antoni Villalonga
Package: curl
Version: 7.66.0-1
Severity: normal

Dear Maintainer,

Recent curl package 7.66.0-1 doesn't support new http3 protocol.

For sure you are already aware of the introduced experimental http3 into
7.66 curl upstream release.

It seems to have a new build-dependency on quiche [0] (your
implementation of QUIC ;). Still to be packaged.
As an alternative it can be build with nghttp3 (non-packaged). I've been
said by an expert that the best available option is quiche.


Is someone packaging the new dependency?
Do you plan to enable http3 as soon as deps are ready?


Thanks,

[0] https://github.com/cloudflare/quiche
[1] https://github.com/ngtcp2/nghttp3



Bug#898284: reprotest: "unshare: unshare failed: Operation non permise"

2019-08-14 Thread Antoni Villalonga
Package: reprotest
Followup-For: Bug #898284

> > sudo reprotest sl_3.03-17build1.dsc -- schroot stretch
> (Sudo is needed to let build dependencies installed and since I get a
> sem_open: Permission denied otherwise)

I've faced with a simililar error message.
The reason was /dev/shm or /run/shm were not mounted as tmpfs.

Probably related to #778462

> It runs the first build, but when doing the 2nd build with variations I end
> up with the error:
> fuse: unknown option `-q'
> fusermount: failed to unmount /tmp/reprotest.smM4SM/build-experiment-1:
> Invalid argument
> cleanup failed with exit code 1
> 
> (Full output attached as run1.txt)

May be related to the same mounting problem?
I don't know. 

> I wasn't planning on using disoderfs so I turn off that variation:
> > sudo reprotest sl_3.03-17build1.dsc --variations +all,-fileordering --
> schroot stretch

sudo reprotest sl_3.03-17build1.dsc --variations +all,-fileordering -- schroot 
stretch

> Which I tracked down with strace to:
> 
> [pid 15694] unshare(CLONE_NEWUTS|CLONE_NEWUSER)
> = -1 EPERM (Operation not permitted)

Also straced my problem.

util-linux-2.34/sys-utils/unshare.c:431:if (-1 == 
unshare(unshare_flags))

unshare looks fine, CLONE_NEWUTS|CLONE_NEWUSER are used when is invoked with
"-r --uts".

In your execution the unshare command was triggered from reprotest (line 238):
reprotest/build.py-218-# TODO: below only works on linux, of course..
reprotest/build.py-219-if ctx.spec.domain_host.use_sudo:
[...]
reprotest/build.py-232-else:
reprotest/build.py-233-logger.warn("Not using sudo for domain_host; 
your build may fail. See man page for other options.")
reprotest/build.py-234-logger.warn("Be sure to `echo 1 > 
/proc/sys/kernel/unprivileged_userns_clone` if on a Debian system.")
reprotest/build.py-235-if "user_group" in ctx.spec and 
ctx.spec.user_group.available:
reprotest/build.py-236-logger.error("Incompatible variations: 
domain_host.use_sudo False, user_group.available non-empty.")
reprotest/build.py-237-raise ValueError("Incompatible variations; 
check the log for details.")
reprotest/build.py:238:_ = _.prepend_to_build_command(*"unshare -r 
--uts".split(),

So, ctx.spec.domain_host.use_sudo was evaluated to false.

Also nice notes on README:
https://salsa.debian.org/reproducible-builds/reprotest/commit/9b34f0a3044b84c39bd897c47a426256cf0a88b1


I've fixed my problems with this param:
  --variations '+all,domain_host.use_sudo=1'

Hope it helps. In my opinion and understanding this bug should be closed.

Regards,



Bug#932565: brightnessctl: Wrong return code when using "-q"

2019-07-20 Thread Antoni Villalonga
Package: brightnessctl
Version: 0.4-1
Severity: normal

Dear Maintainer,

As I've already reported upstream, the return code when running "brightnessctl
-q set 100%" is 1.

I expected 0 when command works.

Upstream pull request: https://github.com/Hummer12007/brightnessctl/pull/32

Patch:
  diff --git a/brightnessctl.c b/brightnessctl.c
  index eb3ce3c..102b54c 100644
  --- a/brightnessctl.c
  +++ b/brightnessctl.c
  @@ -236,8 +236,8 @@ int apply_operation(struct device *dev, enum operation 
operation, struct value *
  if (!p.mach)
  fprintf(stdout, "Updated device '%s':\n", 
dev->id);
  print_device(dev);
  -   return 0;
  }
  +   return 0;
  /* FALLTHRU */
  fail:
  default:


Thanks for your time.
Regards,



Bug#670585: "ok hat location is writable"

2019-05-02 Thread Antoni Villalonga
Hi,

I've found the message here:

/etc/rcS.d/S10checkfs.sh
124 log_success_msg "Done checking file systems. 
125 A log is being saved in ${FSCK_LOGFILE} if that location is writable."

I think the console width was 80 chars and it caused "if that location..."
message drop to next line. After that, "[ ok " message overwrited from the
beggining of the line, causing the anoying message.

If this problem is meant to be "fixed"?
Shorter messages (if any) may be the easy way.

Hope it helps,

-- 
Antoni Villalonga
http://friki.cat/



Bug#642401: [xmonad] lockup when starting gvim in terminal

2019-05-01 Thread Antoni Villalonga
Hi,

I can't reproduce the bug in next stable release.
I've also tested installing 1:7.1.314-3+lenny2 version on a debootstrap.
More details on how to reproduce the "confirmed" bug would be great.

Probably Squeeze fixed the bug. I've also tested 7.2
(Squeeze) and 7.4 (Jessie) versions without problems.


Thanks,

-- 
Antoni Villalonga
http://friki.cat/



Bug#866089: Acknowledgement (firefox-esr: Double-click on tab-bar crashes Firefox on Linux)

2019-01-18 Thread Antoni Villalonga
Hi,

It seems to be fixed at verson 60.
So this bug doesn't affect any more to Stretch/Buster new packages.

Regards,

On Mon, Nov 27, 2017 at 01:45:47PM +, Antoni Villalonga wrote:
> Hi,
> 
> The bug still affects firefox 57.0-1.
> 
> Regards
> 
> -- 
> Antoni Villalonga
> http://friki.cat/

-- 
Antoni Villalonga
http://friki.cat/



Bug#914793: libcurl4-openssl-dev: Unexpected timeouts

2018-11-27 Thread Antoni Villalonga
Hi,

Sorry the bug should be associated to "curl" source package.
Versions affected: since 7.61 until 7.63 (unreleased).

Regards,

On Tue, Nov 27, 2018 at 10:59:54AM +0000, Antoni Villalonga wrote:
> Package: libcurl4-openssl-dev
> Version: 7.61.0-1
> Severity: normal
> 
> Dear Maintainer,
> 
> I've discovered a timeout handling problem in libcurl.
> 
> Reported upstream here:
>   https://github.com/curl/curl/issues/3305
> 
> Upstream patch here (already merged with master branch):
>   https://github.com/curl/curl/commit/34fe0e1622fd87f2945e734787bc29e314d253cc
> 
> I think it's planned to be released on december 12th (7.63).
> 
> In case 7.63 can't be included in Buster, I think you should consider patching
> the existing version.
> 
> Upstream fix description:
>  curl_easy_perform: fix timeout handling
> 
>  curl_multi_wait() was erroneously used from within
>  curl_easy_perform(). It could lead to it believing there was no socket
>  to wait for and then instead sleep for a while instead of monitoring the
>  socket and then miss acting on that activity as swiftly as it should
>  (causing an up to 1000 ms delay).
> 
> Regards,

-- 
Antoni Villalonga
http://friki.cat/



Bug#914793: libcurl4-openssl-dev: Unexpected timeouts

2018-11-27 Thread Antoni Villalonga
Package: libcurl4-openssl-dev
Version: 7.61.0-1
Severity: normal

Dear Maintainer,

I've discovered a timeout handling problem in libcurl.

Reported upstream here:
  https://github.com/curl/curl/issues/3305

Upstream patch here (already merged with master branch):
  https://github.com/curl/curl/commit/34fe0e1622fd87f2945e734787bc29e314d253cc

I think it's planned to be released on december 12th (7.63).

In case 7.63 can't be included in Buster, I think you should consider patching
the existing version.

Upstream fix description:
 curl_easy_perform: fix timeout handling

 curl_multi_wait() was erroneously used from within
 curl_easy_perform(). It could lead to it believing there was no socket
 to wait for and then instead sleep for a while instead of monitoring the
 socket and then miss acting on that activity as swiftly as it should
 (causing an up to 1000 ms delay).

Regards,



Bug#884595: closed by Michael Biebl <bi...@debian.org> (Re: kernel recognizes keyboards and mice as joysticks)

2017-12-18 Thread Antoni Villalonga
Hi,

I'll try to sumarize my findings about this topic:

1.- powermanga accepts all joysticks from SDL
2.- Reading SDL: SDL_SYS_JoystickInit function for Linux seems to look
for /dev/input/event*, /dev/input/js*, /dev/js* devices. Some extra
checks are done at this function EV_IsJoystick.
3.- Linux 'joydev' module creates /dev/input/js0 device for de MS usb
mouse 045e:075c
4.- udev isn't involved (or should be somehow transparent)

Some questions I can't reply by myself:
- Should Linux create a js device for 045e:075c?
- Should SDL accept this js device?
- Should powermanga accept a js without axes?

FTR:

As a hotfix for powermanga:
 # modprobe -r joydev

Regards,

On Mon, Dec 18, 2017 at 06:21:59PM +, Antoni Villalonga wrote:
> Hi,
> 
> My problem trying to play powermanga remains :-/
> 
> On Mon, Dec 18, 2017 at 05:33:04PM +, Debian Bug Tracking System wrote:
> > This is an automatic notification regarding your Bug report
> > which was filed against the udev package:
> > 
> > #884595: udev: consider blacklisting fake joystick devices
> > 
> > It has been closed by Michael Biebl <bi...@debian.org>.
> > 
> > Their explanation is attached below along with your original report.
> > If this explanation is unsatisfactory and you have not received a
> > better one in a separate message then please contact Michael Biebl 
> > <bi...@debian.org> by
> > replying to this email.
> > 
> > 
> > -- 
> > 884595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884595
> > Debian Bug Tracking System
> > Contact ow...@bugs.debian.org with problems
> 
> > Date: Mon, 18 Dec 2017 18:28:40 +0100
> > From: Michael Biebl <bi...@debian.org>
> > To: Markus Koschany <a...@debian.org>
> > Cc: 884595-d...@bugs.debian.org, Antoni Villalonga <ant...@friki.cat>,
> >  cont...@bugs.debian.org
> > Subject: Re: kernel recognizes keyboards and mice as joysticks
> > 
> > Am 18.12.2017 um 17:55 schrieb Markus Koschany:
> > > retitle 884595 udev: consider blacklisting fake joystick devices
> > > reassign 884595 udev
> > > clone 884595 -1
> > > reassign -1 src:linux
> > > retitle -1 kernel recognizes keyboards and mice as joysticks
> > > thanks
> > > 
> > > Am 18.12.2017 um 00:33 schrieb Michael Biebl:
> > >> Control: reassign -1 powermanga
> > >>
> > >> Am 17.12.2017 um 23:24 schrieb Markus Koschany:
> > >>> Am 17.12.2017 um 23:02 schrieb Michael Biebl:
> > >>> [...]
> > >>>> I don't have access to such a device, but it looks like this device 
> > >>>> node
> > >>>> /dev/input/js0 is created by the kernel.
> > >>>> Please elaborate why this is supposed to be a bug in udev.
> > >>>
> > >>> I'm not familiar with udev and I would have expected that the device
> > >>> manager is responsible for creating or handling device nodes. This could
> > >>> also be a bug in the kernel. We have received similar bug reports [1]
> > >>> [2] for games in the past.
> > >>>
> > >>> In #714399 [3] Peter De Wachter pointed out that it might be a
> > >>> longstanding kernel bug, reported as:
> > >>>
> > >>> https://bugzilla.kernel.org/show_bug.cgi?id=28912
> > >>> https://bugzilla.kernel.org/show_bug.cgi?id=37982
> > >>>
> > >>> But there is also a way to work around this issue by blacklisting such
> > >>> devices with udev rules:
> > >>>
> > >>> https://github.com/denilsonsa/udev-joystick-blacklist
> > >>>
> > >>> I'm not sure if someone ever intends to fix these kernel bugs. If udev
> > >>> is not responsible for creating those fake joystick devices for
> > >>> keyboards and mice, then please consider to blacklist the affected
> > >>> devices, so that they will not be confused with joysticks.
> > >>
> > >> I'm reassigning this back to powermanga. the udev package is not a
> > >> proper place for such a blacklist. I'll let you decide if you want to
> > >> reassign this bug to the kernel or if you want to provide such a
> > >> blacklist on your own.
> > > 
> > > Michael what point does it serve to reassign this bug back to
> > > powermanga? I explained to you that keyboards and mice are recognized as
> > > joysticks and powermanga is surely not responsible for creating device
> > > nodes. All games and applications with joystick 

Bug#884595: closed by Michael Biebl <bi...@debian.org> (Re: kernel recognizes keyboards and mice as joysticks)

2017-12-18 Thread Antoni Villalonga
Hi,

My problem trying to play powermanga remains :-/

On Mon, Dec 18, 2017 at 05:33:04PM +, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the udev package:
> 
> #884595: udev: consider blacklisting fake joystick devices
> 
> It has been closed by Michael Biebl <bi...@debian.org>.
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Michael Biebl 
> <bi...@debian.org> by
> replying to this email.
> 
> 
> -- 
> 884595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884595
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems

> Date: Mon, 18 Dec 2017 18:28:40 +0100
> From: Michael Biebl <bi...@debian.org>
> To: Markus Koschany <a...@debian.org>
> Cc: 884595-d...@bugs.debian.org, Antoni Villalonga <ant...@friki.cat>,
>  cont...@bugs.debian.org
> Subject: Re: kernel recognizes keyboards and mice as joysticks
> 
> Am 18.12.2017 um 17:55 schrieb Markus Koschany:
> > retitle 884595 udev: consider blacklisting fake joystick devices
> > reassign 884595 udev
> > clone 884595 -1
> > reassign -1 src:linux
> > retitle -1 kernel recognizes keyboards and mice as joysticks
> > thanks
> > 
> > Am 18.12.2017 um 00:33 schrieb Michael Biebl:
> >> Control: reassign -1 powermanga
> >>
> >> Am 17.12.2017 um 23:24 schrieb Markus Koschany:
> >>> Am 17.12.2017 um 23:02 schrieb Michael Biebl:
> >>> [...]
> >>>> I don't have access to such a device, but it looks like this device node
> >>>> /dev/input/js0 is created by the kernel.
> >>>> Please elaborate why this is supposed to be a bug in udev.
> >>>
> >>> I'm not familiar with udev and I would have expected that the device
> >>> manager is responsible for creating or handling device nodes. This could
> >>> also be a bug in the kernel. We have received similar bug reports [1]
> >>> [2] for games in the past.
> >>>
> >>> In #714399 [3] Peter De Wachter pointed out that it might be a
> >>> longstanding kernel bug, reported as:
> >>>
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=28912
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=37982
> >>>
> >>> But there is also a way to work around this issue by blacklisting such
> >>> devices with udev rules:
> >>>
> >>> https://github.com/denilsonsa/udev-joystick-blacklist
> >>>
> >>> I'm not sure if someone ever intends to fix these kernel bugs. If udev
> >>> is not responsible for creating those fake joystick devices for
> >>> keyboards and mice, then please consider to blacklist the affected
> >>> devices, so that they will not be confused with joysticks.
> >>
> >> I'm reassigning this back to powermanga. the udev package is not a
> >> proper place for such a blacklist. I'll let you decide if you want to
> >> reassign this bug to the kernel or if you want to provide such a
> >> blacklist on your own.
> > 
> > Michael what point does it serve to reassign this bug back to
> > powermanga? I explained to you that keyboards and mice are recognized as
> > joysticks and powermanga is surely not responsible for creating device
> > nodes. All games and applications with joystick support are affected.
> > 
> > I am going to clone this bug report and reassign it to src:linux and
> > reassign 884595 back to udev.
> > 
> > Reasoning for reassignment:
> > 
> > The kernel is responsible for creating device nodes. Various keyboard
> > and mouse models are detected as joysticks though. This makes several
> > games hard or even impossible to control because the application code
> > assumes a joystick is a joystick and not a keyboard or a mouse.
> > 
> > There are two longstanding kernel bugs which describe the same issue for
> > two devices:
> > 
> > https://bugzilla.kernel.org/show_bug.cgi?id=28912
> > https://bugzilla.kernel.org/show_bug.cgi?id=37982
> > 
> > Here are two more Debian bug reports which describe the same issue
> > 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711350
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714401
> > 
> > The issue is still reproducible with the latest kernel in Sid.
> > 
> > If this bug cannot be fixed in time for the next stable release

Bug#884595: powermanga: Controls didn't work

2017-12-17 Thread Antoni Villalonga
Hi,

> I believe a similar issue was reported a while ago and I also had some
> troubles with alienblaster a while back because my keyboard was detected
> as a joystick. Eventually we reassigned the bug report to udev.
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711350
> 
> If you tell me what type of keyboard you use I could reassign this issue
> to udev as well. I don't believe that SDL or powermanga are at fault
> here.

You were right, my 5 buttons mouse is detected like a joystick (/dev/input/js0):
  ID 045e:075c Microsoft Corp.

Thanks!



-- 
Antoni Villalonga
http://friki.cat/



Bug#884595: powermanga: Controls didn't work

2017-12-17 Thread Antoni Villalonga
Hi,

After some tests I've found that SDL detects a joystick (I don't have
any "special" device attached).

This patch is a workarround for my problem:

diff a/display_sdl.c b/display_sdl.c
index c4fe282..e8b74db 100644
--- a/display_sdl.c
+++ b/display_sdl.c
@@ -1945,7 +1945,7 @@ display_open_joysticks (void)
 {
   Uint32 i;
   display_close_joysticks ();
-  numof_joysticks = SDL_NumJoysticks();
+  numof_joysticks = 0;
   LOG_INF ("number of joysticks available: %i", numof_joysticks);
   if (numof_joysticks < 1)
 {


I've also found this question at stackoverflow. It seems to be very close to
this problem.
https://stackoverflow.com/questions/21224023/why-does-sdl-numjoysticks-never-update

I have the same problem using this 50 lines long code (inexistent joystick
detected). Maybe you can move the bug to SDL libs.

Regards,

On Sun, Dec 17, 2017 at 12:35:10PM +, Antoni Villalonga wrote:
> Hi,
> 
> Same problem reproduced with powermanga=0.90-dfsg-2 (oldoldstable).
> 
> Regards,
> 
> On Sun, Dec 17, 2017 at 01:25:09PM +0100, Antoni Villalonga wrote:
> > Package: powermanga
> > Version: 0.93.1-2
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > The game didn't work at all.
> > 
> > After loading the game the selected option is 'Quit'. 'Up arrow' key didn't
> > work on main menu, so I only can change menu option by pressing 'down 
> > arrow'.
> > 
> > Once 'Play' option is selected the game starts and the ship goes to up-left
> > corner and I can't move it from there.
> > 
> > Regards,
> > 
> > 
> > -- System Information:
> > Debian Release: buster/sid
> >   APT prefers unstable
> >   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> > Architecture: amd64 (x86_64)
> > Foreign Architectures: i386
> > 
> > Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> > LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > Init: systemd (via /run/systemd/system)
> > 
> > Versions of packages powermanga depends on:
> > ii  libc62.25-4
> > ii  libpng16-16  1.6.34-1
> > ii  libsdl-mixer1.2  1.2.12-14
> > ii  libsdl1.2debian  1.2.15+dfsg2-0.1
> > ii  powermanga-data  0.93.1-2
> > 
> > powermanga recommends no packages.
> > 
> > powermanga suggests no packages.
> > 
> > -- no debconf information
> 
> -- 
> Antoni Villalonga
> http://friki.cat/

-- 
Antoni Villalonga
http://friki.cat/



Bug#884595: powermanga: Controls didn't work

2017-12-17 Thread Antoni Villalonga
Hi,

Same problem reproduced with powermanga=0.90-dfsg-2 (oldoldstable).

Regards,

On Sun, Dec 17, 2017 at 01:25:09PM +0100, Antoni Villalonga wrote:
> Package: powermanga
> Version: 0.93.1-2
> Severity: important
> 
> Dear Maintainer,
> 
> The game didn't work at all.
> 
> After loading the game the selected option is 'Quit'. 'Up arrow' key didn't
> work on main menu, so I only can change menu option by pressing 'down arrow'.
> 
> Once 'Play' option is selected the game starts and the ship goes to up-left
> corner and I can't move it from there.
> 
> Regards,
> 
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages powermanga depends on:
> ii  libc62.25-4
> ii  libpng16-16  1.6.34-1
> ii  libsdl-mixer1.2  1.2.12-14
> ii  libsdl1.2debian  1.2.15+dfsg2-0.1
> ii  powermanga-data  0.93.1-2
> 
> powermanga recommends no packages.
> 
> powermanga suggests no packages.
> 
> -- no debconf information

-- 
Antoni Villalonga
http://friki.cat/



Bug#884595: powermanga: Controls didn't work

2017-12-17 Thread Antoni Villalonga
Package: powermanga
Version: 0.93.1-2
Severity: important

Dear Maintainer,

The game didn't work at all.

After loading the game the selected option is 'Quit'. 'Up arrow' key didn't
work on main menu, so I only can change menu option by pressing 'down arrow'.

Once 'Play' option is selected the game starts and the ship goes to up-left
corner and I can't move it from there.

Regards,


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages powermanga depends on:
ii  libc62.25-4
ii  libpng16-16  1.6.34-1
ii  libsdl-mixer1.2  1.2.12-14
ii  libsdl1.2debian  1.2.15+dfsg2-0.1
ii  powermanga-data  0.93.1-2

powermanga recommends no packages.

powermanga suggests no packages.

-- no debconf information



Bug#735110: kradio4: Crash on (specific) internet radio connection

2017-11-27 Thread Antoni Villalonga
On Thu, 18 Aug 2016 20:01:21 +, Pino Toscano wrote:
> Unfortunately since an year or so (at least) this URL is no more
> available; do you have an up-to-date URL for that web radio, and/or
> can you check whether kradio4 currently in testing still crashes?

Sorry I don't use this program anymore and doesn't have more info about
the original radio station.
Also I can't reproduce again his bug using other http radio stations.

Regards,

-- 
Antoni Villalonga
http://friki.cat/



Bug#866089: Acknowledgement (firefox-esr: Double-click on tab-bar crashes Firefox on Linux)

2017-11-27 Thread Antoni Villalonga
Hi,

The bug still affects firefox 57.0-1.

Regards

-- 
Antoni Villalonga
http://friki.cat/



Bug#882598: libavutil55: segfault after upgrade

2017-11-27 Thread Antoni Villalonga
Hi,

On Fri, Nov 24, 2017 at 03:40:15PM +, James Cowgill wrote:
> Antoni, you should be able to fix your specific problem by upgrading all
> the ffmpeg related packages (libav* etc) to 3.4.

If I'm not wrong, at the moment of reporting I had installed this
versions:

ffmpeg7:3.2.8-1~deb9u1
libavcodec57:amd647:3.3.4-2+b1
libavdevice57:amd64   7:3.3.4-2+b3
libavfilter6:amd647:3.3.4-2+b3
libavformat57:amd64   7:3.3.4-2+b3
libavresample3:amd64  7:3.4-3
libavutil55:amd64 7:3.4-3
libpostproc54:amd64   7:3.4-3
libswresample2:amd64  7:3.4-3
libswscale4:amd64 7:3.4-3

After upgrading all packages to 7:3.4-4 it works fine.


Thanks for your time!



-- 
Antoni Villalonga
http://friki.cat/



Bug#882598: libavutil55: segfault after upgrade

2017-11-24 Thread Antoni Villalonga
Package: libavutil55
Version: 7:3.4-3
Severity: normal

Dear Maintainer,

After upgrade to sid ffmpeg tools start to segfault like this:
[370710.121304] read_thread[9924]: segfault at 7feff8051ce0 ip 7fef350b7943 
sp 7fef07386ea8 error 4 in libavutil.so.55.78.100[7fef35069000+67000]

After downgrading libavutil55 to 7:3.3.4-2+b3 ffmpeg tools starts working
again.

Regards,


-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'unstable'), (500, 'testing'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libavutil55 depends on:
ii  libc62.24-11+deb9u1
ii  libdrm2  2.4.74-1
ii  libva-drm2   2.0.0-2
ii  libva-x11-2  2.0.0-2
ii  libva2   2.0.0-2
ii  libvdpau11.1.1-6
ii  libx11-6 2:1.6.4-3

libavutil55 recommends no packages.

libavutil55 suggests no packages.

-- no debconf information



Bug#866089: firefox-esr: Double-click on tab-bar crashes Firefox on Linux

2017-06-27 Thread Antoni Villalonga
Package: firefox-esr
Version: 52.2.0esr-1
Severity: normal

Dear Maintainer,

When double clicking on firefox tabbar it crashes.

Maybe it's related to this old filled bug on Mozilla:
 https://bugzilla.mozilla.org/show_bug.cgi?id=1186967


IT throws this messages at time of crashing:

> **
> Gdk:ERROR:/build/gtk+3.0-NmdvYo/gtk+3.0-3.22.11/./gdk/x11/gdkwindow-x11.c:5165:create_moveresize_window:
>  assertion failed: (mv_resize->moveresize_emulation_window == NULL)
> Redirecting call to abort() to mozalloc_abort
> 
> ExceptionHandler::GenerateDump cloned child 26393
> ExceptionHandler::SendContinueSignalToChild sent continue signal to child
> ExceptionHandler::WaitForContinueSignal waiting for continue signal...


Also detected same problem on firefox-esr=52.2.0esr-1~deb9u1

PS: I'm using xmonad as wm, maybe related?


-- Package-specific info:

-- Extensions information
Name: Application Update Service Helper
Location: ${PROFILE_EXTENSIONS}/aushel...@mozilla.org.xpi
Status: enabled

Name: Default theme
Location: 
/usr/lib/firefox-esr/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Package: firefox-esr
Status: enabled

Name: It's All Text!
Location: /usr/share/xul-ext/itsalltext
Package: xul-ext-itsalltext
Status: enabled

Name: Multi-process staged rollout
Location: ${PROFILE_EXTENSIONS}/e10sroll...@mozilla.org.xpi
Status: enabled

Name: Pocket
Location: ${PROFILE_EXTENSIONS}/fire...@getpocket.com.xpi
Status: enabled

Name: Toggle Proxy
Location: /usr/share/xul-ext/toggle-proxy
Package: xul-ext-toggle-proxy
Status: enabled

Name: Web Compat
Location: ${PROFILE_EXTENSIONS}/webcom...@mozilla.org.xpi
Status: enabled

-- Plugins information
Name: IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (1.6.2-3.1))
Location: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
Package: icedtea-8-plugin:amd64
Status: enabled


-- Addons package information
ii  firefox-esr52.2.0esr-1  amd64Mozilla Firefox web browser - Ext
ii  icedtea-8-plug 1.6.2-3.1amd64web browser plugin based on OpenJ
ii  xul-ext-itsall 1.9.2-2  all  extension to edit textareas using
ii  xul-ext-toggle 1.9-2all  status bar icon to toggle between

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages firefox-esr depends on:
ii  debianutils   4.8.1.1
ii  fontconfig2.11.0-6.7+b1
ii  libasound21.1.3-5
ii  libatk1.0-0   2.22.0-1
ii  libc6 2.24-11+deb9u1
ii  libcairo-gobject2 1.14.8-1
ii  libcairo2 1.14.8-1
ii  libdbus-1-3   1.10.18-1
ii  libdbus-glib-1-2  0.108-2
ii  libevent-2.0-52.0.21-stable-3
ii  libffi6   3.2.1-6
ii  libfontconfig12.11.0-6.7+b1
ii  libfreetype6  2.6.3-3.2
ii  libgcc1   1:6.3.0-18
ii  libgdk-pixbuf2.0-02.36.5-2
ii  libglib2.0-0  2.50.3-2
ii  libgtk-3-03.22.11-1
ii  libgtk2.0-0   2.24.31-2
ii  libhunspell-1.4-0 1.4.1-2+b2
ii  libjsoncpp1   1.7.4-3
ii  libpango-1.0-01.40.5-1
ii  libsqlite3-0  3.16.2-5
ii  libstartup-notification0  0.12-4+b2
ii  libstdc++66.3.0-18
ii  libvpx4   1.6.1-3
ii  libx11-6  2:1.6.4-3
ii  libx11-xcb1   2:1.6.4-3
ii  libxcb-shm0   1.12-1
ii  libxcb1   1.12-1
ii  libxcomposite11:0.4.4-2
ii  libxdamage1   1:1.1.4-2+b3
ii  libxext6  2:1.3.3-1+b2
ii  libxfixes31:5.0.3-1
ii  libxrender1   1:0.9.10-1
ii  libxt61:1.1.5-1
ii  procps2:3.3.12-3
ii  zlib1g1:1.2.8.dfsg-5

firefox-esr recommends no packages.

Versions of packages firefox-esr suggests:
ii  fonts-lmodern  2.004.5-3
pn  fonts-stix | otf-stix  
ii  libcanberra0   0.30-3
ii  libgssapi-krb5-2   1.15-1
pn  mozplugger 

-- no debconf information



Bug#864955: live-boot: Non ASCII chars aren't displayed correctly

2017-06-17 Thread Antoni Villalonga
Package: live-boot
Version: 1:20170112
Severity: normal

Dear Maintainer,

Testing stretch live kde some non-asci chars are shown incorrectly.

I've found that console-setup is configured iso-8859-15 instead of utf8.
Switching to utf8 solves the problem.

Regards,

-- 
Antoni Villalonga



Bug#765539: Not possible to disable SSLv3

2014-10-16 Thread Antoni Villalonga
Hi,

I've been checking this issue and now I've a patch for it (attached).
Add «Protocols TLSv1» after Ciphers line in pound.cfg to dissable
SSLv2SSLv3.
It is an approach of SSLProtocols in Apache mod_ssl. Needs more work.

Hope it helps!

PS: I'll try to rewrite the patch in order to be more 'compatible' with other
Pound patches in Debian

-- 
Antoni Villalonga
http://friki.cat/
--- Pound-2.6/config.c  2011-12-28 14:57:45.0 +0100
+++ Pound-2.6b/config.c 2014-10-16 20:16:46.826102888 +0200
@@ -76,7 +76,7 @@
 static regex_t  Err414, Err500, Err501, Err503, MaxRequest, HeadRemove, RewriteLocation, RewriteDestination;
 static regex_t  Service, ServiceName, URL, HeadRequire, HeadDeny, BackEnd, Emergency, Priority, HAport, HAportAddr;
 static regex_t  Redirect, RedirectN, TimeOut, Session, Type, TTL, ID, DynScale;
-static regex_t  ClientCert, AddHeader, Ciphers, CAlist, VerifyList, CRLlist, NoHTTPS11;
+static regex_t  ClientCert, AddHeader, Ciphers, Protocols, CAlist, VerifyList, CRLlist, NoHTTPS11;
 static regex_t  Grace, Include, ConnTO, IgnoreCase, HTTPS, HTTPSCert, Disabled, Threads, CNName;

 static regmatch_t   matches[5];
@@ -1034,8 +1034,23 @@
 if(res-ctx == NULL)
 conf_err(Ciphers may only be used after Cert - aborted);
 lin[matches[1].rm_eo] = '\0';
-for(pc = res-ctx; pc; pc = pc-next)
-SSL_CTX_set_cipher_list(pc-ctx, lin + matches[1].rm_so);
+int ssl_ctx_set_cipher_list_return;
+for(pc = res-ctx; pc; pc = pc-next) {
+ssl_ctx_set_cipher_list_return = SSL_CTX_set_cipher_list(pc-ctx, lin + matches[1].rm_so);
+//printf(~DEBUG Pound (config.c:1042): %s = %d~\n, lin + matches[1].rm_so, ssl_ctx_set_cipher_list_return);
+}
+} else if(!regexec(Protocols, lin, 4, matches, 0)) {
+has_other = 1;
+if(res-ctx == NULL)
+conf_err(Protocols may only be used after Cert - aborted);
+lin[matches[1].rm_eo] = '\0';
+for(pc = res-ctx; pc; pc = pc-next) {
+if (!strcmp(TLSv1, (lin + matches[1].rm_so))) {
+int SSL_CTX_set_options_sslv2 = SSL_CTX_set_options(pc-ctx, SSL_OP_NO_SSLv2);
+int SSL_CTX_set_options_sslv3 = SSL_CTX_set_options(pc-ctx, SSL_OP_NO_SSLv3);
+//printf(~DEBUG Pound (config.c:1053): SSLv2 %d // SSLv3 %d~\n, SSL_CTX_set_options_sslv2, SSL_CTX_set_options_sslv3);
+}
+}
 } else if(!regexec(CAlist, lin, 4, matches, 0)) {
 STACK_OF(X509_NAME) *cert_names;

@@ -1306,6 +1321,7 @@
 || regcomp(ClientCert, ^[ \t]*ClientCert[ \t]+([0-3])[ \t]+([1-9])[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
 || regcomp(AddHeader, ^[ \t]*AddHeader[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
 || regcomp(Ciphers, ^[ \t]*Ciphers[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
+|| regcomp(Protocols, ^[ \t]*Protocols[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
 || regcomp(CAlist, ^[ \t]*CAlist[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
 || regcomp(VerifyList, ^[ \t]*VerifyList[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
 || regcomp(CRLlist, ^[ \t]*CRLlist[ \t]+\(.+)\[ \t]*$, REG_ICASE | REG_NEWLINE | REG_EXTENDED)
@@ -1464,6 +1480,7 @@
 regfree(ClientCert);
 regfree(AddHeader);
 regfree(Ciphers);
+regfree(Protocols);
 regfree(CAlist);
 regfree(VerifyList);
 regfree(CRLlist);


Bug#757740: libkeyutils1: Cannot allocate memory while decompressing [mips]

2014-08-13 Thread Antoni Villalonga
On Mon, Aug 11, 2014 at 10:05:23PM +0200, Guillem Jover wrote:
 ,---
 override_dh_builddeb:
   dh_builddeb -- -Zxz -z9
 `---
 
 This is rather unwise, for no apparent reason. The -z9 seems to be a
 common pattern in most (if not all) of Daniel's packages, and I think
 should be reverted, if absent of a good rationale.

I allocated 32MB successfully.

But lzma dies this way:
% echo hello  hello
% /usr/bin/xz --format=lzma hello
% /usr/bin/xz: hello: Cannot allocate memory

Do you think it is normal that lzma needs more than 32MB?

It works on a bigger amd64 machine.

Regards

-- 
Antoni Villalonga
http://friki.cat/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757740: libkeyutils1: Cannot allocate memory while decompressing [mips]

2014-08-11 Thread Antoni Villalonga
Hi to both and thanks for your time,

On Mon, Aug 11, 2014 at 11:19:45PM +0200, Christian Kastner wrote:
 On 2014-08-11 22:05, Guillem Jover wrote:
  After that it works.
  % dpkg-deb -R libkeyutils1_1.5.9-4_mips.deb libk 
  % dpkg-deb -b libk
^^ I omit it was over another machine (amd64 desktop). So sorry!

  What he did was repack the .deb, which makes use of the default
  settings instead of the ones supplied by the packaging, i.e.:
  
  ,---
  override_dh_builddeb:
  dh_builddeb -- -Zxz -z9
  `---
 
 
  This is rather unwise, for no apparent reason. The -z9 seems to be a
  common pattern in most (if not all) of Daniel's packages, and I think
  should be reverted, if absent of a good rationale.

My little mips machine is a home router with 64MB of ram.

I've found two more packages with the same 'issue':
 /var/cache/apt/archives/libmagic1_5.11-2+deb7u3_mips.deb
 /var/cache/apt/archives/file_5.11-2+deb7u3_mips.deb


I don't know anything about mips arch, but if most are little embedded systems
it doesn't make sense to me building packages using these extra options.
If there is a mips team or something like that could be they need to take
some decisions about that.

Now I have a work arround to fix my system's low memory problem repacking all
needed packages (easily scriptable), so a 'wontfix' close will be fine to me.

Thanks again and sorry for wasting your time

Regards,
-- 
Antoni Villalonga


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#757740: libkeyutils1: Cannot allocate memory while decompressing [mips]

2014-08-10 Thread Antoni Villalonga
Package: libkeyutils1
Version: 1.5.5-3
Severity: normal

Dear Maintainer,

My fresh debian installation on a mips arch can't install 
libkeyutils1_1.5.5-3_mips.deb file.

# dpkg -i /tmp/libkeyutils1_1.5.5-3_mips.deb  
(Reading database ... 14103 files and directories currently installed.)
Preparing to replace libkeyutils1:mips 1.5.5-3 (using 
.../libkeyutils1_1.5.5-3_mips.deb) ...
Unpacking replacement libkeyutils1:mips ...
dpkg-deb (subprocess): decompressing archive member: lzma error: Cannot 
allocate memory
dpkg-deb: error: subprocess decompress returned error exit status 2
dpkg: error processing /tmp/libkeyutils1_1.5.5-3_mips.deb (--install):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
 /tmp/libkeyutils1_1.5.5-3_mips.deb
# md5sum /tmp/libkeyutils1_1.5.5-3_mips.deb
1a7849c38607e11a85a4562492fd0e0a  /tmp/libkeyutils1_1.5.5-3_mips.deb


After that it works.
% dpkg-deb -R libkeyutils1_1.5.9-4_mips.deb libk 
% dpkg-deb -b libk
# dpkg -i libk.deb 
(Reading database ... 14103 files and directories currently installed.)
Preparing to replace libkeyutils1:mips 1.5.5-3 (using libk.deb) ...
Unpacking replacement libkeyutils1:mips ...
Setting up libkeyutils1:mips (1.5.5-3) ...

Hope it helps!
Regards


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741956: php-apc: include filename empty string (on apc.stat=0)

2014-03-17 Thread Antoni Villalonga
Package: php-apc
Version: 3.1.13-1
Severity: normal

Dear Maintainer,

I've got the exact same error that was reported in 2012 here:
 https://bugs.php.net/bug.php?id=62398

The only diference is that in my case I've only reproduced in 'include' (not
require).

The apache error log show lines like these:
Mar 17 15:14:22 web www.example.com: [Mon Mar 17 15:14:22 2014] [error] [client 
127.0.0.1] PHP Warning:  include(): Filename cannot be empty in 
/var/www/example.com/path/myfile.php on line 10, referer: 
http://www.example.com/xx/yyy
Mar 17 15:14:22 web www.example.com: [Mon Mar 17 15:14:22 2014] [error] [client 
127.0.0.1] PHP Warning:  include(): Failed opening '' for inclusion 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/var/www/example.com/path/myfile.php on line 10, referer: 
http://www.example.com/xx/yyy

All apc settings are default unless:
  apc.stat=0

It works fine with squeeze.

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-apc depends on:
ii  libapache2-mod-php5 [phpapi-20100525]  5.4.4-14+deb7u8
ii  libc6  2.13-38+deb7u1
ii  php5-cli [phpapi-20100525] 5.4.4-14+deb7u8

php-apc recommends no packages.

Versions of packages php-apc suggests:
pn  php5-gd  none

-- Configuration Files:
/etc/php5/mods-available/apc.ini changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735110: kradio4: Crash on (specific) internet radio connection

2014-01-12 Thread Antoni Villalonga
Package: kradio4
Version: 4.0.7-2+b1
Severity: normal

Dear Maintainer,

The newer version of kradio4 (+b1) crash connecting to:
  http://176.31.246.109:8000/onamediterranea

I can't debug that, but it works fine in previous version (4.0.7-2).

Other radio stations works fine with +b1 version.

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kradio4 depends on:
ii  kde-runtime4:4.11.3-1
ii  libasound2 1.0.27.2-3
ii  libavformat54  6:9.10-2
ii  libc6  2.17-97
ii  libgcc11:4.8.2-12
ii  libglib2.0-0   2.36.4-1
ii  libkde3support44:4.11.3-2
ii  libkdecore54:4.11.3-2
ii  libkdeui5  4:4.11.3-2
ii  libkio54:4.11.3-2
ii  libkparts4 4:4.11.3-2
ii  liblircclient0 0.9.0~pre1-1
ii  libmms00.6.2-3
ii  libmp3lame03.99.5+repack1-3
ii  libnepomuk44:4.11.3-2
ii  libnepomukutils4   4:4.11.3-2
ii  libogg01.3.1-1
ii  libqt4-dbus4:4.8.5+git192-g085f851+dfsg-2
ii  libqt4-network 4:4.8.5+git192-g085f851+dfsg-2
ii  libqt4-qt3support  4:4.8.5+git192-g085f851+dfsg-2
ii  libqt4-svg 4:4.8.5+git192-g085f851+dfsg-2
ii  libqt4-xml 4:4.8.5+git192-g085f851+dfsg-2
ii  libqtcore4 4:4.8.5+git192-g085f851+dfsg-2
ii  libqtgui4  4:4.8.5+git192-g085f851+dfsg-2
ii  libsndfile11.0.25-7
ii  libsoprano42.9.4+dfsg-1
ii  libstdc++6 4.8.2-12
ii  libvorbisenc2  1.3.2-1.3

kradio4 recommends no packages.

kradio4 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#702041: ffproxy: segfaults writing to syslog under certain configuration

2013-03-01 Thread Antoni Villalonga
Package: ffproxy
Version: 1.6-10
Severity: important

Dear Maintainer,

You can easily reproduce the segfault with this settings:
  log_all_requests yes
  unrestricted_connect yes

Now access to a non https site throught the ffproxy. The child who manage the
request *may* crash.

Is easier to understand just taking a look to the patch:
--- ffproxy-1.6.orig/request.c
+++ ffproxy-1.6/request.c
@@ -91,7 +91,7 @@ keep_alive:
r.host, clinfo-name, 
clinfo-ip);
else
info(CONNECT to host (%s:%d) 
from (%s) [%s],
-   r.host, r.port, 
clinfo-ip);
+   r.host, r.port, 
clinfo-name, clinfo-ip);
}
i = do_request(cl, r);
switch (i) {

Regards


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#700342: postfix-policyd: Fatal cleanup error: didn't find priority 'LOG_IFOO', exiting (BugFix)

2013-02-11 Thread Antoni Villalonga
I attach the real patch.

The strings may not overlap, as strcpy man says.

Also fixed the spaces counter, this is the safe way AFAIK.

Regards

--- syslog.c.orig   2013-02-12 00:24:36.0 +0100
+++ syslog.c2013-02-12 00:25:38.0 +0100
@@ -210,14 +210,15 @@
 {
char*p;
   unsigned int i = 0;
+  unsigned int n = 0;
 
   if (strlen (str) == 0)
 return (str);
 
   for (i = 0; isspace (str[i]); i++)
-;
+n++;
 
-  strcpy (str, str + i);
+  str=+n;
 
   p = str + strlen (str);
 while ((p--) != str  isspace (*p))


-- 
Antoni Villalonga
http://friki.cat/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546931: Again in 0.7~alpha3

2010-07-27 Thread Antoni Villalonga
Hi

I have the same problem in ifupdown version 0.7~alpha3.

# ifup eth0
/var/run/dhclient.eth0.pid: interface name too long (is 26)
Failed to bring up eth0.

After downgrade to 0.6.10 (sid) it works again.

Regards,



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#511634: aptitude why-not not a real package segfaults

2009-01-12 Thread Antoni Villalonga i Noceras
Package: aptitude
Version: 0.4.11.11-1
Severity: minor

'aptitude why-not python2.3' segfaults. I think the reason could be that 
python2.3 isn't
a real package.

See this example:
ant...@ibi:~% aptitude why-not python2.3
zsh: segmentation fault  aptitude why-not python2.3
ant...@ibi:~% aptitude show python2.3
No current or candidate version found for python2.3
Package: python2.3
State: not a real package

ant...@ibi:~%

See you!
-- Package-specific info:
aptitude 0.4.11.11 compilat el Nov 20 2008 04:02:44
Compilador: g++ 4.3.2
Compilat contra:
  apt versió 4.6.0
  NCurses versió: 5.6
  libsigc++ versió: 2.0.18
  Suport d'ept habilitat

Versions actuals de les biblioteques:
  Versió de les NCurses: ncurses 5.7.20090105
  Versió de les cwidget: 0.5.12
  Versió de l'apt: 4.6.0
linux-gate.so.1 =  (0xb7f2a000)
libapt-pkg-libc6.7-6.so.4.6 = /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0xb7e56000)
libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7e18000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0xb7e11000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0xb7d4d000)
libept.so.0 = /usr/lib/libept.so.0 (0xb7c89000)
libxapian.so.15 = /usr/lib/libxapian.so.15 (0xb7b33000)
libz.so.1 = /usr/lib/libz.so.1 (0xb7b1e000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7b05000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb7a16000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb79f)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb79e3000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7888000)
libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb7884000)
libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb787f000)
/lib/ld-linux.so.2 (0xb7f2b000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.20Advanced front-end for dpkg
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libcwidget30.5.12-3  high-level terminal interface libr
ii  libept00.5.26High-level library for managing De
ii  libgcc11:4.3.2-2 GCC support library
ii  libncursesw5   5.7+20090105-1shared libraries for terminal hand
ii  libsigc++-2.0-0c2a 2.0.18-2  type-safe Signal Framework for C++
ii  libstdc++6 4.3.2-2   The GNU Standard C++ Library v3
ii  libxapian151.0.7-4   Search engine library
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do none (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2parse Debian changelogs and output

Versions of packages aptitude suggests:
pn  debtags   none (no description available)
ii  tasksel   2.77   Tool for selecting tasks for insta

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#353290: apt-errors in lenny/testing

2009-01-06 Thread Antoni Villalonga i Noceras

Eugene V. Lyubimkin wrote:
 Good. I'm closing this bug now then. Anyone is free to reopen in case
 of seeing this bug in latest apt versions.

Hi! I was playing with aptitude when found this:

$ aptitude reinstall --with-recommends `aptitude search '~i !~M' | awk 
'{printf $2 FS }'`

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REINSTALLED:
[...]
0 packages upgraded, 0 newly installed, 271 reinstalled, 0 to remove and 
0 not upgraded.

Need to get 0B/146MB of archives. After unpacking 0B will be used.
Writing extended state information... Done
E: Internal Error, Could not perform immediate configuration (2) on bash 
== Yes, it's here

A package failed to install.  Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

I'm on sid. Some of installed packages and versions:
ii  apt  0.7.20
Advanced front-end for dpkg
ii  apt-file 2.2.0 
search for files within Debian packages (com
ii  apt-listbugs 0.0.94
Lists critical bugs before each apt installa
ii  apt-listchanges  2.83  
package change history notification tool
ii  apt-src  0.25.1-0.1
manage Debian source packages
ii  apt-utils0.7.20
APT utility programs
ii  apticron 1.1.26
simple tool to mail about pending package up
ii  aptitude 0.4.11.11-1   
terminal-based package manager
ii  libapt-pkg-perl  0.1.22+b1 
Perl interface to libapt-pkg
ii  dpkg 1.14.24   
Debian package management system
ii  dpkg-dev 1.14.24   
Debian package development tools
ii  libdpkg-ruby1.8  0.3.2 
modules/classes for dpkg on ruby 1.8


It seems the same bug, but i'm not sure. Sorry if i'm wrong :-P




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#426603: debian-history: spanish traslation

2007-05-29 Thread Antoni Villalonga i Noceras
Package: debian-history
Version: 2.8
Severity: wishlist

In file: /usr/share/doc/debian-history/es/ch-detailed.es.html

Debian 0.01 hasta Debian 0.90 fue publicada entre agosto y diciembre de
1996. Ian Murdock escribiM-CM-3:

Must be:
Debian 0.01 hasta Debian 0.90 fue publicada entre agosto y diciembre de
1993. Ian Murdock escribiM-CM-3:

It's all for now, bye!



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

Kernel: Linux 2.6.20.4 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#421050: darcsweb: Bad links in RSS

2007-04-26 Thread Antoni Villalonga
En/na Antoni Villalonga i Noceras ha escrit:
 Package: darcsweb
 Version: 0.16-1
 Severity: normal
 
 I think there is a problen in the links of feed RSS. I am not sure at all,
 could be a problem in my config files.
 
 There are my config files:
 [EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py
 #   # file named _darcs/third_party/darcsweb/extdoc (one line only), set
 #   # this to True. It defaults to False.
 #   #autoprojurl = True
 
 class frikibloc:
 reponame = 'FrikiBLOC'
 repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals'
 repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs'
 repourl = 'http://friki.cat'
 repoencoding = 'latin1'
 [EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py
 #   # file named _darcs/third_party/darcsweb/extdoc (one line only), set
 #   # this to True. It defaults to False.
 #   #autoprojurl = True
 
 class frikibloc:
 reponame = 'FrikiBLOC'
 repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals'
 repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs'
 repourl = 'http://friki.cat'
 repoencoding = 'latin1'
 [EMAIL PROTECTED]:~$ cat /etc/apache2/sites-available/frikibloc
 [...]
 VirtualHost *:80
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /home/antoni/frikibloc
 ServerName frikibloc.info
 ErrorLog /var/log/apache2/frikibloc.error.log
 CustomLog /var/log/apache2/frikibloc.access.log combined
 php_admin_value open_basedir /home/antoni/frikibloc
 
 Alias /darcsweb /usr/share/darcsweb
 Directory /usr/share/darcsweb
 AllowOverride None
 Options None
 Order allow,deny
 Allow from all
 RedirectMatch ^/darcsweb$ /cgi-bin/darcsweb.cgi
 /Directory
 /VirtualHost
 [EMAIL PROTECTED]:~$
 
 Links of my repo:
 REPO: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=summary
 RSS: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=rss
 Example:
   Incorrect link (readed from rss): 
 http://frikibloc.info/cgi-bin/darcsweb.cgi/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz
   Correct link: 
 http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz
 
 It's all, thanks!
 
 -- System Information:
 Debian Release: 4.0
   APT prefers stable
   APT policy: (500, 'stable')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.16-xenU-rimu6
 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
 
 Versions of packages darcsweb depends on:
 ii  darcs  1.0.9~rc1-0.1 an advanced revision control 
 syste
 ii  python 2.4.4-2   An interactive high-level 
 object-o
 
 Versions of packages darcsweb recommends:
 ii  apache2   2.2.3-4Next generation, scalable, 
 extenda
 ii  apache2-mpm-prefork [httpd]   2.2.3-4Traditional model for Apache 
 HTTPD
 
 -- no debconf information
 
 

Hi!

I solved my problem changing just one line. I don't know if it's an
universal patch.

This is the diff file:
--- darcsweb.cgi2007-04-27 07:24:55.0 +0200
+++ original-darcsweb.cgi 2007-04-27 06:57:15.0 +0200
@@ -2263,7 +2263,7 @@
if 'myurl' not in dir(base) and 'cachedir' not in dir(base):
n = os.environ['SERVER_NAME']
p = os.environ['SERVER_PORT']
-   s = os.path.dirname(os.environ['SCRIPT_NAME'])
+   s = os.environ['SCRIPT_NAME']
if p == '80':
p = ''
else:


Bye!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#421050: darcsweb: Bad links in RSS

2007-04-25 Thread Antoni Villalonga i Noceras
Package: darcsweb
Version: 0.16-1
Severity: normal

I think there is a problen in the links of feed RSS. I am not sure at all,
could be a problem in my config files.

There are my config files:
[EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py
#   # file named _darcs/third_party/darcsweb/extdoc (one line only), set
#   # this to True. It defaults to False.
#   #autoprojurl = True

class frikibloc:
reponame = 'FrikiBLOC'
repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals'
repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs'
repourl = 'http://friki.cat'
repoencoding = 'latin1'
[EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py
#   # file named _darcs/third_party/darcsweb/extdoc (one line only), set
#   # this to True. It defaults to False.
#   #autoprojurl = True

class frikibloc:
reponame = 'FrikiBLOC'
repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals'
repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs'
repourl = 'http://friki.cat'
repoencoding = 'latin1'
[EMAIL PROTECTED]:~$ cat /etc/apache2/sites-available/frikibloc
[...]
VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/antoni/frikibloc
ServerName frikibloc.info
ErrorLog /var/log/apache2/frikibloc.error.log
CustomLog /var/log/apache2/frikibloc.access.log combined
php_admin_value open_basedir /home/antoni/frikibloc

Alias /darcsweb /usr/share/darcsweb
Directory /usr/share/darcsweb
AllowOverride None
Options None
Order allow,deny
Allow from all
RedirectMatch ^/darcsweb$ /cgi-bin/darcsweb.cgi
/Directory
/VirtualHost
[EMAIL PROTECTED]:~$

Links of my repo:
REPO: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=summary
RSS: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=rss
Example:
  Incorrect link (readed from rss): 
http://frikibloc.info/cgi-bin/darcsweb.cgi/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz
  Correct link: 
http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz

It's all, thanks!

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-xenU-rimu6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages darcsweb depends on:
ii  darcs  1.0.9~rc1-0.1 an advanced revision control syste
ii  python 2.4.4-2   An interactive high-level object-o

Versions of packages darcsweb recommends:
ii  apache2   2.2.3-4Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.2.3-4Traditional model for Apache HTTPD

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#403986: akregator: Akregator crashes on POST

2006-12-21 Thread Antoni Villalonga
En/na Antoni Villalonga ha escrit:
 Package: akregator
 Version: 4:3.5.5.dfsg.1-4
 Severity: normal
 
 Akregator crashes every time I send a comment in a blog :-(
 
 I can reproduce it:
 $ cat comment.html
 form action=http://localhost/comment2.html; method=postinput 
 type=submit//form
 
 $ cat comment2.html
 htmlok/html
 
 I link http://localhost/comment.html in a rss2 and open it in a
 Akregator tab. When I submit the form the program crash (and close).
 
 If I don't sumbit the form it don't crash and if I link
 http://localhost/comment2.html directly in the rss2 don't crash too.
 
 It crash in my blog too with a complete and valid html in 
 http://_delete-me_friki.cat
 (sorry for the spam). You can't submit a comment using akregator.

Just add this rss test it: http://friki.cat/descarregues/akregator/rss2.xml

Good luck!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#403986: akregator: Akregator crashes on POST

2006-12-20 Thread Antoni Villalonga
Package: akregator
Version: 4:3.5.5.dfsg.1-4
Severity: normal

Akregator crashes every time I send a comment in a blog :-(

I can reproduce it:
$ cat comment.html
form action=http://localhost/comment2.html; method=postinput 
type=submit//form

$ cat comment2.html
htmlok/html

I link http://localhost/comment.html in a rss2 and open it in a
Akregator tab. When I submit the form the program crash (and close).

If I don't sumbit the form it don't crash and if I link
http://localhost/comment2.html directly in the rss2 don't crash too.

It crash in my blog too with a complete and valid html in 
http://_delete-me_friki.cat
(sorry for the spam). You can't submit a comment using akregator.

The apache log in a localhost test is:
127.0.0.1 - - [21/Dec/2006:04:39:43 +0100] GET /comment.html HTTP/1.1
200 100 - Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.20-rc1;
X11; i686; ca, en_US) KHTML/3.5.5 (like Gecko) (Debian package
4:3.5.5a.dfsg.1-5) -
127.0.0.1 - - [21/Dec/2006:04:39:44 +0100] POST /comment2.html
HTTP/1.1 405 309 http://localhost/comment.html; Mozilla/5.0
(compatible; Konqueror/3.5; Linux 2.6.20-rc1; X11; i686; ca, en_US)
KHTML/3.5.5 (like Gecko) (Debian package 4:3.5.5a.dfsg.1-5) -

It's all. Thanks!

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-rc1
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)

Versions of packages akregator depends on:
ii  kdelibs4c2a4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  libc6  2.5-0exp3 GNU C Library: Shared libraries
ii  libgcc11:4.2-20061003-1  GCC support library
ii  libkdepim1a4:3.5.5.dfsg.1-4  KDE PIM library
ii  libqt3-mt  3:3.3.7-1 Qt GUI Library (Threaded runtime v
ii  libstdc++6 4.2-20061003-1The GNU Standard C++ Library v3

akregator recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397904: [php-maint] Bug#397625: me too

2006-11-11 Thread Antoni Villalonga
En/na sean finney ha escrit:
 On Fri, 2006-11-10 at 14:37 +0100, Antoni Villalonga wrote:
 I'm using mysql from debian experimental :S
 
 hmm... it's possible that there are unpublished ABI differences
 between unstable-experimental libmysqlclient, as mysql every now and
 then accidentally introduces them and i've only been keeping a close
 eye on what goes in unstable.  i'll check on this later but in
 the meantime you should check to see if migrating to what's
 in testing/unstable (and rebooting if possible) fixes your problem.
 
 
   sean

Finaly I solved the problem downgrading libmysqlclient15off package from
5.1.11beta-1 (experimental) to 5.0.26.-3 (sid).

Bye!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397625: me too

2006-11-10 Thread Antoni Villalonga
Hi!

I forget to say I'm using update packages (5.2.0-2 not 5.2.0-1). I think
it's not fixed at all.

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397625: [php-maint] Bug#397625: me too

2006-11-10 Thread Antoni Villalonga
En/na Ondřej Surý ha escrit:
 Could you do
 
 grep mysql /etc/php5/apache2/php.ini
 
 and
 
 dpkg -l php5-mysql
 
 and send us output?
 
 Ondrej

Here is:

[EMAIL PROTECTED]:/tmp$ grep mysql /etc/php5/apache2/php.ini
extension=mysql.so
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
; Default port number for mysql_connect().  If unset, mysql_connect()
will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
mysql.default_port =
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safe mode).
; *Any* user with PHP access can run 'echo
get_cfg_var(mysql.default_password)
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
mysqli.max_links = -1
; Default port number for mysqli_connect().  If unset, mysqli_connect()
will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
mysqli.default_port = 3306
mysqli.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
mysqli.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user =
; Default password for mysqli_connect() (doesn't apply in safe mode).
; *Any* user with PHP access can run 'echo get_cfg_var(mysqli.default_pw)
mysqli.default_pw =
mysqli.reconnect = Off
[EMAIL PROTECTED]:/tmp$ dpkg -l php5-mysql
Desitjat=Desconegut(u)/Instal·la(i)/Elimina(r)/Neteja(p)/Atura(h)
| Estat=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Estat,Err:
majúsc.=dolent)
||/ Nom   Versió
Descripció
+++-=-=-==
ii  php5-mysql5.2.0-2
MySQL module for php5
[EMAIL PROTECTED]:/tmp$

Some more:
ii  libapache2-mod-php5  5.2.0-2
server-side, HTML-embedded scripting language (apache
ii  php5-common  5.2.0-2
Common files for packages built from the php5 source
ii  php5-mysql   5.2.0-2
MySQL module for php5

Bye!!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397625: [php-maint] Bug#397625: me too

2006-11-10 Thread Antoni Villalonga
En/na Ondřej Surý ha escrit:
 mysql.allow_persistent = On
 
 Could you please disable persistent connections and try if it still
 crashes?  Memory handling is bit different for persistent and
 non-persistent connections.
 
 Ondrej

Crashing again.

--

Antoni Villalonga Noceras


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397904: [php-maint] Bug#397625: me too

2006-11-10 Thread Antoni Villalonga
En/na Ondřej Surý ha escrit:
 [I have cloned bug report, please send any replies to this new bugreport 
 number]
 
 Strange.
 
 What version of mysql library do you have installed?
 (dpkg -l libmysqlclient\*)
 
 And what is output of:
 
 ldd /usr/lib/php5/*/mysql.so
 
 I looked for changes between 5.1.6 and 5.2.0 and I cannot find anything
 suspicious.
 
 Ondrej

mmm

I'm using mysql from debian experimental :S

[EMAIL PROTECTED]:~$ ldd /usr/lib/php5/*/mysql.so
linux-gate.so.1 =  (0xb7faf000)
libmysqlclient.so.15 = /usr/lib/libmysqlclient.so.15 (0xb7da9000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7c69000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7c51000)
libcrypt.so.1 = /lib/i686/cmov/libcrypt.so.1 (0xb7c23000)
libnsl.so.1 = /lib/i686/cmov/libnsl.so.1 (0xb7c0c000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7be6000)
libz.so.1 = /usr/lib/libz.so.1 (0xb7bd2000)
/lib/ld-linux.so.2 (0x8000)
[EMAIL PROTECTED]:~$ apt-cache policy libmysqlclient15-dev
libmysqlclient15-dev:
  Instal·lat: 5.1.11beta-1
  Candidat: 5.1.11beta-1
  Taula de versió:
 *** 5.1.11beta-1 0
  1 http://ftp.uk.debian.org experimental/main Packages
100 /var/lib/dpkg/status
 5.0.26-3 0
500 http://ftp.uk.debian.org sid/main Packages
 5.0.24a-9 0
500 http://ftp.uk.debian.org etch/main Packages
[EMAIL PROTECTED]:~$

A simple $foo=array(); in some scripts, some times segfault too. I don't
know if mysql is the problem...

I'll downgrade mysql to sid and php5 to 5.1.6 and mail you again.

Bye!!

--

Antoni Villalonga Noceras


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397904: [php-maint] Bug#397625: me too

2006-11-10 Thread Antoni Villalonga
En/na sean finney ha escrit:
 On Fri, 2006-11-10 at 14:37 +0100, Antoni Villalonga wrote:
 I'm using mysql from debian experimental :S
 
 hmm... it's possible that there are unpublished ABI differences
 between unstable-experimental libmysqlclient, as mysql every now and
 then accidentally introduces them and i've only been keeping a close
 eye on what goes in unstable.  i'll check on this later but in
 the meantime you should check to see if migrating to what's
 in testing/unstable (and rebooting if possible) fixes your problem.
 
 
   sean

Some hours after... ( ;-D )

I start to test over a un-updated sid machine. Using testing packages it
works, and using sid packages works too. The problem starts when I
update mysql to experimental.

Here is the comand used:
aptitude install mysql-common mysql-server -t experimental

And here is a part of aptitude log: (i'm sorry it's in catalan, not in
english).


[Instal·la, dependències] libmysqlclient15-dev
[Instal·la, dependències] mysql-client-5.1
[Instal·la, dependències] mysql-server-5.1
[Instal·la, dependències] zlib1g-dev
[Suprimeix, dependències] mysql-client-5.0
[Suprimeix, dependències] mysql-server-5.0
[Actualitza] libmysqlclient15off 5.0.26-3 - 5.1.11beta-1
[Actualitza] mysql-common 5.0.26-3 - 5.1.11beta-1
[Actualitza] mysql-server 5.0.26-3 - 5.1.11beta-1


Instal·la - Install
dependències - dependences
Suprimeix - Remove
Actualitza - update

I don't know in what of these packages is the problem
(libmysqlclient15-dev, mysql-client-5.1, mysql-server-5.1, zlib1g-dev,
libmysqlclient15off, mysql-common or mysql-server). It's hard to
downgrade mysql from 5.1 to 5.0.


It's all for now. Thanks guys!

PS: If I can do more tests for you just ask.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#397625: me too

2006-11-09 Thread Antoni Villalonga
Same 'Alien' problem here too.

I'm very confused. This is the minimal script that I can write to do a
segfault on php5.

Some functions are not used, but if I remove it the scripts 'magically'
works.

I don't know if it can help, because it's 63 lines length.

Bye

PD: Some times when I edit the file, it start to work, even if I revert
the script to this version. When I restart apache2 it start to segfault
again.

--

Antoni Villalonga Noceras
http://friki.cat


test_mini.php.gz
Description: application/gzip


Bug#369948: proftpd: Don't close unallowed connections after reboot

2006-06-02 Thread Antoni Villalonga i Noceras
Package: proftpd
Version: 1.2.10-15sarge1.0.1
Severity: normal

I don't know if it's a bug or a feature.

For example:
  Connect to the ftp server with a user and password (don't close
  connection).
  Add the user to /etc/ftpusers
  Restart, reload or stop the server using /etc/init.d/proftpd
  You are still connected to the ftp server.

I think, at least, the administrator must be warned of this.

Bye!

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16-xenU-rimu6
Locale: LANG=ca_ES, LC_CTYPE=ca_ES (charmap=ISO-8859-1) (ignored: LC_ALL set to 
ca_ES)

Versions of packages proftpd depends on:
ii  adduser  3.63Add and remove users and groups
ii  debconf  1.4.30.13   Debian configuration management sy
ii  libc62.3.2.ds1-22sarge3  GNU C Library: Shared libraries an
ii  libcap1  1:1.10-14   support for getting/setting POSIX.
ii  libpam0g 0.76-22 Pluggable Authentication Modules l
ii  libssl0.9.7  0.9.7e-3sarge1  SSL shared libraries
ii  libwrap0 7.6.dbs-8   Wietse Venema's TCP wrappers libra
ii  netbase  4.21Basic TCP/IP networking system
ii  proftpd-common   1.2.10-15sarge1.0.1 Versatile, virtual-hosting FTP dae
ii  ucf  1.17Update Configuration File: preserv

-- debconf information:
  shared/proftpd/warning:
* shared/proftpd/inetd_or_standalone: inetd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#369310: Solved

2006-05-28 Thread Antoni Villalonga
Hi Gordon.

I solve it removing '# ' at line 9 from 'miscfiles.templates'.

Bye.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#369175: kpowersave: Fails to connect to powersaved

2006-05-27 Thread Antoni Villalonga
Package: kpowersave
Version: 0.6.1-1
Severity: normal


After start kpowersave I recive the warning message: The powersave
daemon is not running. Starting it will improve permormance:
/etc/init.d/powersaved start.
But it's already started:
$ ps -ef | grep powersaved
root 13664 1 0 01:15 ? 00:00:00 /usr/sbin/powersaved -d -f
/var/run/acpid.socket

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc4-mm3
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kpowersave depends on:
ii  kdelibs4c2a 4:3.5.2-2+b1 core libraries for all KDE
applica
ii  libc6   2.3.6-9  GNU C Library: Shared libraries
ii  libdbus-1-2 0.61-5   simple interprocess
messaging syst
ii  libdbus-qt-1-1c20.61-5   simple interprocess
messaging syst
ii  libgcc1 1:4.1.0-4GCC support library
ii  libhal1 0.5.7-2  Hardware Abstraction Layer
- share
ii  libpowersave10  0.12.18-1power management daemon -
shared l
ii  libstdc++6  4.1.0-4  The GNU Standard C++ Library v3
ii  libxext61:1.0.0-4X11 miscellaneous extension
librar
ii  libxss1 1:1.0.1-4X11 Screen Saver extension
library
ii  libxtst61:1.0.1-3X11 Testing -- Resource
extension
ii  powersaved  0.12.18-1power management daemon

kpowersave recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#369175: kpowersave: Fails to connect to powersaved

2006-05-27 Thread Antoni Villalonga
Michael Biebl wrote:
 Antoni Villalonga schrieb:
 Package: kpowersave
 Version: 0.6.1-1
 Severity: normal


 After start kpowersave I recive the warning message: The powersave
 daemon is not running. Starting it will improve permormance:
 /etc/init.d/powersaved start.
 But it's already started:
 $ ps -ef | grep powersaved
 root 13664 1 0 01:15 ? 00:00:00 /usr/sbin/powersaved -d -f
 /var/run/acpid.socket

 
 Did you follow the instructions in
 /usr/share/doc/powersaved/README.Debian? Especially the point about
 adding the user to group powerdev?
 
 Michael
 

That's it, I'm sorry.

After add my user to this group and restart dbus it works.

Thanks Michael.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]