Bug 201537 - textproc/turboxsl: Fails to link with devel/concurrencykit on i386
Summary: textproc/turboxsl: Fails to link with devel/concurrencykit on i386
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: Hiroki Sato
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-07-13 18:52 UTC by Dmitry Marakasov
Modified: 2015-08-05 14:00 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-07-13 18:52:54 UTC
At least textproc/turboxsl seem to be broken because of concurrencykit on i386:

--- turboxsltproc ---
/bin/sh ../libtool  --tag=CC    --mode=link cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing   -L/usr/local/lib -fstack-protector -o turboxsltproc turboxsltproc.o ../src/libturboxsl.la
libtool: link: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -o .libs/turboxsltproc turboxsltproc.o  -L/usr/local/lib ../src/.libs/libturboxsl.so -lpthread -lm -lmemcached -lck -Wl,-rpath -Wl,/usr/local/lib
../src/.libs/libturboxsl.so: undefined reference to `ck_ht_init'
../src/.libs/libturboxsl.so: undefined reference to `ck_ht_hash'
../src/.libs/libturboxsl.so: undefined reference to `ck_ht_get_spmc'
../src/.libs/libturboxsl.so: undefined reference to `ck_ht_put_spmc'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [turboxsltproc] Error code 1

Although -lck is linked, it doesn't seem to contain needed symbols
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-07-17 14:03:44 UTC
Dimitry, can you attach a full build log and include the uname -a output of the build system please
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-07-18 16:52:01 UTC
A commit references this bug:

Author: hrs
Date: Sat Jul 18 16:51:15 UTC 2015
New revision: 392433
URL: https://svnweb.freebsd.org/changeset/ports/392433

Log:
  - Mark IGNORE on 32-bit platforms for now[*].
  - Add missing USE_LDCONFIG.
  - Regenerate patch files to make portlint happy.

  PR:	201537

Changes:
  head/textproc/turboxsl/Makefile
  head/textproc/turboxsl/files/patch-Makefile.am
  head/textproc/turboxsl/files/patch-configure.ac
  head/textproc/turboxsl/files/patch-src-zlog-src-category.c
  head/textproc/turboxsl/files/patch-src-zlog-src-category_table.c
  head/textproc/turboxsl/files/patch-src-zlog-src-event.c
  head/textproc/turboxsl/files/patch-src-zlog-src-record_table.c
  head/textproc/turboxsl/files/patch-src-zlog-src-rotater.c
  head/textproc/turboxsl/files/patch-src-zlog-src-rule.c
  head/textproc/turboxsl/files/patch-src-zlog-src-zc_util.c
  head/textproc/turboxsl/files/patch-src-zlog-src-zc_xplatform.h
Comment 3 Hiroki Sato freebsd_committer freebsd_triage 2015-07-18 17:00:07 UTC
I did not notice it but ck_ht_* APIs in concurrencykit were intentionally  disabled on 32-bit platforms.  I added ONLY_FOR_ARCHS to textproc/turboxsl as workaround.  While I am not sure how many packages depend on libck and use ck_ht APIs, if any, they need a similar workaround on i386 build at this moment.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2015-08-05 14:00:30 UTC
The issue has been fixed in the reported dependent port (textproc/turboxsl) and it has been identified that the removal of ck_ht_* for i386 platforms was intentional.

I suggest contacting the maintainer for further information if you would like to continue to progress the issue.

Thank you for the report Dmitry!

Assign to committer that resolved the issue