Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34489 closed defect (fixed)

isl: isl.pc differs and cannot be merged

Reported by: petrsnd@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc:
Port: isl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I want to install gcc46 on Mac OS X Server 10.6.8 Snow Leopard.

I issued the command:

port install gcc46 +universal

When installing the isl dependency it just fails. It complains about a directory that already exists. If I try to install isl separately, I receive the same result, even with the force flag:

port -f install isl +universal

I tried to clean isl and then rebuild it, but it also failed:

port clean isl && port install gcc46 +universal

Here is the failure output during the staging of isl into destroot:

--->  Staging isl into destroot
Error: org.macports.destroot for port isl returned: /opt/local/lib/pkgconfig/isl.pc differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/destroot-x86_64 and cannot be merged
Error: Failed to install isl
Please see the log file for port isl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/main.log
Error: The following dependencies were not installed: cloog isl gcc_select ld64 dyld-headers libunwind-headers libiconv libmpc mpfr xz gettext expat ncurses ppl glpk zlib m4
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc46 failed

Attachments (3)

isl.pc (451 bytes) - added by petrsnd@… 12 years ago.
From destroot-x86_64/opt/local/lib/pkgconfig/
isl.2.pc (451 bytes) - added by petrsnd@… 12 years ago.
From isl-0.07-x86_64/
isl.3.pc (449 bytes) - added by petrsnd@… 12 years ago.
destroot-i386/

Download all attachments as: .zip

Change History (14)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gcc46 10.6 server removed
Owner: changed from macports-tickets@… to mcalhoun@…
Summary: Unable to install gcc46 +universal on 10.6.8 serverisl: isl.pc differs and cannot be merged

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Could you please attach the two aforementioned isl.pc files so that we can see how they differ?

comment:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Possibly related: gcc46 depends on cloog which has a file conflict with isl. #34477

Changed 12 years ago by petrsnd@…

Attachment: isl.pc added

From destroot-x86_64/opt/local/lib/pkgconfig/

Changed 12 years ago by petrsnd@…

Attachment: isl.2.pc added

From isl-0.07-x86_64/

comment:4 Changed 12 years ago by petrsnd@…

They are the same.

# md5 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/destroot-x86_64/opt/local/lib/pkgconfig/isl.pc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/isl-0.07-x86_64/isl.pc MD5 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/destroot-x86_64/opt/local/lib/pkgconfig/isl.pc) = 6aeab7e742a2c51ce8e005e0756b0210 MD5 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_isl/isl/work/isl-0.07-x86_64/isl.pc) = 6aeab7e742a2c51ce8e005e0756b0210

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

Status: newassigned

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

Did r93464 fix the problem for you?

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

petrsnd, you attached the wrong files. I wanted the isl.pc file from the destroot-x86_64 directory (which you attached) and the destroot-i386 directory.

Changed 12 years ago by petrsnd@…

Attachment: isl.3.pc added

destroot-i386/

comment:8 Changed 12 years ago by petrsnd@…

# diff ./destroot-i386/opt/local/lib/pkgconfig/isl.pc ./destroot-x86_64/opt/local/lib/pkgconfig/isl.pc 17c17 < Libs: -L${libdir} -L/opt/local/lib -arch i386 -lisl -lgmp ---

Libs: -L${libdir} -L/opt/local/lib -arch x86_64 -lisl -lgmp

comment:9 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

That fix is incorrect. Your configure change does not match your m4 change. See #34623 for a better solution.

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

Resolution: fixed
Status: assignedclosed

The isl configure script automatically calls autoreconf if it can find it.
Otherwise, it just runs normally.
The original fix was to make the same change in two places (r93464 and r92991).

r93580 is a better fix.

comment:11 Changed 12 years ago by petrsnd@…

This is working now. Thank you.

Note: See TracTickets for help on using tickets.