Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44440 - sys-apps/irda-utils
Summary: sys-apps/irda-utils
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 44280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-12 03:05 UTC by S.Caglar Onur
Modified: 2004-09-22 14:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
irda-utils-0.9.15-r1.ebuild (irda-utils-0.9.15-r1.ebuild,1.76 KB, text/plain)
2004-03-12 03:08 UTC, S.Caglar Onur
Details
irda-utils-0.9.16.ebuild (irda-utils-0.9.16.ebuild,1.57 KB, text/plain)
2004-06-25 07:55 UTC, S.Caglar Onur
Details
digest-irda-utils-0.9.16 (digest-irda-utils-0.9.16,69 bytes, text/plain)
2004-06-25 07:59 UTC, S.Caglar Onur
Details
irda-utils-0.9.16.ebuild (irda-utils-0.9.16.ebuild,2.13 KB, text/plain)
2004-09-05 06:14 UTC, Przemyslaw Maciag (RETIRED)
Details
irda-utils-gtk+2.patch (irda-utils-gtk+2.patch,331 bytes, patch)
2004-09-05 06:14 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
irda-utils-includes.patch (irda-utils-includes.patch,907 bytes, patch)
2004-09-05 06:14 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
irda-utils-irkbd-error.patch (irda-utils-irkbd-error.patch,309 bytes, patch)
2004-09-05 06:15 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
irda-utils-makefiles.patch (irda-utils-makefiles.patch,2.15 KB, patch)
2004-09-05 06:16 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
irda-utils-not-x86.patch (irda-utils-not-x86.patch,371 bytes, patch)
2004-09-05 06:18 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description S.Caglar Onur 2004-03-12 03:05:35 UTC
irda-utils-0.9.15 compiled well, but irattach is not installed so the startup script never runs because of "[ -f /usr/sbin/irattach ] || return 1" line. So i modify ebuild for irattach installation.

Reproducible: Always
Steps to Reproduce:
1.emerge irda-utils
2./etc/init.d/irda start
3.

Actual Results:  
irda daemon doesnt start

Expected Results:  
irda deamon must start
Comment 1 S.Caglar Onur 2004-03-12 03:08:06 UTC
Created attachment 27239 [details]
irda-utils-0.9.15-r1.ebuild
Comment 2 Cyril Jaquier 2004-03-14 05:37:25 UTC
With irda-utils-0.9.15, irattach isn't copied in /usr/sbin. But man pages exists.

>>> Merging sys-apps/irda-utils-0.9.15 to /
--- /etc/
--- /etc/rc.d/
--- /etc/rc.d/init.d/
>>> /etc/rc.d/init.d/._cfg0000_irda
--- /etc/conf.d/
>>> /etc/conf.d/irda
--- /etc/init.d/
>>> /etc/init.d/irda
--- /usr/
--- /usr/bin/
>>> /usr/bin/irdaspray
>>> /usr/bin/recv_ultra
>>> /usr/bin/irdadump
>>> /usr/bin/send_ultra
>>> /usr/bin/irprintf
>>> /usr/bin/irpsion5
>>> /usr/bin/ias_query
>>> /usr/bin/irscanf
>>> /usr/bin/irprintfx
--- /usr/man/
--- /usr/man/man8/
>>> /usr/man/man8/irdaping.8.gz
>>> /usr/man/man8/irpsion5.8.gz
>>> /usr/man/man8/findchip.8.gz
>>> /usr/man/man8/irdadump.8.gz
>>> /usr/man/man8/irattach.8.gz
--- /usr/sbin/
>>> /usr/sbin/findchip
--- /usr/X11R6/
--- /usr/X11R6/bin/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/irda-utils-0.9.15/
>>> /usr/share/doc/irda-utils-0.9.15/README.irdaping.gz
>>> /usr/share/doc/irda-utils-0.9.15/README.irattach.gz
>>> /usr/share/doc/irda-utils-0.9.15/README.irsockets.gz
>>> /usr/share/doc/irda-utils-0.9.15/README.irdadump.gz
>>> /usr/share/doc/irda-utils-0.9.15/README.tekram.gz
Comment 3 Nils 2004-03-19 00:00:12 UTC
The modified ebuild 2004-03-12 solve the problem with irattach. It's correctly build and copy to /usr/sbin/ .

There are only some error during compilation :
make[1]: *** [dongle_attach.o] Fehler 1
make[1]: *** [irdaping.o] Fehler 1
make[1]: *** [irkbd.o] Fehler 1

The ebuild installs without error.
Comment 4 Benjamin Greiner 2004-04-05 13:04:56 UTC
works with me too,
portage should be updated since current official ebuild destroys working irda installations
Comment 5 S.Caglar Onur 2004-05-03 08:11:05 UTC
What we are waiting for commit this into portage? Is there any problem to fix or something else?
Comment 6 Nils 2004-05-14 23:50:34 UTC
Why waiting for commit the ebuild into portage? The version 0.9.15-r1 is working fine, but the version 0.9.15 marked as stable doesn't work on most systems.
Comment 7 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2004-06-25 04:54:50 UTC
also, please update to version 0.9.16 as there is a bug in irattach for usb-serial dongles...

