Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427278 - [gnome-overlay] net-libs/libsoup-2.39.4.1 fails to build due to UnicodeDecodeError
Summary: [gnome-overlay] net-libs/libsoup-2.39.4.1 fails to build due to UnicodeDecode...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 02:17 UTC by Randy Tupas
Modified: 2012-07-22 08:21 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info (emerge.info.txt,4.61 KB, text/plain)
2012-07-20 02:19 UTC, Randy Tupas
Details
Output of emerge -pqv '=net-libs/libsoup-2.39.4.1' (emerge.pqv.libsoup.txt,101 bytes, text/plain)
2012-07-20 02:23 UTC, Randy Tupas
Details
build log from Randy Tupas (build.log.txt,10.17 KB, text/plain)
2012-07-20 02:24 UTC, Randy Tupas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Tupas 2012-07-20 02:17:14 UTC
./tld-parser.py ../data/effective_tld_names.dat tld_data.inc
Traceback (most recent call last):
  File "./tld-parser.py", line 17, in <module>
    for rule in tlds_file:
  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 891: ordinal not in range(128)
make[2]: *** [tld_data.inc] Error 1


Reproducible: Always

Steps to Reproduce:
1.Attempt to emerge net-libs/libsoup-2.39.4.1
2.
3.
Actual Results:  
Ebuild fails

Expected Results:  
Emerge finishes without error.
Comment 1 Randy Tupas 2012-07-20 02:19:13 UTC
Created attachment 318682 [details]
Output of emerge --info

Output of emerge --info
Comment 2 Randy Tupas 2012-07-20 02:23:17 UTC
Created attachment 318684 [details]
Output of emerge -pqv '=net-libs/libsoup-2.39.4.1'

Output of emerge -pqv '=net-libs/libsoup-2.39.4.1'
Comment 3 Randy Tupas 2012-07-20 02:24:08 UTC
Created attachment 318686 [details]
build log from Randy Tupas

Build log from Randy Tupas
Comment 4 Priit Laes (IRC: plaes) 2012-07-22 05:23:28 UTC
Added speculative fix to overlay, please test.
Comment 5 Randy Tupas 2012-07-22 05:56:39 UTC
I deleted the obsolete distfile and emerged libsoup-2.39.4.1 successfully. When I tried to emerge libsoup-gnome-2.39.4.1, it failed with the same error.
-Randy
Comment 6 Priit Laes (IRC: plaes) 2012-07-22 07:30:43 UTC
(In reply to comment #5)
> I deleted the obsolete distfile and emerged libsoup-2.39.4.1 successfully.
> When I tried to emerge libsoup-gnome-2.39.4.1, it failed with the same error.

Apparently our custom patch we use to to split the package up wasn't good enough, and tld-data that isn't required for that package was still getting built.

Push fixed.