Opened 9 years ago

Closed 9 years ago

#32073 closed defect (fixed)

p5.12-text-bibtex build error

Reported by: amy.hauth@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: p5.12-text-bibtex

Description (last modified by mf2k (Frank Schima))

Trying to install texlive-bibtex-extra. Failed because:

    Image error: /opt/local/share/man/man3/IO::Pty.3pm.gz
         is being used by the active p5.14-io-tty port

Proceeded to deactivate:

     p5.14-graphviz @2.40.0_2
     p5.14-ipc-run @0.890.0_2
     p5.14-io-tty

Continued attempt to install texlive-bibtex-extra but hit more errors.

     Error: Target org.macports.build returned: shell command failed (see log for details)
     Error: Failed to install p5.12-text-bibtex

Trying to explicitly install p5.12-text-bibtex, build hit an error:

     sudo port install p5.12-text-bibtex
     --->  Computing dependencies for p5.12-text-bibtex
     --->  Building p5.12-text-bibtex
     Error: Target org.macports.build returned: shell command failed (see log for details)
     Log for p5.12-text-bibtex is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-text-bibtex/p5.12-text-bibtex/main.log
     Error: Status 1 encountered during processing.

Attached is the dump from the following file (dated Nov 15 08:27 ): /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-text-bibtex/p5.12-text-bibtex/main.log

Attachments (1)

main.log (31.9 KB) - added by amy.hauth@… 9 years ago.
Main log file for p5.12-text-bibtex install

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by amy.hauth@…

Attachment: main.log added

Main log file for p5.12-text-bibtex install

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: p5.12-text-bibtex added
Summary: p5.12-text-bibtex Build Error: shell command failedp5.12-text-bibtex build error

In the future, please fill in the Port field and use WikiFormatting.

comment:2 Changed 9 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:3 Changed 9 years ago by drkp (Dan Ports)

There are two separate problems here.

The first is that biblatex-biber (which is installed by texlive-bin-extra) uses perl 5.12 and needs to install various perl modules, including p5-text-bibtex. Unfortunately, it isn't yet possible in most cases to have perl modules installed for multiple perl versions. Since you had p5.14 ports installed, you might prefer to build it with perl5.14 instead. I added a variant to do so; if that's what you want, port install biblatex-biber +perl5_14.

The second is the clang compile error. That's the same issue as #31769, and it should be fixed. I suspect you just need to port clean p5.12-text-bibtex and retry.

comment:4 in reply to:  3 Changed 9 years ago by amy.hauth@…

Replying to dports@…:

There are two separate problems here.

The first is that biblatex-biber (which is installed by texlive-bin-extra) uses perl 5.12 and needs to install various perl modules, including p5-text-bibtex. Unfortunately, it isn't yet possible in most cases to have perl modules installed for multiple perl versions. Since you had p5.14 ports installed, you might prefer to build it with perl5.14 instead. I added a variant to do so; if that's what you want, port install biblatex-biber +perl5_14.

Thank-you for the variant. I mostly am trying to get *something* installed right now and am not concerned about specific versions. So I backed out of the 5.14 version to try and get this application to install.

The second is the clang compile error. That's the same issue as #31769, and it should be fixed. I suspect you just need to port clean p5.12-text-bibtex and retry.

Tried 'port clean p5.12-text.bibtex' and it "cleaned." Then went ahead and tried to install it again and hit the same error. What should I try next? (Note: this port was "fixed" less than 1 day before I started trying to install it. I think it was 16 hrs. after the fix was posted.)

comment:5 Changed 9 years ago by drkp (Dan Ports)

Have you done a port selfupdate to get the latest changes?

comment:6 in reply to:  5 Changed 9 years ago by amy.hauth@…

Replying to dports@…:

Have you done a port selfupdate to get the latest changes?

I didn't know about the self update. Just did it. Then attempted to install the bibtex port. Same error.

What's next?

comment:7 Changed 9 years ago by drkp (Dan Ports)

Please run

port selfupdate
port clean p5.12-text-bibtex
port install p5.12-text-bibtex

in that order. If it still fails, please upload the main.log file it generates.

(Feel free to substitute p5.14-text-bibtex for p5.12 if you prefer.)

comment:8 in reply to:  7 Changed 9 years ago by amy.hauth@…

Sigh. That fixed it. Thanks for walking me through it step-by-step.

I wasn't explicitly thinking about how MacPorts was functioning. This "bug" and your assistance helped me understand how MacPorts is operating. Now I can problem-solve a bit more before reporting a problem. Thanks!

comment:9 Changed 9 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Glad to hear it's working.

Note: See TracTickets for help on using tickets.