Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725462 - media-gfx/tachyon-0.99_beta6-r2 : make[2]: DLinux: No such file or directory
Summary: media-gfx/tachyon-0.99_beta6-r2 : make[2]: DLinux: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-26 07:19 UTC by Toralf Förster
Modified: 2021-04-18 11:28 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.00 KB, text/plain)
2020-05-26 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,266.36 KB, text/plain)
2020-05-26 07:19 UTC, Toralf Förster
Details
environment (environment,58.03 KB, text/plain)
2020-05-26 07:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,47.04 KB, application/x-bzip)
2020-05-26 07:19 UTC, Toralf Förster
Details
media-gfx:tachyon-0.99_beta6-r2:20200525-215455.log (media-gfx:tachyon-0.99_beta6-r2:20200525-215455.log,20.54 KB, text/plain)
2020-05-26 07:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-26 07:19:17 UTC
make[2]: Nothing to be done for ../compile/gentoo/libtachyon.
DLinux -DUSEJPEG -DUSEPNG    -I/usr/include/libpng16  -fopenmp -D_REENTRANT -DUSEOPENGL -I/usr/X11R6/include -O2 -pipe -march=native  -fPIC -c ../src/api.c -o ../compile/gentoo/libtachyon/api.o
make[2]: DLinux: No such file or directory
make[2]: [Makefile:372: ../compile/gentoo/libtachyon/api.o] Error 127 (ignored)
DLinux -DUSEJPEG -DUSEPNG    -I/usr/include/libpng16  -fopenmp -D_REENTRANT -DUSEOPENGL -I/usr/X11R6/include -O2 -pipe -march=native  -fPIC -c ../src/apigeom.c -o ../compile/gentoo/libtachyon/apigeom.o
make[2]: DLinux: No such file or directory

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200518-220054

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.9 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 25 May 2020 08:39:31 PM UTC
/var/db/repos/libressl	Mon 25 May 2020 06:42:23 AM UTC

emerge -qpvO media-gfx/tachyon
[ebuild  N    ] media-gfx/tachyon-0.99_beta6-r2  USE="jpeg opengl openmp png -doc -examples -mpi -threads"
Comment 1 Toralf Förster gentoo-dev 2020-05-26 07:19:22 UTC
Created attachment 641852 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-26 07:19:26 UTC
Created attachment 641854 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-26 07:19:29 UTC
Created attachment 641856 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-26 07:19:32 UTC
Created attachment 641858 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-26 07:19:36 UTC
Created attachment 641862 [details]
media-gfx:tachyon-0.99_beta6-r2:20200525-215455.log
Comment 6 ngg 2020-05-26 16:42:09 UTC
I also run into the same issue.
I can successfully install 0.99_beta6-r1, but it fails with 0.99_beta6-r2.
I use amd64 stable Gentoo with only a few packages (like tachyon) in package.accept_keywords. Tachyon is used as a dependency of Sage, see unstable packages at https://github.com/cschwan/sage-on-gentoo/blob/master/package.keywords/sage-9.1
Let me know if you need more info about my environment.
Comment 7 François Bissey 2020-05-27 21:49:55 UTC
People using the mpi use flag may notice they are not affected. That's because for them CC is set properly. This is because of this line
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild#n61

It doesn't do its job of setting CC. Either too much quoting or not enough escaping.

You can see it in the logs attached
make all \
"ARCH = gentoo" \
"STRIP = touch" \
"LIBS = -L. -ltachyon -ljpeg -lpng16 -lz  -lm -L/usr/X11R6/lib -lGL -lX11 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" \
"CFLAGS = -DLinux -DUSEJPEG -DUSEPNG    -I/usr/include/libpng16  -fopenmp -D_REENTRANT -DUSEOPENGL -I/usr/X11R6/include -O2 -pipe -march=native " \
"CC = "
Comment 8 François Bissey 2020-05-27 22:06:01 UTC
use mpi || CCLINE='"CC = '$(tc-getCC)'"'

does the trick.
Comment 9 Larry the Git Cow gentoo-dev 2020-05-29 21:16:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61720798e4d3ad19afe786619e97e2dc62bd9872

commit 61720798e4d3ad19afe786619e97e2dc62bd9872
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2020-05-29 21:15:43 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2020-05-29 21:15:43 +0000

    media-gfx/tachyon: Fix build
    
    Closes: https://bugs.gentoo.org/725462
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 media-gfx/tachyon/tachyon-0.99_beta6-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)