Bug 211366 - net/netatalk3: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Summary: net/netatalk3: relocation R_X86_64_32S against `a local symbol' can not be us...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 15:51 UTC by Mathieu Arnold
Modified: 2016-08-04 12:37 UTC (History)
0 users

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


Attachments
netatalk3-3.1.9,1.log (57.69 KB, text/plain)
2016-07-25 15:51 UTC, Mathieu Arnold
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2016-07-25 15:51:35 UTC
Created attachment 172972 [details]
netatalk3-3.1.9,1.log

It has been failing to build for a few weeks now.

===> The following configuration options are available for netatalk3-3.1.9,1:
     ACL=off: Enable ACL support
     DBUS=on: D-Bus IPC system support
     KERBEROS=on: Kerberos support
     KRB5=off: Enable Kerberos V UAM
     LDAP=off: LDAP protocol support
     MYSQL=off: Enable MySQL CNID backend support
     PAM=off: Pluggable authentication module support
     SENDFILE=on: Enable Sendfile support
     TCPWRAP=on: Enable TCP Wrappers support
====> Options available for the radio ZEROCONF: you can only select none or one of them
     AVAHI=on: Zeroconf support via Avahi
     MDNSRESPONDER=off: Zeroconf support via mDNSResponder
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-07-25 23:15:15 UTC
I can't reproduce on 10-STABLE.  Please post the config.log.
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2016-07-26 12:29:59 UTC
The full workdir is available there http://pkg.absolight.net/wrkdirs/10amd64-pkgng-default/pkgng/netatalk3-3.1.9,1.txz

I can try to extract the config.log from it if you can't.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-07-26 15:43:13 UTC
This should be fixed now.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-07-26 15:43:26 UTC
A commit references this bug:

Author: marcus
Date: Tue Jul 26 15:42:45 UTC 2016
New revision: 419119
URL: https://svnweb.freebsd.org/changeset/ports/419119

Log:
  Remove -L from CFLAGS (and add it to LDFLAGS) to fix a build issue on 10.1.

  PR:		211366

Changes:
  head/net/netatalk3/Makefile
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2016-07-26 17:37:13 UTC
Mmm, no, still failing, same error:

https://pkg.absolight.fr/data/10amd64-pkgng-default/20160726T192856Z/logs/errors/netatalk3-3.1.9,1.log

(same url for the wrkdir)
Comment 6 Joe Marcus Clarke freebsd_committer freebsd_triage 2016-07-26 18:07:59 UTC
I'm baffled.  If you look at the compiler line in the log, it doesn't contain "-L/usr/local/lib" anywhere.  I don't see where it's coming from.  Can you reproduce this outside of poudriere?
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-07-27 19:11:59 UTC
A commit references this bug:

Author: feld
Date: Wed Jul 27 19:11:51 UTC 2016
New revision: 419191
URL: https://svnweb.freebsd.org/changeset/ports/419191

Log:
  MFH: r419119

  Remove -L from CFLAGS (and add it to LDFLAGS) to fix a build issue on 10.1.

  PR:		211366

  Approved by:	ports-secteam (with hat)

Changes:
_U  branches/2016Q3/
  branches/2016Q3/net/netatalk3/Makefile
Comment 8 Mathieu Arnold freebsd_committer freebsd_triage 2016-08-04 12:37:04 UTC
Mmmm, I'm going to close this, because now it builds fine for me.  It was failing for the 20160726T192856Z build, and on the next build, 20160803T151307Z it worked all right.

http://pkg.absolight.net/data/10amd64-pkgng-default/20160726T192856Z/logs/errors/netatalk3-3.1.9,1.log
http://pkg.absolight.net/data/10amd64-pkgng-default/20160803T151307Z/logs/netatalk3-3.1.9,1.log

Looking at the log diff, the only significant change is during the configure stage:

-checking if cc PIC flag -fPIC -DPIC works... no
+checking if cc PIC flag -fPIC -DPIC works... yes