Opened 12 years ago

Closed 12 years ago

#36482 closed defect (invalid)

libglade2 @2.1.2 Error: org.macports.build for port libglade2 returned: command execution failed

Reported by: antoine.gautier@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port:

Description

Je viens d'installer MacPort et ai des difficultés à installer pspp.

bash-3.2$ sudo port clean  pspp
Password:
--->  Cleaning pspp
bash-3.2$ sudo port install pspp
--->  Computing dependencies for pspp
--->  Dependencies to be installed: libglade2 plotutils readline
--->  Building libglade2
Error: org.macports.build for port libglade2 returned: command execution failed
Error: Failed to install libglade2
Please see the log file for port libglade2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libglade2/libglade2/main.log
Error: The following dependencies were not installed: libglade2 plotutils readline
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pspp failed

Je pense être à jour :

bash-3.2$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

et pourtant :

bash-3.2$ sudo port -f install libglade2
--->  Computing dependencies for libglade2
--->  Building libglade2
Error: org.macports.build for port libglade2 returned: command execution failed
Please see the log file for port libglade2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libglade2/libglade2/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libglade2 failed
bash-3.2$ sudo port clean  libglade2
--->  Cleaning libglade2
bash-3.2$ sudo port -f install libglade2
--->  Computing dependencies for libglade2
--->  Fetching archive for libglade2
--->  Attempting to fetch libglade2-2.6.4_6.darwin_12.x86_64.tbz2 from http://packages.macports.org/libglade2
--->  Attempting to fetch libglade2-2.6.4_6.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/libglade2
--->  Attempting to fetch libglade2-2.6.4_6.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libglade2
--->  Fetching distfiles for libglade2
--->  Verifying checksum(s) for libglade2
--->  Extracting libglade2
--->  Configuring libglade2
--->  Building libglade2
Error: org.macports.build for port libglade2 returned: command execution failed
Please see the log file for port libglade2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libglade2/libglade2/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libglade2 failed
bash-3.2$ 

Attachments (1)

main.log (133.9 KB) - added by antoine.gautier@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by antoine.gautier@…

Attachment: main.log added

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

Owner: changed from macports-tickets@… to ryandesign@…

Interesting. Your log says:

:info:build /opt/local/include/pango-1.0/pango/pango-script.h:132:12: error: unknown type name 'G_CONST_RETURN'

Which looks exactly like #32242, which I fixed 11 months ago.

I am wondering if these lines in your log are significant:

:debug:main cairo is *not* installed by MacPorts
:debug:main cairo not installed, soft dependency satisfied
:debug:main pango is *not* installed by MacPorts
:debug:main pango not installed, soft dependency satisfied

Could you show me what ports you have installed? What's the output of:

port -v installed

Thanks.

comment:2 in reply to:  1 Changed 12 years ago by antoine.gautier@…

Replying to ryandesign@…:

Here it is :

