Bug#915603: (no subject)

2018-12-05 Thread Ted Percival
Bug 871306[2] says graphicsmagick needs to Build-Depend on g++ (>= 4:7) to get
the new & old ABIs, but I don't see a versioned Build-Depends on g++ since the
bug was closed in version 1.3.26-5.

> For new
> executables to build without undefined references, your library will
> need rebuilding with GCC 7.

So the solution might just be to add the versioned Build-Depends: g++ (>= 4:7)
and rebuild to get the old symbols back into the library, rather than bumping
the soname.

[1] https://wiki.debian.org/GCC7#GCC_7_name_mangling_bug_fix
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871306



Bug#907496: libcurlpp0: Always fails with "No URL set!"

2018-08-28 Thread Ted Percival
Package: libcurlpp0
Version: 0.8.1-2+b1
Severity: grave
Justification: renders package unusable

libcurlpp0 appears to always fail with a "No URL set!" error message.
I only tested the "Easy" API.

For example even the first example in its repo

doesn't work:

$ g++ -Wall example00.cpp `curlpp-config --cflags --libs` `curl-config --cflags 
--libs`
$ ./a.out 
No URL set!

I recompiled libcurlpp using both 7 & 8[1] and when linking the example program 
to
the new build it works fine (both static & dynamic libs). So I'm not sure where
the problem lies but even after reinstalling the Debian package I could only get
it to work with my local libcurlpp.

[1] GCC package versions:
g++-7: 7.3.0-28
g++-8: 4:8.2.0-1

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

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 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 libcurlpp0 depends on:
ii  libc6   2.27-5
ii  libcurl47.61.0-1
ii  libgcc1 1:8.2.0-4
ii  libstdc++6  8.2.0-4

libcurlpp0 recommends no packages.

libcurlpp0 suggests no packages.

-- no debconf information



Bug#483560: Unable to load image-loading modules

2008-05-30 Thread Ted Percival

Loïc Minier wrote:

/var/lib/dpkg/info/libgtk2.0-0.postinst:

# versions prior to 2.10.1-1 used the 2.4.0 binary version and generated module
# files below /etc/gtk-2.0 which will we can not leave behind (since they
# reference modules not on the system anymore)
if [ $1 = configure ]  dpkg --compare-versions $2 lt 2.10.3-2; then
echo Removing generated module files coming from the previous Gtk binary 
version...
rm -v -f /etc/gtk-2.0/gdk-pixbuf.loaders
rm -v -f /etc/gtk-2.0/gtk.immodules
fi


That dpkg --compare-versions lt looks like it should be a gt. 
Changing that and re-running the postinst configure does the trick.


Thanks for your help :)



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



Bug#483560: libgtk2.0-0: Fails to load icons with libpixbufloader-png.so

2008-05-29 Thread Ted Percival
Package: libgtk2.0-0
Version: 2.12.9-4
Severity: grave
Justification: renders package unusable


Subject: libgtk2.0-0: Fails to load icons (libpixbufloader-png.so)
Package: libgtk2.0-0
Version: 2.12.9-4
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

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

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
ii  libc6  2.7-11GNU C Library: Shared libraries
ii  libcairo2  1.6.4-3   The Cairo 2D vector graphics libra
ii  libcomerr2 1.40.8-2  common error description library
ii  libcupsys2 1.3.7-5   Common UNIX Printing System(tm) - 
ii  libfontconfig1 2.5.93-1  generic font configuration library
ii  libglib2.0-0   2.16.3-2  The GLib library of C routines
ii  libgnutls262.2.5-1   the GNU TLS library - runtime libr
ii  libgtk2.0-common   2.12.9-4  Common files for the GTK+ graphica
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libkrb53   1.6.dfsg.3-2  MIT Kerberos runtime libraries
ii  libpango1.0-0  1.20.2-2  Layout and rendering of internatio
ii  libpng12-0 1.2.27-1  PNG library - runtime
ii  libtiff4   3.8.2-8   Tag Image File Format (TIFF) libra
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxcomposite1 1:0.4.0-2 X11 Composite extension library
ii  libxcursor11:1.1.9-1 X cursor management library
ii  libxdamage11:1.1.1-4 X11 damaged region extension libra
ii  libxext6   2:1.0.4-1 X11 miscellaneous extension librar
ii  libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii  libxi6 2:1.1.3-1 X11 Input extension library
ii  libxinerama1   2:1.0.3-2 X11 Xinerama extension library
ii  libxrandr2 2:1.2.2-2 X11 RandR extension library
ii  libxrender11:0.9.4-1 X Rendering Extension client libra
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme0.10-1 default fallback theme for FreeDes
ii  libgtk2.0-bin 2.12.9-3   The programs for the GTK+ graphica

-- no debconf information

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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



Bug#483560: Problem details

2008-05-29 Thread Ted Percival
When upgrading libgtk2.0-0 and gtk2-engines-pixbuf from 2.12.9-3 to 
2.12.9-4 then running startx, in ~/.xsession-errors there are a bunch of 
errors like this from gnome-fs-desktop, gnome-panel, nm-applet and 
update-notifier:


quote
  Failed to load gnome-fs-desktop: Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared
  object file: No such file or directory
/quote

Then bug-buddy comes up for what seems to be every panel applet and 
application, and after closing it about 8 times I am left with a desktop 
with no panel, a lot of placeholder icons, and not much works.


I have attached my dpkg.log showing the two packages being upgraded, and 
my .xsession-errors file.


A similar error occurs with the gdm greeter, and it falls back to a 
non-themed one:


quote
  There was an error loading the theme debian-moreblue

  Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: cannot open
  shared object file: No such file or directory.
/quote

(Sorry about the initial email, I misused reportbug.)
2008-05-29 22:16:15 startup archives unpack
2008-05-29 22:16:15 upgrade gtk2-engines-pixbuf 2.12.9-3 2.12.9-4
2008-05-29 22:16:15 status half-configured gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status half-installed gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status half-installed gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:15 upgrade libgtk2.0-0 2.12.9-3 2.12.9-4
2008-05-29 22:16:15 status half-configured libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status unpacked libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status half-installed libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status half-installed libgtk2.0-0 2.12.9-3
2008-05-29 22:16:17 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:17 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 startup packages configure
2008-05-29 22:16:18 configure libgtk2.0-0 2.12.9-4 2.12.9-4
2008-05-29 22:16:18 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 status half-configured libgtk2.0-0 2.12.9-4
2008-05-29 22:16:19 status installed libgtk2.0-0 2.12.9-4
2008-05-29 22:16:19 configure gtk2-engines-pixbuf 2.12.9-4 2.12.9-4
2008-05-29 22:16:19 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:19 status half-configured gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:19 status installed gtk2-engines-pixbuf 2.12.9-4
Xsession: X session started for ted at Thu May 29 22:30:03 AEST 2008
SESSION_MANAGER=local/lenovo:/tmp/.ICE-unix/10523
** Message: another SSH agent is running at: /tmp/ssh-GYEbT10523/agent.10523
xrdb:  *Label.background on line 220 overrides entry on line 150
xrdb:  *Text.background on line 226 overrides entry on line 191
xrdb:  *Label.foreground on line 232 overrides entry on line 151
xrdb:  *Text.foreground on line 238 overrides entry on line 192
Window manager warning: Failed to read saved session file 
/home/ted/.metacity/sessions/default0.ms: Failed to open file 
'/home/ted/.metacity/sessions/default0.ms': No such file or directory

(bluetooth-applet:10597): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Initializing gnome-mount extension
seahorse nautilus module initialized
Connection failure: Connection refused
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory

(gnome-panel:10580): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory

(gnome-panel:10580): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open 

Bug#483560: Unable to load image-loading modules

2008-05-29 Thread Ted Percival

Loïc Minier wrote:

quote
  Failed to load gnome-fs-desktop: Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared
  object file: No such file or directory
/quote


 Both 2.12.9-3 and 2.12.9-4 are using /usr/lib/gtk-2.0/2.10.0.  If
 anything mentions 2.4.0, it's very old stuff.

 Could you please ls /usr/local/lib?


