amd64/176681: When i'm try to comply the x11/wbar port.
Ferenc Gal
gferenc88 at gmail.com
Wed Mar 6 10:00:01 UTC 2013
>Number: 176681
>Category: amd64
>Synopsis: When i'm try to comply the x11/wbar port.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 06 10:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Ferenc Gal
>Release: 10.0-CURRENT
>Organization:
None.
>Environment:
FreeBSD CompBSD.localhost 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Tue Mar 5 23:04:57 CET 2013 fgal at CompBSD.localhost:/usr/obj/usr/src/sys/MYKERNEL amd64
>Description:
If i try to compile the x11/wbar port on 10.0-CURRENT, i recieve the following error:
de -fno-strict-aliasing -MT wbar-Main.o -MD -MP -MF .deps/wbar-Main.Tpo -c -o wbar-Main.o `test -f '../src/core/Main.cc' || echo './'`../src/core/Main.cc
../src/core/Main.cc:231:20: error: while loop has empty body [-Werror,-Wempty-body]
while (mapIcons());
^
./src/core/Main.cc:231:20: note: put the semicolon on a separate line to silence this warning
1 error generated.
gmake[2]: *** [wbar-Main.o] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/wbar/work/wbar-2.3.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/wbar/work/wbar-2.3.4'
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/x11/wbar.
*** [build] Error code 1
Stop in /usr/ports/x11/wbar.
===>>> make failed for x11/wbar
===>>> Aborting update
Terminated
===>>> You can restart from the point of failure with this command line:
portmaster <flags> x11/wbar
if i put a semicolon after the mentioned line, i receive the following error:
c++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -Wall -Wunused -Werror -I../src/utils -I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include -O2 -pipe -march=bdver1 -I/usr/local/include -fno-strict-aliasing -MT wbar-SuperBar.o -MD -MP -MF .deps/wbar-SuperBar.Tpo -c -o wbar-SuperBar.o `test -f '../src/core/SuperBar.cc' || echo './'`../src/core/SuperBar.cc
../src/core/SuperBar.cc:138:8: error: variable 'textH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if(font){
^~~~
./src/core/SuperBar.cc:146:39: note: uninitialized use occurs here
y + (int)(0.125 * icon_size), textW, textH) ); // y coord
^~~~~
./src/core/SuperBar.cc:138:5: note: remove the 'if' if its condition is always true
if(font){
^~~~~~~~
./src/core/SuperBar.cc:136:21: note: initialize the variable 'textH' to silence this warning
int textW, textH;
^
= 0
./src/core/SuperBar.cc:138:8: error: variable 'textW' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if(font){
^~~~
./src/core/SuperBar.cc:146:32: note: uninitialized use occurs here
y + (int)(0.125 * icon_size), textW, textH) ); // y coord
^~~~~
./src/core/SuperBar.cc:138:5: note: remove the 'if' if its condition is always true
if(font){
^~~~~~~~
./src/core/SuperBar.cc:136:14: note: initialize the variable 'textW' to silence this warning
int textW, textH;
^
= 0
2 errors generated.
gmake[2]: *** [wbar-SuperBar.o] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/wbar/work/wbar-2.3.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/wbar/work/wbar-2.3.4'
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/x11/wbar.
*** [install] Error code 1
>How-To-Repeat:
If i try to compile the port again.
>Fix:
ATM i do not have any fix. I not a programmer tough, but i will try to do something.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list