#35203 closed defect (fixed)
pango: build fails because 'Need to define Pango_1_0_gir_LIBS or Pango_1_0_gir_PROGRAM. Stop.' on PPC Tiger/10.4.8
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | tiger | Cc: | neverpanic (Clemens Lang), cooljeanius (Eric Gallager) |
Port: | pango pango-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
After successfully building gobject-introspection and atk (see #35186, #32358, #35200) plus gdk-pixbuf2 (#35202) now pango fails to build:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1/pango' /opt/local/share/gobject-introspection-1.0/Makefile.introspection:149: *** Need to define Pango_1_0_gir_LIBS or Pango_1_0_gir_PROGRAM. Stop. make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.30.1" && /usr/bin/make -w all Exit code: 2 Error: org.macports.build for port pango returned: command execution failed DEBUG: Error code: CHILDSTATUS 14600 2
Change History (14)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cal@… added |
---|---|
Description: | modified (diff) |
Keywords: | tiger added |
Summary: | Building pango on PPC Tiger/10.4.8 fails because '/opt/local/share/gobject-introspection-1.0/Makefile.introspection:149: *** Need to define Pango_1_0_gir_LIBS or Pango_1_0_gir_PROGRAM. Stop.' → pango: build fails because 'Need to define Pango_1_0_gir_LIBS or Pango_1_0_gir_PROGRAM. Stop.' on PPC Tiger/10.4.8 |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Oh, based on the other tickets I guess it's just that Tiger's make is too old, and we need to use gmake instead.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:4 follow-up: 5 Changed 12 years ago by neverpanic (Clemens Lang)
Port: | pango-devel added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in r95526.
comment:5 follow-ups: 6 11 Changed 12 years ago by darylew@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to cal@…:
Fixed in r95526.
Not so fast. The gobject-introspection
port directly had this issue too (#32358). It had a version of the same solution (r95523) too. It did not work for me and some others, and this port's version of the solution doesn't work either. For some reason, this fix still does not find the correct gmake
. The other port switched to r95533, which directly specifies MacPorts' gmake
, and worked for me. I'll test out a similar fix here.
(If it makes a difference, I'm on Mac OS X Tiger 10.4.11/PowerPC 32-bit.)
comment:6 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Replying to darylew@…:
(If it makes a difference, I'm on Mac OS X Tiger 10.4.11/PowerPC 32-bit.)
This describes my Mac as well…
Are all your Portfiles up-to-date? I have to admit that I did not wait until they were updated (or upgraded?), I edited them manually once I got a clue how to make the ports build. My changes were really basic and silly, as proposed for gobject-introspection. So maybe some Portfiles just fail?
comment:7 follow-up: 8 Changed 12 years ago by neverpanic (Clemens Lang)
jmr fixed this in r95536. Did you sync your ports tree?
comment:8 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cal@…:
jmr fixed this in r95536. Did you sync your ports tree?
Synching does not a fix anything: none of my ports is outdated. And I am not sure whether I can uninstall any port since others depend on them.
Have you cleaned all failed ports? It is necessary to sweep away all debris from earlier failures so that port can really start anew.
comment:9 follow-up: 10 Changed 12 years ago by neverpanic (Clemens Lang)
Syncing the ports tree does not necessarily mark ports as outdated. Only changes that increase epoch, version or revision mark a port as outdated. A revision bump was not necessary in this case, because the port previously didn't build for you (and there's no need to force a rebuild on something that didn't build before).
Cleaning pango shouldn't be necessary either because port ignores all build attempts older than the last change of the Portfile, which means if you get the change in r95536 and try to install pango port should automatically clean any previous attempt to install.
comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:11 Changed 12 years ago by darylew@…
Replying to darylew@…:
Replying to cal@…:
Fixed in r95526.
Not so fast. The
gobject-introspection
port directly had this issue too (#32358). It had a version of the same solution (r95523) too. It did not work for me and some others, and this port's version of the solution doesn't work either. For some reason, this fix still does not find the correctgmake
. The other port switched to r95533, which directly specifies MacPorts'gmake
, and worked for me. I'll test out a similar fix here.(If it makes a difference, I'm on Mac OS X Tiger 10.4.11/PowerPC 32-bit.)
My altered build worked. (My upgrade command had two ports and it's still working on the second one.)
comment:13 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
As far as I know this was fixed as described above.
Clemens, can you help? I haven't concerned myself with "introspection" before.