Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458032 - sys-kernel/gentoo-sources-3.7.8 deblobbing fails on a few drivers
Summary: sys-kernel/gentoo-sources-3.7.8 deblobbing fails on a few drivers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-17 20:31 UTC by Stelian Ionescu
Modified: 2013-03-05 19:53 UTC (History)
1 user (show)

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


Attachments
Force Python 2 for deblob (kernel-2.eclass.patch,588 bytes, patch)
2013-03-05 19:16 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stelian Ionescu 2013-02-17 20:31:18 UTC
ATM_SOLOS - Solos ADSL2+ PCI Multiport card driver
drivers/atm/solos-pci.c: disabled non-Free firmware-loading machinery
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-9Xhp4n", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 235: ordinal not in range(128)
ERROR: failed removing blobs from drivers/atm/solos-pci.c
cmp: EOF on drivers/atm/solos-pci.c.deblob
drivers/atm/solos-pci.c: removed blobs

DVB_USB_AF9035 - Afatech AF9035 DVB-T USB2.0 support
drivers/media/usb/dvb-usb-v2/af9035.h: removed blobs
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-TpNPx2", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 218: ordinal not in range(128)
ERROR: failed removing blobs from drivers/media/usb/dvb-usb-v2/af9035.c
cmp: EOF on drivers/media/usb/dvb-usb-v2/af9035.c.deblob
drivers/media/usb/dvb-usb-v2/af9035.c: removed blobs

VIDEO_BT848 - BT848 Video For Linux
drivers/media/pci/bt8xx/bttv-cards.c: disabled non-Free firmware-loading machinery
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-pkC4YF", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 432: ordinal not in range(128)
ERROR: failed removing blobs from drivers/media/pci/bt8xx/bttv-cards.c
cmp: EOF on drivers/media/pci/bt8xx/bttv-cards.c.deblob
drivers/media/pci/bt8xx/bttv-cards.c: removed blobs
Documentation/video4linux/bttv/README: removed blobs

B43 - Broadcom 43xx wireless support (mac80211 stack)
drivers/net/wireless/b43/main.c: retain Free firmware-loading machinery, disabling non-Free one
drivers/net/wireless/b43/main.c: double-check and reject non-Free firmware
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-BOl3Zw", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 406: ordinal not in range(128)
ERROR: failed removing blobs from drivers/net/wireless/b43/main.c
cmp: EOF on drivers/net/wireless/b43/main.c.deblob
drivers/net/wireless/b43/main.c: removed blobs

WLAGS49_H2 - Agere Systems HERMES II Wireless PC Card Model 0110
drivers/staging/wlags49_h2/ap_h2.c: removed blobs
drivers/staging/wlags49_h2/sta_h2.c: removed blobs
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-b2BPVB", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1027: ordinal not in range(128)
ERROR: failed removing blobs from drivers/staging/wlags49_h2/wl_profile.c
cmp: EOF on drivers/staging/wlags49_h2/wl_profile.c.deblob
drivers/staging/wlags49_h2/wl_profile.c: removed blobs
drivers/staging/wlags49_h2/wl_main.c: reject built-in non-Free firmware

LIBERTAS_USB - Marvell Libertas 8388 USB 802.11b/g cards
drivers/net/wireless/libertas/if_usb.c: removed blobs
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-VDyLAw", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 169: ordinal not in range(128)
ERROR: failed removing blobs from drivers/net/wireless/libertas/README
cmp: EOF on drivers/net/wireless/libertas/README.deblob
drivers/net/wireless/libertas/README: removed blobs

USB_EMI26 - EMI 2|6 USB Audio interface
firmware/emi26/bitstream.HEX: removed
firmware/Makefile: dropped firmware/emi26/bitstream.fw
firmware/emi26/firmware.HEX: removed
firmware/Makefile: dropped firmware/emi26/firmware.fw
firmware/emi26/loader.HEX: removed
firmware/Makefile: dropped firmware/emi26/loader.fw
drivers/usb/misc/emi26.c: disabled non-Free firmware-loading machinery
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-vBtj3f", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 134: ordinal not in range(128)
ERROR: failed removing blobs from drivers/usb/misc/emi26.c
cmp: EOF on drivers/usb/misc/emi26.c.deblob
drivers/usb/misc/emi26.c: removed blobs

