Bug 251493 - net-im/toxic 0.10.0 fails to build with linker error
Summary: net-im/toxic 0.10.0 fails to build with linker error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 19:48 UTC by p5B2EA84B3
Modified: 2020-11-30 20:59 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (thierry)


Attachments
Poudriere build log (24.65 KB, text/plain)
2020-11-30 19:48 UTC, p5B2EA84B3
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2020-11-30 19:48:01 UTC
Created attachment 220114 [details]
Poudriere build log

Saw same failure with version 0.9.0 with X11=off


=======================<phase: build          >============================
===>  Building for toxic-0.10.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0'
  CC    autocomplete.o
  CC    avatars.o
  CC    bootstrap.o
  CC    chat.o
  CC    chat_commands.o
  CC    configdir.o
  CC    curl_util.o
  CC    execute.o
  CC    file_transfers.o
  CC    friendlist.o
  CC    global_commands.o
  CC    conference_commands.o
  CC    conference.o
  CC    help.o
  CC    input.o
  CC    line_info.o
  CC    log.o
  CC    message_queue.o
  CC    misc_tools.o
  CC    name_lookup.o
  CC    notify.o
  CC    prompt.o
  CC    qr_code.o
  CC    settings.o
  CC    term_mplex.o
  CC    toxic.o
  CC    toxic_strings.o
  CC    windows.o
  CC    audio_call.o
  CC    audio_device.o
  LD    toxic
ld: error: undefined symbol: pthread_create
>>> referenced by bootstrap.c:577 (src/bootstrap.c:577)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/bootstrap.o:(load_DHT_nodeslist)
>>> referenced by name_lookup.c:397 (src/name_lookup.c:397)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/name_lookup.o:(name_lookup)
>>> referenced by notify.c:443 (src/notify.c:443)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/notify.o:(init_notify)
>>> referenced by term_mplex.c:454 (src/term_mplex.c:454)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/term_mplex.o:(init_mplex_away_timer)
>>> referenced by toxic.c:1448 (src/toxic.c:1448)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/toxic.o:(main)
>>> referenced by toxic.c:1464 (src/toxic.c:1464)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/toxic.o:(main)
>>> referenced by toxic.c:1469 (src/toxic.c:1469)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/toxic.o:(main)
>>> referenced by audio_device.c:153 (src/audio_device.c:153)
>>>               /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/audio_device.o:(init_devices)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:80: /wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0/build/toxic] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-im/toxic/work/toxic-0.10.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/toxic
=>> Cleaning up wrkdir
===>  Cleaning for toxic-0.10.0
build of net-im/toxic | toxic-0.10.0 ended at Mon Nov 30 20:35:01 CET 2020
build time: 00:00:14
!!! build failure encountered !!!
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2020-11-30 20:58:42 UTC
Fixed, thanks for the report!
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-11-30 20:59:20 UTC
A commit references this bug:

Author: thierry
Date: Mon Nov 30 20:58:39 UTC 2020
New revision: 556677
URL: https://svnweb.freebsd.org/changeset/ports/556677

Log:
  Fix linkage when X11 is disabled.

  PR:		251493
  Submitted by:	p5B2E9A8F (at) t-online.de

Changes:
  head/net-im/toxic/Makefile