Re: [gnome-db] encoding problem during build in debian/sid

Andrea Zagli <[email protected]> Thu, 28 Dec 2017 20:44:59 +0000
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
https://bugzilla.gnome.org/show_bug.cgi?id=787685

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885066


i forgot... sorry



Il giorno gio 28 dic 2017 19:51:54 CET, Pavlo Solntsev ha scritto:

> I faced the same problem. source code contains UTF-8 characters and they
> incorrectly presented in files for gtkdoc to parse. I fixed this problem
> and put my changes here:
> https://github.com/PavloSolntsev/libgda
>
> Let me know if you still have problem.
>
>
> -Pavlo Solntsev
> ---------------------------------------------------------------------------------------------
>
> *Please avoid sending me Word or PowerPoint attachments.See
> http://www.gnu.org/philosophy/no-word-attachments.html
> <http://www.gnu.org/philosophy/no-word-attachments.html>*
>
> On Fri, Dec 22, 2017 at 5:54 AM, Andrea Zagli <[email protected]>
> wrote:
>
>> just yesterday i started to have problem on rebuild libgda due to
>> incorrect utf-8 chars in many files
>>
>> for example trying to rebuild the debian package i got
>>
>>
>> ...
>> for i in ../.. ; do \
>>     _source_dir="${_source_dir} --source-dir=$i" ; \
>> done ; \
>> gtkdoc-scan --module=libgda-5.0 --ignore-headers="gda-marshal.h
>> gda-custom-marshal.h gda-enum-types.h sqlite3.h csv.h md5.h jni-wrapper.h
>> gda-jdbc-recordset.h gda-jdbc-blob-op.h gda-jdbc-provider.h
>> gda-jdbc-pstmt.h popup-container.h providers tools control-center tests
>> samples plugins tmp" ${_source_dir} --deprecated-guards="GDA_DISAB
>> LE_DEPRECATED"
>> Traceback (most recent call last):
>>   File "/usr/bin/gtkdoc-scan", line 59, in <module>
>>     scan.Run(options)
>>   File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 78, in Run
>>     ScanHeaders(dir, section_list, decl_list, get_types, options)
>>   File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 148, in
>> ScanHeaders
>>     get_types, options)
>>   File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 140, in
>> ScanHeaders
>>     ScanHeader(fullname, section_list, decl_list, get_types, options)
>>   File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 229, in ScanHeader
>>     for line in common.open_text(input_file):
>>   File "/usr/lib/python2.7/codecs.py", line 701, in next
>>     return self.reader.next()
>>   File "/usr/lib/python2.7/codecs.py", line 632, in next
>>     line = self.readline()
>>   File "/usr/lib/python2.7/codecs.py", line 547, in readline
>>     data = self.read(readsize, firstline=True)
>>   File "/usr/lib/python2.7/codecs.py", line 494, in read
>>     newchars, decodedbytes = self.decode(data, self.errors)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 23:
>> invalid continuation byte
>> Makefile:828: set di istruzioni per l'obiettivo "scan-build.stamp" non
>> riuscito
>> make[3]: *** [scan-build.stamp] Errore 1
>> make[3]: uscita dalla directory "/home/andreaz/Documenti/svilu
>> ppo/appo/debian/libgda5-5.2.4/doc/C"
>> Makefile:529: set di istruzioni per l'obiettivo "all-recursive" non
>> riuscito
>> make[2]: *** [all-recursive] Errore 1
>> make[2]: uscita dalla directory "/home/andreaz/Documenti/svilu
>> ppo/appo/debian/libgda5-5.2.4/doc"
>> Makefile:745: set di istruzioni per l'obiettivo "all-recursive" non
>> riuscito
>> make[1]: *** [all-recursive] Errore 1
>> make[1]: uscita dalla directory "/home/andreaz/Documenti/svilu
>> ppo/appo/debian/libgda5-5.2.4"
>> dh_auto_build: make -j4 returned exit code 2
>> ...
>>
>>
>> the problem seams to be some characters in developer's name
>>
>>
>> someone can confirm?
>>
>> thanks in advance
>> _______________________________________________
>> gnome-db-list mailing list
>> [email protected]
>> https://mail.gnome.org/mailman/listinfo/gnome-db-list
>>