[MacPorts] #56667: pstoedit @3.73 does not build on PPC Tiger, Mac OS X 10.4.11 – because /opt/local/bin/g++-apple-4.2 too old?
MacPorts
noreply at macports.org
Thu Jun 14 18:20:31 UTC 2018
#56667: pstoedit @3.73 does not build on PPC Tiger, Mac OS X 10.4.11 – because
/opt/local/bin/g++-apple-4.2 too old?
-----------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Keywords: tiger | Port: pstoedit
-----------------------+----------------------
{{{
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_pstoedit/pstoedit/work/pstoedit-3.73/src'
depbase=`echo dynload.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile
/opt/local/bin/g++-apple-4.2 -DHAVE_CONFIG_H -I. -DHAVE_LIBPLOTTER
-DHAVE_MKSTEMP -DHAVE_MAGIC -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include/ImageMagick-6
-DDEFAULTGS=gs -DPSTOEDITDATADIR="\"/opt/local/share/pstoedit\""
-DPSTOEDITLIBDIR="\"/opt/local/lib/pstoedit\"" -Wall -Wextra
-Wuninitialized -Wswitch-default -Wunused -Wshadow -Wwrite-strings -Wcast-
qual -Wpointer-arith -Wno-long-long -I/opt/local/include -Wno-long-long
-D_BIG_ENDIAN -pipe -Os -arch ppc -DINTERNALBOOL -MT dynload.lo -MD -MP
-MF $depbase.Tpo -c -o dynload.lo dynload.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /opt/local/bin/g++-apple-4.2 -DHAVE_CONFIG_H -I.
-DHAVE_LIBPLOTTER -DHAVE_MKSTEMP -DHAVE_MAGIC -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/opt/local/include/ImageMagick-6 -DDEFAULTGS=gs
-DPSTOEDITDATADIR=\"/opt/local/share/pstoedit\"
-DPSTOEDITLIBDIR=\"/opt/local/lib/pstoedit\" -Wall -Wextra -Wuninitialized
-Wswitch-default -Wunused -Wshadow -Wwrite-strings -Wcast-qual -Wpointer-
arith -Wno-long-long -I/opt/local/include -Wno-long-long -D_BIG_ENDIAN
-pipe -Os -arch ppc -DINTERNALBOOL -MT dynload.lo -MD -MP -MF
.deps/dynload.Tpo -c dynload.cpp -fno-common -DPIC -o .libs/dynload.o
In file included from dynload.cpp:38:
dynload.h:35: error: 'nullptr' was not declared in this scope
dynload.h: In member function 'int DynLoader::valid() const':
dynload.h:41: error: 'nullptr' was not declared in this scope
dynload.cpp: In constructor 'DynLoader::DynLoader(const char*,
std::ostream&, int)':
dynload.cpp:100: error: 'nullptr' was not declared in this scope
dynload.cpp: In member function 'void DynLoader::open(const char*)':
dynload.cpp:121: error: ISO C++ forbids declaration of 'fulllibname' with
no type
dynload.cpp:121: error: invalid conversion from 'char*' to 'int'
dynload.cpp:122: error: invalid conversion from 'int' to 'char*'
dynload.cpp:122: error: initializing argument 1 of 'void strcpy_s(char*,
size_t, const char*)'
dynload.cpp:127: error: invalid conversion from 'int' to 'const char*'
dynload.cpp:127: error: initializing argument 1 of 'void* dlopen(const
char*, int)'
dynload.cpp:137: error: 'nullptr' was not declared in this scope
dynload.cpp:142: error: type 'int' argument given to 'delete', expected
pointer
dynload.cpp:159: error: type 'int' argument given to 'delete', expected
pointer
dynload.cpp: In member function 'void DynLoader::close()':
dynload.cpp:191: error: 'nullptr' was not declared in this scope
dynload.cpp: In destructor 'DynLoader::~DynLoader()':
dynload.cpp:201: error: 'nullptr' was not declared in this scope
dynload.cpp: In member function 'int DynLoader::knownSymbol(const char*)
const':
dynload.cpp:207: error: 'nullptr' was not declared in this scope
dynload.cpp: In member function 'void (* DynLoader::getSymbol(const char*,
int) const)()':
dynload.cpp:239: error: 'nullptr' was not declared in this scope
dynload.cpp: In constructor 'PluginVector::PluginVector()':
dynload.cpp:262: error: 'nullptr' was not declared in this scope
dynload.cpp: In destructor 'PluginVector::~PluginVector()':
dynload.cpp:266: error: 'nullptr' was not declared in this scope
dynload.cpp: In function 'void loadaPlugin(const char*, std::ostream&,
bool)':
dynload.cpp:288: error: ISO C++ forbids declaration of 'dynloader' with no
type
dynload.cpp:288: error: invalid conversion from 'DynLoader*' to 'int'
dynload.cpp:289: error: base operand of '->' is not a pointer
dynload.cpp:290: error: type 'int' argument given to 'delete', expected
pointer
dynload.cpp:299: error: base operand of '->' is not a pointer
dynload.cpp:309: error: invalid conversion from 'int' to 'DynLoader*'
dynload.cpp:309: error: initializing argument 1 of 'void
PluginVector::add(DynLoader*)'
dynload.cpp:313: error: base operand of '->' is not a pointer
dynload.cpp:315: error: base operand of '->' is not a pointer
dynload.cpp:316: error: 'nullptr' was not declared in this scope
dynload.cpp:321: error: 'nullptr' was not declared in this scope
make[2]: *** [dynload.lo] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_pstoedit/pstoedit/work/pstoedit-3.73/src'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56667>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list