pkgsrc-Users archive

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

Re: Circular dependancy on IRIX 6.5



On 7 Sep 2019, at 06:38, Roland Illig <roland.illig%gmx.de@localhost> wrote:
> 
> Am 06.09.2019 um 21:08 schrieb Mark Kirby:
>> Hi,
>> 
>> I have managed to bootstrap pkgsrc on IRIX 6.5.30 but when trying to build any package I’m hitting a circular dependancy involving digest and gcc2.
>> 
>> drool 57# bmake
>> ===> Installing dependencies for digest-20190127
>> => Build dependency gcc2>=2.95.3nb7: NOT found
> 
> According to the documentation in mk/compiler/gcc.mk you did everything
> right. Nevertheless, the USE_NATIVE_GCC doesn't seem to trigger.
> 
> Please run "bmake show-all-gcc" to see more details about the decision
> whether the native or the pgksrc GCC is used. This won't fix the
> situation but will provide further insight.

I get 

drool 5# cd bash
drool 6# bmake show-all-gcc
gcc:
  usr   USE_NATIVE_GCC=         yes
  usr   USE_PKGSRC_GCC=         no
  pkg   GCC_REQD=               2.8.0
  sys   CC_VERSION=             gcc-2.8.0
  sys   CC_VERSION_STRING=      gcc-2.8.0
  sys   LANGUAGES.gcc=          c c++ fortran77 objc
  def   CCPATH                  # undefined
  def   CPPPATH                 # undefined
  def   CXXPATH                 # undefined
  def   F77PATH                 # undefined
  def   FCPATH                  # undefined
  def   ADAPATH                 # undefined
  def   GMKPATH                 # undefined
  def   GLKPATH                 # undefined
  def   GDBPATH                 # undefined
  def   CHPPATH                 # undefined
  def   GLSPATH                 # undefined
  def   GNTPATH                 # undefined
  def   PRPPATH                 # undefined
  def   IMAKEOPTS=              -DBuildN32 -DSgiISA32=4 -DMakeCmd=/usr/pkg/bin/bmake -DProjectRoot=/usr/pkg -DManUsr=/usr/pkg
  def   LDFLAGS=                  # ends with space
  def   PKG_CC                  # undefined
  def   PKG_CPP=                cc -E
  def   PKG_CXX=                /build/shells/bash/work/.compiler/bin/c++-fail-wrapper
  def   PKG_FC=                 /build/shells/bash/work/.compiler/bin/fortran-fail-wrapper
  def   PKG_ADA=                /build/shells/bash/work/.compiler/bin/ada-fail-wrapper
  def   PKG_GMK                 # undefined
  def   PKG_GLK                 # undefined
  def   PKG_GDB                 # undefined
  def   PKG_CHP                 # undefined
  def   PKG_GLK                 # undefined
  def   PKG_GNT                 # undefined
  def   PKG_PRP                 # undefined
  def   _CC=                    cc
  def   _COMPILER_RPATH_FLAG=   -Wl,-R
  def   _COMPILER_STRIP_VARS=    # ends with space
  def   _GCCBINDIR=             /usr/pkg/_GCC_SUBPREFIX_not_found/bin
  def   _GCC_ARCHDIR=           _GCC_ARCHDIR_not_found
  def   _GCC_BIN_PREFIX         # undefined
  def   _GCC_CC                 # undefined
  def   _GCC_CFLAGS             # undefined
  def   _GCC_CPP                # undefined
  def   _GCC_CXX                # undefined
  def   _GCC_DEPENDENCY=        gcc2>=2.8.0:../../lang/gcc2
  def   _GCC_DEPENDS=           gcc2>=2.8.0
  def   _GCC_FC                 # undefined
  def   _GCC_LDFLAGS=           # empty
  def   _GCC_LIBDIRS=           _GCC_ARCHDIR_not_found /usr/pkg/_GCC_SUBPREFIX_not_found/lib32
  def   _GCC_PKG=               gcc-0
  def   _GCC_PKGBASE=           gcc2
  def   _GCC_PKGSRCDIR=         ../../lang/gcc2
  def   _GCC_PKG_SATISFIES_DEP= YES
  def   _GCC_PREFIX=            /usr/pkg/_GCC_SUBPREFIX_not_found/
  def   _GCC_REQD=              2.8.0
  def   _GCC_STRICTEST_REQD=    2.8.0
  def   _GCC_SUBPREFIX=         _GCC_SUBPREFIX_not_found/
  def   _GCC_TEST_DEPENDS       # undefined
  def   _GCC_NEEDS_A_FORTRAN=   no
  def   _GCC_VARS=              # empty
  def   _GCC_VERSION=           0
  def   _GCC_VERSION_STRING=    0
  def   _GCC_ADA                # undefined
  def   _GCC_GMK                # undefined
  def   _GCC_GLK                # undefined
  def   _GCC_GDB                # undefined
  def   _GCC_CHP                # undefined
  def   _GCC_GLS                # undefined
  def   _GCC_GNT                # undefined
  def   _GCC_PRP                # undefined
  def   _IGNORE_GCC             # undefined
  def   _IGNORE_GCC3CXX         # undefined
  def   _IGNORE_GCC3F77         # undefined
  def   _IGNORE_GCC3OBJC        # undefined
  def   _IS_BUILTIN_GCC=        NO
  def   _LANGUAGES.gcc=          c
  def   _LINKER_RPATH_FLAG=     -R
  def   _NEED_GCC2=             yes
  def   _NEED_GCC3=             no
  def   _NEED_GCC34=            no
  def   _NEED_GCC44=            no
  def   _NEED_NEWER_GCC=        NO
  def   _PKGSRC_GCC_VERSION=    gcc2-8.3.0
  def   _USE_GCC_SHLIB          # undefined
  def   _USE_PKGSRC_GCC=        YES
  def   _WRAP_EXTRA_ARGS.CC=    -mabi=n32

If i do setenv CC /opt/local/gcc-8.2.0/bin/gcc it will build but installation fails in digest with

===> Installing for digest-20190127
=> Generating pre-install file lists
/usr/pkg/bin/pdksh: /usr/pkg/bin/install-shrm: not found
*** Error code 127

Stop.
bmake[1]: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest

should the bootstrap process have installed a install-shrm? all i have is 

drool 14# ls /usr/pkg/bin
bmake*       install-sh*  nawk*        nbsed*       pdksh*
drool 15# ls /usr/pkg/sbin
audit-packages*               pkg_add*                      pkg_create*                   pkg_info*
download-vulnerability-list*  pkg_admin*                    pkg_delete*

Mark


Home | Main Index | Thread Index | Old Index