USB_EMI62 - EMI 6|2m USB Audio interface
firmware/emi62/bitstream.HEX: removed
firmware/Makefile: dropped firmware/emi62/bitstream.fw
firmware/emi62/loader.HEX: removed
firmware/Makefile: dropped firmware/emi62/loader.fw
firmware/emi62/midi.HEX: removed
firmware/Makefile: dropped firmware/emi62/midi.fw
firmware/emi62/spdif.HEX: removed
firmware/Makefile: dropped firmware/emi62/spdif.fw
drivers/usb/misc/emi62.c: disabled non-Free firmware-loading machinery
Traceback (most recent call last):
  File "/var/tmp/portage/sys-kernel/gentoo-sources-3.7.8/temp/deblob-check-script-96SOEh", line 48, in <module>
    for line in sys.stdin:
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 134: ordinal not in range(128)
ERROR: failed removing blobs from drivers/usb/misc/emi62.c
cmp: EOF on drivers/usb/misc/emi62.c.deblob
drivers/usb/misc/emi62.c: removed blobs
Comment 1 Stelian Ionescu 2013-02-17 20:31:50 UTC
Portage 2.1.11.50 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo x86_64)                                                                                                                                                   
=================================================================                                                                                                                                                                              
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1                                                                                                                                              
KiB Mem:     2055608 total,    665828 free                                                                                                                                                                                                     
KiB Swap:          0 total,         0 free                                                                                                                                                                                                     
Timestamp of tree: Sun, 17 Feb 2013 19:30:01 +0000                                                                                                                                                                                             
ld GNU ld (GNU Binutils) 2.22                                                                                                                                                                                                                  
app-shells/bash:          4.2_p37                                                                                                                                                                                                              
dev-lang/python:          2.7.3-r2, 3.2.3                                                                                                                                                                                                      
dev-util/pkgconfig:       0.28                                                                                                                                                                                                                 
sys-apps/baselayout:      2.1-r1                                                                                                                                                                                                               
sys-apps/openrc:          0.11.8                                                                                                                                                                                                               
sys-apps/sandbox:         2.5                                                                                                                                                                                                                  
sys-devel/autoconf:       2.69                                                                                                                                                                                                                 
sys-devel/automake:       1.11.6                                                                                                                                                                                                               
sys-devel/binutils:       2.22-r1                                                                                                                                                                                                              
sys-devel/gcc:            4.6.3                                                                                                                                                                                                                
sys-devel/gcc-config:     1.7.3                                                                                                                                                                                                                
sys-devel/libtool:        2.4-r1                                                                                                                                                                                                               
sys-devel/make:           3.82-r4                                                                                                                                                                                                              
sys-kernel/linux-headers: 3.6 (virtual/os-headers)                                                                                                                                                                                             
sys-libs/glibc:           2.15-r3                                                                                                                                                                                                              
Repositories: gentoo lisp                                                                                                                                                                                                                      
ACCEPT_KEYWORDS="amd64"                                                                                                                                                                                                                        
ACCEPT_LICENSE="* -@EULA"                                                                                                                                                                                                                      
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                                                   
CFLAGS="-O2 -pipe -march=native -msse4 -ggdb3"                                                                                                                                                                                                 
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                                                                    
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"                                                                                                                                                                                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                     
CXXFLAGS="-O2 -pipe -march=native -msse4 -ggdb3"                                                                                                                                                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                                               
FCFLAGS="-O2 -pipe"                                                                                                                                                                                                                            
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"                                                                                                                                                                                      
FFLAGS="-O2 -pipe"                                                                                                                                                                                                                             
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                                                                                                                                   
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                              
MAKEOPTS="-j2"                                                                                                                                                                                                                                 
PKGDIR="/usr/portage/packages"                                                                                                                                                                                                                 
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                                         
PORTAGE_RSYNC_EXTRA_OPTS="--progress --partial --delete-delay"                                                                                                                                                                                 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                                                      
PORTDIR="/usr/portage"                                                                                                                                                                                                                         
PORTDIR_OVERLAY="/home/hechee/gentoo-lisp-overlay"                                                                                                                                                                                             
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                                                                                                 
USE="acl amd64 berkdb bindist bzip2 caps cli cracklib crypt cxx dri fortran fuse gdbm gpm iconv ipv6 lzma mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"                                           
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-03-05 19:16:38 UTC
Created attachment 341032 [details, diff]
Force Python 2 for deblob

This patch fixes this bug. 

(When deblob starts to work with Python 3 somewhen in the future, then the code in kernel-2.eclass should be minimally changed.)
Comment 3 Mike Pagano gentoo-dev 2013-03-05 19:53:03 UTC
Force python 2* for USE=deblob as deblob script does not yet support python3. Thanks to Arfrever.