Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715324

Summary: dev-scheme/racket-7.0 fails to build
Product: Gentoo Linux Reporter: David Moreno <jose_david_moreno>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: jose_david_moreno, jstein, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Moreno 2020-03-29 15:34:00 UTC
emerge dev-scheme/racket-7.0 fails with this error message:

make[2]: Entering directory '/var/tmp/portage/dev-scheme/racket-7.0/work/racket-7.0/src/racket'
make[2]: *** No rule to make target '../rktio/librktio.la', needed by 'libracket.la'.  Stop.
make[2]: Leaving directory '/var/tmp/portage/dev-scheme/racket-7.0/work/racket-7.0/src/racket'
make[1]: *** [Makefile:161: mzlibrary] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-scheme/racket-7.0/work/racket-7.0/src/racket'
make: *** [Makefile:100: cgc-core] Error 2
 * ERROR: dev-scheme/racket-7.0::gentoo failed (compile phase):
 *   emake failed


Earlier in the compilation, the following error is also issued:

libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -release 7.0 -rpath /usr/lib64 $(ARLIBFLAGS) -o cru .libs/librktio.a .libs/rktio_fs.o .libs/rktio_fd.o .libs/rktio_file.o .libs/rktio_poll_set.o .libs/rktio_ltps.o .libs/rktio_sleep.o .libs/rktio_network.o .libs/rktio_pipe.o .libs/rktio_process.o .libs/rktio_signal.o .libs/rktio_envvars.o .libs/rktio_fs_change.o .libs/rktio_flock.o .libs/rktio_shellex.o .libs/rktio_time.o .libs/rktio_syslog.o .libs/rktio_convert.o .libs/rktio_dll.o .libs/rktio_error.o .libs/rktio_hash.o .libs/rktio_wide.o .libs/rktio_main.o
/var/tmp/portage/dev-scheme/racket-7.0/work/racket-7.0/src/rktio/../lt/libtool: line 5966: ARLIBFLAGS: command not found
libtool: warning: '-release' is ignored for programs
libtool: link: x86_64-pc-linux-gnu-gcc -o cru .libs/rktio_fs.o .libs/rktio_fd.o .libs/rktio_file.o .libs/rktio_poll_set.o .libs/rktio_ltps.o .libs/rktio_sleep.o .libs/rktio_network.o .libs/rktio_pipe.o .libs/rktio_process.o .libs/rktio_signal.o .libs/rktio_envvars.o .libs/rktio_fs_change.o .libs/rktio_flock.o .libs/rktio_shellex.o .libs/rktio_time.o .libs/rktio_syslog.o .libs/rktio_convert.o .libs/rktio_dll.o .libs/rktio_error.o .libs/rktio_hash.o .libs/rktio_wide.o .libs/rktio_main.o  .libs/librktio.a -Wl,-rpath -Wl,/usr/lib64
x86_64-pc-linux-gnu-gcc: error: .libs/librktio.a: No such file or directory

The following use flag combinations have been tested for the racket package:
"X futures jit places threads -doc -minimal -readline"
"X futures jit places readline threads -doc -minimal"
"minimal -X -doc -futures -jit -places -readline -threads"

The same behaviour occurs with versions 7.1 and 7.3.

Some relevant parts of my emerge --info:
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo x86_64)
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-2.6
KiB Mem:     3897264 total,    134804 free
KiB Swap:    8390652 total,   5695228 free
Timestamp of repository gentoo: Sun, 29 Mar 2020 12:30:01 +0000
Head commit of repository gentoo: a3df3a493f39c8eaf8aad03366e35917e36c101d
sh bash 4.4_p23-r1
ld GNU gold (Gentoo 2.33.1 p2 2.33.1) 1.16
app-shells/bash:          4.4_p23-r1::gentoo 
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo                                                                                                                                             
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo                                                                                                                                        
sys-devel/binutils:       2.33.1-r1::gentoo                                                                                                                                        sys-devel/gcc:            9.2.0-r2::gentoo                                                                                                                                         
sys-devel/gcc-config:     2.2.1::gentoo                                                                                                                                            
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo                                                                                                                                         
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:                                                                                                                                                                                                                                                                                                                                                         gentoo                            
    location: /var/portage
    sync-type: rsync                                                                     
    sync-uri: rsync://swan.gentoo.org/gentoo-portage/
    priority: -1000                                                                                                                                                                
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no                                                   
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes
                                                                                                                                                                                   
ACCEPT_KEYWORDS="amd64"                                                                                                                                                            
ACCEPT_LICENSE="@FREE"                                                                                                                                                             
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                       
CFLAGS="-O2 -pipe -march=native -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize"                                                                    
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                        CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ 
/etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"         
CXXFLAGS="-O2 -pipe -march=native -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize -fvisibility-inlines-hidden"                                      

FCFLAGS="-O2 -pipe"                      
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"        
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/"                                      
LANG="en_US.utf8"                                                                        
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--as-needed -O2 -pipe -march=native -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize"                       
MAKEOPTS="-j5"               

Some of the previous variables have been overwritten for the build of racket package:

CFLAGS="${CFLAGS} -fno-lto -fno-use-linker-plugin"
CXXFLAGS="${CXXFLAGS} -fno-lto -fno-use-linker-plugin"
LDFLAGS="${LDFLAGS} -fno-lto -fno-use-linker-plugin"
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-17 07:35:10 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 2 Larry the Git Cow gentoo-dev 2021-12-03 16:05:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4057b1d7add942eb4da35d7b4ff2695990068bac

commit 4057b1d7add942eb4da35d7b4ff2695990068bac
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2021-12-03 15:59:43 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2021-12-03 16:05:38 +0000

    dev-scheme/racket: drop old
    
    remove vulnerable versions lesser than 8.2
    
    Bug: https://bugs.gentoo.org/803116
    Closes: https://bugs.gentoo.org/711098
    Closes: https://bugs.gentoo.org/715324
    Closes: https://bugs.gentoo.org/749729
    Closes: https://bugs.gentoo.org/749735
    Closes: https://bugs.gentoo.org/755008
    Closes: https://bugs.gentoo.org/779466
    Closes: https://bugs.gentoo.org/814899
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-scheme/racket/Manifest             |  12 ---
 dev-scheme/racket/racket-7.0-r1.ebuild |  93 -----------------
 dev-scheme/racket/racket-7.1-r1.ebuild |  93 -----------------
 dev-scheme/racket/racket-7.2-r1.ebuild |  94 ------------------
 dev-scheme/racket/racket-7.3-r1.ebuild |  94 ------------------
 dev-scheme/racket/racket-8.0-r1.ebuild | 113 ---------------------
 dev-scheme/racket/racket-8.1-r1.ebuild | 176 ---------------------------------
 7 files changed, 675 deletions(-)