[MacPorts] #16862: QT4-mac cannot find iconv
#16862: QT4-mac cannot find iconv -------------------------------------+-------------------------------------- Reporter: myschizobuddy@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt4-mac | Port: qt4-mac -------------------------------------+-------------------------------------- qt4-mac version 4.4.3 cannot find the iconv library and disables iconv support {{{ OSIX iconv auto-detection... () g++ -c -pipe -Os -Wall -W -I../../../mkspecs/macx-g++ -I. -I../../../include -I. -o iconv.o iconv.cpp g++ -headerpad_max_install_names -o iconv iconv.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work /qt-mac-opensource-src-4.4.3/lib -L/opt/local/lib -liconv Undefined symbols: "_iconv", referenced from: _main in iconv.o "_iconv_close", referenced from: _main in iconv.o "_iconv_open", referenced from: _main in iconv.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [iconv] Error 1 POSIX iconv disabled. GNU libiconv auto-detection... () g++ -c -pipe -Os -Wall -W -I../../../mkspecs/macx-g++ -I. -I../../../include -I. -o gnu-libiconv.o gnu-libiconv.cpp gnu-libiconv.cpp: In function 'int main(int, char**)': gnu-libiconv.cpp:13: error: invalid conversion from 'const char**' to 'char**' gnu-libiconv.cpp:13: error: initializing argument 2 of 'size_t iconv(void*, char**, size_t*, char**, size_t*)' make: *** [gnu-libiconv.o] Error 1 GNU libiconv disabled. }}} -- Ticket URL: <http://trac.macports.org/ticket/16862> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16862: QT4-mac cannot find iconv --------------------------------------+------------------------------------- Reporter: myschizobuddy@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt4-mac Port: qt4-mac | --------------------------------------+------------------------------------- Changes (by macsforever2000@macports.org): * cc: clubjuggler@gmail.com (added) * owner: macports-tickets@lists.macosforge.org => erickt@macports.org Comment: Assigning to maintainers. -- Ticket URL: <http://trac.macports.org/ticket/16862#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16862: QT4-mac cannot find iconv --------------------------------------+------------------------------------- Reporter: myschizobuddy@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt4-mac Port: qt4-mac | --------------------------------------+------------------------------------- Comment(by blb@macports.org): Looks like another iconv vs. libiconv symbol error, see #13055. -- Ticket URL: <http://trac.macports.org/ticket/16862#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16862: QT4-mac cannot find iconv --------------------------------------+------------------------------------- Reporter: myschizobuddy@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt4-mac Port: qt4-mac | --------------------------------------+------------------------------------- Comment(by mcalhoun@macports.org): Attached is a proposed solution. With any luck, it would also fix #16526, #16120, #15585.[[BR]] It would partially address #16859. -- Ticket URL: <http://trac.macports.org/ticket/16862#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16862: QT4-mac cannot find iconv --------------------------------------+------------------------------------- Reporter: myschizobuddy@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: qt4-mac Port: qt4-mac | --------------------------------------+------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: Fixed in r44197. -- Ticket URL: <http://trac.macports.org/ticket/16862#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16862: QT4-mac cannot find iconv ------------------------------+---------------------- Reporter: myschizobuddy@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: qt4-mac Port: qt4-mac | ------------------------------+---------------------- Comment (by rmstonecipher@…): There are several lines in the {{{configure.args}}} section of the qt4-x11 Portfile similar to: {{{ -I${prefix}/include/gstreamer-0.10 \ }}} If qt is updated to work with gstreamer 1.x (new port gstreamer1) in the future, would looking for 0.10.x headers explicitly like this lead to opportunistic linking?[[br]] Are all of these {{{-I}}} flags still needed? -- Ticket URL: <https://trac.macports.org/ticket/16862#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts