[Top][All Lists]

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

bug#35691: [bug-guix] remote configure failure due to bad pathnames for

From: Nelson H. F. Beebe
Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o
Date: Wed, 15 May 2019 08:27:22 -0600

>> ...
>> >       configure: error: C compiler cannot create executables
>> >       See `config.log' for more details
>> What does config.log show?
>> What does guix package --list-installed return?
>> Please make sure that only gcc-toolchain in your profile, and not gcc.
>> ...

The config.log fragment is

        configure:2095: gcc  -I${prefix}/include  -I${prefix}/include 
-L/usr/uumath/lib64 -Wl,-rpath,/usr/uumath/lib64 conftest.c  >&5
        ld: cannot find crt1.o: No such file or directory
        ld: cannot find crti.o: No such file or directory
        collect2: error: ld returned 1 exit status

I tried

        guix remove gcc

Same problem.  I then did

        guix remove gcc-toolchain

Same problem: there is still a gcc visible: /u/sy/beebe/.guix-profile/bin/gcc.

The strace output shows that it tries to load .../libcrt1.o, instead of 

Here is what I find about installed gcc-related packages:

        $ guix package --list-installed |grep gcc
        gccgo   4.9.4   out     
        gcc-objc        8.3.0   out     
        gcc-objc++      8.3.0   out     
        gcc-bootstrap   0       out     
        gcc-toolchain   9.1.0   out     

Maybe it is related to another problem that I wanted to eventually
raise on a guix list.  Namely, after installing the new GUIX 1.0 VM, I
found that /usr/bin, /usr/sbin, and /sbin do not exist, and /bin
contains only /bin/sh.  Even after numerous "guix install" runs, /bin
continues to have only one entry.

This seems bizarre, because it is long-standing practice that
shell scripts should set PATH to a limited value to avoid
trojan attacks, and things like "/bin/rm foo" should always work.

On your GUIX systems, do you have a reasonably populated /bin?  Ditto
the other three.

For reference, here is the system configuration:

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

  (locale "en_US.utf8")
  (timezone "America/Denver")
    (keyboard-layout "us" "altgr-intl"))
      (bootloader grub-bootloader)
      (target "/dev/sda")
      (keyboard-layout keyboard-layout)))
    (cons* (file-system
             (mount-point "/")
               (uuid "a7e44cea-8fee-4431-9658-59644e18c9ec"
             (type "ext4"))
  (host-name "guix10.vm.math.utah.")
  ;; ===========================================================
  ;; [02-May-2019] Utah additions
  ;; After updating this file, run
  ;;    guix system reconfigure /etc/config.scm
  ;; to propagate the changes into assorted system files.
  ;; ===========================================================

;  (groups (cons*    
;          (user-group (name "beebe") (id 887))
;          (user-group (name "bowman") (id 888))
;          (user-group (name "sysstaff") (id 810))))

  (users (cons*
           (name "x")
           (comment "X")
           (group "users")
           (home-directory "/home/x")
           (supplementary-groups '("wheel" "netdev" "audio" "video")))

           (name "beebe")
           (comment "Nelson H F Beebe")
           (uid 887)
           (group "users")
           (home-directory "/u/sy/beebe")
           (supplementary-groups '("wheel" "netdev" "audio" "video")))

           (name "bowman")
           (comment "Pieter Bowman")
           (uid 888)
           (group "users")
           (home-directory "/u/sy/bowman")
           (supplementary-groups '("wheel" "netdev" "audio" "video")))

           (name "sysstaff")
           (comment "System Staff")
           (uid 810)
           (group "users")
           (home-directory "/u/sy/sysstaff")
           (supplementary-groups '("wheel" "netdev" "audio" "video")))


    (list (specification->package "nss-certs")))

      (list (service xfce-desktop-service-type)
            (service openssh-service-type)
                (keyboard-layout keyboard-layout))))

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]