Bug 268064 - lang/tcl86 Installation fails for version 8.6.13
Summary: lang/tcl86 Installation fails for version 8.6.13
Status: Closed DUPLICATE of bug 270768
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-tcltk (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-29 21:24 UTC by Philippe Michel
Modified: 2023-04-13 15:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Michel 2022-11-29 21:24:09 UTC
Updating tcl86 from 8.6.12 to 8.6.13 on 13.1-STABLE

OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=DTRACE
OPTIONS_FILE_UNSET+=TCLMAN
OPTIONS_FILE_SET+=THREADS
OPTIONS_FILE_UNSET+=TZDATA

portmaster fails at this point:

===>   Generating temporary packing list
/usr/bin/make install-binaries install-msgs  install-headers    INSTALL_PROGRAM="/bin/sh /usr/ports/lang/tcl86/work/tcl8.6.13/unix/install-sh -c -s"  INSTALL_LIBRARY="/bin/sh /usr/ports/lang/tcl86/work/tcl8.6.13/unix/install-sh -c -S -x"
Making directory /usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6
Installing libtcl86.so.1 to /usr/ports/lang/tcl86/work/stage/usr/local/lib/
Installing libtcl86.a to /usr/ports/lang/tcl86/work/stage/usr/local/lib
Installing tclsh as /usr/ports/lang/tcl86/work/stage/usr/local/bin/tclsh8.6
Installing tclConfig.sh to /usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6/
Installing tclooConfig.sh to /usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6/
Installing libtclstub86.a to /usr/ports/lang/tcl86/work/stage/usr/local/lib/
strip: error: '/usr/ports/lang/tcl86/work/stage/usr/local/lib/_inst.57054_': not stripping symbol '.L.str.1' because it is named in a relocation
*** Error code 1
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2022-11-30 08:00:01 UTC
Is this amd64?
Comment 2 Philippe Michel 2022-12-01 19:55:57 UTC
Yes, amd64.
Comment 3 Philippe Michel 2022-12-17 20:01:46 UTC
I worked around the issue by changing
INSTALL_TARGET= install-strip install-libraries install-private-headers
to
INSTALL_TARGET= install install-libraries install-private-headers
in /usr/ports/lang/tcl86/Makefile

I checked that install-strip was already used in 8.6.12 so the root cause of the issue is elsewhere.
Comment 4 Ed Maste freebsd_committer freebsd_triage 2023-04-11 22:56:55 UTC
This sounds like you built a system with WITH_LLVM_BINUTILS in src.conf. See PR270768
Comment 5 Pietro Cerutti freebsd_committer freebsd_triage 2023-04-13 15:13:32 UTC

*** This bug has been marked as a duplicate of bug 270768 ***
Comment 6 Pietro Cerutti freebsd_committer freebsd_triage 2023-04-13 15:14:06 UTC
I'm closing this as duplicate and keeping 270768 open just because it has more details.