You are not logged in.
I got an odd error when I set the following from xz to lzo:
General setup --->
Kernel compression mode (XZ) --->
No other changes (and it builds fine with LZO).
IHEX firmware/kaweth/new_code.bin
IHEX firmware/kaweth/trigger_code.bin
IHEX firmware/kaweth/new_code_fix.bin
IHEX firmware/kaweth/trigger_code_fix.bin
IHEX firmware/ti_3410.fw
IHEX firmware/ti_5052.fw
IHEX firmware/mts_gsm.fw
IHEX firmware/mts_cdma.fw
IHEX firmware/mts_edge.fw
H16TOFW firmware/edgeport/boot.fw
H16TOFW firmware/edgeport/boot2.fw
H16TOFW firmware/edgeport/down.fw
H16TOFW firmware/edgeport/down2.fw
IHEX firmware/edgeport/down3.bin
IHEX2FW firmware/whiteheat_loader.fw
IHEX2FW firmware/whiteheat.fw
IHEX2FW firmware/keyspan_pda/keyspan_pda.fw
IHEX2FW firmware/keyspan_pda/xircom_pgs.fw
IHEX firmware/cpia2/stv0672_vp4.bin
==> ERROR: A failure occurred in build().
Aborting...Last edited by graysky (2011-06-10 20:14:19)
Offline
no actual error earlier in the build process? in any case, firmwares come as a separated package [1] nowadays. you could make you package depend on this and drop the firmware build from your PKGBUILD. in fact, that would be better as the firmware package is more recent and includes updated intel firmwares.
Offline
@bangkok - this occurs when building the stock ARCH kernel. The firmware is removed after the build completes. The ONLY modification was the switch the compression from xz to lzo.
I am at a loss as to why this would fail.
Offline
I ran makepkg in bash debugging mode, looks like it's dying at the make modules step:
$ bash -x /usr/bin/makepkg -src
...
+ msg 'Running make bzImage and modules'
+ local 'mesg=Running make bzImage and modules'
+ shift
+ printf '==> Running make bzImage and modules\n'
==> Running make bzImage and modules
+ make -j4 bzImage modules
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
...
IHEX firmware/ess/maestro3_assp_kernel.fw
IHEX firmware/ess/maestro3_assp_minisrc.fw
IHEX firmware/yamaha/ds1_ctrl.fw
IHEX firmware/yamaha/ds1_dsp.fw
IHEX firmware/yamaha/ds1e_ctrl.fw
++ error_function build
++ [[ -p '' ]]
++ (( ! BASH_SUBSHELL ))
+++ gettext 'A failure occurred in %s().'
++ error 'A failure occurred in %s().' build
++ local 'mesg=A failure occurred in %s().'
++ shift
+++ gettext ERROR:
++ printf '==> ERROR: A failure occurred in %s().\n' build
==> ERROR: A failure occurred in build().
+++ gettext Aborting...
++ plain Aborting...
++ local mesg=Aborting...
++ shift
++ printf ' Aborting...\n'
Aborting...
++ remove_deps
++ (( ! RMDEPS ))
+++ comm -23 /dev/fd/63 /dev/fd/62WTF?
Last edited by graysky (2011-06-10 19:15:54)
Offline
*head smack*
It wasn't choking on the modules, it was choking because I lacked the needed compression libs!
$ pacman -S lzopNow the build is complete with no errors.
Offline
a little bit OT now but anyway, why don't use this?
Offline
Good question! I just adapted the ARCH kernel26 PKGBUILD to my kernel26-ck PKGBUILD. You'll notice:
# remove the firmware
rm -rf ${pkgdir}/lib/firmwareAlthough it gets built, it later gets removed.
I believe that this error has nothing to do with firmware at all. It just so happened that the compression step occurs after the firmware is built. Since my system lacked lzop, it errored out there.
Offline