New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21413 (closed defect: fixed)

Opened 2 years ago

Last modified 4 months ago

glib1 fails to build for i386 on x86_64 systems

Reported by: lordmortis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: highwayoflife@…, ryandesign@…, jonathan.hayward@…
Port: glib1

Description (last modified by toby@…) (diff)

attempted to upgrade my ports via a "sudo port upgrade --force installed" command and the build failed with the following error:

--->  Computing dependencies for glib1
--->  Fetching glib1
--->  Verifying checksum(s) for glib1
--->  Extracting glib1
--->  Applying patches to glib1
--->  Configuring glib1
--->  Building glib1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib1/work/glib-1.2.10" && /usr/bin/make -j2 all " returned error 2
Command output:       _main in testglib.o
      _main in testglib.o
  "_g_hash_table_remove", referenced from:
      _main in testglib.o
  "_g_tree_nnodes", referenced from:
      _main in testglib.o
      _main in testglib.o
  "_glib_binary_age", referenced from:
      _main in testglib.o
  "_g_timer_elapsed", referenced from:
      _main in testglib.o
  "_g_get_home_dir", referenced from:
      _main in testglib.o
  "_g_string_sprintf", referenced from:
      _main in testglib.o
  "_g_get_tmp_dir", referenced from:
      _main in testglib.o
  "_g_node_destroy", referenced from:
      _main in testglib.o
      _main in testglib.o
  "_g_slist_insert_sorted", referenced from:
      _main in testglib.o
      _main in testglib.o
  "_g_byte_array_append", referenced from:
      _main in testglib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [testglib] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Attachments

ports.txt Download (4.7 KB) - added by lordmortis@… 2 years ago.
List of ports installed
glib1.txt Download (54.8 KB) - added by ryandesign@… 2 years ago.

Change History

Changed 2 years ago by lordmortis@…

List of ports installed

  Changed 2 years ago by toby@…

  • description modified (diff)

  Changed 2 years ago by jmr@…

  • port set to glib1
  • summary changed from glib1 build fails on snow leopard auto-migrat to glib1 build fails on snow leopard migration

follow-up: ↓ 7   Changed 2 years ago by jmr@…

The amount of output provided isn't enough BTW, it doesn't show the actual error. Attach a full debug log.

  Changed 2 years ago by highwayoflife@…

  • cc highwayoflife@… added

Cc Me!

  Changed 2 years ago by highwayoflife@…

Is this related to #21506?

  Changed 2 years ago by toby@…

Uh... it does not appear to be even slightly related. Perhaps you meant a different ticket?

in reply to: ↑ 3   Changed 2 years ago by ryandesign@…

  • cc ryandesign@… added

Replying to jmr@…:

The amount of output provided isn't enough BTW, it doesn't show the actual error. Attach a full debug log.

I'm attaching mine; I don't know if this is what the OP is seeing. I am only able to reproduce the error when build_arch is i386 on a 64-bit Mac. When build_arch is its default x86_64, or when building an x86_64/i386 universal binary, the port installs fine.

Changed 2 years ago by ryandesign@…

  Changed 17 months ago by ryandesign@…

Has duplicate #26400.

  Changed 17 months ago by jonathan.hayward@…

  • cc jonathan.hayward@… added

Cc Me!

  Changed 14 months ago by jmr@…

  • summary changed from glib1 build fails on snow leopard migration to glib1 fails to build for i386 on x86_64 systems

  Changed 4 months ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r84811 using a patch like the one submitted for libpano13 in #25828.

Note: See TracTickets for help on using tickets.