Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 621390

Summary: sys-kernel/genkernel-3.4.52.4-r2 "genkernel all" fails due to "drivers/scsi/aha1542.c:306:3: error: implicit declaration of function ‘isa_virt_to_bus’ [-Werror=implicit-function-declaration]"
Product: Gentoo Linux Reporter: Kalle Richter <krichter>
Component: Current packagesAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=621530
Whiteboard:
Package list:
Runtime testing required: ---

Description Kalle Richter 2017-06-10 09:06:23 UTC
"genkernel all" without changes to default configuration fails due to

    drivers/scsi/aha1542.c: In function ‘aha1542_interrupt’:
    drivers/scsi/aha1542.c:306:3: error: implicit declaration of function ‘isa_virt_to_bus’ [-Werror=implicit-function-declaration]
       mbo = (scsi2int(mb[mbi].ccbptr) - (isa_virt_to_bus(&ccb[0]))) / sizeof(struct ccb);
       ^
    drivers/scsi/aha1542.c: In function ‘aha1542_queuecommand’:
    drivers/scsi/aha1542.c:460:4: error: implicit declaration of function ‘isa_page_to_bus’ [-Werror=implicit-function-declaration]
        any2scsi(cptr[i].dataptr, isa_page_to_bus(sg_page(sg))
        ^
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:299: drivers/scsi/aha1542.o] Error 1
    make[1]: *** [scripts/Makefile.build:544: drivers/scsi] Error 2
    make[1]: *** Waiting for unfinished jobs....

on an iMac G4 PowerMac6,1 with ppc32
Comment 1 Jonas Stein gentoo-dev 2017-06-10 20:20:53 UTC
please provide the exact version in the subject line.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-06-10 20:31:02 UTC
What kernel sources are you using? This breakage is ENTIRELY in those sources.
Comment 3 Kalle Richter 2017-06-11 16:07:32 UTC
> What kernel sources are you using? This breakage is ENTIRELY in those sources.
OK, so I reported this against `sys-kernel/gentoo-sources` at https://bugs.gentoo.org/show_bug.cgi?id=621530, but now I realize that bug reports aren't associated with packages, so that might not have made sense.
Comment 4 Jonas Stein gentoo-dev 2017-06-11 18:48:51 UTC
*** Bug 621530 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-15 10:27:48 UTC
I detached bug 621530 because this is a kernel compile error like pointed out in comment #2. Closing this genkernel bug as invalid.