Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60553 - net-dialup/capisuite-0.4.3 fails on build
Summary: net-dialup/capisuite-0.4.3 fails on build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 07:05 UTC by Daniel Gebhardt
Modified: 2004-10-01 16:11 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,1.54 KB, text/plain)
2004-08-16 07:06 UTC, Daniel Gebhardt
Details
log of the failing build (2793-capisuite-0.4.3.log,10.55 KB, text/plain)
2004-08-16 07:07 UTC, Daniel Gebhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gebhardt 2004-08-16 07:05:09 UTC
When emerging capisuite the ebuild fails with the error below. 

Reproducible: Always
Steps to Reproduce:
1.echo "net-dialup/capisuite ~x86" >> /etc/portage/package.keywords
2.emerge capisuite
3.--> fails

Actual Results:  

/usr/include/capiutils.h:923: error: too few arguments to function `unsigned 
   int ALERT_REQ(_cmsg*, short unsigned int, short unsigned int, unsigned int, 
   unsigned char*, unsigned char*, unsigned char*, unsigned char*, unsigned 
   char*)'
capi.cpp:116: error: at this point in file
make[3]: *** [capi.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory
`/var/tmp/portage/capisuite-0.4.3/work/capisuite-0.4.3/src/back
end'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/capisuite-0.4.3/work/capisuite-0.4.3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/capisuite-0.4.3/work/capisuite-0.4.3'
make: *** [all] Fehler 2

!!! ERROR: net-dialup/capisuite-0.4.3 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! parallel make failed.



Expected Results:  
Emerge cleanly

I'll attach "emerge --info" output and the build logfile.

Maybe the ebuild for capisuite-0.4.4 (see Bug# <a
href="http://bugs.gentoo.org/show_bug.cgi?id=37311">37311</a>) can be put into
portage as it emerges clean.

Daniel
Comment 1 Daniel Gebhardt 2004-08-16 07:06:58 UTC
Created attachment 37527 [details]
emerge --info
Comment 2 Daniel Gebhardt 2004-08-16 07:07:39 UTC
Created attachment 37528 [details]
log of the failing build
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-09-23 17:05:49 UTC
I just commited capi4k-utils-20040810. Does this fix it?
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2004-09-30 08:43:34 UTC
No, it doesn't fix the problem it's the source of the problem ;)

The situation: In june the isdn4k utils were changed
(<http://www.isdn4linux.de/cgi-bin/viewcvs.cgi/isdn4k-utils/capi20/capiutils.h.diff?r1=1.5&r2=1.6>)
Changes in ALERT_REQ (/usr/include/capiutils.h)...
|                     _cstruct Useruserdata,
|-                    _cstruct Facilitydataarray) {
|+                    _cstruct Facilitydataarray,
|+		    _cstruct SendingComplete) {


So every package using this header file must check whether it's the old or new function.
Patch for capisuite is linked in http://bugs.gentoo.org/show_bug.cgi?id=37311#c13



@Daniel Gebhardt: which version of capi4k-utils or isdn4k-utils did you use when hitting this bug? 
Comment 5 Daniel Gebhardt 2004-09-30 11:07:10 UTC
I was running capi4k-utils-20040810, not the ones commited to portage recently but Daniel Blacks Ebuild he attached to Bug 52001 (http://bugs.gentoo.org/show_bug.cgi?id=52001). 
To me it seems pretty much the same as the portage one, beside one sed line ... but I guess Daniel B. could tell better.

Daniel
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-10-01 14:56:47 UTC
The sed line adds support for 2.6 Kernel headers.

What is needed is a list of packages that break on capi4k-utils-20040810 and the ebuilds will be changed to depend on the lower version.

The packages that break will get a patch to allow them to work for the newer  >=capi4k-utils-20040810 and new ebuilds will be added.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-10-01 16:11:56 UTC
0.4.4 commited. 0.4.3 changed to depend on previous capi4k-utils version.

The only other capi4k-utils dependancy around is net-misc/capi4hylafax which compiled fine on the new version on capi4k-utils.

Please open a new bug if some other capi4k-utils based program failes. If capisuite-0.4.3 is still broken - reopen this one.