Opened 15 years ago

Closed 13 years ago

#21413 closed defect (fixed)

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 (Ryan Carsten Schmidt), jonathan.hayward@…
Port: glib1

Description (last modified by tobypeterson)

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 (2)

ports.txt (4.7 KB) - added by lordmortis@… 15 years ago.
List of ports installed
glib1.txt (54.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (13)

Changed 15 years ago by lordmortis@…

Attachment: ports.txt added

List of ports installed

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Port: glib1 added
Summary: glib1 build fails on snow leopard auto-migratglib1 build fails on snow leopard migration

comment:3 Changed 15 years ago by jmroot (Joshua Root)

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

comment:4 Changed 15 years ago by highwayoflife@…

Cc: highwayoflife@… added

Cc Me!

comment:5 Changed 15 years ago by highwayoflife@…

Is this related to #21506?

comment:6 Changed 15 years ago by tobypeterson

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

comment:7 in reply to:  3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: glib1.txt added

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

Has duplicate #26400.

comment:9 Changed 14 years ago by jonathan.hayward@…

Cc: jonathan.hayward@… added

Cc Me!

comment:10 Changed 14 years ago by jmroot (Joshua Root)

Summary: glib1 build fails on snow leopard migrationglib1 fails to build for i386 on x86_64 systems

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

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.