Re: graphics/libfpx fails to build

2013-09-11 Thread hiren panchasara
On Sun, Sep 1, 2013 at 11:52 PM, Mikhail T. mi+t...@aldan.algebra.comwrote:

 02.09.2013 02:13, Kenta Suzumoto написав(ла):
  Still doesn't build with Clang for me. Log attached.
 Must be a clang-3.3 thing... Well, at least, we established, the PR
 would not have fixed this...

 Let me contemplate some more. Thanks,


This is still broken on head at r255423.

Thanks,
Hiren
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: graphics/libfpx fails to build

2013-09-11 Thread mi

On 02.09.2013 02:13, Kenta Suzumoto wrote:

Still doesn't build with Clang for me.

The failure is triggered by the -Wself-assign warning:
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/fat.hxx:368:63: 
error: explicitly assigning a variable of type 'SCODE' (aka 'int') to itself 
[-Werror,-Wself-assign]
do if (((HRESULT)(sc = (FindMaxSect(_sectMax)))0)) { sc = sc; goto Err;} 
while(0);

~~ ^ ~~
which puzzles me, because it is not explicitly turned on on 10.x. I could not 
reproduce it on 9.x either -- even with clang-3.3.


I just committed yet another update of the port -- adding a patch, whose author 
assured me, the port builds with the change. He has not experienced the 
self-assigning warning/error you are seeing. Could it be, you -current is out of 
date? It is such a moving target, it is hard to keep track :-(


Thanks,

   -mi

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libfpx fails to build

2013-09-11 Thread Nathan Whitehorn

On 09/11/13 18:02, m...@aldan.algebra.com wrote:

On 02.09.2013 02:13, Kenta Suzumoto wrote:

Still doesn't build with Clang for me.

The failure is triggered by the -Wself-assign warning:
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/fat.hxx:368:63: 
error: explicitly assigning a variable of type 'SCODE' (aka 'int') to 
itself [-Werror,-Wself-assign]
do if (((HRESULT)(sc = (FindMaxSect(_sectMax)))0)) { sc = sc; 
goto Err;} while(0);

~~ ^ ~~
which puzzles me, because it is not explicitly turned on on 10.x. I 
could not reproduce it on 9.x either -- even with clang-3.3.


I just committed yet another update of the port -- adding a patch, 
whose author assured me, the port builds with the change. He has not 
experienced the self-assigning warning/error you are seeing. Could it 
be, you -current is out of date? It is such a moving target, it is 
hard to keep track :-(


Thanks,

   -mi


These updates fixed the build for me, anyway -- I was having the same 
issues. Thanks!

-Nathan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libfpx fails to build

2013-09-02 Thread Kenta Suzumoto
On 09/02/2013 at 1:38 AM, Mikhail T. mi+t...@aldan.algebra.com wrote:

01.09.2013 20:40, Kenta Suzumoto написав(ла):
 There's also a PR to update it which may fix it, but the 
maintainer hasn't responded in a few weeks.

 https://www.freebsd.org/cgi/query-pr.cgi?pr=181302
I just committed the update and fixes proposed in the PR -- along 
with
an additional patch, that fixes
warnings raised by gcc-4.8 (at least one of those pointed to a real
error even).

Please, give it a try. Thanks for your patience. Yours,

-mi

Still doesn't build with Clang for me. Log attached.

libfpx-1.3.1.2.log
Description: Binary data
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: graphics/libfpx fails to build

2013-09-02 Thread Mikhail T.
02.09.2013 02:13, Kenta Suzumoto написав(ла):
 Still doesn't build with Clang for me. Log attached.
Must be a clang-3.3 thing... Well, at least, we established, the PR
would not have fixed this...

Let me contemplate some more. Thanks,

-mi

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: graphics/libfpx fails to build

2013-09-02 Thread Mikhail T.
01.09.2013 20:40, Kenta Suzumoto написав(ла):
 There's also a PR to update it which may fix it, but the maintainer hasn't 
 responded in a few weeks.

 https://www.freebsd.org/cgi/query-pr.cgi?pr=181302
I just committed the update and fixes proposed in the PR -- along with
an additional patch, that fixes
warnings raised by gcc-4.8 (at least one of those pointed to a real
error even).

Please, give it a try. Thanks for your patience. Yours,

-mi

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

graphics/libfpx fails to build

2013-09-01 Thread Kenta Suzumoto
Hi all. graphics/libfpx seems to fail for me in poudriere.

Here's the whole log http://dpaste.com/1363160/plain/

Building with GCC in base instead of Clang seems to fix it. Maybe we can update 
the Makefile?

There's also a PR to update it which may fix it, but the maintainer hasn't 
responded in a few weeks.

https://www.freebsd.org/cgi/query-pr.cgi?pr=181302

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org