Re: Bug#743583: python3-gi fails to install on arm64 (struct.error from py3compile)
On 04/04/14 02:02, Wookey wrote: +++ Jakub Wilk [2014-04-04 01:21 +0200]: * Emilio Pozuelo Monfort po...@debian.org, 2014-04-04, 00:49: Setting up python3-gi (3.10.2-2) ... Traceback (most recent call last): File /usr/bin/py3compile, line 290, in module main() File /usr/bin/py3compile, line 270, in main options.force, options.optimize, e_patterns) File /usr/bin/py3compile, line 172, in compile interpreter.magic_number(version), mtime) struct.error: 'l' format requires -2147483648 = number = 2147483647 Probably something to do with bogus timestamps in the deb: drwxr-xr-x root/root 0 2063-05-01 14:32 ./ Well spotted. Some repacking has just proved that that is indeed the problem. I did have a load of stuff built in '2021' earlier in this project (due to the hwclocks not being settable on the early arm64 hardware/kernels). I hadn't realised I have some thing from '2063' too. What's somewhat odd is that this packaged worked fine for quite some time (on 1st machine), and this issue only came up on a new machine. Possibly because it's due to time-difference, not absolute time. Anyway, glad to have that mystery cleared up. And it unbungs a pile of builds. thanks. Of course, it would be better if dh_python3 was Y2038-compliant. :) yes. Is there any point filing a wishlist for that, to remind someone to do something about it before it's a real issue? I don't know, but feel free to reopen and reassign. Closing this now. Emilio -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/533f389e.6020...@debian.org
Re: Bug#743583: python3-gi fails to install on arm64 (struct.error from py3compile)
Cc'ing debian-python@. On 04/04/14 00:04, wookey wrote: Package: python3-gi Version: 3.10.2-2 Severity: normal When you install the python3-gi package from http://people.debian.org/~wookey/bootstrap/debianrepo2/pool/main/p/pygobject/python3-gi_3.10.2-2_arm64.deb it fails with: Setting up python3-gi (3.10.2-2) ... Traceback (most recent call last): File /usr/bin/py3compile, line 290, in module main() File /usr/bin/py3compile, line 270, in main options.force, options.optimize, e_patterns) File /usr/bin/py3compile, line 172, in compile interpreter.magic_number(version), mtime) struct.error: 'l' format requires -2147483648 = number = 2147483647 dpkg: error processing package python3-gi (--configure): subprocess installed post-installation script returned error exit status 1 So that's this line in the postinst failing: py3compile -p python3-gi Any clues on what to look at for the cause of this problem would be welcome. -- System Information: Debian Release: Unstable APT prefers stable APT policy: (500, 'unstable') Architecture: arm64 (aarch64) Kernel: Linux 3.12.0-mustang_sw_1.11.09-beta (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash ___ pkg-gnome-maintainers mailing list pkg-gnome-maintain...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gnome-maintainers -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/533de564.3090...@debian.org
Re: Bug#743583: python3-gi fails to install on arm64 (struct.error from py3compile)
* Emilio Pozuelo Monfort po...@debian.org, 2014-04-04, 00:49: Setting up python3-gi (3.10.2-2) ... Traceback (most recent call last): File /usr/bin/py3compile, line 290, in module main() File /usr/bin/py3compile, line 270, in main options.force, options.optimize, e_patterns) File /usr/bin/py3compile, line 172, in compile interpreter.magic_number(version), mtime) struct.error: 'l' format requires -2147483648 = number = 2147483647 Probably something to do with bogus timestamps in the deb: drwxr-xr-x root/root 0 2063-05-01 14:32 ./ Of couse, it would be better if dh_python3 was Y2038-compliant. :) -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140403232159.ga4...@jwilk.net
Re: Bug#743583: python3-gi fails to install on arm64 (struct.error from py3compile)
+++ Jakub Wilk [2014-04-04 01:21 +0200]: * Emilio Pozuelo Monfort po...@debian.org, 2014-04-04, 00:49: Setting up python3-gi (3.10.2-2) ... Traceback (most recent call last): File /usr/bin/py3compile, line 290, in module main() File /usr/bin/py3compile, line 270, in main options.force, options.optimize, e_patterns) File /usr/bin/py3compile, line 172, in compile interpreter.magic_number(version), mtime) struct.error: 'l' format requires -2147483648 = number = 2147483647 Probably something to do with bogus timestamps in the deb: drwxr-xr-x root/root 0 2063-05-01 14:32 ./ Well spotted. Some repacking has just proved that that is indeed the problem. I did have a load of stuff built in '2021' earlier in this project (due to the hwclocks not being settable on the early arm64 hardware/kernels). I hadn't realised I have some thing from '2063' too. What's somewhat odd is that this packaged worked fine for quite some time (on 1st machine), and this issue only came up on a new machine. Possibly because it's due to time-difference, not absolute time. Anyway, glad to have that mystery cleared up. And it unbungs a pile of builds. thanks. Of course, it would be better if dh_python3 was Y2038-compliant. :) yes. Is there any point filing a wishlist for that, to remind someone to do something about it before it's a real issue? Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140404000204.gw10...@stoneboat.aleph1.co.uk