MidnightBSD Magus

graphics/libemf

Enhanced Metafile Library

Flavor Version Run OSVersion Arch License Restricted Status
1.0.13_1 620 4.0 amd64 lgpl2.1 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-11-03 03:54:57.681579 Test Started
m4064b fail 2025-11-03 03:55:35.55578 make build returned non-zero: 1
m4064b fail 2025-11-03 03:55:35.64398 Test complete.

Log

===>  Building for libEMF-1.0.13_1
--- all-recursive ---
Making all in include
Making all in libemf
--- libemf.lo ---
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I../config  -I../include    -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -std=c++14  -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF .deps/libemf.Tpo -c -o libemf.lo libemf.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../config -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_REENTRANT -DPTHREADS -MT libemf.lo -MD -MP -MF .deps/libemf.Tpo -c libemf.cpp  -fPIC -DPIC -o .libs/libemf.o
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:3257:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 3257 | #include "pshpack2.h"
      |          ^
../include/libEMF/wine/pshpack2.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(2)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:3326:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 3326 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:3499:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 3499 | #include "pshpack2.h"
      |          ^
../include/libEMF/wine/pshpack2.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(2)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:3519:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 3519 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:4171:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 4171 | #include "pshpack4.h"
      |          ^
../include/libEMF/wine/pshpack4.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(4)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:27:
In file included from ../include/libEMF/wine/windef.h:16:
../include/libEMF/wine/winnt.h:4176:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 4176 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:29:
../include/libEMF/wine/wingdi.h:1638:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 1638 | #include "pshpack2.h"
      |          ^
../include/libEMF/wine/pshpack2.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(2)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:29:
../include/libEMF/wine/wingdi.h:1647:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 1647 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:29:
../include/libEMF/wine/wingdi.h:1785:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 1785 | #include "pshpack2.h"
      |          ^
../include/libEMF/wine/pshpack2.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(2)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:29:
../include/libEMF/wine/wingdi.h:1796:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 1796 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:30:
../include/libEMF/wine/winuser.h:2300:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 2300 | #include "pshpack2.h"
      |          ^
../include/libEMF/wine/pshpack2.h:24:13: note: previous '#pragma pack' directive that modifies alignment is here
   24 | #    pragma pack(2)
      |             ^
In file included from libemf.cpp:24:
In file included from ./libemf.h:33:
In file included from ../include/libEMF/emf.h:30:
../include/libEMF/wine/winuser.h:2340:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
 2340 | #include "poppack.h"
      |          ^
../include/libEMF/wine/poppack.h:48:13: note: previous '#pragma pack' directive that modifies alignment is here
   48 | #    pragma pack()
      |             ^
