Your message dated Mon, 19 Oct 2015 12:04:57 +0000
with message-id <[email protected]>
and subject line Bug#775428: fixed in flashrom 0.9.7+r1852-1.1
has caused the Debian Bug report #775428,
regarding flashrom FTBFS on mipsel
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
775428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775428
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flashrom
Version: 0.9.7+r1852-1
Tags: sid patch
Severity: important
Justification: FTBFS
User: [email protected]
Usertags: mips-patch
Packge flashrom FTBFS for mipsel with an error:
> cc -MMD -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wall -D_FORTIFY_SOURCE=2 -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID'
> -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1'
> -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1'
> -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1'
> -D'CONFIG_IT8212=1' -D'CONFIG_FT2232_SPI=1' -D'CONFIG_USBBLASTER_SPI=1'
> -D'HAVE_FT232H=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1'
> -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1'
> -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_LINUX_SPI=1'
> -D'NEED_PCI=1' -D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.7-r1852"' -o
> internal.o -c internal.c
> internal.c: In function 'internal_init':
> internal.c:332:52: error: 'cb_vendor' undeclared (first use in this function)
> if (board_flash_enable(board_vendor, board_model, cb_vendor, cb_model)) {
> ^
> internal.c:332:52: note: each undeclared identifier is reported only once for
> each function it appears in
> internal.c:332:63: error: 'cb_model' undeclared (first use in this function)
> if (board_flash_enable(board_vendor, board_model, cb_vendor, cb_model)) {
> ^
> make[1]: *** [internal.o] Error 1
Patch that conatins needed changes is attached.
This chage is aviale upstream, along with other changes.
With this patch I was able to build flashrom for mipsel locally.
Could you please consider including these changes?
Here is commit that conatins my fix.
https://github.com/stefanct/flashrom/commit/138245ea51472211ec12e7b4d176591f3f18ce38
If needed, we could use all chages from this commit.
Best Regards,
Dejan
--- flashrom-0.9.7+r1852.orig/internal.c 2014-10-27 20:09:27.000000000 +0000
+++ flashrom-0.9.7+r1852/internal.c 2015-01-13 09:06:03.000000000 +0000
@@ -327,12 +327,12 @@
/* Probe unconditionally for ITE Super I/O chips. This enables LPC->SPI translation on IT87* and
* parallel writes on IT8705F. Also, this handles the manual chip select for Gigabyte's DualBIOS. */
init_superio_ite();
-#endif
if (board_flash_enable(board_vendor, board_model, cb_vendor, cb_model)) {
msg_perr("Aborting to be safe.\n");
return 1;
}
+#endif
#if defined(__i386__) || defined(__x86_64__) || defined (__mips)
register_par_master(&par_master_internal, internal_buses_supported);
--- End Message ---
--- Begin Message ---
Source: flashrom
Source-Version: 0.9.7+r1852-1.1
We believe that the bug you reported is fixed in the latest version of
flashrom, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[email protected]> (supplier of updated flashrom
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 14 Oct 2015 09:21:36 +0100
Source: flashrom
Binary: flashrom
Architecture: source mipsel
Version: 0.9.7+r1852-1.1
Distribution: unstable
Urgency: medium
Maintainer: Uwe Hermann <[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description:
flashrom - Identify, read, write, erase, and verify BIOS/ROM/flash chips
Closes: 775428
Changes:
flashrom (0.9.7+r1852-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS on mipsel.
Patch by Dejan Latinovic <[email protected]>.
Add mips-fix-internal.patch.
Closes: #775428.
Checksums-Sha1:
b3023ab3d4c6e8fde3712df7c941172ccbc743f8 1765 flashrom_0.9.7+r1852-1.1.dsc
55ea901dd84ba89a65f213bd388500e43f382627 7884
flashrom_0.9.7+r1852-1.1.debian.tar.xz
35739a4472a443f8f4dcd1f8552e15287fc63a8c 357166
flashrom_0.9.7+r1852-1.1_mipsel.deb
Checksums-Sha256:
e3511d12126c11ad5c3d9fdb199dec3372b210b85ee9053d74bf539d89229859 1765
flashrom_0.9.7+r1852-1.1.dsc
4233c66a3e9315595e28cb5c92c4d88e56b169c2c2454a9d61e8c0fded84d5d9 7884
flashrom_0.9.7+r1852-1.1.debian.tar.xz
c6b50a3e943c8a068d669e8345928b83b445c77bb62d3e1445d61a281e96a3b3 357166
flashrom_0.9.7+r1852-1.1_mipsel.deb
Files:
a55a6aabeebd33f600da8fa26684926d 1765 electronics extra
flashrom_0.9.7+r1852-1.1.dsc
390780b50629f4f869fe32dea0518bd6 7884 electronics extra
flashrom_0.9.7+r1852-1.1.debian.tar.xz
d799819b9fc70f0ee34f3c55605067c1 357166 electronics extra
flashrom_0.9.7+r1852-1.1_mipsel.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJWHj5JAAoJEHxWrP6UeJfYdPkQAKWmXgn5okvoOn1iZo3/pzgq
WJAh6PHjbHOu5w2i04OztKGbgkxgKE80/KEAs0q9kmtIvaGi2K4MB225JoED7a5Y
W+Ue+ihLNypljLbt2xBasGKicpohii87MmgnflQc7YHf3yBwQzvr48DaHkPPTYPs
p/CsfhGbnyk9KI5xWqJJqKdwft/KPvLwd9aZx5tkgELRiDoJ9fZ2vo/8NvDhxX5y
Sh7ZQzYSzPmjBlPPdFsjzitHbzrEuqpR0fUuF6n5qkN4EBZ5xQheJPQIa7nQC797
lzyVALe6VHUOXDUtSGyb3WVCGjsObTT+uCNSljqToUhQtK8X6IuY3rj1wDJE5/nt
7lAbCSx5xviLRLFJGdYOjZc+XLIkHIo7ZBDVYl6yTLWigjR1CpsbCfyE59BNWpsQ
7yACyP0QBS2OpRE2Q0EZoCG1C7QPvpBKmb3c5WYohhCcA11gskk6M+nf+W6w3BbJ
SePVUcUb5WH9eIFPFDbVkLfkQdexGPl1l+DQq1wrTTy3Xh6ggy74x10m2ZkciZNj
r+4/m4ytJAeBxWP40zhvhTyDPFQ+ATaTgUcJoSFJXFAROCkVmRlCQfQsjN+17c7T
FfsYv/vQp5MLa1MrekvQj3/Jy/Bj0Kqs12HH34Abx/uExA1cOScSkizWpiHKOM3W
hl4L4MjWd5f7y4Fw+5Uk
=vkE1
-----END PGP SIGNATURE-----
--- End Message ---