$ ls /usr/local/lib/
python2.4  python2.5

I looked around and found /etc/gtk-2.0/gdk-pixbuf.loaders which is 
probably the cause of this. It is attached.


Since /usr/lib/libgtk2.0-0/update-gdkpixbuf-loaders is a no-op since 
2.10.3-2, I guess some upgrade script should have removed the file from 
/etc but hasn't?


# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gtk+-2.8.20
#
# LoaderDir = /usr/lib/gtk-2.0/2.4.0/loaders
#
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so
gif 4 gtk20 The GIF image format
image/gif 
gif 
GIF8  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xbm.so
xbm 4 gtk20 The XBM image format
image/x-xbitmap 
xbm 
#define   100
/*  50

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so
xpm 4 gtk20 The XPM image format
image/x-xpixmap 
xpm 
/* XPM */  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ico.so
ico 5 gtk20 The ICO image format
image/x-icon 
ico cur 
  \001zz znz 100
  \002zz znz 100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-wbmp.so
wbmp 4 gtk20 The WBMP image format
image/vnd.wap.wbmp 
wbmp 
  z 1

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
png 5 gtk20 The PNG image format
image/png 
png 
\211PNG\r\n\032\n  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tga.so
tga 4 gtk20 The Targa image format
image/x-tga 
tga targa 
 \001\001 x   100
 \001\t x   100
  \002 xz  99
  \003 xz  100
  \n xz  100
  \013 xz  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.so
tiff 0 gtk20 The TIFF image format
image/tiff 
tiff tif 
MM *   z  100
II* z 100

/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so
svg 2 gtk20 Scalable Vector Graphics
image/svg+xml image/svg image/svg-xml image/vnd.adobe.svg+xml 
text/xml-svg 
svg svgz svg.gz 
 svg * 100
 !DOCTYPE svg *  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so
jpeg 5 gtk20 The JPEG image format
image/jpeg 
jpeg jpe jpg 
\377\330  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pcx.so
pcx 4 gtk20 The PCX image format
image/x-pcx 
pcx 
\n \001  100
\n\002\001  100
\n\003\001  100
\n\004\001  100
\n\005\001  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pnm.so
pnm 4 gtk20 The PNM/PBM/PGM/PPM image format family
image/x-portable-anymap image/x-portable-bitmap image/x-portable-graymap 
image/x-portable-pixmap 
pnm pbm pgm ppm 
P1  100
P2  100
P3  100
P4  100
P5  100
P6  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-bmp.so
bmp 5 gtk20 The BMP image format
image/bmp image/x-bmp image/x-MS-bmp 
bmp 
BM  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ras.so
ras 4 gtk20 The Sun raster image format
image/x-cmu-raster image/x-sun-raster 
ras 
Y\246j\225  100

/usr/lib/gtk-2.0/2.4.0/loaders/io-wmf.so
wmf 0 gtk20 Windows Metafile
image/x-wmf 
wmf apm 
\327\315\306\232  100
\001  100

/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ani.so
ani 4 gtk20 The ANI image format
application/x-navi-animation 
ani 
RIFFACON  100



Bug#440324: bugzilla: Uninstallable due to bashisms (when using POSIX shell, eg. dash)

2007-08-31 Thread Ted Percival
Package: bugzilla
Version: 2.22.1-2
Severity: serious
Justification: Policy 10.4

Installation is failing on my system where /bin/sh is a link to
/bin/dash. The precense of the -ne and -e in output indicates that
there are probably one or more scripts using bash features without
specifying /bin/bash as the interpreter.

Here is a snippet of the output during installation:
 Replacing config file /etc/bugzilla/dbconfig-params with new version
 -ne granting access to database bugzilla for [EMAIL PROTECTED]: 
 -e failed.
 error encountered creating user:
 mysql said: ERROR 1049 (42000): Unknown database 'bugzilla'


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16.29-xen
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages bugzilla depends on:
ii  apache2-mpm-prefork [httpd 2.2.3-4+etch1 Traditional model for Apache HTTPD
ii  dbconfig-common1.8.29+etch1  common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.11Debian configuration management sy
ii  exim4  4.63-17   metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-t 4.63-17   lightweight exim MTA (v4) daemon
ii  libappconfig-perl  1.56-2Perl module for configuration file
ii  libdbd-mysql-perl  3.0008-1  A Perl5 database interface to the 
ii  libmailtools-perl  1.74-1Manipulate email in perl programs
ii  libmime-perl   5.420-0.1 Perl5 modules for MIME-compliant m
ii  libtemplate-perl   2.14-1template processing system written
ii  libtimedate-perl   1.1600-5  Time and date functions for Perl
ii  mysql-client-5.0 [mysql-cl 5.0.32-7etch1 mysql database client binaries
ii  patch  2.5.9-4   Apply a diff file to an original
ii  ucf2.0020Update Configuration File: preserv

Versions of packages bugzilla recommends:
ii  libchart-perl   2.4.1-4  Chart Library for Perl
ii  libxml-parser-perl  2.34-4.2 Perl module for parsing XML files
ii  mysql-server5.0.32-7etch1mysql database server (meta packag
ii  mysql-server-5.0 [m 5.0.32-7etch1mysql database server binaries
ii  perlmagick  7:6.2.4.5.dfsg1-0.14 A perl interface to the libMagick 

-- debconf information excluded


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



Bug#431054: Found in 0.4.6.1-1 (aptitude doesn't respond to keyboard)

2007-07-30 Thread Ted Percival

found 431054 0.4.6.1-1
thanks

This problem of loss of keyboard input still occurs for me in 0.4.6.1-1 
on 2.6.18.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.4  Advanced front-end for dpkg
ii  libc6 2.6-4  GNU C Library: Shared libra
ii  libgcc1   1:4.2.1-1  GCC support library
ii  libncursesw5  5.6+20070716-1 Shared libraries for termin
ii  libsigc++-2.0-0c2a2.0.17-2   type-safe Signal Framework
ii  libstdc++64.2.1-1The GNU Standard C++ librar

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

-- no debconf information

--
\0


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



Bug#396949: Patch for Debian #396964 - lynx security

2006-11-05 Thread Ted Percival
tags 396964 patch
stop

Here's a possible patch to stop lynx opening .mailcap and .mime.types
files in its current directory.

-- 
tp
diff -ru lynx-2.8.5/src/HTInit.c lynx-2.8.5-new/src/HTInit.c
--- lynx-2.8.5/src/HTInit.c	2004-01-08 12:03:09.0 +1000
+++ lynx-2.8.5-new/src/HTInit.c	2006-11-05 19:20:20.0 +1000
@@ -157,10 +157,7 @@
  /*
   *  Load the local maps.
   */
- if (LYCanReadFile(personal_type_map)) {
- /* These should override everything else. */
- HTLoadTypesConfigFile(personal_type_map);
- } else {
+ {
  char buffer[LY_MAXPATH];
  LYAddPathToHome(buffer, sizeof(buffer), personal_type_map);
  HTLoadTypesConfigFile(buffer);
@@ -1050,10 +1047,7 @@
 /* These should override the default extensions as necessary. */
 HTLoadExtensionsConfigFile(global_extension_map);
 
-if (LYCanReadFile(personal_extension_map)) {
-	/* These should override everything else. */
-	HTLoadExtensionsConfigFile(personal_extension_map);
-} else {
+{
 	char buffer[LY_MAXPATH];
 	LYAddPathToHome(buffer, sizeof(buffer), personal_extension_map);
 	/* These should override everything else. */


signature.asc
Description: OpenPGP digital signature


Bug#396837: Package reqested for removal

2006-11-04 Thread Ted Percival
kudzu has been requested for removal by its maintainer. See bug #387638.


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



Bug#395897: Patch for ktorrent FTBFS (#395897)

2006-11-03 Thread Ted Percival
tags 395897 patch fixed-upstream
stop

Upstream removed the LDFLAGS in revision 594434 [1].

This patch removes all three instances of LDFLAGS from the source,
equivalent to the upstream change. It fixed FTBFS on my powerpc machine
and passed program starts OK testing.

[1] Upstream revision 594434:
http://websvn.kde.org/trunk/extragear/network/ktorrent/configure.in.in?rev=594434view=rev

-- 
tp
diff -ru ktorrent-2.0.3+dfsg1/configure ktorrent-2.0.3+dfsg1-new/configure
--- ktorrent-2.0.3+dfsg1/configure	2006-10-10 02:09:14.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure	2006-11-04 09:57:50.0 +1000
@@ -31299,7 +31299,6 @@
 
 #MIN_CONFIG(3.3)
 CXXFLAGS=$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI
-LDFLAGS=$LDFLAGS -Wl -z now
 
 
 # Check whether --enable-largefile or --disable-largefile was given.
diff -ru ktorrent-2.0.3+dfsg1/configure.in ktorrent-2.0.3+dfsg1-new/configure.in
--- ktorrent-2.0.3+dfsg1/configure.in	2006-10-10 02:09:08.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure.in	2006-11-04 09:57:33.0 +1000
@@ -65,7 +65,6 @@
 
 #MIN_CONFIG(3.3)
 CXXFLAGS=$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI
-LDFLAGS=$LDFLAGS -Wl -z now
 
 dnl PACKAGE set before
 
diff -ru ktorrent-2.0.3+dfsg1/configure.in.in ktorrent-2.0.3+dfsg1-new/configure.in.in
--- ktorrent-2.0.3+dfsg1/configure.in.in	2006-10-10 02:04:11.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure.in.in	2006-11-04 09:57:40.0 +1000
@@ -1,6 +1,5 @@
 #MIN_CONFIG(3.3)
 CXXFLAGS=$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI
-LDFLAGS=$LDFLAGS -Wl -z now
 
 AM_INIT_AUTOMAKE(ktorrent,2.0.3)
 


signature.asc
Description: OpenPGP digital signature


Bug#393039: Patch for bug 393039: FTBFS in gpart

2006-10-28 Thread Ted Percival
tags 393039 patch
stop

Here is a patch to fix the FTBFS. It updates gpart to use the syscall
libc function required since linux-kernel-headers 2.6.18 made the
_syscall* macros unavailable.
diff -ru gpart-0.1h/src/l64seek.c gpart-0.1h-new/src/l64seek.c
--- gpart-0.1h/src/l64seek.c	2000-12-14 08:54:11.0 +1000
+++ gpart-0.1h-new/src/l64seek.c	2006-10-28 21:37:36.0 +1000
@@ -26,7 +26,11 @@
 static int		osptr = -1;
 
 #if defined(__linux__)  defined(__i386__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
+#include sys/syscall.h
+static int _llseek(uint fd, ulong hi, ulong lo, loff_t *res, uint wh)
+{
+	return syscall(SYS__llseek, fd, hi, lo, res, wh);
+}
 #endif
 
 


signature.asc
Description: OpenPGP digital signature


Bug#393039: gpart bug fixes

2006-10-28 Thread Ted Percival
tags 294836 patch
stop

I was able to reproduce bug #294836 on my powerpc system. I was also
able to fix it by changing some ifdefs. I combined the patch to fix that
with the existing FTBFS patch for bug #393039 and ended up with the
attached patch. It should at least increase the number of platforms that
gpart works on :)
diff -ru gpart-0.1h/src/l64seek.c gpart-0.1h-new/src/l64seek.c
--- gpart-0.1h/src/l64seek.c	2000-12-14 08:54:11.0 +1000
+++ gpart-0.1h-new/src/l64seek.c	2006-10-28 04:09:05.0 +1000
@@ -25,8 +25,14 @@
 } ostck[OSTACKLEN];
 static int		osptr = -1;
 
-#if defined(__linux__)  defined(__i386__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
+#if defined(__linux__)
+#include sys/syscall.h
+# if defined(SYS__llseek)
+static int _llseek(uint fd, ulong hi, ulong lo, loff_t *res, uint wh)
+{
+	return syscall(SYS__llseek, fd, hi, lo, res, wh);
+}
+# endif
 #endif
 
 
@@ -35,7 +41,7 @@
 {
 	off64_t		ret = (off64_t)-1;
 
-#if defined(__linux__)  defined(__i386__)
+#if defined(__linux__)  defined(SYS__llseek)
 	int		iret;
 	unsigned long	ohi, olo;
 
@@ -44,9 +50,7 @@
 	iret = _llseek(fd,ohi,olo,ret,whence);
 	if (iret == -1)
 		ret = (off64_t)-1;
-#endif
-
-#if defined(__FreeBSD__) || (defined(__linux__)  defined(__alpha__))
+#else
 	ret = lseek(fd,offset,whence);
 #endif
 


signature.asc
Description: OpenPGP digital signature


Bug#395891: extipl: Fails to build from source and ignores $(MAKE) return code

2006-10-28 Thread Ted Percival
Package: extipl
Version: 5.04-2
Severity: serious
Tags: patch
Justification: FTBFS

extipl fails to build from source, or would if the $(MAKE) return code
was not ignored.

I have attached a patch that does the following:
- Don't ignore return status of $(MAKE) calls in debian/rules
- Update _llseek syscall usage to allow the package to build with
  linux-kernel-headers = 2.6.18 (current in unstable).

All the best,
-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ru extipl-5.04/debian/rules extipl-5.04-new/debian/rules
--- extipl-5.04/debian/rules2006-10-28 22:37:12.0 +1000
+++ extipl-5.04-new/debian/rules2006-10-28 22:43:06.0 +1000
@@ -15,7 +15,7 @@
 
# Add here commands to compile the package.
cp debian/addition/Makefile .
-   -$(MAKE) 
+   $(MAKE) 
 
touch build-stamp
 
@@ -26,7 +26,7 @@
 
# Add here commands to clean up after the build process.
rm -f Makefile
-   -$(MAKE) -f debian/addition/Makefile allclean
+   $(MAKE) -f debian/addition/Makefile allclean
 
dh_clean
 
@@ -40,7 +40,7 @@
 
# Add here commands to install the package into debian/tmp.
cp debian/addition/Makefile .
-   -$(MAKE) install DESTDIR=`pwd`/debian/tmp
+   $(MAKE) install DESTDIR=`pwd`/debian/tmp
 
for i in pollux castor altair aldebaran; \
 do cp src/$$i.bin debian/extipl-boot/boot/extipl-$$i.b; done
diff -ru extipl-5.04/src/extipl.c extipl-5.04-new/src/extipl.c
--- extipl-5.04/src/extipl.c2001-07-03 01:35:12.0 +1000
+++ extipl-5.04-new/src/extipl.c2006-10-28 22:49:07.0 +1000
@@ -23,7 +23,7 @@
 #include sys/stat.h
 #include regex.h
 #ifdef __linux__
-#include linux/unistd.h
+#include sys/syscall.h
 #endif
 #include extipl.h
 #include sysident.h
@@ -79,7 +79,7 @@
 static char *ask(char *);
 static int  sure(char *);
 #ifdef __linux__
-static _syscall5(int, _llseek,  uint,  fd, ulong, hi, ulong, lo, loff_t *, 
res, uint, wh);
+static int _llseek(uint, ulong, ulong, loff_t *, uint);
 static int long_seek(int, off_t, int);
 #endif
 /* for DEBUG  */
@@ -1104,6 +1104,15 @@
 }
 
 #ifdef __linux__
+
+static int _llseek(fd, hi, lo, res, whence)
+uint fd, whence;
+ulong hi, lo;
+loff_t *res;
+{
+return syscall(SYS__llseek, fd, hi, lo, res, whence);
+}
+
 /* Hacked by Taketoshi Sano [EMAIL PROTECTED]  */
 static int long_seek(fd, offset, whence)
 int fd, whence;
@@ -1131,7 +1140,8 @@
 }
 return(OK);
 }
-#endif
+
+#endif /* __linux__ */
 
 
 /*=


Bug#395512: Patch for #395512: sg3-utils FTBFS

2006-10-28 Thread Ted Percival
tags 395512 patch
stop

Here's a patch to fix the FTBFS. It's very similar to the one for the
FTBFS in sg-utils, but this one uses a function wrapper rather than a
preprocessor macro in order to get type-checking and it follows the
existing code style better.
diff -rup sg3-utils-1.21/llseek.c sg3-utils-1.21-new/llseek.c
--- sg3-utils-1.21/llseek.c	2004-08-24 11:33:10.0 +1000
+++ sg3-utils-1.21-new/llseek.c	2006-10-28 23:14:30.0 +1000
@@ -26,30 +26,28 @@
 
 #ifdef __linux__
 
-#ifdef HAVE_LLSEEK
-#include syscall.h
-
-#else   /* HAVE_LLSEEK */
-
 #if defined(__alpha__) || defined(__ia64__)  || defined(__s390x__)
 
 #define my_llseek lseek
 
 #else
-#include linux/unistd.h   /* for __NR__llseek */
+#include sys/syscall.h   /* for SYS__llseek */
 
 static int _llseek (unsigned int, unsigned long,
unsigned long, llse_loff_t *, unsigned int);
 
-#ifdef __NR__llseek
+#ifdef SYS__llseek
 
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
- unsigned long, offset_low,llse_loff_t *,result,
- unsigned int, origin)
+static int _llseek(unsigned int fd, unsigned long offset_high,
+   unsigned long offset_low, llse_loff_t *result,
+   unsigned int origin) {
+return syscall(SYS__llseek, fd, offset_high, offset_low,
+result, origin);
+}
 
-#else
+#else /* !SYS__llseek */
 
-/* no __NR__llseek on compilation machine - might give it explicitly */
+/* no SYS__llseek on compilation machine - might give it explicitly */
 static int _llseek (unsigned int fd, unsigned long oh,
 unsigned long ol, llse_loff_t *result,
 unsigned int origin) {
@@ -73,8 +71,6 @@ static llse_loff_t my_llseek (unsigned i
 
 #endif /* __alpha__ */
 
-#endif  /* HAVE_LLSEEK */
-
 llse_loff_t llse_llseek (unsigned int fd, llse_loff_t offset,
  unsigned int origin)
 {


signature.asc
Description: OpenPGP digital signature


Bug#395425: Confirmed, fixed upstream

2006-10-27 Thread Ted Percival
tags 395425 fixed-upstream
stop

I tested the new upstream release (0.99.12) using `uupdate` and it fixes
this problem.

-Ted


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



Bug#394853: sg-utils: FTBFS due to old syscall usage

2006-10-23 Thread Ted Percival
Package: sg-utils
Version: 1.02-3
Severity: serious
Tags: patch

sg-utils fails to build from source using linux-kernel-headers =
2.6.18.

 gcc -g -O2 -Wall -D_REENTRANT   -c -o llseek.o llseek.c
 llseek.c:44: error: expected declaration specifiers or ‘...’ before ‘_llseek’
 llseek.c:44: error: expected declaration specifiers or ‘...’ before ‘fd’
 llseek.c:44: error: expected declaration specifiers or ‘...’ before 
 ‘offset_high

This is due to new syscall usage. A patch is attached.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ru sg-utils-1.02/llseek.c sg-utils-1.02-new/llseek.c
--- sg-utils-1.02/llseek.c	2000-12-09 09:50:02.0 +1000
+++ sg-utils-1.02-new/llseek.c	2006-10-23 22:04:07.0 +1000
@@ -24,30 +24,21 @@
 
 #ifdef __linux__
 
-#ifdef HAVE_LLSEEK
-#include syscall.h
-
-#else	/* HAVE_LLSEEK */
-
 #if defined(__alpha__) || defined(__ia64__)
 
 #define my_llseek lseek
 
 #else
-#include linux/unistd.h	/* for __NR__llseek */
+#include sys/syscall.h	/* for SYS__llseek */
 
-static int _llseek (unsigned int, unsigned long,
-		   unsigned long, llse_loff_t *, unsigned int);
+#ifdef SYS__llseek
 
-#ifdef __NR__llseek
-
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
-		 unsigned long, offset_low,llse_loff_t *,result,
-		 unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+	syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
 
 #else
 
-/* no __NR__llseek on compilation machine - might give it explicitly */
+/* no SYS__llseek on compilation machine - might give it explicitly */
 static int _llseek (unsigned int fd, unsigned long oh,
 		unsigned long ol, llse_loff_t *result,
 		unsigned int origin) {
@@ -71,8 +62,6 @@
 
 #endif /* __alpha__ */
 
-#endif	/* HAVE_LLSEEK */
-
 llse_loff_t llse_llseek (unsigned int fd, llse_loff_t offset,
 			 unsigned int origin)
 {


Bug#392392: Patch for amarok #392392 FTBFS

2006-10-23 Thread Ted Percival
tags 392392 patch
forwarded 392392 http://bugs.kde.org/show_bug.cgi?id=136185
stop

Here is a patch that makes the libhttp11.so* files install to /usr/lib
rather than /usr/share.

I tested as much DAAP and ruby-script functionality as I could and
nothing seemed to be broken by it. After that, I spoke with eeanm on the
#amarok IRC channel:

 eeanm nothing is affected in 1.4.3 by this
 eeanm so debian would be fine applying that patch
 tedp so, it's actually unused code in 1.4.3?
 eeanm yes

The first part of the patch is actually unnecessary because the files
are unused, but I thought they might end up being installed there in a
future release when they are used.

-Ted
diff -ruN amarok-1.4.3/debian/amarok.install amarok-1.4.3-new/debian/amarok.install
--- amarok-1.4.3/debian/amarok.install	2006-10-23 23:17:35.0 +1000
+++ amarok-1.4.3-new/debian/amarok.install	2006-10-23 23:15:27.0 +1000
@@ -55,6 +55,7 @@
 debian/tmp/usr/lib/kde3/libamarok_daap-mediadevice.so
 debian/tmp/usr/share/services/amarok_daap-mediadevice.desktop
 
+debian/tmp/usr/lib/amarok/*
 debian/tmp/usr/lib/libamarok.*
 
 debian/tmp/usr/bin/amarok
diff -ruN amarok-1.4.3/debian/patches/daap_libhttp11_location.patch amarok-1.4.3-new/debian/patches/daap_libhttp11_location.patch
--- amarok-1.4.3/debian/patches/daap_libhttp11_location.patch	1970-01-01 10:00:00.0 +1000
+++ amarok-1.4.3-new/debian/patches/daap_libhttp11_location.patch	2006-10-23 23:15:29.0 +1000
@@ -0,0 +1,9 @@
+diff -ru amarok-1.4.3/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am amarok-1.4.3-new/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am
+--- amarok-1.4.3/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am	2006-09-05 12:42:40.0 +1000
 amarok-1.4.3-new/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am	2006-10-23 21:25:30.0 +1000
+@@ -1,4 +1,4 @@
+-amarokrubylibdir = $(kde_datadir)/amarok/ruby_lib
++amarokrubylibdir = $(libexecdir)/ruby_lib
+ 
+ amarokrubylib_LTLIBRARIES = libhttp11.la
+ 
diff -ruN amarok-1.4.3/debian/patches/series amarok-1.4.3-new/debian/patches/series
--- amarok-1.4.3/debian/patches/series	2006-10-23 23:17:35.0 +1000
+++ amarok-1.4.3-new/debian/patches/series	2006-10-23 23:15:29.0 +1000
@@ -5,3 +5,4 @@
 disable-final.diff -p0
 revert-fix-for-bug-116127.diff -p0
 143_provided_upstream_playlist_encoding.diff -p0
+daap_libhttp11_location.patch -p1


signature.asc
Description: OpenPGP digital signature


Bug#394535: Unnecessary build-dep

2006-10-23 Thread Ted Percival

   * Fix FTBFS because old syscall usage. (closes: #394535)
 Apply patch so lphdisk compiles with new kernel headers;
 Build-depend on linux-kernel-headers = 2.6.18.


I don't think the build-dependency is necessary. It should still work 
fine on older kernels, as the syscall() libc function has been around 
for a while.


Thanks for your quick response :)

-Ted


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



Bug#393007: Patch available for #393007 (FTBFS)

2006-10-21 Thread Ted Percival
tags 393007 patch
stop

Here's a patch to fix FTBFS.

The comment in the patch's context is amusing.

-Ted
diff -ru tct-1.11/src/fstools/mylseek.c tct-1.11-new/src/fstools/mylseek.c
--- tct-1.11/src/fstools/mylseek.c	2000-07-31 09:39:20.0 +1000
+++ tct-1.11-new/src/fstools/mylseek.c	2006-10-22 03:50:59.0 +1000
@@ -23,15 +23,15 @@
 #ifdef USE_MYLSEEK
 #ifdef HAVE_LLSEEK
 #include errno.h
-#include syscall.h
+#include sys/syscall.h
 
  /*
   * This is LINUX, live on the bleeding edge and watch your software break
   * with the next release...
   */
-static  _syscall5(int, _llseek, unsigned int, fd, unsigned long, offset_high,
-		  unsigned long, offset_low, OFF_T *, result,
-		  unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+		syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
+
 /* mylseek - seek beyond the 32-bit barrier */
 
 OFF_T   mylseek(int fd, OFF_T offset, int whence)


signature.asc
Description: OpenPGP digital signature


Bug#393040: Patch available for #393040 FTBFS

2006-10-21 Thread Ted Percival
tags 393040 patch
stop

Here's a patch to use the syscall() libc function rather than the
no-longer-available syscall* macros.

-Ted
diff -ru grubconf-0.5.1/src/partitioning.c grubconf-0.5.1-new/src/partitioning.c
--- grubconf-0.5.1/src/partitioning.c	2003-04-17 23:32:59.0 +1000
+++ grubconf-0.5.1-new/src/partitioning.c	2006-10-22 04:03:59.0 +1000
@@ -31,7 +31,7 @@
 #include unistd.h
 #include fcntl.h
 #include sys/ioctl.h
-#include linux/unistd.h
+#include sys/syscall.h
 #include linux/hdreg.h
 #include errno.h
 
@@ -74,9 +74,8 @@
 }
 
 #if !defined (__alpha__)  !defined (__ia64__)  !defined (__x86_64__)  !defined (__s390x__)
-static
-_syscall5(int,  _llseek,  uint,  fd, ulong, hi, ulong, lo,
-   loff_t *, res, uint, wh);
+#define _llseek(fd, hi, lo, res, wh) \
+	syscall(SYS__llseek, fd, hi, lo, res, wh)
 #endif
 
 static int


signature.asc
Description: OpenPGP digital signature


Bug#393027: Patch for Bug 393027: FTBFS in fdclone

2006-10-19 Thread Ted Percival
tags 393027 patch
stop

I have attached a patch that fixes the FTBFS. I have _not_ tested
anything beyond that the package builds, but it should be safe.

-Ted
diff -ru fdclone-2.06c/Configur fdclone-2.06c-new/Configur
--- fdclone-2.06c/Configur	2006-10-17 20:02:00.0 +1000
+++ fdclone-2.06c-new/Configur	2006-10-19 20:54:53.0 +1000
@@ -538,12 +538,8 @@
 if isexist sysconf(0); then
 	echo #define	USESYSCONF
 fi
-if isexist _llseek(0,0,0,0,0) linux/unistd static _syscall5(int, _llseek,
-	unsigned int, fd,
-	unsigned long, ofs_h,
-	unsigned long, ofs_l,
-	long long *, result,
-	unsigned int, whence);
+if isexist _llseek(0,0,0,0,0) sys/syscall #define _llseek(fd, ofs_h, ofs_l, result, whence) \
+	syscall(SYS__llseek, fd, ofs_h, ofs_l, result, whence)
 ; then
 	echo #define	USELLSEEK
 fi
diff -ru fdclone-2.06c/dosdisk.c fdclone-2.06c-new/dosdisk.c
--- fdclone-2.06c/dosdisk.c	2006-10-17 20:02:01.0 +1000
+++ fdclone-2.06c-new/dosdisk.c	2006-10-17 20:02:09.0 +1000
@@ -84,7 +84,7 @@
 #ifdef	LINUX
 #include mntent.h
 #include sys/mount.h
-#include linux/unistd.h
+#include sys/syscall.h
 # ifndef	BLKFLSBUF
 # include linux/fs.h
 # endif
@@ -1028,12 +1028,13 @@
 #endif	/* !FD */
 
 #ifdef	USELLSEEK
-static _syscall5(int, _llseek,
-	unsigned int, fd,
-	unsigned long, ofs_h,
-	unsigned long, ofs_l,
-	l_off_t *, result,
-	unsigned int, whence);
+#define _llseek( \
+		/* unsigned int */ fd, \
+		/* unsigned long */ ofs_h, \
+		/* unsigned long */ ofs_l, \
+		/* l_off_t* */ result, \
+		/* unsigned int */ whence) \
+	syscall(SYS__llseek, fd, ofs_h, ofs_l, result, whence)
 
 static l_off_t NEAR Xllseek(fd, offset, whence)
 int fd;
diff -ru fdclone-2.06c/debian/rules fdclone-2.06c-new/debian/rules
--- fdclone-2.06c/debian/rules	2006-10-17 20:02:05.0 +1000
+++ fdclone-2.06c-new/debian/rules	2006-10-19 20:56:31.0 +1000
@@ -23,7 +23,7 @@
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
-
+	$(MAKE) config
 	touch configure-stamp
 
 build: build-stamp


signature.asc
Description: OpenPGP digital signature


Bug#393024: FTBFS in syscall code

2006-10-16 Thread Ted Percival
merge 392554 393024
stop

All the FTBFS bugs that suddenly showed up due to linux-kernel-headers
2.6.18 do require the packages to be fixed. I had a brief discussion
with Bastian Blank about this in bug #389673 - the syscall macros are no
longer available to user space as of 2.6.18.

The fixes tend to be simple -- change _syscall* macro usage to syscall()
 and update the #includes appropriately. A simple example of this is
given in my patch to bug 392554 [1].

It seems like fairly simple grunt work to provide patches for all the
affected packages. I would be glad to spend some time providing patches
for as many bugs as I can. I guess the real challenge is to see if the
fixes can be uploaded in time. The release can wait, right? ;)

[1] Patch for bug 392554:
http://bugs.debian.org/cgi-bin/bugreport.cgi/atarifdisk-syscall.patch?bug=392554;msg=10;att=1

-Ted



signature.asc
Description: OpenPGP digital signature


Bug#392236: Patch available for #392236

2006-10-13 Thread Ted Percival
tags 392236 patch
stop

I have attached a patch that replaces all the _syscall*() macros I found
with calls to syscall() as required when building with Linux headers =
2.6.18.

I trust you will check the changes carefully :)

-Ted
diff -ru util-linux-2.12r/fdisk/llseek.c util-linux-2.12r-new/fdisk/llseek.c
--- util-linux-2.12r/fdisk/llseek.c	2003-07-14 07:13:33.0 +1000
+++ util-linux-2.12r-new/fdisk/llseek.c	2006-10-13 15:50:09.0 +1000
@@ -14,30 +14,23 @@
 
 #ifdef __linux__
 
-#ifdef HAVE_LLSEEK
-#include syscall.h
-
-#else	/* HAVE_LLSEEK */
+#include sys/syscall.h
+#ifndef HAVE_LLSEEK
 
 #if defined(__alpha__) || defined(__ia64__) || defined(__s390x__)
 
 #define my_llseek lseek
 
 #else
-#include linux/unistd.h	/* for __NR__llseek */
-
-static int _llseek (unsigned int, unsigned long,
-		   unsigned long, long long *, unsigned int);
 
-#ifdef __NR__llseek
+#ifdef SYS__llseek
 
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
-		 unsigned long, offset_low,long long *,result,
-		 unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
 
 #else
 
-/* no __NR__llseek on compilation machine - might give it explicitly */
+/* no SYS__llseek on compilation machine - might give it explicitly */
 static int _llseek (unsigned int fd, unsigned long oh,
 		unsigned long ol, long long *result,
 		unsigned int origin) {
diff -ru util-linux-2.12r/fdisk/sfdisk.c util-linux-2.12r-new/fdisk/sfdisk.c
--- util-linux-2.12r/fdisk/sfdisk.c	2005-01-05 08:31:57.0 +1000
+++ util-linux-2.12r-new/fdisk/sfdisk.c	2006-10-13 15:48:42.0 +1000
@@ -48,7 +48,7 @@
 #include sys/ioctl.h
 #include sys/stat.h
 #include sys/utsname.h
-#include linux/unistd.h	/* _syscall */
+#include sys/syscall.h
 #include nls.h
 #include common.h
 
@@ -177,9 +177,8 @@
 #endif
 
 #ifndef use_lseek
-static __attribute__used
-_syscall5(int,  _llseek,  unsigned int,  fd, ulong, hi, ulong, lo,
-   loff_t *, res, unsigned int, wh);
+#define _llseek(fd, hi, lo, res, wh) \
+syscall(SYS__llseek, fd, hi, lo, res, wh)
 #endif
 
 static int
diff -ru util-linux-2.12r/lib/my_reboot.c util-linux-2.12r-new/lib/my_reboot.c
--- util-linux-2.12r/lib/my_reboot.c	1999-07-09 12:56:36.0 +1000
+++ util-linux-2.12r-new/lib/my_reboot.c	2006-10-13 20:46:42.0 +1000
@@ -23,10 +23,11 @@
 #else /* no USE_LIBC */
 
 /* direct syscall version */
-#include linux/unistd.h
+#include sys/syscall.h
 
-#ifdef _syscall3
-_syscall3(int,  reboot,  int,  magic, int, magic_too, int, cmd);
+#ifdef SYS_reboot
+#define reboot(magic, magic2, cmd) \
+	syscall(SYS_reboot, magic, magic2, cmd)
 #else
 /* Let us hope we have a 3-argument reboot here */
 extern int reboot(int, int, int);
diff -ru util-linux-2.12r/misc-utils/setterm.c util-linux-2.12r-new/misc-utils/setterm.c
--- util-linux-2.12r/misc-utils/setterm.c	2003-10-18 02:17:51.0 +1000
+++ util-linux-2.12r-new/misc-utils/setterm.c	2006-10-13 20:54:06.0 +1000
@@ -119,14 +119,13 @@
 
 #if __GNU_LIBRARY__  5
 #ifndef __alpha__
-# include linux/unistd.h
-#define __NR_klogctl __NR_syslog
-_syscall3(int, klogctl, int, type, char*, buf, int, len);
+# include sys/syscall.h
+#define klogctl(type, buf, len) \
+	syscall(SYS_syslog, type, buf, len)
 #else /* __alpha__ */
 #define klogctl syslog
 #endif
 #endif
-extern int klogctl(int type, char *buf, int len);
 
 /* Constants. */
 
diff -ru util-linux-2.12r/mount/swapon.c util-linux-2.12r-new/mount/swapon.c
--- util-linux-2.12r/mount/swapon.c	2004-12-22 19:50:19.0 +1000
+++ util-linux-2.12r-new/mount/swapon.c	2006-10-13 16:08:19.0 +1000
@@ -82,11 +82,11 @@
 #else
 /* We want a swapon with two args, but have an old libc.
Build the kernel call by hand. */
-#include linux/unistd.h
-static
-_syscall2(int,  swapon,  const char *,  path, int, flags);
-static
-_syscall1(int,  swapoff,  const char *,  path);
+#include sys/syscall.h
+#define swapon(path, flags) \
+	syscall(SYS_swapon, path, flags)
+#define swapoff(path) \
+	syscall(SYS_swapoff, path)
 #endif
 #else
 /* just do as libc says */
diff -ru util-linux-2.12r/mount/umount.c util-linux-2.12r-new/mount/umount.c
--- util-linux-2.12r/mount/umount.c	2005-09-11 04:07:38.0 +1000
+++ util-linux-2.12r-new/mount/umount.c	2006-10-13 20:43:22.0 +1000
@@ -37,14 +37,13 @@
 #else /* MNT_FORCE */
 
 /* Does the present kernel source know about umount2? */
-#include linux/unistd.h
-#ifdef __NR_umount2
+#include sys/syscall.h
+#ifdef SYS_umount2
 
-static int umount2(const char *path, int flags);
+#define umount2(path, flags) \
+	syscall(SYS_umount2, path, flags)
 
-_syscall2(int, umount2, const char *, path, int, flags);
-
-#else /* __NR_umount2 */
+#else /* SYS_umount2 */
 
 static int
 umount2(const char *path, int flags) {
@@ -52,7 +51,7 @@
 	errno = ENOSYS;
 	return -1;
 }
-#endif /* __NR_umount2 */
+#endif /* SYS_umount2 */
 
 #if 

Bug#389317: Patch available for #389317

2006-10-13 Thread Ted Percival
tags 389317 patch
stop

Here is a small patch to fix the FTBFS.

-Ted
diff -ru suspend2-userui-0.6.4/userui.h suspend2-userui-0.6.4-new/userui.h
--- suspend2-userui-0.6.4/userui.h	2006-06-07 03:25:12.0 +1000
+++ suspend2-userui-0.6.4-new/userui.h	2006-10-14 01:57:51.0 +1000
@@ -1,7 +1,7 @@
 #ifndef _USERUI_H_
 #define _USERUI_H_
 
-#include linux/unistd.h
+#include sys/syscall.h
 #include sys/types.h
 #include suspend_userui.h
 
@@ -124,8 +124,7 @@
 /*
  * Work around random glibc bugs where getpid() caches an invalid pid.
  */
-#define __NR_xgetpid __NR_getpid
-static inline _syscall0(pid_t, xgetpid);
+#define xgetpid() syscall(SYS_getpid)
 
 
 #endif /* _USERUI_H_ */


signature.asc
Description: OpenPGP digital signature


Bug#392554: Patch for #392554: atari-fdisk FTBFS

2006-10-13 Thread Ted Percival
tags 392554 patch
stop

This should fix the FTBFS.

-Ted
diff -ru atari-fdisk-0.7.1/disk.c atari-fdisk-0.7.1-new/disk.c
--- atari-fdisk-0.7.1/disk.c	2003-09-23 06:27:09.0 +1000
+++ atari-fdisk-0.7.1-new/disk.c	2006-10-14 02:09:01.0 +1000
@@ -65,7 +65,7 @@
 #include string.h
 #include unistd.h
 #ifdef __linux__
-#include asm/unistd.h
+#include sys/syscall.h
 #endif
 #include fcntl.h
 #include errno.h
@@ -87,10 +87,10 @@
  * know about the loff_t type.
  */
 
-#ifdef __NR__llseek
+#ifdef SYS__llseek
 
-static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo,
-		  loff_t *, res, uint, wh );
+#define _llseek(fd, hi, lo, res, wh) \
+syscall(SYS__llseek, fd, hi, lo, res, wh)
 
 /* seek to a sector */
 int sseek( unsigned int fd, unsigned long s )


signature.asc
Description: OpenPGP digital signature


Bug#392565: Extra info for sope FTBFS, bug #392565

2006-10-13 Thread Ted Percival
The package needs _LARGEFILE64_SOURCE to be defined, otherwise the
off64_t type doesn't exist[1]. I suspect this should really be part of
the output of `apxs2 -q CFLAGS`.
Compare the output of apxs (apache-dev) and apxs2 (apache2-threaded-dev):

$ apxs -q CFLAGS
-DLINUX=22 -DEAPI -DTARGET=apache -DHAVE_SET_DUMPABLE
-DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1  -g -Wall
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

$ apxs2 -q CFLAGS
-pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2

I will hopefully look into this further after I've had some rest.


-Ted

[1] Large File Support, §3:
http://www.unix.org/version2/whatsnew/lfs20mar.html#3.0



signature.asc
Description: OpenPGP digital signature


Bug#386979: Debian bugs: prelink: fails with invalid free

2006-10-01 Thread Ted Percival
 [prelink] eventually fails with:
 *** glibc detected *** free(): invalid pointer: 0xb7f9ac08 ***
 Prelink failed with return value 134

Are you able to run prelink in gdb and get a backtrace on that invalid
free, and perhaps find out which file(s) cause prelink to fail in that way?

-tedp


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



Bug#380993: Yum can be installable!

2006-08-23 Thread Ted Percival
tags 380993 patch
stop

Here is a patch that makes yum installable once again.

I'm not sure about the module dirs argument (/usr/share/yum-cli)
provided to the dh_python command. The documentation on whether it
should be an absolute URI is unclear, however it _seems_ to have worked,
as upon installation there is a .pyc file for every .py file in
/usr/share/yum-cli.

I also split the 'mkdir -p' command into two because {5,8} is a
bashism that was stopping the package building for systems where /bin/sh
links to /bin/dash (like mine :)).

I hope this is useful. Thanks for your effort.

-Ted

diff -ruN yum-2.4.0/debian/control yum-2.4.0-new/debian/control
--- yum-2.4.0/debian/control	2006-08-23 20:15:35.0 +1000
+++ yum-2.4.0-new/debian/control	2006-08-23 21:11:10.0 +1000
@@ -2,13 +2,17 @@
 Section: admin
 Priority: extra
 Maintainer: Anand Kumria [EMAIL PROTECTED]
-Build-Depends: debhelper (= 4.0.0), python2.3-dev, python-dev
+Build-Depends: debhelper (= 5.0.37.2), python-dev, python-central (= 0.5)
+XS-Python-Version: current
 Standards-Version: 3.6.2.1
 
 Package: yum
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-celementtree, python-libxml2, python-urlgrabber, rpm (= 4.4.1), python2.3-rpm
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ python-celementtree, python-libxml2, python-urlgrabber,
+ rpm (= 4.4.1), python-rpm
 Recommends: python-sqlite
+XB-Python-Version: ${python:Versions}
 Description: Advanced front-end for rpm
  Yum (Yellow dog Updater, Modified) is an automatic updater and package 
  installer/remover for rpm systems. It automatically computes dependencies 
diff -ruN yum-2.4.0/debian/pycompat yum-2.4.0-new/debian/pycompat
--- yum-2.4.0/debian/pycompat	1970-01-01 10:00:00.0 +1000
+++ yum-2.4.0-new/debian/pycompat	2006-08-23 20:24:26.0 +1000
@@ -0,0 +1 @@
+2
diff -ruN yum-2.4.0/debian/rules yum-2.4.0-new/debian/rules
--- yum-2.4.0/debian/rules	2006-08-23 20:15:35.0 +1000
+++ yum-2.4.0-new/debian/rules	2006-08-23 21:16:47.0 +1000
@@ -118,7 +118,8 @@
 	dh_compress 
 	dh_fixperms
 #	dh_perl
-	dh_python
+	dh_pycentral
+	dh_python /usr/share/yum-cli
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
diff -ruN yum-2.4.0/docs/Makefile yum-2.4.0-new/docs/Makefile
--- yum-2.4.0/docs/Makefile	2005-08-05 15:41:07.0 +1000
+++ yum-2.4.0-new/docs/Makefile	2006-08-23 21:01:54.0 +1000
@@ -5,7 +5,8 @@
 	rm -f *.pyc *.pyo *~
 
 install:
-	mkdir -p $(DESTDIR)/usr/share/man/man{5,8}
+	mkdir -p $(DESTDIR)/usr/share/man/man5
+	mkdir -p $(DESTDIR)/usr/share/man/man8
 	install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8
 	install -m 644 yum-shell.8 $(DESTDIR)/usr/share/man/man8/yum-shell.8
 	install -m 644 yum-arch.8 $(DESTDIR)/usr/share/man/man8/yum-arch.8



signature.asc
Description: OpenPGP digital signature


Bug#367316: nvidia-glx: Works for me, though different OpenGL version string

2006-05-19 Thread Ted Percival
Package: nvidia-glx
Version: 1.0.8756-4
Followup-For: Bug #367316

I ran glxgears -printfps and got roughly 3300 FPS. All the outputs of 
the commands you listed were the same, except for 'glxinfo | grep 
version', this line was different:

  OpenGL version string: 1.5.6 NVIDIA 87.56

The package versions I have installed match yours exactly too, could 
this have been a one-off error fixable by recreating and reinstalling 
the package?

-- Package-specific info:
uname -r:
Linux chief 2.6.16-1-k7 #2 Thu May 4 18:35:10 UTC 2006 i686 GNU/Linux


/proc/version:
Linux version 2.6.16-1-k7 (Debian 2.6.16-12) ([EMAIL PROTECTED]) (gcc version 
4.0.4 20060422 (prerelease) (Debian 4.0.3-2)) #2 Thu May 4 18:35:10 UTC 2006


/proc/driver/nvidia/version:


:03:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 
4200 AGP 8x] (rev a1)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-glx depends on:
ii  libc6   2.3.6-7  GNU C Library: Shared libraries
ii  libx11-62:1.0.0-6X11 client-side library
ii  libxext61:1.0.0-4X11 miscellaneous extension librar
ii  nvidia-kernel-2.6.1 1.0.8756-4+2.6.16-12 NVIDIA binary kernel module for Li
ii  x11-common  1:7.0.18 X Window System (X.Org) infrastruc

nvidia-glx recommends no packages.

-- no debconf information


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



Bug#365794: cbrowser: Does not start: Error in startup script: syntax error

2006-05-18 Thread Ted Percival
Matej Vela wrote:
 I can't reproduce this with either tk8.4 or tk8.0-ja (though I tested
 tk8.0-ja in testing because it is broken in unstable).  And the Tcl code
 seems pretty innocuous...  Can you try installing tk8.4 and running
 
 wish8.4 /usr/bin/cbrowser

That works, as does simply running 'cbrowser' after installing tcl8.4
and tk8.4.

-Ted


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



Bug#364972: symbol lookup error: dvdbackup: undefined symbol: UDFFindFile

2006-04-26 Thread Ted Percival
Package: dvdbackup
Version: 0.1.1-5
Severity: grave
Justification: renders package unusable

$ dvdbackup -I -i /dev/dvd
dvdbackup: symbol lookup error: dvdbackup: undefined symbol: UDFFindFile

dvdbackup is unusable because of this. I can't think of any other useful
information to supply -- hopefully the reportbug info below provides
something useful.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686-smp
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dvdbackup depends on:
ii  libc6 2.3.6-7GNU C Library: Shared libraries
ii  libdvdread3   0.9.5-2library for reading DVDs

dvdbackup recommends no packages.

-- no debconf information


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



Bug#364972: libdvdread3: Patch available

2006-04-26 Thread Ted Percival
Package: libdvdread3
Version: 0.9.5-2
Followup-For: Bug #364972

There is a patch of sorts available at
http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20060213/092097.html
although UDFFindFile is not included in any headers so it still causes
compiler warnings.

I mentioned this in a message earlier in the thread but because it was
to [EMAIL PROTECTED] it doesn't show up by default.

This makes dvdbackup unusable, so should probably be left as grave
severity.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686-smp
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages libdvdread3 depends on:
ii  libc6 2.3.6-7GNU C Library: Shared libraries

libdvdread3 recommends no packages.

-- no debconf information


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



Bug#363439: Wrong lib path in smokeping.cgi

2006-04-18 Thread Ted Percival
Package: smokeping
Version: 2.0.8-1
Severity: grave
Tags: patch
Justification: renders package unusable

/usr/lib/cgi-bin/smokeping.cgi has the wrong 'use lib' line. The error
output it causes is attached as smokeping-error.log.

A patch to fix the lib dir from:
 use lib qw(/usr/lib/perl5/smokeping);
to:
 use lib qw(/usr/share/perl5/smokeping);
is also attached.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686-smp
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages smokeping depends on:
ii  adduser 3.86 Add and remove users and groups
ii  debconf [debconf-2.0]   1.4.72   Debian configuration management sy
ii  debianutils 2.15.6   Miscellaneous utilities specific t
ii  exim4   4.61-1   metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mai 4.61-1   lightweight exim MTA (v4) daemon
ii  fping   2.4b2-to-ipv6-13 sends ICMP ECHO_REQUEST packets to
ii  librrds-perl1.2.11-0.5   Time-series data storage and displ
ii  libsnmp-session-perl1.08-1   Perl support for accessing SNMP-aw
ii  perl5.8.8-4  Larry Wall's Practical Extraction 
ii  perl-modules [libnet-pe 5.8.8-4  Core Perl modules
ii  speedy-cgi-perl 2.22-2   speed up perl scripts by making th

Versions of packages smokeping recommends:
ii  apache2-mpm-worker [httpd]2.0.55-4   high speed threaded model for Apac
ii  dnsutils  1:9.3.2-2  Clients provided with BIND
pn  libsocket6-perl   none (no description available)

-- debconf information:
  smokeping/upgrade-2.x-failed:
[Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] [Wed Apr 19 11:10:14 
2006] smokeping.cgi: Can't locate Smokeping.pm in @INC (@INC contains: 
/usr/lib/perl5/smokeping /etc/perl /usr/local/lib/perl/5.8.8 
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 
/usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
/usr/lib/cgi-bin/smokeping.cgi line 7.
[Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] [Wed Apr 19 11:10:14 
2006] smokeping.cgi: BEGIN failed--compilation aborted at 
/usr/lib/cgi-bin/smokeping.cgi line 7.
[Wed Apr 19 11:10:14 2006] [error] [client 127.0.0.1] speedy_backend[12925]: 
perl_parse error
[Wed Apr 19 11:10:15 2006] [error] [client 127.0.0.1] speedy[12923]: Cannot 
spawn backend process
[Wed Apr 19 11:10:15 2006] [error] [client 127.0.0.1] Premature end of script 
headers: smokeping.cgi
--- /usr/lib/cgi-bin/smokeping.cgi~ 2006-04-19 11:07:44.0 +1000
+++ /usr/lib/cgi-bin/smokeping.cgi  2006-04-19 11:13:09.0 +1000
@@ -1,7 +1,7 @@
 #!/usr/bin/speedy -w
 # -*-perl-*-
 
-use lib qw(/usr/lib/perl5/smokeping);
+use lib qw(/usr/share/perl5/smokeping);
 use CGI::Carp qw(fatalsToBrowser);
 
 use Smokeping 2.08;


Bug#362940: Cause: Font paths not updated for custom xorg.conf

2006-04-16 Thread Ted Percival
I have determined that the cause of this is the X font directory
changing between Xorg 6 and Xorg 7.

The previous font directories were under /usr/lib/X11/fonts (which is a
symlink to /usr/lib/X11R6/lib/X11/fonts, part of x11-common), whereas in
Xorg 7 they are under /usr/share/fonts/X11. Users with customised
xorg.conf files will not have the font paths updated automatically
during upgrade.

I think it's important that this be changed or a _lot_ of users will be
left out in the cold. Xorg seems to ignore paths that don't contain any
fonts, so I suggest a script to add (not just replace) FontPath lines
for each existing line that contains /usr/lib/X11/fonts, with that
portion changed to /usr/share/fonts/X11.

-Ted



signature.asc
Description: OpenPGP digital signature


Bug#358981: Works with GCC 3

2006-04-15 Thread Ted Percival
I just built the enigmail source package using
  CC='ccache gcc-3.4' debian/rules clean binary
and it worked fine (in fact this email will be signed using the
resulting package). Perhaps it is a GCC bug? I played around with adding
extra libs and checking for extern decls. but didn't find a problem in
the enigmail package, though my search was not at all exhaustive.

In the mean time it might be useful to use  depend on gcc-3.4 (if that
can be done?) to reduce the ill-effect of this problem.

-Ted



signature.asc
Description: OpenPGP digital signature


Bug#358981: enigmail: FTBFS on powerpc

2006-03-25 Thread Ted Percival
Package: enigmail
Severity: serious
Justification: no longer builds from source

enigmail does not build on powerpc due to linker errors. See attached
files.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
make -f /home/ted/src/enigmail-0.94/debian/rules.thunderbird install
make[1]: Entering directory `/home/ted/src/enigmail-0.94'
cp /home/ted/src/enigmail-0.94/debian/configure.sh.THUNDERBIRD_1_5_RELEASE 
/home/ted/src/enigmail-0.94/build-dir/mozilla/configure.sh
cp /home/ted/src/enigmail-0.94/debian/allmakefiles.sh.0.94.0.thunderbird 
/home/ted/src/enigmail-0.94/build-dir/mozilla/allmakefiles.sh
sh -c cd build-dir/mozilla  autoconf2.13  sh configure.sh
loading cache ./config.cache
checking host system type... powerpc-unknown-linux-gnu
checking target system type... powerpc-unknown-linux-gnu
checking build system type... powerpc-unknown-linux-gnu
checking for mawk... (cached) mawk
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for nsinstall... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -mpowerpc -mcpu=G4 -L/usr/lib/thunderbird) 
works... yes
checking whether the C compiler (gcc -mpowerpc -mcpu=G4 -L/usr/lib/thunderbird) 
is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -mpowerpc -mcpu=G4 
-L/usr/lib/thunderbird) works... yes
checking whether the C++ compiler (c++ -mpowerpc -mcpu=G4 
-L/usr/lib/thunderbird) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for as... (cached) /usr/bin/as
checking for ar... (cached) ar
checking for ld... (cached) ld
checking for strip... (cached) strip
checking for windres... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for perl5... (cached) /usr/bin/perl
checking for minimum required perl version = 5.004... 5.008008
checking for full perl installation... yes
checking for doxygen... (cached) :
checking for whoami... (cached) /usr/bin/whoami
checking for autoconf... (cached) /usr/bin/autoconf
checking for unzip... (cached) /usr/bin/unzip
checking for zip... (cached) /usr/bin/zip
checking for makedepend... (cached) /usr/bin/X11/makedepend
checking for xargs... (cached) /usr/bin/xargs
checking for gmake... (cached) /usr/bin/make
test: 3997: 81rc2: bad number
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking whether ld has archive extraction flags... (cached) yes
checking for 64-bit OS... no
cat: ./xpfe/bootstrap/version.txt: No such file or directory
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for siginfo_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for int64... (cached) no
checking for uint... (cached) yes
checking for uint_t... (cached) no
checking for uint16_t... (cached) no
checking for uname.domainname... (cached) yes
checking for uname.__domainname... (cached) no
checking for usable wchar_t (2 bytes, unsigned)... (cached) no
checking for compiler -fshort-wchar option... (cached) yes
checking for visibility(hidden) attribute... (cached) yes
checking for visibility pragma support... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for sys/byteorder.h... (cached) no
checking for compat.h... (cached) no
checking for getopt.h... (cached) yes
checking for sys/bitypes.h... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking for gnu/libc-version.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for X11/XKBlib.h... (cached) yes
checking for 

Bug#340933: gtk-gnutella: Need to upgrade, 0.95.4 has expired

2005-11-26 Thread Ted Percival
Package: gtk-gnutella
Version: 0.95.4-1
Severity: grave
Justification: renders package unusable

Quote from http://gtk-gnutella.sourceforge.net/en/?page=news
quote
Version 0.96b is a beta version of forthcoming 0.96. It is now
_mandatory_ to use this beta version as the 0.95.x series is about to
expire on November 26th.
/quote

Today is the 27th of November. A user on the gtk-gnutella IRC channel[1]
informed me that the current (expired) version will not start/connect.

Please package and release version 0.96b.

[1] #gtk-gnutella on irc.freenode.net

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages gtk-gnutella depends on:
ii  libatk1.0-0   1.10.3-1   The ATK accessibility toolkit
ii  libc6 2.3.5-8GNU C Library: Shared libraries an
ii  libglib2.0-0  2.8.4-1The GLib library of C routines
ii  libgtk2.0-0   2.6.10-2   The GTK+ graphical user interface 
ii  libpango1.0-0 1.8.2-3Layout and rendering of internatio
ii  libxml2   2.6.22-2   GNOME XML library
ii  zlib1g1:1.2.3-8  compression library - runtime

gtk-gnutella recommends no packages.

-- no debconf information


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