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

Bug 555764

Summary: sys-libs/slang - /bin/sh: line 0: cd: amd64objs: No such file or directory
Product: Gentoo Linux Reporter: m.baur
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build Log
Info

Description m.baur 2015-07-24 08:06:55 UTC
Created attachment 407498 [details]
Build Log

sys-libs/slang doesn't build on a couple of system from us. Find the error log attached.
Comment 1 m.baur 2015-07-24 08:07:20 UTC
Created attachment 407500 [details]
Info
Comment 2 Felix Janda 2015-07-24 12:59:02 UTC
The Makefile is broken for parallel builds.

From modules/Makefile.in:

all: $(MODULES)

config.h: ../src/config.h
	cp ../src/config.h .
$(OBJDIR):
	-$(MKINSDIR) $(OBJDIR)
#
slsmg-module.so: $(OBJDIR) $(OBJDIR)/slsmg-module.so
$(OBJDIR)/slsmg-module.so: slsmg-module.c config.h
	cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/slsmg-module.c -o slsmg-module.so $(LIBS)

(MODULES contains slsmg-module.so.) The Makefile seems to try to be
correct but depends on the ordering of dependency evaluation for
slsmg-module.so. $(OBJDIR)/slsmg-module.so is missing the $(OBJDIR)
dependency.

This is not relevant for upstream since modules/Makefile.in has
changed too much since.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-04-16 20:25:07 UTC
Please test sys-libs/slang-2.3.2.