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

Bug#185933: marked as done (libc6-dev: sys/io.h disappeared on ppc)



Your message dated Fri, 28 Mar 2003 23:54:30 +0900
with message-id <80r88rv8wp.wl@oris.opensource.jp>
and subject line Bug#185933: libc6-dev: sys/io.h disappeared on ppc
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; 23 Mar 2003 02:02:48 +0000
>From dilinger@voxel.net Sat Mar 22 20:02:48 2003
Return-path: <dilinger@voxel.net>
Received: from alb-24-195-0-157.nycap.rr.com (nrop) [24.195.0.157] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18wuoy-0006am-00; Sat, 22 Mar 2003 20:02:48 -0600
Received: by nrop (Postfix, from userid 1000)
	id 513C2BFB0F; Sat, 22 Mar 2003 21:02:45 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andres Salomon <dilinger@voxel.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: sys/io.h disappeared on ppc
X-Mailer: reportbug 2.10.1
Date: Sat, 22 Mar 2003 21:02:44 -0500
Message-Id: <20030323020245.513C2BFB0F@nrop>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: libc6-dev
Version: 2.3.1-15
Severity: normal

Somewhere between -14 and -15, /usr/include/sys/io.h seems to have
disappeared for ppc (and possibly other archs).

On an i386 machine:
dilinger@pinky:~$ dpkg -L libc6-dev|grep "sys/io.h" || echo "nada."
/usr/include/sys/io.h
dilinger@pinky:~$ 

On a ppc machine:
dilinger@nrop:~/gst-plugins-0.6.0.bak$ dpkg -L libc6-dev|grep "sys/io.h" || echo "nada."
nada.


I encountered a problem w/ missing sys/io.h while attempting to build
gst-plugins with -15:

In file included from qcam-lib.c:47:
 qcam-os.c:38:20: sys/io.h: No such file or directory
 qcam-lib.c: In function `qc_scan':
 qcam-lib.c:743: warning: comparison is always true due to limited range
 of data type
 make[4]: *** [libgstqcam_la-qcam-lib.lo] Error 1

Note that it builds just fine w/ -14:

http://buildd.debian.org/fetch.php?&pkg=gst-plugins&ver=0.6.0-4&arch=powerpc&stamp=1047776147&file=log&as=raw



-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux nrop 2.4.20-ben7 #15 Sat Mar 1 15:37:39 EST 2003 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.1-15   GNU C Library: Shared libraries an

-- no debconf information


---------------------------------------
Received: (at 185933-done) by bugs.debian.org; 28 Mar 2003 14:54:36 +0000
>From gotom@debian.or.jp Fri Mar 28 08:54:33 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18yvFY-00014C-00; Fri, 28 Mar 2003 08:54:32 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP
	id BDA20C33C7; Fri, 28 Mar 2003 23:54:30 +0900 (JST)
Date: Fri, 28 Mar 2003 23:54:30 +0900
Message-ID: <80r88rv8wp.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Andres Salomon <dilinger@voxel.net>
Cc: GOTO Masanori <gotom@debian.or.jp>, 185933-done@bugs.debian.org
Subject: Re: Bug#185933: libc6-dev: sys/io.h disappeared on ppc
In-Reply-To: <1048794021.987.26.camel@nrop>
References: <20030323020245.513C2BFB0F@nrop>
	<803clelpv7.wl@oris.opensource.jp>
	<1048393512.15120.7.camel@nrop>
	<80y936k6pe.wl@oris.opensource.jp>
	<1048459732.790.8.camel@nrop>
	<80ptochp6x.wl@oris.opensource.jp>
	<1048794021.987.26.camel@nrop>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 185933-done@bugs.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      USER_AGENT
	version=2.44
X-Spam-Level: 

At 27 Mar 2003 14:40:21 -0500,
Andres Salomon wrote:
> 
> I have no problem w/ closing the bug; I've entered a bug in gstreamer's
> buzilla.

Thanks!  Now I close this bug.  But I remind (and maybe my todo) that
ppc has no sys/io.h.

> I would, however, like to see this documented somewhere, if
> it's not already done (maybe at the top of sys/*.h, a big fat "/*
> WARNING: this file does not exist on all architectures! */", or perhaps
> "#ifndef __<some symbol in asm/io.h>__ Warning: do not include this file
> directly!  Use the appropriate file in /usr/include/asm".)  But, I'm
> completely fine w/ you closing this.

Hmm, asm/io.h is kernel's header, and sys/io.h is glibc's header.  So
it can't be described as "some symbol in asm/io.h".  "this file does
not exist on all architectures" issue is caused by actually the
laziness of glibc, I think.

In addition, asm/io.h is normally provided, but it's also ok not to
exist (because it's for user convenient header to use IO directly, but
indeed I can't imagine it's not provided)...

Regards,
-- gotom

> On Thu, 2003-03-27 at 09:14, GOTO Masanori wrote:
> > Hi,
> > 
> > At 23 Mar 2003 17:48:52 -0500,
> > Andres Salomon wrote:
> > > 
> > > Indeed:
> > > 
> > > ./sys/qcam/qcam-os.c:#include <sys/io.h>
> > > ./sys/qcam/qcam-Linux.c:#include <sys/io.h>
> > > 
> > > This appears to be some sort of quickcam driver (or something that
> > > prods i/o addresses directly).  I guess it should be using asm/io.h.
> > > It's using functions/macros like inb(), outb(), etc.  I shall follow
> > > up w/ gstreamer upstream on this.
> > 
> > Well, please do that.  If quickcam interface is the part of your
> > application, then unless architecture non-specific way is provided
> > from kernel driver, it becomes architecture dependend package...
> > 
> > So how to deal with this bug?  Exactly sys/io.h is not provided on
> > powerpc, but I think it does not cause your program; moreover, if the
> > sane non-architecture dependent program does not need to include
> > sys/io.h...  Do you think about this bug, and should we act about this
> > bug?



Reply to: