ports/161197: [ERROR] cannot portupgrade ports/textproc/jade with CLANG
Andrei Lavreniyuk
andy.lavr at gmail.com
Sat Oct 1 11:40:09 UTC 2011
>Number: 161197
>Category: ports
>Synopsis: [ERROR] cannot portupgrade ports/textproc/jade with CLANG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 01 11:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Andrei Lavreniyuk
>Release: FreeBSD 9.0-BETA3
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD opensolaris.technica-03.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Sep 29 13:05:43 EEST 2011 root at opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64R amd64
>Description:
clang++ -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -fno-strict-aliasing -fno-implicit-templates -I. -I./../include -I./../grove -I./../spgrove -I./../style -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -DHAVE_DLFCN_H=1 -c HtmlFOTBuilder.cxx
clang++: warning: argument unused during compilation: '-fno-implicit-templates'
clang++ -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -fno-strict-aliasing -fno-implicit-templates -I. -I./../include -I./../grove -I./../spgrove -I./../style -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -DHAVE_DLFCN_H=1 -c TeXFOTBuilder.cxx
clang++: warning: argument unused during compilation: '-fno-implicit-templates'
In file included from TeXFOTBuilder.cxx:11:
In file included from ./TeXFOTBuilder.h:9:
In file included from ./../style/FOTBuilder.h:12:
./../include/IList.h:29:14: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated]
IListBase::clear;
^
using
./../include/IList.h:30:14: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated]
IListBase::empty;
^
using
In file included from TeXFOTBuilder.cxx:11:
In file included from ./TeXFOTBuilder.h:9:
In file included from ./../style/FOTBuilder.h:15:
./../include/Ptr.h:73:11: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated]
Ptr<T>::isNull;
^
using
./../include/Ptr.h:74:11: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated]
Ptr<T>::clear;
^
using
TeXFOTBuilder.cxx:865:27: warning: use of '%n' in format string discouraged (potentially insecure) [-Wformat-security]
sprintf( buf, "%li.%.3i%n", long(length.l)/1000, abs(long(length.l)%1000), &i );
~^
TeXFOTBuilder.cxx:1594:48: error: default initialization of an object of const type 'const TeXFOTBuilder::PageFloatFlowObj' requires a user-provided default
constructor
static const TeXFOTBuilder::PageFloatFlowObj pageFloat;
^
TeXFOTBuilder.cxx:1595:51: error: default initialization of an object of const type 'const TeXFOTBuilder::PageFootnoteFlowObj' requires a user-provided default
constructor
static const TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
^
In file included from TeXFOTBuilder.cxx:4407:
In file included from ./TeXFOTBuilder_inst.cxx:14:
In file included from ./../include/Vector.h:77:
./../include/Vector.cxx:82:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Row'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:41:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Row>::insert' requested here
template class Vector<TeXFOTBuilder::Row>;
^
./../include/Vector.cxx:82:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:96:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Row'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:41:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Row>::insert' requested here
template class Vector<TeXFOTBuilder::Row>;
^
./../include/Vector.cxx:96:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:140:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Row'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:41:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Row>::erase' requested here
template class Vector<TeXFOTBuilder::Row>;
^
./../include/Vector.cxx:140:13: note: explicitly cast the pointer to silence this warning
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
^
(void*)
./../include/Vector.cxx:156:15: warning: source of this 'memcpy' call is a pointer to dynamic class 'TeXFOTBuilder::Row'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memcpy(p, ptr_, size_*sizeof(T));
~~~~~~ ^
./TeXFOTBuilder_inst.cxx:41:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Row>::reserve1' requested here
template class Vector<TeXFOTBuilder::Row>;
^
./../include/Vector.cxx:156:15: note: explicitly cast the pointer to silence this warning
memcpy(p, ptr_, size_*sizeof(T));
^
(void*)
./../include/Vector.cxx:82:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Cell'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:54:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Cell>::insert' requested here
template class Vector<TeXFOTBuilder::Cell>;
^
./../include/Vector.cxx:82:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:96:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Cell'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:54:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Cell>::insert' requested here
template class Vector<TeXFOTBuilder::Cell>;
^
./../include/Vector.cxx:96:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:140:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::Cell'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:54:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Cell>::erase' requested here
template class Vector<TeXFOTBuilder::Cell>;
^
./../include/Vector.cxx:140:13: note: explicitly cast the pointer to silence this warning
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
^
(void*)
./../include/Vector.cxx:156:15: warning: source of this 'memcpy' call is a pointer to dynamic class 'TeXFOTBuilder::Cell'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memcpy(p, ptr_, size_*sizeof(T));
~~~~~~ ^
./TeXFOTBuilder_inst.cxx:54:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::Cell>::reserve1' requested here
template class Vector<TeXFOTBuilder::Cell>;
^
./../include/Vector.cxx:156:15: note: explicitly cast the pointer to silence this warning
memcpy(p, ptr_, size_*sizeof(T));
^
(void*)
./../include/Vector.cxx:82:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::TablePart'; vtable pointer will be
overwritten [-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:80:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::TablePart>::insert' requested here
template class Vector<TeXFOTBuilder::TablePart>;
^
./../include/Vector.cxx:82:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:96:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::TablePart'; vtable pointer will be
overwritten [-Wdynamic-class-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:80:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::TablePart>::insert' requested here
template class Vector<TeXFOTBuilder::TablePart>;
^
./../include/Vector.cxx:96:13: note: explicitly cast the pointer to silence this warning
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
^
(void*)
./../include/Vector.cxx:140:13: warning: destination for this 'memmove' call is a pointer to dynamic class 'TeXFOTBuilder::TablePart'; vtable pointer will be
overwritten [-Wdynamic-class-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~ ^
./TeXFOTBuilder_inst.cxx:80:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::TablePart>::erase' requested here
template class Vector<TeXFOTBuilder::TablePart>;
^
./../include/Vector.cxx:140:13: note: explicitly cast the pointer to silence this warning
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
^
(void*)
./../include/Vector.cxx:156:15: warning: source of this 'memcpy' call is a pointer to dynamic class 'TeXFOTBuilder::TablePart'; vtable pointer will be overwritten
[-Wdynamic-class-memaccess]
memcpy(p, ptr_, size_*sizeof(T));
~~~~~~ ^
./TeXFOTBuilder_inst.cxx:80:16: note: in instantiation of member function 'Vector<TeXFOTBuilder::TablePart>::reserve1' requested here
template class Vector<TeXFOTBuilder::TablePart>;
^
./../include/Vector.cxx:156:15: note: explicitly cast the pointer to silence this warning
memcpy(p, ptr_, size_*sizeof(T));
^
(void*)
17 warnings and 2 errors generated.
gmake[2]: *** [TeXFOTBuilder.o] Ошибка 1
gmake[2]: Выход из каталога `/usr/ports/textproc/jade/work/jade-1.2.1/jade'
gmake[1]: *** [jade] Ошибка 2
gmake[1]: Выход из каталога `/usr/ports/textproc/jade/work/jade-1.2.1'
gmake: *** [all] Ошибка 2
*** Error code 1
Stop in /usr/ports/textproc/jade.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20111001-53652-5x37wh env UPGRADE_TOOL=portupgrade UPGRADE_PORT=jade-1.2.1_9 UPGRADE_PORT_VER=1.2.1_9 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! textproc/jade (jade-1.2.1_9) (unknown build error)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list