[RELEASE - head-default] Build failed for cpmtools-1.1 during build
Baptiste Daroussin
bapt at FreeBSD.org
Wed Sep 11 11:15:14 UTC 2013
On Thu, Sep 05, 2013 at 09:10:10AM +0200, Joerg Wunsch wrote:
> As pkg-fallout at FreeBSD.org wrote:
>
> > ===> src (all)
> > Warning: Object directory not changed from original /wrkdirs/usr/ports/emulators/cpmtools/work/cpm/src
> > cc -O2 -pipe -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 -Qunused-arguments -fstack-protector -c bitmap.c
> > bitmap.c:31:7: warning: implicit declaration of function 'ffc' is invalid in C99 [-Wimplicit-function-declaration]
> > j = ffc(0, INTSIZE, *(bitmap+i));
> > ^
> > bitmap.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
> > dbmap(str)
> > ^~~~~
> > bitmap.c:61:1: warning: control reaches end of non-void function [-Wreturn-type]
> > }
>
> I don't understand this. emulators/cpmtools is historic code (dates
> back to 1983), and thus has USE_GCC set to "any".
>
> Why does it still use clang then?
>
> I wish we had a C compiler around that can still compile "traditional"
> (pre-C89) C code without complaints ...
>
> "Fixing" that code is going to be a rewrite, which rather defeats the
> idea.
> --
> cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
>
> http://www.sax.de/~joerg/
> Never trust an operating system you don't have sources for. ;-)
> _______________________________________________
> freebsd-pkg-fallout at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout
> To unsubscribe, send any mail to "freebsd-pkg-fallout-unsubscribe at freebsd.org"
Because the ports is not respecting MAKE_ENV, the do-build target being wrong.
If the goal is just to pass PREFIX in arguments, the following will do it
properly, while still passing ${CC} properly to the make process:
http://people.freebsd.org/~bapt/cmptools-fix.diff
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg-fallout/attachments/20130911/061d55c1/attachment.sig>
More information about the freebsd-pkg-fallout
mailing list