libemf.cpp:883:27: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations]
  883 |                      std::bind2nd( std::mem_fun( &EMF::METARECORD::serialize ),
      |                                         ^
/usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here
   49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) {
      | ^
/usr/include/c++/v1/__config:736:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
  736 | #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
      |                                         ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
libemf.cpp:883:13: warning: 'bind2nd, EMF::DATASTREAM>' is deprecated [-Wdeprecated-declarations]
  883 |                      std::bind2nd( std::mem_fun( &EMF::METARECORD::serialize ),
      |                           ^
/usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, EMF::DATASTREAM>' has been explicitly marked deprecated here
   45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder2nd<_Operation>
      | ^
/usr/include/c++/v1/__config:736:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
  736 | #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
      |                                         ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
libemf.cpp:930:27: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations]
  930 |                      std::bind2nd( std::mem_fun( &EMF::METARECORD::serialize ),
      |                                         ^
/usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here
   49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) {
      | ^
/usr/include/c++/v1/__config:736:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
  736 | #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
      |                                         ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
libemf.cpp:930:13: warning: 'bind2nd, EMF::DATASTREAM>' is deprecated [-Wdeprecated-declarations]
  930 |                      std::bind2nd( std::mem_fun( &EMF::METARECORD::serialize ),
      |                           ^
/usr/include/c++/v1/__functional/binder2nd.h:45:1: note: 'bind2nd, EMF::DATASTREAM>' has been explicitly marked deprecated here
   45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder2nd<_Operation>
      | ^
/usr/include/c++/v1/__config:736:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
  736 | #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
      |                                         ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  713 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
In file included from libemf.cpp:21:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
libemf.cpp:983:30: note: in instantiation of template class 'std::basic_string' requested here
  983 |     std::basic_string filename_w( filename, filename + filename_count );
      |                              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from libemf.cpp:21:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/usr/include/c++/v1/__type_traits/is_convertible.h:30:99: note: in instantiation of template class 'std::basic_string_view' requested here
   30 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant {};
      |                                                                                                   ^
/usr/include/c++/v1/string:745:29: note: in instantiation of template class 'std::is_convertible>' requested here
  745 |     : public _BoolConstant< is_convertible >::value &&
      |                             ^
/usr/include/c++/v1/string:1161:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view, const char *>' requested here
 1161 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
/usr/include/c++/v1/string:1165:42: note: while substituting prior template arguments into non-type template parameter [with _Tp = LPCSTR]
 1165 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t, const allocator_type& __a)
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1166 |       : __r_(__default_init_tag(), __a) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1167 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1168 |     __init(__sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1169 |   }
      |   ~
libemf.cpp:983:30: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = LPCSTR, $1 = (no value)]
  983 |     std::basic_string filename_w( filename, filename + filename_count );
      |                              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
libemf.cpp:2746:31: warning: source of this 'memcpy' call is a pointer to dynamic class 'ENHMETAHEADER'; vtable pointer will be copied [-Wdynamic-class-memaccess]
 2746 |       memcpy( metaheader, dc->header, size );
      |       ~~~~~~                  ^
libemf.cpp:2746:31: note: explicitly cast the pointer to silence this warning
 2746 |       memcpy( metaheader, dc->header, size );
      |                               ^
      |                           (void*)
In file included from libemf.cpp:21:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:1917:7: error: implicit instantiation of undefined template 'std::char_traits'
 1917 |       traits_type::assign(*__dest++, *__first);
      |       ^
/usr/include/c++/v1/string:2460:18: note: in instantiation of function template specialization 'std::basic_string::__copy_non_overlapping_range' requested here
 2460 |     auto __end = __copy_non_overlapping_range(__first, __last, std::__to_address(__p));
      |                  ^
/usr/include/c++/v1/string:2430:3: note: in instantiation of function template specialization 'std::basic_string::__init_with_size' requested here
 2430 |   __init_with_size(__first, __last, __sz);
      |   ^
/usr/include/c++/v1/string:1174:5: note: in instantiation of function template specialization 'std::basic_string::__init' requested here
 1174 |     __init(__first, __last);
      |     ^
libemf.cpp:983:30: note: in instantiation of function template specialization 'std::basic_string::basic_string' requested here
  983 |     std::basic_string filename_w( filename, filename + filename_count );
      |                              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from libemf.cpp:21:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2461:5: error: implicit instantiation of undefined template 'std::char_traits'
 2461 |     traits_type::assign(*__end, value_type());
      |     ^
/usr/include/c++/v1/string:2430:3: note: in instantiation of function template specialization 'std::basic_string::__init_with_size' requested here
 2430 |   __init_with_size(__first, __last, __sz);
      |   ^
/usr/include/c++/v1/string:1174:5: note: in instantiation of function template specialization 'std::basic_string::__init' requested here
 1174 |     __init(__first, __last);
      |     ^
libemf.cpp:983:30: note: in instantiation of function template specialization 'std::basic_string::basic_string' requested here
  983 |     std::basic_string filename_w( filename, filename + filename_count );
      |                              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
17 warnings and 4 errors generated.
*** [libemf.lo] Error code 1

make[1]: stopped in /magus/work/usr/mports/graphics/libemf/work/libemf-1.0.13/libemf
1 error

make[1]: stopped in /magus/work/usr/mports/graphics/libemf/work/libemf-1.0.13/libemf

make: stopped in /magus/work/usr/mports/graphics/libemf/work/libemf-1.0.13
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/graphics/libemf

Links

Depends On

Nothing

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis