Opened 12 years ago

Closed 11 years ago

#38536 closed defect (fixed)

hs-citeproc @0.3.8_1: build failure

Reported by: sam.kuper@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), mdshw5@…, web@…, neverpanic (Clemens Lang)
Port: hs-citeproc

Description

On a Mac Mini Core Duo 1.66GHz w/2GB RAM under OS X 10.6.8 Snow Leopard:

$ sudo port -f clean --all all
[...]
$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
$ sudo port install pandoc
--->  Computing dependencies for pandoc
--->  Dependencies to be installed: hs-citeproc hs-highlighting-kate hs-pcre-light pcre bzip2 libedit hs-random hs-sha hs-binary hs-tagsoup hs-temporary hs-texmath hs-zip-archive hs-digest hs-zlib
--->  Fetching archive for hs-citeproc
--->  Attempting to fetch hs-citeproc-0.3.8_1.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/hs-citeproc
--->  Attempting to fetch hs-citeproc-0.3.8_1.darwin_10.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/hs-citeproc
--->  Attempting to fetch hs-citeproc-0.3.8_1.darwin_10.i386.tbz2 from http://packages.macports.org/hs-citeproc
--->  Fetching distfiles for hs-citeproc
--->  Attempting to fetch citeproc-hs-0.3.8.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/hs-citeproc
--->  Verifying checksum(s) for hs-citeproc
--->  Extracting hs-citeproc
--->  Configuring hs-citeproc
--->  Building hs-citeproc
Error: org.macports.build for port hs-citeproc returned: command execution failed
Error: Failed to install hs-citeproc
Please see the log file for port hs-citeproc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-citeproc/hs-citeproc/main.log
Error: The following dependencies were not installed: hs-citeproc hs-highlighting-kate hs-pcre-light pcre bzip2 libedit hs-random hs-sha hs-binary hs-tagsoup hs-temporary hs-texmath hs-zip-archive hs-digest hs-zlib
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pandoc failed

Attachments (1)

main.log (14.1 KB) - added by sam.kuper@… 12 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-citeproc/hs-citeproc/main.log

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by sam.kuper@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-citeproc/hs-citeproc/main.log

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Keywords: i386 32-bit removed
Summary: hs-citeproc: command execution failedhs-citeproc @0.3.8_1: build failure

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

while hs-citeproc might not have a maintainer, I'd still cc sean@… on this, as he was the last one to update this port.

comment:4 in reply to:  3 ; Changed 12 years ago by seanfarley (Sean Farley)

Replying to egall@…:

while hs-citeproc might not have a maintainer, I'd still cc sean@… on this, as he was the last one to update this port.

I think this is due to all the Haskell ports needing a rev bump (then rev bump pandoc). If anyone wants to script that, it'd be much appreciated.

comment:5 in reply to:  4 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to sean@…:

I think this is due to all the Haskell ports needing a rev bump (then rev bump pandoc). If anyone wants to script that, it'd be much appreciated.

r104471.

comment:6 Changed 12 years ago by mdshw5@…

Cc: mdshw5@… added

Cc Me!

comment:7 Changed 12 years ago by sam.kuper@…

I'm very keen to get the Macports port of Pandoc installed successfully. Unfortunately, I'm a complete noob when it comes to Haskell, C/C++ and gcc. Might anyone here would be willing to hold my hand through the process of fixing this bug? I mean, I'm not even sure where to begin: I don't understand quite how r104471 is related, nor how to figure out which would be the right args to put in which portfile(s) to get everything working.

Is there a step-by-step procedure I can follow?

Last edited 12 years ago by sam.kuper@… (previous) (diff)

comment:8 in reply to:  7 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to sam.kuper@…:

I'm very keen to get the Macports port of Pandoc installed successfully. Unfortunately, I'm a complete noob when it comes to Haskell, C/C++ and gcc. Might anyone here would be willing to hold my hand through the process of fixing this bug? I mean, I'm not even sure where to begin: I don't understand quite how r104471 is related, nor how to figure out which would be the right args to put in which portfile(s) to get everything working.

r104471 is a revision of the ports tree. Make sure you’ve run a sudo port clean pandoc hs-citeproc && sudo port selfupdate before trying again. Selfupdating gets you the latest version of the tree.

If you still cannot install pandoc after that, please tell us which port fails exactly. Is it still hs-citeproc?

comment:9 Changed 12 years ago by sam.kuper@…

$ sudo port clean pandoc hs-citeproc && sudo port selfupdate
Password:
--->  Cleaning pandoc
--->  Cleaning hs-citeproc
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.3 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
$ sudo port upgrade outdated
Password:
--->  Fetching archive for db_select
[... several irrelevant lines removed here, for brevity]
--->  Cleaning git-core
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 71.8%
Warning: Error parsing file /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 163 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     ghc-bootstrap @7.0.4 
--->  Cleaning ghc-bootstrap
--->  Scanning binaries for linking errors: 71.8%
Warning: Error parsing file /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 163 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     ghc-bootstrap @7.0.4 
--->  Cleaning ghc-bootstrap
--->  Deactivating ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Uninstalling ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Fetching distfiles for ghc-bootstrap
--->  Verifying checksum(s) for ghc-bootstrap
--->  Extracting ghc-bootstrap
--->  Configuring ghc-bootstrap
--->  Building ghc-bootstrap
--->  Staging ghc-bootstrap into destroot
--->  Installing ghc-bootstrap @7.0.4_0
--->  Activating ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 92.3%
Warning: Error parsing file /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 163 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     ghc-bootstrap @7.0.4 
--->  Cleaning ghc-bootstrap
--->  Deactivating ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Uninstalling ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Fetching distfiles for ghc-bootstrap
--->  Verifying checksum(s) for ghc-bootstrap
--->  Extracting ghc-bootstrap
--->  Configuring ghc-bootstrap
--->  Building ghc-bootstrap
--->  Staging ghc-bootstrap into destroot
--->  Installing ghc-bootstrap @7.0.4_0
--->  Activating ghc-bootstrap @7.0.4_0
--->  Cleaning ghc-bootstrap
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 92.3%
Warning: Error parsing file /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 163 broken file(s), matching files to ports
Error: Port ghc-bootstrap is still broken after rebuilding it more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a bug.
Port ghc-bootstrap still broken after rebuilding 3 time(s)
    while executing
"error "Port $portname still broken after rebuilding [expr $broken_port_counts($portname) - 1] time(s)""
    (procedure "revupgrade_scanandrebuild" line 268)
    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_upgrade" line 25)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    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 4785)

comment:10 Changed 12 years ago by sam.kuper@…

I have now run port -d -y rev-upgrade and created a new ticket for that: #38998.

comment:11 Changed 12 years ago by web@…

Cc: web@… added

Cc Me!

comment:12 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: cal@… added
Resolution: fixed
Status: newclosed

I think this has been fixed with r104471 and #38998.

Note: See TracTickets for help on using tickets.