Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792897 - sci-libs/coinor-csdp-6.1.1-r1 No rule to make target '/usr/bin/remake_i.o', needed by 'libsdp.a'. when MAKE is set
Summary: sci-libs/coinor-csdp-6.1.1-r1 No rule to make target '/usr/bin/remake_i.o', n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-29 19:39 UTC by Alessandro Barbieri
Modified: 2021-11-26 22:02 UTC (History)
2 users (show)

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


Attachments
emerge_info (emerge_info,44.53 KB, text/plain)
2021-05-29 19:39 UTC, Alessandro Barbieri
Details
coinor-csdp-6.1.1-r1:20210529-171842.log (coinor-csdp-6.1.1-r1:20210529-171842.log,6.12 KB, text/plain)
2021-05-29 19:39 UTC, Alessandro Barbieri
Details
coinor-csdp-6.1.1-r1:20210529-193108.log (coinor-csdp-6.1.1-r1:20210529-193108.log,3.74 KB, text/plain)
2021-05-29 19:55 UTC, Alessandro Barbieri
Details
coinor-csdp-6.1.1-r1:20210529-195648.log (coinor-csdp-6.1.1-r1:20210529-195648.log,9.01 KB, text/plain)
2021-05-29 19:57 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-05-29 19:39:11 UTC
This package fails to build on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-05-29 19:39:25 UTC
Created attachment 712290 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-05-29 19:39:28 UTC
Created attachment 712293 [details]
coinor-csdp-6.1.1-r1:20210529-171842.log

build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-29 19:42:15 UTC
I really need you to be explicit about what's "weird" about your system in each report.

Now you're using remake. Have you tried without it? What else have you tried?
Comment 4 Alessandro Barbieri 2021-05-29 19:43:23 UTC
It fails with both MAKE=/usr/bin/remake and MAKE=/usr/bin/make
It succeed if MAKE is unset
Comment 5 Alessandro Barbieri 2021-05-29 19:45:02 UTC
Too impatient, I was typing the explanation
Comment 6 Alessandro Barbieri 2021-05-29 19:55:09 UTC
Created attachment 712299 [details]
coinor-csdp-6.1.1-r1:20210529-193108.log

make
Comment 7 Alessandro Barbieri 2021-05-29 19:57:36 UTC
Interesting, I see an emoji in the MAKE variable
nvm it fails anyway
Comment 8 Alessandro Barbieri 2021-05-29 19:57:57 UTC
Created attachment 712302 [details]
coinor-csdp-6.1.1-r1:20210529-195648.log

make
Comment 9 Alessandro Barbieri 2021-05-29 19:59:08 UTC
Comment on attachment 712299 [details]
coinor-csdp-6.1.1-r1:20210529-193108.log

