[MacPorts] #38546: hs-http complains about hs-network version
#38546: hs-http complains about hs-network version ------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: hs-http ------------------------+-------------------------------- When upgrading the recent hs-http it fails (log is attached) at this command {{{ cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_hs-HTTP/hs-http/work/HTTP-4000.2.8" && runhaskell Setup configure --prefix=/opt/local --with- compiler=/opt/local/bin/ghc -v --enable-library-profiling --with- gcc=/usr/bin/clang Configuring HTTP-4000.2.8... Setup: At least the following dependencies are missing: network <2.5 }}} I'm not quite sure, but I guess this means that hs-network is too old. I have (and there is no newer version that I see): {{{ port list hs-network hs-network @2.4.1.2 devel/hs-network }}} -- Ticket URL: <https://trac.macports.org/ticket/38546> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+-------------------------------- Comment (by egall@…): Pandoc is also experiencing a similar issue now: comment:2:ticket:38541 -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+-------------------------------- Comment (by larryv@…): Replying to [ticket:38546 bgschaid@…]:
I'm not quite sure, but I guess this means that hs-network is too old. I have (and there is no newer version that I see): {{{ port list hs-network hs-network @2.4.1.2 devel/hs-network }}}
`port list` [[FAQ#portlist|does not do what you think it does]]. That’s the latest version in the ports tree; that is not necessarily the version you have installed. Use `port installed hs-network` to see what you actually have installed. In any case, the buildbots just built `hs-HTTP` [https://build.macports.org/builders/buildports-mtln-x86_64/builds/3457 successfully]. Try the following. {{{ sudo port clean hs-network hs-HTTP sudo port selfupdate sudo port upgrade hs-network sudo port install hs-HTTP }}} -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+-------------------------------- Comment (by bgschaid@…): I was only using "port list" because "port outdated" had not reported hs- network (but I'll be more exact the next time) Tried the above commands. Checked "port outdated" and version number had not changed. No effect for hs-network (seems the version hasn't changed too). "sudo port upgrade hs-http" gave this output (no building this time): {{{ ---> Computing dependencies for hs-http ---> Fetching archive for hs-http ---> Attempting to fetch hs-http-4000.2.8_2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/hs-http ---> Attempting to fetch hs-http-4000.2.8_2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/hs-http ---> Attempting to fetch hs-http-4000.2.8_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/hs-http ---> Attempting to fetch hs-http-4000.2.8_2.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-http ---> Installing hs-http @4000.2.8_2 ---> Cleaning hs-http ---> Computing dependencies for hs-http Error: org.macports.deactivate for port hs-http returned: command execution failed Please see the log file for port hs-http for details: /opt/local/var/macports/logs /_opt_local_var_macports_registry_portfiles_hs-http_4000.2.3_0/hs- http/main.log Warning: Failed to execute portfile from registry for hs-http @4000.2.3_0 ---> Deactivating hs-http @4000.2.3_0 ---> Activating hs-http @4000.2.8_2 Error: org.macports.activate for port hs-http returned: command execution failed Please see the log file for port hs-http for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_hs-HTTP/hs-http/main.log ---> Updating database of binaries: 100.0% }}} I'll attach the two logs -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+-------------------------------- Comment (by larryv@…): I can’t explain what you’re seeing. The log shows that `hs-HTTP` is actually installed and activated, but then it’s deactivated for some reason. Maybe try reinstalling it and its dependencies from scratch? {{{ sudo port upgrade --force hs-HTTP }}} -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+-------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+-------------------------------- Comment (by jmr@…): Actually, the phase info at the start of each line in the log is a little messed up. What it shows is an older version being deactivated, then the current version being activated, and the post-activate code failing thus: {{{ :debug:deactivate Executing proc-post-org.macports.activate-activate-0 :info:deactivate Reading package info from stdin ... done. :info:deactivate HTTP-4000.2.8: Warning: haddock-interfaces: /opt/local/share/doc/HTTP-4000.2.8/html/HTTP.haddock doesn't exist or isn't a file :info:deactivate HTTP-4000.2.8: Warning: haddock-html: /opt/local/share/doc/HTTP-4000.2.8/html doesn't exist or isn't a directory :info:deactivate HTTP-4000.2.8: dependency "network-2.4.1.2-1852580bfb8065521a726b4121ddf215" doesn't exist (use --force to override) :info:deactivate Command failed: /opt/local/libexec/hs-http/register.sh }}} -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+---------------------------- Reporter: bgschaid@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+---------------------------- Changes (by jmr@…): * owner: macports-tickets@… => kitchen.andy@… Comment: Also, please remember to Cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+---------------------------- Reporter: bgschaid@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hs-http | -------------------------+---------------------------- Comment (by larryv@…): Replying to [comment:6 jmr@…]:
Actually, the phase info at the start of each line in the log is a little messed up. What it shows is an older version being deactivated, then the current version being activated, and the post-activate code failing thus: {{{ :debug:deactivate Executing proc-post-org.macports.activate-activate-0 :info:deactivate Reading package info from stdin ... done. :info:deactivate HTTP-4000.2.8: Warning: haddock-interfaces: /opt/local/share/doc/HTTP-4000.2.8/html/HTTP.haddock doesn't exist or isn't a file :info:deactivate HTTP-4000.2.8: Warning: haddock-html: /opt/local/share/doc/HTTP-4000.2.8/html doesn't exist or isn't a directory :info:deactivate HTTP-4000.2.8: dependency "network-2.4.1.2-1852580bfb8065521a726b4121ddf215" doesn't exist (use --force to override) :info:deactivate Command failed: /opt/local/libexec/hs-http/register.sh }}}
In my recent Haskell commit adventures, I’ve come across this when installing the archive of a port that improperly declares a library dependency as a build dependency. So that dependency wouldn't necessarily get installed (since no build was happening), and `register.sh` would flip out. Can’t really say whether that’s the issue here, though. -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38546: hs-http complains about hs-network version -------------------------+---------------------------- Reporter: bgschaid@… | Owner: kitchen.andy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: hs-http | -------------------------+---------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Should be fixed since the `hs-http` has been replaced with the one packages in haskell platform. -- Ticket URL: <https://trac.macports.org/ticket/38546#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts