[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#118498: marked as done (frad: fails to build on ia64)



Your message dated Wed, 14 Nov 2001 14:56:39 -0500
with message-id <E16469H-00041F-00@auric.debian.org>
and subject line Bug#118498: fixed in frad 0.20-4.2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Nov 2001 16:22:46 +0000
>From dsp@waterspout.com Tue Nov 06 10:22:46 2001
Return-path: <dsp@waterspout.com>
Received: from squall.waterspout.com [208.13.56.12] (f692262e96160816f288712728dad7be)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 1618zu-0002RX-00; Tue, 06 Nov 2001 10:22:46 -0600
Received: from localhost (localhost [127.0.0.1])
	by squall.waterspout.com (Postfix) with ESMTP id 482009B08
	for <submit@bugs.debian.org>; Tue,  6 Nov 2001 11:21:31 -0500 (EST)
From: Doug Porter <dsp@debian.org>
To: submit@bugs.debian.org
Subject: frad: fails to build on ia64
Date: Tue, 06 Nov 2001 11:20:31 -0500
Sender: dsp@waterspout.com
Message-Id: <[🔎] 20011106162131.482009B08@squall.waterspout.com>
Delivered-To: submit@bugs.debian.org

Package: frad
Version: 0.20-4.1
Severity: important
Tags: patch

While building frad on ia64 the build bombs out with:

| In file included from sdlacfg.c:34:
| /usr/include/asm/io.h: In function `__insb':
| /usr/include/asm/io.h:158: `platform_inb' undeclared (first use in this function)
| /usr/include/asm/io.h:158: (Each undeclared identifier is reported only once
| /usr/include/asm/io.h:158: for each function it appears in.)
| /usr/include/asm/io.h:167: `platform_inb' used prior to declaration
| /usr/include/asm/io.h:167: warning: implicit declaration of function `platform_inb'

[snip]

| /usr/include/asm/io.h: In function `__outsl':
| /usr/include/asm/io.h:246: `platform_outl' undeclared (first use in this function)
| /usr/include/asm/io.h:254: `platform_outl' used prior to declaration
| /usr/include/asm/io.h:254: warning: implicit declaration of function `platform_outl'
| sdlacfg.c: In function `sdla':
| sdlacfg.c:415: warning: suggest explicit braces to avoid ambiguous `else'
| sdlacfg.c:424: warning: suggest explicit braces to avoid ambiguous `else'
| sdlacfg.c:433: warning: suggest explicit braces to avoid ambiguous `else'
| make[1]: *** [sdlacfg.o] Error 1
| make[1]: Leaving directory `/scratch/dsp/w4/frad-0.20/src'
| make: *** [build] Error 2
| zsh: exit 2     dpkg-buildpackage -rfakeroot -us -uc

A full build log can be found at:
http://people.debian.org/~dsp/buildlog/frad_0.20-4.1_1005063337

There are basically two ways to fix that.  The first would be to
stop including asm/io.h in src/sdlacfg.c.  In my opinion this
would be the best choice since asm/io.h is not actually being
used.  The second choice would be to define __KERNEL__, probably
by passing -D__KERNEL__ to gcc while building.

Here is the trivial patch to fix the problem the first way I
described.


diff -Naur frad-0.20.orig/src/sdlacfg.c frad-0.20/src/sdlacfg.c
--- frad-0.20.orig/src/sdlacfg.c	Tue Nov  6 16:19:57 2001
+++ frad-0.20/src/sdlacfg.c	Tue Nov  6 16:20:18 2001
@@ -31,8 +31,6 @@
 #define _LINUX_SOCKET_H
 #endif
 
-#include <asm/io.h>
-
 #define CONFIG_DLCI_MODULE
 #include <linux/if.h>
 #include <linux/netdevice.h>


I hope to hear from you soon.  If I receive no word I will NMU
frad to fix this bug in seven days time, as per the guidelines
set for porters in the Debian Developer's Reference.  Thank you.

-- 
Doug Porter <dsp@waterspout.com>

---------------------------------------
Received: (at 118498-close) by bugs.debian.org; 14 Nov 2001 20:07:35 +0000
>From troup@auric.debian.org Wed Nov 14 14:07:35 2001
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 1646Jr-0000bV-00; Wed, 14 Nov 2001 14:07:35 -0600
Received: from troup by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 16469H-00041F-00; Wed, 14 Nov 2001 14:56:39 -0500
From: Doug Porter <dsp@debian.org>
To: 118498-close@bugs.debian.org
X-Katie: $Revision: 1.59 $
Subject: Bug#118498: fixed in frad 0.20-4.2
Message-Id: <E16469H-00041F-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Wed, 14 Nov 2001 14:56:39 -0500
Delivered-To: 118498-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
frad, which has been installed in the Debian FTP archive:

frad_0.20-4.2_ia64.deb
  to pool/main/f/frad/frad_0.20-4.2_ia64.deb
frad_0.20-4.2.diff.gz
  to pool/main/f/frad/frad_0.20-4.2.diff.gz
frad_0.20-4.2.dsc
  to pool/main/f/frad/frad_0.20-4.2.dsc



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 118498@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Doug Porter <dsp@debian.org> (supplier of updated frad 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 14 Nov 2001 10:48:01 -0500
Source: frad
Binary: frad
Architecture: source ia64
Version: 0.20-4.2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Doug Porter <dsp@debian.org>
Description: 
 frad       - Frame Relay Tools for DLCI/SDLA Drivers in 2.0/2.1 kernels.
Closes: 118498
Changes: 
 frad (0.20-4.2) unstable; urgency=low
 .
   * NMU
   * Stop including <asm/io.h> in src/sdlacfg.c since it is not
     necessary and causes the build to fail on ia64.  (closes:
     Bug#118498)
Files: 
 0b79fba89641c90d7971b89a34c8f711 586 net optional frad_0.20-4.2.dsc
 9c3de87d2854cc9010475dba67510818 4983 net optional frad_0.20-4.2.diff.gz
 4bab4cc98f1f18bf3656d99691629253 43430 net optional frad_0.20-4.2_ia64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE78pkrpT/rloR6/t0RAmdYAKCKE0nlaHSjk80W6aiW3VAkRM43CACgip3s
6HWArge/O0VumAhjh3/M05U=
=zJ9u
-----END PGP SIGNATURE-----



Reply to: