pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
devel/librlog broken [contains fix]
devel/librlog's Makefile needs the following line:
CFLAGS+= -fpermissive
or the compilation will fail as per attached log.
-----BEGIN LOG-----
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/devel/librlog/work/.buildlink/include -DRLOG_COMPONENT=rlog
-DUSE_VALGRIND=0 -O2 -Wno-error -pthread -MT Error.lo -MD -MP -MF
.deps/Error.Tpo -c Error.cpp -fPIC -DPIC -o .libs/Error.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/devel/librlog/work/.buildlink/include -DRLOG_COMPONENT=rlog
-DUSE_VALGRIND=0 -O2 -Wno-error -pthread -MT Error.lo -MD -MP -MF
.deps/Error.Tpo -c Error.cpp -o Error.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/include
-DRLOG_COMPONENT="rlog" -DUSE_VALGRIND=0 -O2 -Wno-error -I/usr/include
-pthread -MT RLogChannel.lo -MD -MP -MF ".deps/RLogChannel.Tpo" -c -o
RLogChannel.lo RLogChannel.cpp; then mv -f ".deps/RLogChannel.Tpo"
".deps/RLogChannel.Plo"; else rm -f ".deps/RLogChannel.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/pkgsrc/devel/librlog/work/.buildlink/include -DRLOG_COMPONENT=rlog
-DUSE_VALGRIND=0 -O2 -Wno-error -pthread -MT RLogChannel.lo -MD -MP -MF
.deps/RLogChannel.Tpo -c RLogChannel.cpp -fPIC -DPIC -o .libs/RLogChannel.o
RLogChannel.cpp: In function ‘rlog::RLogChannel*
rlog::GetComponentChannel(const char*, const char*, rlog::LogLevel)’:
RLogChannel.cpp:187:34: error: invalid conversion from ‘const char*’ to ‘char*’
[-fpermissive]
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/librlog/work/rlog-1.3.7/rlog
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/librlog/work/rlog-1.3.7
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/librlog/work/rlog-1.3.7
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/librlog
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/librlog
# gcc --version
gcc (GCC) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-----END LOG-----
--
> cat /etc/slackware-version && uname -mprs
Slackware 14.0
Linux 3.2.29-smp i686 AMD Turion(tm) 64 Mobile Technology MK-36
Home |
Main Index |
Thread Index |
Old Index