Bug 226023 - print/texlive-base: expected ',' or ';' before '__alloc_size2'
Summary: print/texlive-base: expected ',' or ';' before '__alloc_size2'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Hiroki Sato
Depends on:
Reported: 2018-02-19 00:52 UTC by rcarter
Modified: 2018-03-10 00:28 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (hrs)


Note You need to log in before you can comment on or make changes to this bug.
Description rcarter 2018-02-19 00:52:54 UTC
root@bruno> uname -rpKU 
11.1-STABLE amd64 1101509 1101509

For several weeks now current texlive-base has been failing in poudriere with:

depbase=`echo detex-2.8/detex.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I.  -I./detex-2.8 -I/usr/local/lib -I/usr/local/include -DNO_MALLOC_DECL -DKPATHSEA -Dlint   -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -MT detex-2.8/detex.o -MD -MP -MF $depbase.Tpo -c -o detex-2.8/detex.o detex-2.8/detex.c && mv -f $depbase.Tpo $depbase.Po
In file included from detex.l:59:
In file included from /usr/local/include/kpathsea/config.h:88:
In file included from /usr/local/include/kpathsea/c-std.h:41:
/usr/include/stdlib.h:93:7: error: expected function body after function declarator
             __alloc_size2(1, 2);
/usr/include/stdlib.h:311:6: error: expected function body after function declarator
            __alloc_size2(2, 3);

It might be related to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225745

FWIW I use texlive 2017 for my own work w/o any issues, but it is true I barely touch but a tiny fraction of the entire codebase.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-10 00:21:00 UTC
See bug #211997.
Comment 2 rcarter 2018-03-10 00:28:13 UTC
As of 11.1-STABLE amd64 1101511 1101511 
the problem seems to be solved, thank you.

I see that texlive 2017 porting seems to have stalled, oh well.