Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211518 - sys-apps/groff-1.19.2-r2 build fails
Summary: sys-apps/groff-1.19.2-r2 build fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 13:11 UTC by younker
Modified: 2008-02-26 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description younker 2008-02-26 13:11:04 UTC
groff-1.19.2-r2 build failed with the following error
i686-pc-linux-gnu-g++ -I. -I. -I/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/include -I/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/include -DHAVE_CONFIG_H -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden  -c  soelim.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden -Wl,-O2 -o refer command.o label.o ref.o refer.o token.o /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libbib/libbib.a /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libgroff/libgroff.a   -lm
Making soelim.n from soelim.man
y.tab.c:674: error: declaration of C function 'char* getenv()' conflicts with
/usr/include/stdlib.h:545: error: previous declaration 'char* getenv(const char*)' here
eqn.y:28: error: previous declaration of 'int yylex()' with 'C++' linkage
y.tab.c:675: error: conflicts with new declaration with 'C' linkage
make[2]: *** [eqn.o] 错误 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/eqn'
make[1]: *** [src/preproc/eqn] 错误 2
make[1]: *** 正在等待未完成的任务....
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden -Wl,-O2 -o soelim soelim.o /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libgroff/libgroff.a   -lm
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/refer'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/soelim'
make[1]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2'
make: *** [all] 错误 2
 *
 * ERROR: sys-apps/groff-1.19.2-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2834:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
i686-pc-linux-gnu-g++ -I. -I. -I/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/include -I/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/include -DHAVE_CONFIG_H -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden  -c  soelim.cpp
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden -Wl,-O2 -o refer command.o label.o ref.o refer.o token.o /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libbib/libbib.a /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libgroff/libgroff.a   -lm
Making soelim.n from soelim.man
y.tab.c:674: error: declaration of C function 'char* getenv()' conflicts with
/usr/include/stdlib.h:545: error: previous declaration 'char* getenv(const char*)' here
eqn.y:28: error: previous declaration of 'int yylex()' with 'C++' linkage
y.tab.c:675: error: conflicts with new declaration with 'C' linkage
make[2]: *** [eqn.o] 错误 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/eqn'
make[1]: *** [src/preproc/eqn] 错误 2
make[1]: *** 正在等待未完成的任务....
i686-pc-linux-gnu-g++ -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden -Wl,-O2 -o soelim soelim.o /var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/libs/libgroff/libgroff.a   -lm
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/refer'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2/src/preproc/soelim'
make[1]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.19.2-r2/work/groff-1.19.2'
make: *** [all] 错误 2
 *
 * ERROR: sys-apps/groff-1.19.2-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2834:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 13:25:07 UTC
Reopen with emerge --info and a full emerge log in *English*; set your locales to C when reporting bugs. Thanks.