Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17638 closed defect (worksforme)

Error upgrading pango to 1.22.3

Reported by: mf2k (Frank Schima) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: pango

Description

I see the following error when I attempt to upgrade pango:

$ sudo port upgrade pango
--->  Fetching pango
--->  Attempting to fetch pango-1.22.3.tar.bz2 from http://distfiles.macports.org/pango
--->  Verifying checksum(s) for pango
--->  Extracting pango
--->  Applying patches to pango
--->  Configuring pango
--->  Building pango
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_x11_pango/work/pango-1.22.3" && make all " returned error 2
Command output: make  all-recursive
Making all in pango
( cd . && glib-mkenums \
			--fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
			--fprod "/* enumerations from \"@filename@\" */\n" \
			--vhead "GType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" 	\
			--ftail "G_END_DECLS\n\n#endif /* __PANGO_ENUM_TYPES_H__ */" \
		pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.h \
	&& (cmp -s tmp-pango-enum-types.h pango-enum-types.h || cp tmp-pango-enum-types.h pango-enum-types.h ) \
	&& rm -f tmp-pango-enum-types.h	\
	&& echo timestamp > s-enum-types-h
/bin/sh: /opt/local/bin/glib-mkenums: /opt/local/bin/perl5: bad interpreter: No such file or directory
make[2]: *** [s-enum-types-h] Error 126
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

I'm on Mac OS X 10.5.5 Intel. Xcode 3.1.2.

Change History (7)

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

Cc: mcalhoun@… added

Cc Me!

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

Prior to r43286, there was a ${prefix}/bin/perl5 installed.
Apparently (#17304), some configure scripts detected it automatically.
As of r43743 and r43744 it is back.

Does this fix the problem?

comment:3 Changed 15 years ago by mf2k (Frank Schima)

No, I'm still seeing this problem. And now it appears while trying to upgrade gtk2. Here's my perl setup:

$ port installed perl5 perl5.8
The following ports are currently installed:
  perl5.8 @5.8.8_3+darwin_9 (active)

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Strangely, everything worked fine on my MacPro at work. I'll try reinstalling a few things and see if i can get it fixed.

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

I solved the problem by uninstalling 5.8 and installing perl5 (and perl5.8).

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

I meant to say that I uninstalled perl5.8!

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.