[MacPorts] #52187: Kile installation failed and selfupdate failed
#52187: Kile installation failed and selfupdate failed ---------------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: kile, libiodbc, gtk | Port: ---------------------------------+-------------------------------- While installing kile on OSX 10.7.5, it fails with the following error: sudo port install kde4-kile---> Computing dependencies for libiodbc ---> Building libiodbc Error: org.macports.build for port libiodbc returned: command execution failed Please see the log file for port libiodbc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade kdelibs4 failed Then while selfupdate it again fails: sudo port upgrade outdated---> Computing dependencies for gtk-doc ---> Building gtk-doc Error: org.macports.build for port gtk-doc returned: command execution failed Please see the log file for port gtk-doc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets -- Ticket URL: <https://trac.macports.org/ticket/52187> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: Kile installation failed and selfupdate failed -------------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libiodbc gtk-doc | -------------------------------+-------------------------------- Changes (by larryv@…): * keywords: kile, libiodbc, gtk => * port: => libiodbc gtk-doc Old description:
While installing kile on OSX 10.7.5, it fails with the following error:
sudo port install kde4-kile---> Computing dependencies for libiodbc ---> Building libiodbc Error: org.macports.build for port libiodbc returned: command execution failed Please see the log file for port libiodbc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade kdelibs4 failed
Then while selfupdate it again fails:
sudo port upgrade outdated---> Computing dependencies for gtk-doc ---> Building gtk-doc Error: org.macports.build for port gtk-doc returned: command execution failed Please see the log file for port gtk-doc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
New description: While installing kile on OSX 10.7.5, it fails with the following error: {{{ sudo port install kde4-kile ---> Computing dependencies for libiodbc ---> Building libiodbc Error: org.macports.build for port libiodbc returned: command execution failed Please see the log file for port libiodbc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade kdelibs4 failed }}} Then while selfupdate it again fails: {{{ sudo port upgrade outdated ---> Computing dependencies for gtk-doc ---> Building gtk-doc Error: org.macports.build for port gtk-doc returned: command execution failed Please see the log file for port gtk-doc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- Comment: Neither of the logs you attached are from clean builds, so they’re missing a lot of information. Could you please run this and attach the new logs if you see more failures? {{{ $ sudo port clean all $ sudo port selfupdate $ sudo port upgrade outdated }}} -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: Kile installation failed and selfupdate failed -------------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libiodbc gtk-doc | -------------------------------+-------------------------------- Comment (by gkdgoutam@…): Same problem appears. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * port: libiodbc gtk-doc => gettext Comment: The log says: {{{ dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib Referenced from: /opt/local/bin/msgfmt Reason: image not found }}} Does /opt/local/lib/libncurses.6.dylib exist? Is the ncurses port installed, and if so what version? If it's outdated, can you upgrade it first? -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by gkdgoutam@…): After installing ncurses it still fails. Actually now it shows that some files and ports are broken. How to fix that? For example when I try to install readline following appears: sudo port install readline ---> Computing dependencies for readline ---> Cleaning readline ---> Scanning binaries for linking errors ---> Found 31 broken file(s), matching files to ports ---> Found 13 broken port(s), determining rebuild order ---> Rebuilding in order readline @6.3.003 aspell @0.60.6.1 -nls gpsd @3.14 gnuplot @5.0.1 +aquaterm+luaterm+pangocairo+wxwidgets+x11 hunspell @1.3.3 lame @3.99.5 kdelibs4 @4.14.3 libkexiv2 @4.14.3 vte @0.43.0 gcc47 @4.7.4 +universal kfilemetadata @4.14.3 nepomuk-core @4.14.3 okular @4.14.3 ---> Computing dependencies for readline ---> Cleaning readline ---> Computing dependencies for aspell ---> Cleaning aspell ---> Computing dependencies for gpsd ---> Cleaning gpsd ---> Computing dependencies for gnuplot ---> Configuring gnuplot Error: Failed to configure gnuplot, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/work/gnuplot-5.0.4/config.log Error: org.macports.configure for port gnuplot returned: configure failure: command execution failed Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnuplot/gnuplot/main.log Error: Unable to upgrade port: 1 Error rebuilding gnuplot while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 103) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268) -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by gkdgoutam@…): in the log file the error still comes : :info:configure dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib so it might be due to the absence of ncurses5. I checked and found only libncurses.6.dylib there is no libncurses.5.dylib. How to fix that? -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by ryandesign@…): Ok, so it sounds like you've successfully fixed the problem that gettext didn't work because it was looking for ncurses.6 but you only had ncurses.5. Now you have ncurses.6. But you still have something still looking for ncurses.5. That something needs to be updated. What is it? Can you attach your new main.log please? -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by gkdgoutam@…): Its some weird situation. It complains when either ncurses5 or ncurses6 is active. Here are some outputs which might be useful: port installed ncurses The following ports are currently installed: ncurses @5.9_2 ncurses @5.9_2+universal ncurses @6.0_0 ncurses @6.0_0+universal (active) But when I do sudo port upgrade outdated ---> Computing dependencies for yelp-xsl ---> Configuring yelp-xsl Error: Failed to configure yelp-xsl, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_yelp-xsl/yelp-xsl/work/yelp- xsl-3.20.1/config.log Error: org.macports.configure for port yelp-xsl returned: configure failure: command execution failed Please see the log file for port yelp-xsl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_yelp-xsl/yelp-xsl/main.log Error: Unable to upgrade port: 1 The error log (main1.log) is attached. Now if I do sudo port activate ncurses @5.9_2+universal and then sudo port upgrade outdated ---> Computing dependencies for yelp-xsl ---> Configuring yelp-xsl Error: Failed to configure yelp-xsl, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_yelp-xsl/yelp-xsl/work/yelp- xsl-3.20.1/config.log Error: org.macports.configure for port yelp-xsl returned: configure failure: command execution failed Please see the log file for port yelp-xsl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_yelp-xsl/yelp-xsl/main.log Error: Unable to upgrade port: 1 The error log (main2.log) is attached. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by ryandesign@…): You shouldn't reactivate ncurses @5.9. Everything needs to be using ncurses @6.0 now. For the most part, MacPorts should handle that upgrade for you, except for the issues outlined in ProblemHotlist#ncurses6. Your main1.log shows exactly that scenario, for which the solution is to upgrade readline first. But your earlier transcript shows you running `sudo port install readline` and nothing happening, meaning readline was already up to date. Have you previously been reactivating ncurses @5.9? If so, links to libncurses.5 may have crept into any ports you rebuilt thereafter, thus in some part defeating the purpose of the rebuild. Make sure your ports are up to date with `sudo port selfupdate`. Verify ncurses @6.0 is installed. Verify with `port installed readline` that you have version @6.3.003_1 installed and with `port outdated` that readline is not outdated. Check with `otool -L /opt/local/lib/libreadline.dylib` whether libreadline links with libncurses.5 or libncurses.6. If 5, rebuild readline forcibly with `sudo port -n upgrade --force readline`. Don't forget to use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by ryandesign@…): And remember to clean a port before trying to build it again after a failure. Both of the logs you attached were not from clean attempts. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gettext | --------------------------+-------------------------------- Comment (by gkdgoutam@…): This worked actually. Thanks a ton!! I am able to install a working kile successfully. But 'sudo port upgrade outdated' still fails. This time its gedit. Other than this its fine. I am attaching the log file. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS
#52187: gettext: dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib --------------------------+-------------------------------- Reporter: gkdgoutam@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: gettext | --------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid Comment: This looks like a different problem. Please open a new ticket and attach this log there. -- Ticket URL: <https://trac.macports.org/ticket/52187#comment:11> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts