Opened 2 years ago

Closed 2 years ago

#66055 closed defect (fixed)

dzip build failure: Undefined symbols: "_static_assert"

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard, mountainlion Cc:
Port:

Description

Undefined symbols:
  "_static_assert", referenced from:
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _create_clientdata_msg in decode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_clientdata in encode.c.o
      _dem_sound in encode.c.o
      _diff_entities in encode.c.o
      _diff_entities in encode.c.o
      _diff_entities in encode.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [dzip] Error 1

Same error on 10.6 PPC.

Attachments (1)

main.log (126.4 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by barracuda156

Also fails on 10.8.5:

Undefined symbols for architecture x86_64:
  "_static_assert", referenced from:
      _create_clientdata_msg in decode.c.o
      _dem_sound in encode.c.o
      _dem_clientdata in encode.c.o
      _diff_entities in encode.c.o
ld: symbol(s) not found for architecture x86_64

comment:2 Changed 2 years ago by barracuda156

Opened an issue with upstream: https://github.com/kugelrund/dzip/issues/2

comment:3 Changed 2 years ago by barracuda156

Keywords: mountainlion added; powerpc rosetta removed
Summary: dzip fails to build on 10.6.8: Undefined symbols: "_static_assert"dzip build failure: Undefined symbols: "_static_assert"

comment:4 Changed 2 years ago by kencu (Ken)

this is fixed in legacy-support-devel already.

https://github.com/macports/macports-legacy-support/commit/34588ddd014e7d8cd535a1574727f3513babe250

it will be in the usual "legacy-support' once there is enough for a new release (ie once @catap finishes the clang math fixes I guess).

If you don't have legacy-support-devel, you could install that.

If this port isn't using legacy-support, you could add it.

comment:5 in reply to:  4 Changed 2 years ago by barracuda156

Replying to kencu:

this is fixed in legacy-support-devel already.

Thank you!

(Sorry, my stupidity, I forgot to add PG on 10.6 PPC, then after it failed on 10.8.5, realized that LOL. All is good on all OSs.)

Last edited 2 years ago by barracuda156 (previous) (diff)

comment:6 Changed 2 years ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In e872d1a544a1f74bed8ecb46aacf25f1a9ae5402/macports-ports (master):

dzip: use legacysupport PG
Fixes: #66055

Note: See TracTickets for help on using tickets.