> * Package:    sci-libs/coinor-csdp-6.1.1-r1
> * Repository: gentoo
> * Maintainer: sci@gentoo.org
> * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux openmp userland_GNU
> * FEATURES:   fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
> * /etc/portage/package.cflags/cflags -> */*: NOFFLAGS=1
> * /etc/portage/package.cflags/cflags -> */*: LDFLAGS-="-Wl,-z,now -Wl,-z,relro"
> * /etc/portage/package.cflags/cflags -> */*: USE_NONGNU="" +fPIE +fstack-protector-all +D_FORTIFY_SOURCE=2 
> * /etc/portage/package.cflags/cflags -> */*: NOLDADD=1
> * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync metadata-transfer mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
> * CFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration'
> * CXXFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection'
> * CPPFLAGS='-D_GLIBCXX_ASSERTIONS'
> * FFLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
> * FCFLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
> * F77FLAGS='-Os -pipe -march=native -fdiagnostics-color=always'
> * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--sort-common'
> * MAKEOPTS='-j12 -l15'
> * gcc (Gentoo Hardened 10.2.0-r5 p6) 10.2.0
> * g++ (Gentoo Hardened 10.2.0-r5 p6) 10.2.0
> * LLD 12.0.0 (compatible with GNU linkers)
> * Linux ALESSAND-F1E8 5.10.4-rt-rt22-x86_64 #3 SMP PREEMPT_RT Sun Apr 18 16:12:36 CEST 2021 x86_64 AMD Ryzen 5 3600 6-Core Processor AuthenticAMD GNU/Linux
>0;emerge 21:31:09 1|1 coinor-csdp (root@ALESSAND-F1E8)
>kemerge 21:31:09 1|1 coinor-csdp (root@ALESSAND-F1E8)\
>>>> Unpacking source...
>>>> Unpacking Csdp-6.1.1.tgz to /var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work
>>>> Source unpacked in /var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work
>>>> Preparing source in /var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1 ...
>>>> Source prepared.
>>>> Configuring source in /var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1 ...
>>>> Source configured.
>>>> Compiling source in /var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1 ...
>/usr/bin/makeð -j12 -l15 'CFLAGS=-Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -DNOSHORTS -DUSEGETTIME -I../include -fopenmp -DUSEOPENMP -DBIT64 -fPIC' -C lib 
>/usr/lib/portage/pypy3/ebuild-helpers/emake: line 29: /usr/bin/makeð: No such file or directory
> * ERROR: sci-libs/coinor-csdp-6.1.1-r1::gentoo failed (compile phase):
> *   emake failed
> * 
> * If you need support, post the output of `emerge --info '=sci-libs/coinor-csdp-6.1.1-r1::gentoo'`,
> * the complete build log and the output of `emerge -pqv '=sci-libs/coinor-csdp-6.1.1-r1::gentoo'`.
> * The complete build log is located at '/var/log/portage/build/sci-libs/coinor-csdp-6.1.1-r1:20210529-193108.log'.
> * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/temp/build.log'.
> * The ebuild environment file is located at '/var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/temp/environment'.
> * Working directory: '/var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1'
> * S: '/var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1'
>
Comment 10 Alessandro Barbieri 2021-05-29 20:00:40 UTC
x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -DNOSHORTS -DUSEGETTIME -I../include -fopenmp -DUSEOPENMP -DBIT64 -fPIC -D_GLIBCXX_ASSERTIONS  -c -o addscaledmat.o addscaledmat.c
x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -fdiagnostics-color=always -fexceptions -Wformat -fstack-clash-protection -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -DNOSHORTS -DUSEGETTIME -I../include -fopenmp -DUSEOPENMP -DBIT64 -fPIC -D_GLIBCXX_ASSERTIONS  -c -o user_exit.o user_exit.c
make: *** No rule to make target '/usr/bin/make_i.o', needed by 'libsdp.a'.  Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory '/var/tmp/portage/sci-libs/coinor-csdp-6.1.1-r1/work/Csdp-6.1.1/lib'
 * ERROR: sci-libs/coinor-csdp-6.1.1-r1::gentoo failed (compile phase):
 *   emake failed
Comment 11 Ionen Wolkens gentoo-dev 2021-05-29 21:14:57 UTC
Are we supposed to start fixing thing that can't deal with MAKE being set?

Not that this ebuild is quite a mess. Hadn't touched that one given I was only targeting autotools-utils ebuilds at the time.

Out of curiosity, are you just building random things for testing or you actually need coinor-csdp and other coinor-*? I was wondering if anyone still use these outside the few of its core packages.
Comment 12 Alessandro Barbieri 2021-05-30 09:18:37 UTC
Why not? It's the first failure I have and I have 4400 packages installed
Comment 13 Marek Szuba archtester gentoo-dev 2021-11-26 21:23:25 UTC
Someone's sed fu has failed them... Not to mention that replacing hard-coded "make" with the contents of the variable MAKE was completely unnecessary, as this only appeared in the top-level Makefile and the ebuild did not actually use it.
Comment 14 Larry the Git Cow gentoo-dev 2021-11-26 22:02:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=781f20b60cc838a868e597c0145d9fb146591e34

commit 781f20b60cc838a868e597c0145d9fb146591e34
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-11-26 21:58:22 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-11-26 22:02:03 +0000

    sci-libs/coinor-csdp: add 6.2.0, drop 6.1.1-r1
    
    EAPI 8 + quite a few bug fixes, both ones with open Bugzilla tickets and
    some that were not reported.
    
    Closes: https://bugs.gentoo.org/710520
    Closes: https://bugs.gentoo.org/731878
    Closes: https://bugs.gentoo.org/792897
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sci-libs/coinor-csdp/Manifest                      |  2 +-
 ...dp-6.1.1-r1.ebuild => coinor-csdp-6.2.0.ebuild} | 82 +++++++++++++---------
 .../files/coinor-csdp-6.2.0_toolchain-vars.patch   | 63 +++++++++++++++++
 3 files changed, 112 insertions(+), 35 deletions(-)