renaming the ebuild did the trick for me...
thanks
best regards
bangert
Comment 8 S.Caglar Onur 2004-06-25 07:55:34 UTC
Created attachment 34137 [details]
irda-utils-0.9.16.ebuild
Comment 9 S.Caglar Onur 2004-06-25 07:57:51 UTC
Version bump, also fixes irattach problem... [ Also want to ask Why we are waiting commit the ebuild into portage? again :) ]
Comment 10 S.Caglar Onur 2004-06-25 07:59:32 UTC
Created attachment 34138 [details]
digest-irda-utils-0.9.16
Comment 11 Nils 2004-07-01 10:36:22 UTC
Why we are waiting commit the ebuild into portage? again ... :)
Is there anything to do ?
Comment 12 Henrik Brix Andersen 2004-08-18 13:29:42 UTC
I don't see the problem with sys-apps/irda-utils-0.9.15:

sponge root # qpkg -I -i irda-utils
sys-apps/irda-utils-0.9.15 *
        IrDA Utilities, tools for IrDA communication [ http://irda.sf.net ]
sponge root # which irattach
/usr/sbin/irattach

As shown above sys-apps/irda-utils-0.9.15 installs the irattach utility just fine.  
Comment 13 S.Caglar Onur 2004-08-19 01:04:20 UTC
Interesting becuase there is no "dobin irattach/irattach"  line in current version, so how can it be here :=)
Comment 14 Henrik Brix Andersen 2004-08-19 01:39:18 UTC
From irda-utils/irda-utils-0.9.15.ebuild:

  make install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}"

The above command installs the irda-utils. The dobin commands found further down in the ebuild merely installs additional binaries.

Please attach the entire output of 'emerge -v irda-utils/irda-utils' for version 0.9.15 as a text file.
Comment 15 S.Caglar Onur 2004-08-19 07:08:42 UTC
I emerged old version today, seems problem gone and according to Changelog nothing chages, interesting :). So marking this bug as INVALID is a good idea...
Comment 16 Henrik Brix Andersen 2004-09-02 01:26:42 UTC
Closing as WORKSFORME since it... works for me and the reporter.
Comment 17 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:14:26 UTC
Created attachment 38983 [details]
irda-utils-0.9.16.ebuild

Hi all!

Unfortunatelly - ebuild didn't work for me on my x86 box (and for one of my
forum-friend also).

I created this ebuild, whive two patches from PLD and rest I created for fix
some problems/errors I found.

Now - it's working on my both - Athlon 2800 and iBook G4 - machines.

Hope you find it usefull.

Regards.
Przemek
Comment 18 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:14:43 UTC
Created attachment 38984 [details, diff]
irda-utils-gtk+2.patch
Comment 19 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:14:59 UTC
Created attachment 38985 [details, diff]
irda-utils-includes.patch
Comment 20 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:15:49 UTC
Created attachment 38986 [details, diff]
irda-utils-irkbd-error.patch

this is ugly workaround, but thanks to this it's working on my ppc machine
Comment 21 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:16:06 UTC
Created attachment 38987 [details, diff]
irda-utils-makefiles.patch
Comment 22 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:18:50 UTC
Created attachment 38989 [details, diff]
irda-utils-not-x86.patch

afaik - findchip works only on x86 machine; this patch is for archs different
then x86 (see ebuild)

but (of course) I can be wrong in this...
Comment 23 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-05 06:22:16 UTC
on my x86 machine I've found some sandbox violation error - emerge tried to unlink irdadump outside the 'portage jail' - in the ebuild you can find the addpredict in src_install function to solve this problem.

PS. Sorry for my english ;-)

Regards,
Przemek
Comment 24 Doug Goldstein (RETIRED) gentoo-dev 2004-09-22 09:37:27 UTC
Do we still need to address these patches or bugs or not? Please reopen if we do.
Comment 25 Doug Goldstein (RETIRED) gentoo-dev 2004-09-22 09:37:41 UTC
*** Bug 44280 has been marked as a duplicate of this bug. ***
Comment 26 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-22 11:09:22 UTC
Hi!

Without those patches me and one my friends from gentoo forums couldn't emerge irda-utils properly - irdadump wasn't installed.

This friend has a x86 machine; my (this problematic one) was ppc (iBook G4).

Please - consider trying those patches and applying them. Theye're working ;-)

Regards,
Przemek
Comment 27 Henrik Brix Andersen 2004-09-22 11:09:57 UTC
No. This bug is closed and deals with a completely different issue. The version bump to 0.9.16 is covered in bug #63475.
Comment 28 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-22 14:43:34 UTC
ok. I gonna submit those patches there with merged ebuilds.

Regards,
Przemek

PS. Sorry for trouble.