Opened 5 years ago
Last modified 5 years ago
#63089 new defect
Trace Install of Portgroup haskell_stack Ports Fail
| Reported by: | essandess (Steve Smith) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.7.1 |
| Keywords: | Cc: | cjones051073 (Chris Jones), neverpanic (Clemens Lang) | |
| Port: | haskell_stack |
Description
Trace builds of ports that use the haskell_stack portgroup fail to build. For example, see the attached log for sudo port -vst destroot pandoc. Regular builds and obviously the CI and buildbot work fine. I presume that this is a subtle issue between stack and trace mode.
Attachments (1)
Change History (2)
Changed 5 years ago by essandess (Steve Smith)
| Attachment: | main.log.xz added |
|---|
comment:1 Changed 5 years ago by JDLH (Jim DeLaHunt)
Note: See
TracTickets for help on using
tickets.

This resembles a problem I just ran into in a port I am working on. It seems that MacPorts trace mode (
port -t) causes code in the project's./configureutility to fail. Specifically,test -f /an/actual/filefails even if that file does in fact exist.You were using trace mode, it looks like:
sudo port -vst destroot pandoc. But your configuration command is different than in my case:/opt/local/bin/stack setup --with-gcc /usr/bin/clang --allow-different-user.I'm not sure whether this will be helpful for you.