pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/30377: lang/nhc98 doesn't compile



The following reply was made to PR pkg/30377; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/30377: lang/nhc98 doesn't compile
Date: Fri, 12 Feb 2010 06:46:36 +0000

 (not sent to gnats - needs to be gnats-bugs, not gnats-admin)
 
    ------
 
 From: Jan ?mydke <jan.smydke%jh-inst.cas.cz@localhost>
 To: kristerw%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
        Magnus Henoch <mange%freemail.hu@localhost>
 Cc: 
 Subject: Re: pkg/30377
 Date: Thu, 11 Feb 2010 14:00:07 +0000 (UTC)
 
 The following reply was made to PR pkg/30377; it has been noted by GNATS.
 
 From: Jan =?ISO-8859-2?Q?=A9mydke?= <jan.smydke%jh-inst.cas.cz@localhost>
 To: gnats-bugs%NetBSD.org@localhost
 Cc: 
 Subject: Re: pkg/30377
 Date: Thu, 11 Feb 2010 14:56:11 +0100
 
  nhc98-1.18 from pkgsrc does not compile anyway (NetBSD 5.0.1 x86
  2009Q4):
  
  # make       
  => Bootstrap dependency digest>=20010302: found
  digest-20080510
  [0,20/271] => Checksum SHA1 OK for nhc98src-1.18.tar.gz => Checksum
  RMD160 OK for nhc98src-1.18.tar.gz => Checksum SHA1 OK for
  nhc98-1.18-library-interfaces.tar.gz => Checksum RMD160 OK for
  nhc98-1.18-library-interfaces.tar.gz ===> Installing dependencies for
  nhc98-1.18nb2 => Build dependency gmake>=3.81: found gmake-3.81
  ===> Overriding tools for nhc98-1.18nb2
  ===> Extracting for nhc98-1.18nb2
  ===> Patching for nhc98-1.18nb2
  => Applying pkgsrc patches for nhc98-1.18nb2
  ===> Creating toolchain wrappers for nhc98-1.18nb2
  ===> Configuring for nhc98-1.18nb2
  Configuring for nhc98... [ v1.18 (2005-03-11 version) ]
  --------
  Looking for already-installed Haskell compilers:
    Found C compiler:    /usr/pkgsrc/lang/nhc98/work/.wrapper/bin/cc
    C compiler version:  gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2
  20081120) Looking for hbc...   (not found)
    Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
    Looking for ghc...   found 6.8.3
    Looking for nhc98... (not found)
  You said you want to use gcc to build hmake.
    Now I'm creating targets/ix86-NetBSD/hmake3.config for your
  installation. Done.
  --------
                     Configuration report for nhc98.
      (You can re-run configure to change settings before proceeding.)
  You wish (eventually) to install the following components in these
  locations: (Installation directories are not created/checked at this
  stage.) Final install root:   /usr/pkg
  nhc98 binaries/libs:  /usr/pkg/lib/nhc98/ix86-NetBSD
  hmake binaries:       /usr/pkg/lib/hmake/ix86-NetBSD
  Interfaces/includes:  /usr/pkg/include/nhc98
  Scripts:              /usr/pkg/bin
  Man pages:            /usr/pkg/man/man1
  Html documents:       /usr/pkg/share/doc/nhc98
  
  Now we check/create your build directories:
  Config directory:      targets/ix86-NetBSD
  Build directory root:
      /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/targets (exists)
  Object files build in:
      /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/targets/ix86-NetBSD (exists)
  Executables and libs:
      /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/lib/ix86-NetBSD (created)
  
  You are going to build nhc98 with:          gcc
  nhc98comp uses RTS delimiters?              yes
  This machine's endian-ness is:              -DLOW_BYTE_FIRST (detected) 
  Executables need .exe suffix?               no  (detected)
  Found /usr/bin/true not /bin/true
  Testing for the curses library:             -lncurses (detected) 
  Testing for the readline library:           no  (detected)
  Reading /usr/include/errno.h: script/config-errno.c: In function 'main':
  script/config-errno.c:593: warning: incompatible implicit declaration
  of built-in function 'printf' script/config-errno.c:691: warning:
  incompatible implicit declaration of built-in function 'exit'
  script/errnogen.c: In function 'main': script/errnogen.c:1289: warning:
  incompatible implicit declaration of built-in function 'printf'
  script/errnogen.c:1404: warning: incompatible implicit declaration of
  built-in function 'exit' updated DErrNo.hs Default heap for compiled
  programs is: 100000 words (cached) 
  
  Adding Makefile config script to
      /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/lib/ix86-NetBSD...
  Adding build scripts to
      /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/script...    
      nhc98 hmake hmake-config hi greencard hsc2hs cpphs 
  Creating src/runtime/nhc98heap.c ...
  Updating targets/ix86-NetBSD/hmake3.config...
  fullname: not found
  Saving current configuration in targets/ix86-NetBSD/config.cache
  Done.
  
  ===> Building for nhc98-1.18nb2
  /usr/pkgsrc/lang/nhc98/work/nhc98-1.18/lib/ix86-NetBSD/config:17: ***
  missing separator.  Stop. *** Error code 2
  
  Stop.
  make: stopped in /usr/pkgsrc/lang/nhc98
  *** Error code 1
  
  Stop.
  make: stopped in /usr/pkgsrc/lang/nhc98
  
  
  ====================================
  
  However, my native build of version 1.20 worked seamlessly by gcc and
  then by the resulting nhc98 on amd64 and x86.
  
  So I'd suggest upgrading pkgsrc to nhc98-1.20
  
  JS
 


Home | Main Index | Thread Index | Old Index