pkgsrc-Bugs archive

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

pkg/51629: [pkgsrc] [misc/libreoffice] [lang/g95] Makefile:1448: recipe for target 'crtbegin.o' failed



>Number:         51629
>Category:       pkg
>Synopsis:       [pkgsrc] [misc/libreoffice] [lang/g95] Makefile:1448: recipe for target 'crtbegin.o' failed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 14 23:40:00 +0000 2016
>Originator:     Luther
>Release:        pkgsrc current 15/11/2016
>Organization:
>Environment:
pkgsrc-cvs@thinkpad:~/pkgsrc/misc/libreoffice$ uname -a
Linux thinkpad 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) x86_64 GNU/Linux

>Description:
while bmaking misc/libreoffice thinks got wrong on lang/g95

cd misc/libreoffice
bmake install
...
after entered lang/g95 produced tons of "error" statement
i.e.

/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/xgcc -B/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/ -B/home/pkgsrc-cvs/pkg/x86_64-debian-linux/bin/ -B/home/pkgsrc-cvs/pkg/x86_64-debian-linux/lib/ -isystem /home/pkgsrc-cvs/pkg/x86_64-debian-linux/include -isystem /home/pkgsrc-cvs/pkg/x86_64-debian-linux/sys-include -O2 -O2 -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /usr/include/stdio.h:27,
                 from ../../gcc/tsystem.h:90,
                 from ../../gcc/crtstuff.c:68:
/usr/include/features.h:374:25: error: sys/cdefs.h: No such file or directory
/usr/include/features.h:398:23: error: gnu/stubs.h: No such file or directory

or

In file included from ../../gcc/crtstuff.c:92:
/usr/include/link.h:64: error: expected declaration specifiers before ';' token

or

/usr/include/unistd.h:206:32: error: bits/environments.h: No such file or directory

then at the end...

../../gcc/crtstuff.c:319: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../gcc/crtstuff.c:345: error: expected declaration specifiers before 'asm'
../../gcc/crtstuff.c:345: error: old-style parameter declarations in prototyped function definition
../../gcc/crtstuff.c:345: error: expected '{' at end of input
Makefile:1448: recipe for target 'crtbegin.o' failed
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory '/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
Makefile:3905: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95'
Makefile:615: recipe for target 'all' failed
make: *** [all] Error 2
*** Error code 2

Stop.
bmake[4]: stopped in /home/pkgsrc-cvs/pkgsrc/lang/g95
*** Error code 1

Stop.
bmake[3]: stopped in /home/pkgsrc-cvs/pkgsrc/lang/g95
*** Error code 1

Stop.
bmake[2]: stopped in /home/pkgsrc-cvs/pkgsrc/devel/libtool-fortran
*** Error code 1

Stop.
bmake[1]: stopped in /home/pkgsrc-cvs/pkgsrc/math/coinmp
*** Error code 1

Stop.
bmake: stopped in /home/pkgsrc-cvs/pkgsrc/misc/libreoffice

>How-To-Repeat:
while bmaking misc/libreoffice thinks got wrong on lang/g95

cd misc/libreoffice
bmake install
...
after entered lang/g95 produced tons of "error" statement
i.e.

/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/xgcc -B/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/ -B/home/pkgsrc-cvs/pkg/x86_64-debian-linux/bin/ -B/home/pkgsrc-cvs/pkg/x86_64-debian-linux/lib/ -isystem /home/pkgsrc-cvs/pkg/x86_64-debian-linux/include -isystem /home/pkgsrc-cvs/pkg/x86_64-debian-linux/sys-include -O2 -O2 -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /usr/include/stdio.h:27,
                 from ../../gcc/tsystem.h:90,
                 from ../../gcc/crtstuff.c:68:
/usr/include/features.h:374:25: error: sys/cdefs.h: No such file or directory
/usr/include/features.h:398:23: error: gnu/stubs.h: No such file or directory

or

In file included from ../../gcc/crtstuff.c:92:
/usr/include/link.h:64: error: expected declaration specifiers before ';' token

or

/usr/include/unistd.h:206:32: error: bits/environments.h: No such file or directory

then at the end...

../../gcc/crtstuff.c:319: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
../../gcc/crtstuff.c:345: error: expected declaration specifiers before 'asm'
../../gcc/crtstuff.c:345: error: old-style parameter declarations in prototyped function definition
../../gcc/crtstuff.c:345: error: expected '{' at end of input
Makefile:1448: recipe for target 'crtbegin.o' failed
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory '/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
Makefile:3905: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/home/pkgsrc-cvs/pkgsrc/lang/g95/work/gcc-4.1.2/g95'
Makefile:615: recipe for target 'all' failed
make: *** [all] Error 2
*** Error code 2

Stop.
bmake[4]: stopped in /home/pkgsrc-cvs/pkgsrc/lang/g95
*** Error code 1

Stop.
bmake[3]: stopped in /home/pkgsrc-cvs/pkgsrc/lang/g95
*** Error code 1

Stop.
bmake[2]: stopped in /home/pkgsrc-cvs/pkgsrc/devel/libtool-fortran
*** Error code 1

Stop.
bmake[1]: stopped in /home/pkgsrc-cvs/pkgsrc/math/coinmp
*** Error code 1

Stop.
bmake: stopped in /home/pkgsrc-cvs/pkgsrc/misc/libreoffice

>Fix:


Home | Main Index | Thread Index | Old Index