Your message dated Wed, 27 Apr 2011 09:32:15 +0000
with message-id <e1qf16v-0002le...@franck.debian.org>
and subject line Bug#624272: fixed in uxlaunch 0.59-2
has caused the Debian Bug report #624272,
regarding uxlaunch: FTBFS: desktop.c:40:4: error: #error "Unsupported arch"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
624272: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624272
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: uxlaunch
Version: 0.59-1
Severity: serious
Tags: patch
Hi,
uxlaunch FTBFS on some architecturte.
The architecture that does not declare __NR_ioprio_set in uxlaunch
seems to become FTBFS.
__NR_ioprio_set was supported.
https://buildd.debian.org/status/package.php?p=uxlaunch
-----
CC consolekit.c
consolekit.c:1: warning: -fstack-protector not supported for this target
CC dbus.c
dbus.c:1: warning: -fstack-protector not supported for this target
CC desktop.c
desktop.c:1: warning: -fstack-protector not supported for this target
desktop.c:40:4: error: #error "Unsupported arch"
desktop.c: In function 'do_autostart':
desktop.c:468: error: '__NR_ioprio_set' undeclared (first use in this function)
desktop.c:468: error: (Each undeclared identifier is reported only once
desktop.c:468: error: for each function it appears in.)
make[1]: *** [desktop.o] Error 1
make[1]: Leaving directory
`/build/buildd-uxlaunch_0.59-1-mips-gyOudl/uxlaunch-0.59'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
-----
This can use by include asm/unistd.h in the architecture supporting linux
I made patch to support this . Could you apply this patch?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
diff --git a/desktop.c b/desktop.c
index 61f1118..e481bad 100644
--- a/desktop.c
+++ b/desktop.c
@@ -27,18 +27,9 @@
#include <pwd.h>
#include <wordexp.h>
+#include <asm/unistd.h>
#include "uxlaunch.h"
-#if defined(__i386__)
-# define __NR_ioprio_set 289
-#elif defined(__x86_64__)
-# define __NR_ioprio_set 251
-#elif defined(__arm__)
-# define __NR_ioprio_set 314
-#elif defined (__powerpc__)
-# define __NR_ioprio_set 273
-#else
-# error "Unsupported arch"
-#endif
+
#define IOPRIO_WHO_PROCESS 1
#define IOPRIO_CLASS_IDLE 3
#define IOPRIO_CLASS_SHIFT 13
--- End Message ---
--- Begin Message ---
Source: uxlaunch
Source-Version: 0.59-2
We believe that the bug you reported is fixed in the latest version of
uxlaunch, which is due to be installed in the Debian FTP archive:
uxlaunch_0.59-2.debian.tar.gz
to main/u/uxlaunch/uxlaunch_0.59-2.debian.tar.gz
uxlaunch_0.59-2.dsc
to main/u/uxlaunch/uxlaunch_0.59-2.dsc
uxlaunch_0.59-2_amd64.deb
to main/u/uxlaunch/uxlaunch_0.59-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 624...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Didier Raboud <o...@debian.org> (supplier of updated uxlaunch package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 27 Apr 2011 11:22:03 +0200
Source: uxlaunch
Binary: uxlaunch
Architecture: source amd64
Version: 0.59-2
Distribution: unstable
Urgency: low
Maintainer: Debian MeeGo packaging Team
<pkg-meego-maintain...@lists.alioth.debian.org>
Changed-By: Didier Raboud <o...@debian.org>
Description:
uxlaunch - quick X and user desktop starter
Closes: 624272
Changes:
uxlaunch (0.59-2) unstable; urgency=low
.
[ Didier Raboud ]
* Limit architecture to linux-any as the current code is not ported.
.
[ Nobuhiro Iwamatsu ]
* Add ioprio_set_support.patch to build on all Linux architectures
(Closes: #624272).
Checksums-Sha1:
ce6f06d23eea03a434a1073a3bd674ca55e24e10 1439 uxlaunch_0.59-2.dsc
95bcb19c5c9d5839f73a48bddab99ab9319e35a6 15110 uxlaunch_0.59-2.debian.tar.gz
7c9a86039cc09c37e73d02a801bb69252728b379 32382 uxlaunch_0.59-2_amd64.deb
Checksums-Sha256:
e3c6e4b6109a2914354a9168227a23977031d1bba86e2571eaa0fd5e0c65c0ca 1439
uxlaunch_0.59-2.dsc
d939c15a838a2f9c92dd193ca8a2b079df8a71f8c6c61ffec3baaf4681196b7b 15110
uxlaunch_0.59-2.debian.tar.gz
f31545ee505a7d06870a4b390c9301f5eb7d39d8ea8b8b37904ac01acb9cd918 32382
uxlaunch_0.59-2_amd64.deb
Files:
b7cf529fa8a74abb8cdf92e2d6d5b679 1439 x11 optional uxlaunch_0.59-2.dsc
f7ec697a62dcbde48b5b8027c9b9bb70 15110 x11 optional
uxlaunch_0.59-2.debian.tar.gz
b20a401736aa7d3428e4829f289f460c 32382 x11 optional uxlaunch_0.59-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iJwEAQECAAYFAk234fQACgkQKA1Vt+jBwDjnowP/ZheM0g5OK/dteKI4X4cRh5v7
wJulYVkhd+01nmXoZIAa85C3sRDrRxiyhxh3b1kjSdqX0rTyf19NAXkpANY0BbD+
MGiQPjZKAB9JOIiSXtJ0fuYyihWyF3k4Sks1LDGzqBH73FWslDn/KCtsyIKX/0ys
GYMpq00/PUGyeazyxyg=
=pgFl
-----END PGP SIGNATURE-----
--- End Message ---