Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15297 closed defect (fixed)

pure, pure-devel: build failure on Leopard

Reported by: maggesi@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I obtain this error when I try to install lang/pure (I obtain a similar error with lang/pure-devel).

OS: Leopard 10.5.2; MacPort: 1.600; Xcode: 3.0; On a MacBook Pro Intel Core Duo (32bit)

soyuz:~ maggesi$ sudo port install pure
--->  Building pure with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pure/work/pure-0.2" && make all prefix=/opt/local build=release " returned error 2
Command output: g++ -O3 -DNDEBUG -Wall `llvm-config --cppflags`   -c -o util.o util.cc
util.cc: In function 'char* toutf8(const char*, const char*)':
util.cc:466: error: invalid conversion from 'const char**' to 'char**'
util.cc:466: error:   initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
util.cc: In function 'char* fromutf8(const char*, char*)':
util.cc:519: error: invalid conversion from 'const char**' to 'char**'
util.cc:519: error:   initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
util.cc:543: error: invalid conversion from 'const char**' to 'char**'
util.cc:543: error:   initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
util.cc: In function 'wchar_t* ictowcs(wchar_t*, char*)':
util.cc:591: error: invalid conversion from 'const char**' to 'char**'
util.cc:591: error:   initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
make: *** [util.o] Error 1

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainer.

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Status: newassigned
Summary: Build failure installing lang/purepure, pure-devel: build failure on Leopard

Yes, I see this too on Leopard. The problem existed on Tiger, and was fixed, but the fix apparently doesn't work on Leopard. I'll bring it up with the developer of pure.

comment:3 Changed 12 years ago by ryandesign (Ryan Schmidt)

comment:4 Changed 12 years ago by ryandesign (Ryan Schmidt)

pure-devel was updated to 0.3.0.r200 in r37500 and now builds on Leopard (and Tiger). pure cannot be updated to 0.3 right now because pure 0.3 does not build on Mac OS X.

comment:5 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

pure was updated to 0.4 in r37721 so that should hopefully now build on Leopard too.

comment:6 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.