Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#38094 closed defect (fixed)

pango, pango-devel: build failure due to variant conflict with cairo

Reported by: ClintO (Clint O) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: mf2k (Frank Schima), motumbo@…, titiaita@…, cooljeanius (Eric Gallager), macports.org@…
Port: pango, pango-devel

Description

I'm not willing to rule out some user error since I'm reinstalling my ports from an OS upgrade to Mountain Lion, but I'm seeing the following:

version:1
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/pango/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/pango/work
:debug:main Executing org.macports.main (pango)
:debug:archivefetch archivefetch phase started at Sat Feb 16 23:53:18 PST 2013
:msg:archivefetch --->  Fetching archive for pango
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch cairo is installed with the following variants: +x11
:debug:archivefetch   required: , forbidden: quartz
:debug:archivefetch   accepted
:debug:archivefetch cairo is installed with the following variants: +x11
:debug:archivefetch   required: , forbidden: x11
:debug:archivefetch   rejected, because forbidden variant x11 is present
:error:archivefetch org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: cairo must be installed without +x11.
    while executing
"$pre $targetname"
:info:archivefetch Warning: targets not executed for pango: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:archivefetch Failed to install pango
:debug:archivefetch couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:archivefetch Please see the log file for port pango for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/pango/main.log

It seems that cairo was installed as a dependency for harfbuzz, and harfbuzz is required for gimp.

Change History (16)

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: devans@… removed
Keywords: gimp cairo removed
Owner: changed from macports-tickets@… to devans@…

Do as it says, then.

sudo port install cairo -x11

If you’re installing gimp +quartz, you might need

sudo port install cairo -x11 +quartz

comment:2 Changed 12 years ago by ClintO (Clint O)

Ok, I tried as you suggested, and that yields:

:msg:archivefetch --->  Fetching archive for gtk2
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch cairo is installed with the following variants: 
:debug:archivefetch   required: x11, forbidden: 
:debug:archivefetch   rejected, because required variant x11 is missing
:error:archivefetch org.macports.archivefetch for port gtk2 returned: cairo must be installed with +x11.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: cairo must be installed with +x11.

comment:3 Changed 12 years ago by akilansel@…

same issue here while i am trying to install eiffelstudio7 on OS X 10.8.2 ( i have already required Xcode ).

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (pango)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sun Feb 17 09:03:40 EST 2013
:msg:archivefetch --->  Fetching archive for pango
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch cairo is installed with the following variants: +x11
:debug:archivefetch   required: , forbidden: quartz
:debug:archivefetch   accepted
:debug:archivefetch cairo is installed with the following variants: +x11
:debug:archivefetch   required: , forbidden: x11
:debug:archivefetch   rejected, because forbidden variant x11 is present
:error:archivefetch org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: cairo must be installed without +x11.
    while executing
"$pre $targetname"
:info:archivefetch Warning: targets not executed for pango: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:archivefetch Failed to install pango
:debug:archivefetch couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:archivefetch Please see the log file for port pango for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log

Last edited 12 years ago by akilansel@… (previous) (diff)

comment:4 in reply to:  description ; Changed 12 years ago by mato.tuzo@…

Replying to clint.olsen@…: i am trying to install skrooge. the result is similar:

--->  Fetching archive for pango
Error: org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
Error: Failed to install pango
Last edited 12 years ago by mato.tuzo@… (previous) (diff)

comment:5 in reply to:  4 Changed 12 years ago by mato.tuzo@…

Replying to mato.tuzo@…:

...and when i put -x11 +quartz to ../etc/macports/variants.conf

the result is again similar:

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libiodbc/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (libiodbc)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sun Feb 17 17:28:39 CET 2013
:msg:archivefetch --->  Fetching archive for libiodbc
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch gtk2 is installed with the following variants: +quartz
:debug:archivefetch   required: x11, forbidden:
:debug:archivefetch   rejected, because required variant x11 is missing
:error:archivefetch org.macports.archivefetch for port libiodbc returned: gtk2 must be installed with +x11.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: gtk2 must be installed with +x11.
    while executing
"$pre $targetname"
:info:archivefetch Warning: targets not executed for libiodbc: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:archivefetch Failed to install libiodbc
:debug:archivefetch could not read "/opt/local/share/pkgconfig/shared-desktop-ontologies.pc": no such file or directory
    while executing
"::file type $file"
:notice:archivefetch Please see the log file for port libiodbc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log
Last edited 12 years ago by mato.tuzo@… (previous) (diff)

comment:6 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from devans@… to ryandesign@…
Port: cairo pango added; gimp removed

The problem is with pango and cairo.

comment:7 Changed 12 years ago by mf2k (Frank Schima)

Summary: Gimp build failure due to variant conflict with cairopango: build failure due to variant conflict with cairo

comment:8 Changed 12 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:9 Changed 12 years ago by motumbo@…

Cc: motumbo@… added

Cc Me!

comment:10 Changed 12 years ago by motumbo@…

Same issue when trying to install wine-devel

--->  Fetching archive for pango
Error: org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
Error: Failed to install pango
Please see the log file for port pango for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log

And main.log

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/x11/pango/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (pango)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Mon Feb 18 13:28:04 CLST 2013
:msg:archivefetch --->  Fetching archive for pango
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch cairo is installed with the following variants: +universal+x11
:debug:archivefetch   required: , forbidden: quartz
:debug:archivefetch   accepted
:debug:archivefetch cairo is installed with the following variants: +universal+x11
:debug:archivefetch   required: , forbidden: x11
:debug:archivefetch   rejected, because forbidden variant x11 is present
:error:archivefetch org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: cairo must be installed without +x11.
    while executing
"$pre $targetname"
:info:archivefetch Warning: targets not executed for pango: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:archivefetch Failed to install pango
:debug:archivefetch could not read "/opt/local/share/doc/harfbuzz/TODO": no such file or directory
    while executing
"::file type $file"
:notice:archivefetch Please see the log file for port pango for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log

comment:11 Changed 12 years ago by motumbo@…

I rollbacked the pango portfile to pango rev r103149 browser:trunk/dports/x11/pango/Portfile?rev=103149 and it solved the problem.

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Cc: titiaita@… egall@… added
Port: pango-devel added; cairo removed
Resolution: fixed
Status: newclosed
Summary: pango: build failure due to variant conflict with cairopango, pango-devel: build failure due to variant conflict with cairo

Has duplicate #38116. Should be fixed in r103212.

comment:13 Changed 12 years ago by macports.org@…

I think I am seeing the same problem while installing wireshark.

bash-3.2# port install wireshark

...

--->  Fetching archive for cairo
--->  Attempting to fetch cairo-1.12.14_0+x11.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/cairo
--->  Attempting to fetch cairo-1.12.14_0+x11.darwin_12.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/cairo
--->  Installing cairo @1.12.14_0+x11
--->  Activating cairo @1.12.14_0+x11
--->  Cleaning cairo

...

--->  Fetching archive for pango
Error: org.macports.archivefetch for port pango returned: cairo must be installed without +x11.
Error: Failed to install pango

I upgrade to Mountain Lion. Then I followed the instructions on Migration (installed the base MacPorts system again, uninstalled all ports and cleaned the remaining builds).

Then I installed wget and jhead. After that I tried to install wireshark but failed as described.

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:14 Changed 12 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

comment:15 in reply to:  13 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to macports.org@…:

I upgrade to Mountain Lion. Then I followed the instructions on Migration (installed the base MacPorts system again, uninstalled all ports and cleaned the remaining builds).

Then I installed wget and jhead. After that I tried to install wireshark but failed as described.

Try again after a selfupdate.

sudo port clean wireshark gtk2 pango
sudo port selfupdate
sudo port install wireshark
Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:16 Changed 12 years ago by macports.org@…

Yeah, I did a selfupdate and now installing wireshark works.

Perfect. Thanks a lot'''

Note: See TracTickets for help on using tickets.