Opened 2 years ago

Last modified 2 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


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)

main.log.xz (3.5 KB) - added by essandess (Steve Smith) 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by essandess (Steve Smith)

Attachment: main.log.xz added

comment:1 Changed 2 years ago by JDLH (Jim DeLaHunt)

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 ./configure utility to fail. Specifically, test -f /an/actual/file fails 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.

Note: See TracTickets for help on using tickets.