Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650304 - dev-libs/cloog-0.18.4 with >=dev-libs/isl-0.19: …/libcloog-isl.so: undefined reference to `isl_basic_set_drop_constraint'
Summary: dev-libs/cloog-0.18.4 with >=dev-libs/isl-0.19: …/libcloog-isl.so: undefined ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: EBUILD
: 650286 650298 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-12 17:08 UTC by Toralf Förster
Modified: 2019-11-07 08:49 UTC (History)
7 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2018-03-12 17:08 UTC, Toralf Förster
Details
dev-libs:cloog-0.18.4:20180312-020954.log (dev-libs:cloog-0.18.4:20180312-020954.log,52.82 KB, text/plain)
2018-03-12 17:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.18 KB, text/plain)
2018-03-12 17:08 UTC, Toralf Förster
Details
environment (environment,89.15 KB, text/plain)
2018-03-12 17:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.59 KB, application/x-bzip)
2018-03-12 17:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.02 KB, application/x-bzip)
2018-03-12 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.38 KB, application/x-bzip)
2018-03-12 17:08 UTC, Toralf Förster
Details
cloog-0.19.0.ebuild (cloog-0.19.0.ebuild,1.40 KB, text/plain)
2018-04-06 16:09 UTC, Alexander
Details
environment (environment,88.96 KB, text/plain)
2018-04-26 21:08 UTC, Roman Gruber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-12 17:08:20 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native  -L/lib -Wl,-O1 -Wl,--as-needed -o cloog source/cloog.o libcloog-isl.la -lgmp
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o .libs/cloog source/cloog.o  -L/lib ./.libs/libcloog-isl.so -lgmp
./.libs/libcloog-isl.so: undefined reference to `isl_basic_set_drop_constraint'
./.libs/libcloog-isl.so: undefined reference to `isl_set_drop_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_set_copy_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_basic_map_from_basic_set'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_libressl_20180309-191749

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-libs/cloog
[ebuild  N    ] dev-libs/cloog-0.18.4  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 

!!! The following installed packages are masked:
- x11-base/xorg-server-1.19.99.901-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Sebastian Pipping <sping@gentoo.org> (11 Mar 2018)
# Breaks XFCE, 1.19.6 was fine (in that regard). Bug #650228

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-03-12 17:08:23 UTC
Created attachment 523606 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-12 17:08:26 UTC
Created attachment 523608 [details]
dev-libs:cloog-0.18.4:20180312-020954.log
Comment 3 Toralf Förster gentoo-dev 2018-03-12 17:08:30 UTC
Created attachment 523610 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-03-12 17:08:33 UTC
Created attachment 523612 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-03-12 17:08:36 UTC
Created attachment 523614 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-12 17:08:39 UTC
Created attachment 523616 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-12 17:08:43 UTC
Created attachment 523618 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2018-03-13 00:18:02 UTC
*** Bug 650298 has been marked as a duplicate of this bug. ***
Comment 9 Arfrever Frehtes Taifersar Arahesis 2018-03-13 00:18:08 UTC
*** Bug 650286 has been marked as a duplicate of this bug. ***
Comment 10 Arfrever Frehtes Taifersar Arahesis 2018-03-13 00:37:13 UTC
Either development moved to GitHub or there is a fork:
https://github.com/periscop/cloog

And somebody is working on a patch there:
https://github.com/periscop/cloog/pull/38


Anyway dev-libs/cloog is needed only by obsolete versions of 2 packages:
=dev-lang/gnat-gpl-2016*[graphite]
=sys-devel/gcc-4.8*[graphite]
=sys-devel/gcc-4.9*[graphite]
Comment 11 Guilherme Amadio gentoo-dev 2018-03-15 10:07:38 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #10)
> Either development moved to GitHub or there is a fork:
> https://github.com/periscop/cloog
> 
> And somebody is working on a patch there:
> https://github.com/periscop/cloog/pull/38
> 
> 
> Anyway dev-libs/cloog is needed only by obsolete versions of 2 packages:
> =dev-lang/gnat-gpl-2016*[graphite]
> =sys-devel/gcc-4.8*[graphite]
> =sys-devel/gcc-4.9*[graphite]

Actually, I work on code that needs to support these versions of GCC, so I have hit this bug, and suspect other users might too. I'm using GCC 7.3 as system compiler.
Comment 12 Alexander 2018-04-06 16:09:56 UTC
Created attachment 526694 [details]
cloog-0.19.0.ebuild

This ebuild is compile by me without errors.
Yes, it's contain «dirty hack» around `eautoreconf`.

Best regards,
alex
Comment 13 Roman Gruber 2018-04-26 21:07:44 UTC
Still happens on current box. regardless of  [1] x86_64-pc-linux-gnu-7.2.0
Switched to [2] x86_64-pc-linux-gnu-7.3.0 *

My box is build with [1] x86_64-pc-linux-gnu-7.2.0


/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -Wall -march=native -O2 -pipe -fomit-frame-pointer  -L/lib -Wl,-O1 -Wl,--as-needed -o cloog source/cloog.o libcloog-isl.la -lgmp
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -Wall -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o .libs/cloog source/cloog.o  -L/lib ./.libs/libcloog-isl.so -lgmp
./.libs/libcloog-isl.so: undefined reference to `isl_basic_set_drop_constraint'
./.libs/libcloog-isl.so: undefined reference to `isl_set_drop_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_set_copy_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_basic_map_from_basic_set'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:767: cloog] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/cloog-0.18.4/work/cloog-0.18.4-abi_x86_32.x86'
make: *** [Makefile:1046: all-recursive] Error 1
 * ERROR: dev-libs/cloog-0.18.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/cloog-0.18.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/cloog-0.18.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/cloog-0.18.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cloog-0.18.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/cloog-0.18.4/work/cloog-0.18.4-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-libs/cloog-0.18.4/work/cloog-0.18.4'

>>> Failed to emerge dev-libs/cloog-0.18.4, Log file:

>>>  '/var/tmp/portage/dev-libs/cloog-0.18.4/temp/build.log'
Comment 14 Roman Gruber 2018-04-26 21:08:34 UTC
Created attachment 528600 [details]
environment
Comment 15 Arfrever Frehtes Taifersar Arahesis 2018-05-06 02:37:40 UTC
*** Bug 650298 has been marked as a duplicate of this bug. ***
Comment 16 Rafal Kupiec 2018-05-07 12:10:21 UTC
Same here, I hot exact the same problem:


libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  source/.libs/libcloog_isl_la-block.o source/.libs/libcloog_isl_la-clast.o source/.libs/libcloog_isl_la-matrix.o source/.libs/libcloog_isl_la-state.o source/.libs/libcloog_isl_la-input.o source/.libs/libcloog_isl_la-int.o source/.libs/libcloog_isl_la-loop.o source/.libs/libcloog_isl_la-names.o source/.libs/libcloog_isl_la-options.o source/.libs/libcloog_isl_la-pprint.o source/.libs/libcloog_isl_la-program.o source/.libs/libcloog_isl_la-statement.o source/.libs/libcloog_isl_la-stride.o source/.libs/libcloog_isl_la-union_domain.o source/.libs/libcloog_isl_la-util.o source/.libs/libcloog_isl_la-version.o source/isl/.libs/libcloog_isl_la-domain.o source/isl/.libs/libcloog_isl_la-constraints.o source/isl/.libs/libcloog_isl_la-backend.o   -L/lib -lisl -lgmp  -march=corei7 -mtune=corei7 -msse4.1 -msse4.2 -mcx16 -msahf -mpopcnt -O2 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--hash-style=both -Wl,--as-needed   -Wl,-soname -Wl,libcloog-isl.so.4 -o .libs/libcloog-isl.so.4.0.0
libtool: link: (cd ".libs" && rm -f "libcloog-isl.so.4" && ln -s "libcloog-isl.so.4.0.0" "libcloog-isl.so.4")
libtool: link: (cd ".libs" && rm -f "libcloog-isl.so" && ln -s "libcloog-isl.so.4.0.0" "libcloog-isl.so")
libtool: link: ( cd ".libs" && rm -f "libcloog-isl.la" && ln -s "../libcloog-isl.la" "libcloog-isl.la" )
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -march=corei7 -mtune=corei7 -msse4.1 -msse4.2 -mcx16 -msahf -mpopcnt -O2 -s -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--hash-style=both -Wl,--as-needed -o .libs/cloog source/cloog.o  -L/lib ./.libs/libcloog-isl.so -lgmp
./.libs/libcloog-isl.so: undefined reference to `isl_basic_set_drop_constraint'
./.libs/libcloog-isl.so: undefined reference to `isl_set_drop_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_set_copy_basic_set'
./.libs/libcloog-isl.so: undefined reference to `isl_basic_map_from_basic_set'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:767: cloog] Error 1
make: *** [Makefile:1046: all-recursive] Error 1
 * ERROR: dev-libs/cloog-0.18.4::gentoo failed (compile phase):
Comment 17 tokiclover 2018-05-12 11:23:05 UTC
The SLOT should be changed because the library API changed. The issue go away for <=dev-libs/isl-0.18, the stmbols are still there. The SLOT should be changed and the dependency as well accordingly to the SLOT change. Until then, masking the newer version of dev-libs/isl is required. Thanks.
Comment 18 Arfrever Frehtes Taifersar Arahesis 2019-07-26 00:45:51 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #10)
> Either development moved to GitHub or there is a fork:
> https://github.com/periscop/cloog
> 
> And somebody is working on a patch there:
> https://github.com/periscop/cloog/pull/38

cloog version from https://github.com/periscop/cloog contains 2 new releases made in last year:
  0.19.0  (2018-04-04)
  0.20.0  (2018-09-07)

They supposedly contain fix for compatibility with dev-libs/isl-0.19.

Original homepage (https://www.bastoul.net/cloog/ , https://repo.or.cz/w/cloog.git) seems to have been unmaintained after year 2015.

Maybe switching dev-libs/cloog to https://github.com/periscop/cloog would make sense?
Comment 19 ilovekiruna 2019-09-17 09:39:20 UTC
The mentioned patch seems to be completely developed. Maybe this could be applied to fix the bug.
Comment 20 gentoobugs 2019-09-18 18:42:16 UTC
+1, would be nice to get this fixed so that HHVM can be compiled.
Comment 21 Sergei Trofimovich gentoo-dev 2019-09-18 22:24:47 UTC
Would be nice to address the status of the project WRT upsream:
    https://github.com/periscop/cloog/issues/40
Comment 22 Jeroen Roovers gentoo-dev 2019-11-07 08:49:15 UTC
(In reply to Alexander from comment #12)
> Created attachment 526694 [details]
> cloog-0.19.0.ebuild