pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48482: lang/f2c does not build



>Number:         48482
>Category:       pkg
>Synopsis:       lang/f2c does not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 28 18:30:00 +0000 2013
>Originator:     Hauke Fath
>Release:        NetBSD 6.1_STABLE
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD pizza.causeuse.org 6.1_STABLE NetBSD 6.1_STABLE 
(BLACKBOX-$Revision: 1.85 $) #0: Tue Nov 19 00:33:07 CET 2013 
hauke%pizza.causeuse.org@localhost:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/BLACKBOX
 amd64
Architecture: x86_64
Machine: amd64
>Description:

        The build of lang/f2c fails with

#   compile  src/main.o
gcc -O2 -pipe -Wall -Wno-error  -std=gnu99 -Werror   -I. -I.  -c    main.c
cc1: warnings being treated as errors
main.c: In function 'write_typedefs':
main.c:363:3: error: suggest parentheses around assignment used as truth value
main.c:380:3: error: array subscript has type 'char'
main.c:384:5: error: array subscript has type 'char'
main.c: In function 'commonprotos':
main.c:419:7: error: suggest parentheses around assignment used as truth value
main.c:417:6: error: suggest explicit braces to avoid ambiguous 'else'
main.c: In function 'I_args':
main.c:471:5: error: suggest parentheses around '&&' within '||'
main.c: In function 'omit_non_f':
main.c:489:2: error: suggest parentheses around assignment used as truth value
main.c: In function 'main':
main.c:653:2: error: suggest parentheses around assignment used as truth value
main.c: In function 'opf':
main.c:747:2: error: suggest parentheses around assignment used as truth value
*** Error code 1

Stop.
make: stopped in /var/obj/pkgsrc/lang/f2c/work/f2c/src
*** Error code 1

>How-To-Repeat:

        Try to build it - watch it fail on the first file.

>Fix:
        Add the suggested parentheses? Update the package?

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index