pcp
[Top] [All Lists]

Re: [pcp] qa/722 failing with utf-8 problem in QA test program (Python)

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] qa/722 failing with utf-8 problem in QA test program (Python)
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 26 Oct 2015 04:54:27 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <562DC2E9.2070700@xxxxxxxxxxxxxxxx>
References: <562DC2E9.2070700@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: xlAiUB9dShr7LDHF1VfBckL5YGwGrQ==
Thread-topic: qa/722 failing with utf-8 problem in QA test program (Python)

----- Original Message -----
> This is on ...
> 
> vm02        3.10.8   i686    openSUSE 13.2 (Harlequin)
> vm03        3.10.8   x86_64  Fedora 21 (Twenty One)
> vm05        3.10.8   x86_64  Gentoo 2.2
> vm23        3.10.8   i686    Fedora 20 (Heisenbug)
> 
> 
> Traceback (most recent call last):
>   File "/home/kenj/src/pcp/qa/src/test_set_source.python", line 74, in
>   <module>
>     test.connect()
>   File "/home/kenj/src/pcp/qa/src/test_set_source.python", line 67, in
>   connect
>     print("Hosts: %s" % self.opts.pmGetOptionHosts())
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0:
> invalid start byte
> 


Thanks Ken - I'll take a look tomorrow when I'm all caught up after being
away.  In the meantime, I'm noticing a configure script warning (fixed in
merge tree, about to land) related to optimization.  Looks like even with
that change, the wrong path is being taken by default (?) - and I'm also
seeing this ...

=== libpcp ===
for d in `echo src `; do if test -d "$d" -a -f "$d/GNUmakefile"; then 
/usr/bin/echo === $d ===; make --no-print-directory -C $d default || exit $?; 
fi; done
=== src ===
gcc -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/usr/include/nss3 -I/usr/include/nspr4 
-I/usr/include/sasl -D_REENTRANT  -DPCP_INTERNAL '-DEXEC_SUFFIX=""' 
'-DDSO_SUFFIX="so"' -Wall -O0 -g -DPCP_DEBUG -DPCP_VERSION=\"3.10.8\" 
-I../../../src/include -I../../../src/include/pcp   -c -o connect.o connect.c
In file included from /usr/include/stdlib.h:24:0,
                 from ../../../src/include/pcp/pmapi.h:18,
                 from connect.c:22:
/usr/include/features.h:327:4: warning: #warning _FORTIFY_SOURCE requires 
compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^

... which looks related to taking the non-optimize path (but still keeping
the fortify-source option, which evidently is not allowed).

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>