Opened 4 years ago

Closed 3 years ago

#62234 closed defect (fixed)

cloog: error: implicit declaration of function 'isl_set_copy_basic_set' is invalid in C99

Reported by: clegra Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: catalina bigsur monterey Cc: cooljeanius (Eric Gallager), Anand-Padmanabhan (Anand Padmanabhan), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: cloog

Description (last modified by jmroot (Joshua Root))

--->  Fetching archive for cloog
--->  Attempting to fetch cloog-0.18.4_4.darwin_20.x86_64.tbz2 from http://fco.it.packages.macports.org/cloog
--->  Attempting to fetch cloog-0.18.4_4.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/cloog
--->  Attempting to fetch cloog-0.18.4_4.darwin_20.x86_64.tbz2 from https://packages.macports.org/cloog
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Computing dependencies for cloog
--->  Building cloog
Error: Failed to build cloog: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cloog/cloog/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

*

NB: I repeatedly checked the installation of Xcode, and the Xcode Command Line Tools, but the error seems not to be due to that, but the problem seems not to be resulting from there. This seems to be similar to ticket #62226 -- I take it from the answer there that this warning should be ignored for now.

Attachments (1)

main.log (96.0 KB) - added by clegra 4 years ago.
logfile for the aborted installation of cloog

Download all attachments as: .zip

Change History (16)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to larryv
Port: cloog added
Status: newassigned

Could be #61488. Please attach the log.

Changed 4 years ago by clegra

Attachment: main.log added

logfile for the aborted installation of cloog

comment:2 Changed 4 years ago by clegra

Apologies for not having immediately added the log file. I attached it now. Thanks for the reminder.

The reason for my ticket was: the aborted build of cloog prevented regular "sudo port upgrade outdated" for all macports for me for more than a month now. I recognized that and now wanted to ask for help to get to the bottom of that. After your reaction I uninstalled "cloog" (all 3 versions I had), and executed the "port upgrade outdated" command again. Then now all port upgrades that happened in the meantime have been installed (about which I am happy for now).

I had hoped that also the cloog problem would go away, but it hasn't for now.

But many thanks for your help.

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Not #61488, it's missing some includes:

:info:build source/isl/domain.c:63:9: error: implicit declaration of function 'isl_set_copy_basic_set' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         bset = isl_set_copy_basic_set(set);
:info:build                ^

comment:4 in reply to:  2 Changed 4 years ago by jmroot (Joshua Root)

Replying to clegra:

The reason for my ticket was: the aborted build of cloog prevented regular "sudo port upgrade outdated" for all macports for me for more than a month now. I recognized that and now wanted to ask for help to get to the bottom of that.

Don't hesitate to file a ticket if a port is failing to build and there isn't a ticket covering that already. But it is very important to supply a log, because without one, there's nothing to go on when investigating the problem.

comment:5 Changed 4 years ago by clegra

Thanks very much, Joshua. In addition to the logfile here from which you cite (thanks!) I supported ticket #61883 for a libgcc7 build error, which I experienced later yesterday, by a zipped log-file. Thanks again for now & kind greetings.

comment:6 Changed 4 years ago by cooljeanius (Eric Gallager)

Another victim of -Werror=implicit-function-declaration being on by default now. Keywords bigsur catalina

comment:7 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:8 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Anand-Padmanabhan added
Keywords: catalina bigsur monterey added
Summary: cloog fails to build on MacOS Big Surcloog: error: implicit declaration of function 'isl_set_copy_basic_set' is invalid in C99

Has duplicate #63887.

comment:9 in reply to:  6 ; Changed 3 years ago by Anand-Padmanabhan (Anand Padmanabhan)

Replying to cooljeanius:

Another victim of -Werror=implicit-function-declaration being on by default now. Keywords bigsur catalina

Any fix for this issue?

comment:10 in reply to:  9 Changed 3 years ago by reneeotten (Renee Otten)

Replying to Anand-Padmanabhan:

Replying to cooljeanius:

Another victim of -Werror=implicit-function-declaration being on by default now. Keywords bigsur catalina

Any fix for this issue?

Yes, you have to add the missing includes so that it can find the functions. I'll take a look and try to submit a fix if I can get it to build.

comment:11 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:12 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is a pull request that attempts to fix this problem.

comment:13 in reply to:  12 ; Changed 3 years ago by Anand-Padmanabhan (Anand Padmanabhan)

Replying to MarcusCalhoun-Lopez:

There is a pull request that attempts to fix this problem.

The issue still persists, even after running selfupdate. Am I missing any steps? Should I try building from the source?

comment:14 in reply to:  13 Changed 3 years ago by cooljeanius (Eric Gallager)

Replying to Anand-Padmanabhan:

Replying to MarcusCalhoun-Lopez:

There is a pull request that attempts to fix this problem.

The issue still persists, even after running selfupdate. Am I missing any steps? Should I try building from the source?

The pull request hasn't been merged yet.

comment:15 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In e2377199a7b5454f56471c88b166d68b02b4314e/macports-ports (master):

cloog: depend on compatibility version of isl

CLooG relies on function that no longer exist in isl.
This dependency change probably should have been done in
f00fc27e36243f30cf0c3ee4fc31e39d6084c6c6/macports-ports

Fixes #62234

Note: See TracTickets for help on using tickets.