Opened 9 years ago

Closed 9 years ago

#34716 closed defect (duplicate)

hs-http broken

Reported by: fms@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: hs-http

Description (last modified by ryandesign (Ryan Schmidt))

port seems to hard-reference /usr/bin/gcc-4.2 which does not exist on my system, at least

[fms@Birch] ~:s005 % uname -a
Darwin Birch.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 i386 MacBookPro5,5 Darwin
[fms@Birch] ~:s005 % gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)

Attachments (1)

main.log (6.4 KB) - added by fms@… 9 years ago.
hs-http log

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by fms@…

Attachment: main.log added

hs-http log

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to singingwolfboy@…
Port: hs-http added

More likely, it's its dependency ghc that has that hardcoded reference, and you should force ghc to rebuild.

sudo port -ns upgrade --force ghc

comment:2 Changed 9 years ago by macports-contrib@…

force rebuilding ghc takes quite a while speeding it up with symlink for gcc-4.2 in /usr/bin

comment:3 in reply to:  2 Changed 9 years ago by macports-contrib@…

This is ticket #34030 for missing gcc-4.2; see detailed solution there

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.