bash-3.2$ port -v installed
The following ports are currently installed:
atk @2.2.0_2 (active) platform='darwin 12' archs='x86_64'
  autoconf @2.69_0 (active) platform='darwin 12' archs='noarch'
  automake @1.12.4_0 (active) platform='darwin 12' archs='noarch'
  bzip2 @1.0.6_0 (active) platform='darwin 12' archs='x86_64'
  db46 @4.6.21_6 (active) platform='darwin 12' archs='x86_64'
  expat @2.1.0_0 (active) platform='darwin 12' archs='x86_64'
  fontconfig @2.9.0_1 (active) platform='darwin 12' archs='x86_64'
  freetype @2.4.10_0 (active) platform='darwin 12' archs='x86_64'
  gdbm @1.10_2 (active) platform='darwin 12' archs='x86_64'
  gdk-pixbuf2 @2.26.4_0 (active) platform='darwin 12' archs='x86_64'
  gettext @0.18.1.1_2 (active) platform='darwin 12' archs='x86_64'
  glib2 @2.32.4_0 (active) platform='darwin 12' archs='x86_64'
  gnome-common @2.28.0_0 (active) platform='darwin 12' archs='noarch'
  gobject-introspection @1.32.1_3 (active) platform='darwin 12' archs='x86_64'
  gperf @3.0.4_2 (active) platform='darwin 12' archs='x86_64'
  gsl @1.15_2 (active) platform='darwin 12' archs='x86_64'
  gtk2 @2.24.12_0+x11 (active) platform='darwin 12' archs='x86_64'
  help2man @1.40.10_0 (active) platform='darwin 12' archs='x86_64'
  hicolor-icon-theme @0.12_0 (active) platform='darwin 12' archs='noarch'
  intltool @0.50.2_0 (active) platform='darwin 12' archs='noarch'
  jasper @1.900.1_9 (active) platform='darwin 12' archs='x86_64'
  jpeg @8d_0 (active) platform='darwin 12' archs='x86_64'
  libedit @20120601-3.0_0 (active) platform='darwin 12' archs='x86_64'
  libffi @3.0.11_0 (active) platform='darwin 12' archs='x86_64'
  libiconv @1.14_0 (active) platform='darwin 12' archs='x86_64'
  libpng @1.5.13_0 (active) platform='darwin 12' archs='x86_64'
  libtool @2.4.2_3 (active) platform='darwin 12' archs='x86_64'
  libxml2 @2.8.0_0 (active) platform='darwin 12' archs='x86_64'
  m4 @1.4.16_0 (active) platform='darwin 12' archs='x86_64'
  ncurses @5.9_1 (active) platform='darwin 12' archs='x86_64'
  openssl @1.0.1c_0 (active) platform='darwin 12' archs='x86_64'
  p5.12-getopt-long @2.380.0_3 (active) platform='darwin 12' archs='noarch'
  p5.12-locale-gettext @1.50.0_7 (active) platform='darwin 12' archs='x86_64'
  p5.12-pathtools @3.330.0_3 (active) platform='darwin 12' archs='x86_64'
  p5.12-scalar-list-utils @1.230.0_3 (active) platform='darwin 12' archs='x86_64'
  p5.12-xml-parser @2.400.0_4 (active) platform='darwin 12' archs='x86_64'
  perl5 @5.12.4_0+perl5_12 (active) platform='darwin 12' archs='noarch'
  perl5.12 @5.12.4_1 (active) platform='darwin 12' archs='x86_64'
  pkgconfig @0.27.1_1 (active) platform='darwin 12' archs='x86_64'
  python27 @2.7.3_0 (active) platform='darwin 12' archs='x86_64'
  python_select @0.3_1 (active) platform='darwin 12' archs='noarch'
  shared-mime-info @1.0_0 (active) platform='darwin 12' archs='x86_64'
  sqlite3 @3.7.14_1 (active) platform='darwin 12' archs='x86_64'
  texinfo @4.13_2 (active) platform='darwin 12' archs='x86_64'
  tiff @3.9.5_0 (active) platform='darwin 12' archs='x86_64'
  xorg-bigreqsproto @1.1.2_0 (active) platform='darwin 12' archs='noarch'
  xorg-compositeproto @0.4.2_0 (active) platform='darwin 12' archs='noarch'
  xorg-damageproto @1.2.1_0 (active) platform='darwin 12' archs='noarch'
  xorg-fixesproto @5.0_0 (active) platform='darwin 12' archs='noarch'
  xorg-inputproto @2.2_0 (active) platform='darwin 12' archs='noarch'
  xorg-kbproto @1.0.6_0 (active) platform='darwin 12' archs='noarch'
  xorg-libpthread-stubs @0.3_0 (active) platform='darwin 12' archs='noarch'
  xorg-libX11 @1.5.0_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXau @1.0.7_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libxcb @1.8.1_2+python27 (active) platform='darwin 12' archs='x86_64'
  xorg-libXcomposite @0.4.3_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXcursor @1.1.13_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXdamage @1.1.3_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXdmcp @1.1.1_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXext @1.3.1_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXfixes @5.0_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXi @1.6.1_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXinerama @1.1.2_0 (active) platform='darwin 12' archs='x86_64'
  xorg-libXrandr @1.3.2_0 (active) platform='darwin 12' archs='x86_64'
  xorg-randrproto @1.4.0_0 (active) platform='darwin 12' archs='noarch'
  xorg-renderproto @0.11.1_0 (active) platform='darwin 12' archs='noarch'
  xorg-util-macros @1.17_0 (active) platform='darwin 12' archs='noarch'
  xorg-xcb-proto @1.7.1_0+python27 (active) platform='darwin 12' archs='noarch'
  xorg-xcmiscproto @1.2.2_0 (active) platform='darwin 12' archs='noarch'
  xorg-xextproto @7.2.1_0 (active) platform='darwin 12' archs='noarch'
  xorg-xf86bigfontproto @1.2.0_0 (active) platform='darwin 12' archs='noarch'
  xorg-xineramaproto @1.2.1_0 (active) platform='darwin 12' archs='noarch'
  xorg-xproto @7.0.23_0 (active) platform='darwin 12' archs='noarch'
  xorg-xtrans @1.2.7_0 (active) platform='darwin 12' archs='noarch'
  xrender @0.9.7_0 (active) platform='darwin 12' archs='x86_64'
  xz @5.0.4_0 (active) platform='darwin 12' archs='x86_64'
  zlib @1.2.7_0 (active) platform='darwin 12' archs='x86_64'

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

Ok, that confirms that you don't have the cairo or pango ports installed. (They're required by libglade2.) Yet for some reason some versions of the files the cairo and pango ports would install are present on your system, which fooled MacPorts into believing the ports were already installed. But those files appear to be at least 11 months old and to predate the fix for the problem you're seeing.

The solution is to install the cairo and pango ports. Because the files those ports would install are already on your system for some reason, you'll need to force the installation:

sudo port -f install cairo pango

But I am a little worried, because this problem should never have happened in the first place. And if you had rogue copies of the cairo and pango files on your system, I am concerned that you might have other rogue files from other ports that will cause you problems in the future.

Since you said you just installed MacPorts, perhaps the best solution would be to follow the MacPorts uninstallation instructions, including the sudo rm -rf command, to ensure that all traces of MacPorts, including files that should not be there, are removed. Then you could reinstall MacPorts, and the ports you want, knowing that you won't have any files that shouldn't be there. It would probably be less inconvenient to do this now rather than wait until later when you have more ports installed.

comment:4 Changed 12 years ago by antoine.gautier@…

Yes, uninstall + reinstall solved the problem. Many thanks !

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

Resolution: invalid
Status: newclosed

Great! I'm glad you got it working.

Note: See TracTickets for help on using tickets.