[GHC] #12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir

#12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir ----------------------------------------+--------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Build System | Version: 8.0.2-rc1 Keywords: | Operating System: Linux Architecture: Unknown/Multiple | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+--------------------------------- This may be more of an inconsistency than a bug: Under Linux, ghc-8.0.1.20161117 installs its dynlibs in package libdirs whereas Cabal-1.24.1.0 installs them under the abi dir: eg /usr/lib/ghc-8.0.2/pkg-version/libHSpkg-version-*.so vs /usr/lib/<arch>-linux-ghc-8.0.2/libHSpkg-version-*.so It would be more consistent for both to install in the same place. Personally I would even suggest just to install ghc dynlibs in /usr/lib itself but that is probably another discuss for Cabal... That would avoid the need for RPATH's entirely. :-) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12940 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir ---------------------------------+---------------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Build System | Version: 8.0.2-rc1 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Description changed by juhpetersen: @@ -8,0 +8,1 @@ + New description: This may be more of an inconsistency than a bug: Under Linux, ghc-8.0.1.20161117 installs its dynlibs in package libdirs whereas Cabal-1.24.1.0 installs them under the abi dir: eg /usr/lib/ghc-8.0.2/pkg-version/libHSpkg-version-*.so vs /usr/lib/<arch>-linux-ghc-8.0.2/libHSpkg-version-*.so It would be more consistent for both to install in the same place. Personally I would even suggest just to install ghc dynlibs in /usr/lib itself but that is probably another discuss for Cabal... That would avoid the need for RPATH's entirely. :-) -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12940#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir ---------------------------------+---------------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Build System | Version: 8.0.2-rc1 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by slyfox): Sounds like a dupe of #12770 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12940#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir ---------------------------------+---------------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.3 Component: Build System | Version: 8.0.2-rc1 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by bgamari): * milestone: 8.0.2 => 8.0.3 Comment: I'm going to let this slide for 8.0.2 given that it is non-essential. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12940#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC