[MacPorts] #70654: cpi00 uses unsupported linker flags: err: ld: unknown option: -Bstatic
MacPorts
noreply at macports.org
Wed Aug 28 23:04:41 UTC 2024
#70654: cpi00 uses unsupported linker flags: err: ld: unknown option: -Bstatic
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: cpi00
--------------------------+--------------------
{{{
---> Configuring cpi00
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00"
&& /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --nocache
Setting top to :
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00
Setting out to :
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/build
Checking for 'g++' (c++ compiler) : ccache /usr/bin/g++-4.2
Unpacking gtest : yes
Checking for library pthread : not found
The configuration failed
(complete log in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/build/config.log)
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00"
&& /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --nocache
Exit code: 1
Error: Failed to configure cpi00: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port cpi00 failed
}}}
Config log:
{{{
# project cpi00 (0.0.1) configured on Thu Aug 29 07:02:07 2024 by
# waf 1.6.7 (abi 98, python 20712f0 on darwin)
# using ./waf configure --prefix=/opt/local --nocache
#
----------------------------------------
Setting top to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00
----------------------------------------
Setting out to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/build
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths='' var='CXX' -> 'ccache
/usr/bin/g++-4.2'
find program=['ar'] paths=['/opt/local/bin', '/opt/local/sbin', '/bin',
'/sbin', '/usr/bin', '/usr/sbin'] var='AR' -> '/opt/local/bin/ar'
ccache /usr/bin/g++-4.2
----------------------------------------
Unpacking gtest
yes
----------------------------------------
Checking for library pthread
==>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_381cf42f6fd4452c31865cc181a1383c/test.cpp ->
build/.conf_check_381cf42f6fd4452c31865cc181a1383c/testbuild/test.cpp.1.o
['ccache', '/usr/bin/g++-4.2', '-I/opt/local/include', '-pipe', '-Os',
'-arch', 'ppc', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram:
build/.conf_check_381cf42f6fd4452c31865cc181a1383c/testbuild/test.cpp.1.o
-> build/.conf_check_381cf42f6fd4452c31865cc181a1383c/testbuild/testprog
['ccache', '/usr/bin/g++-4.2', 'test.cpp.1.o', '-o',
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/build/.conf_check_381cf42f6fd4452c31865cc181a1383c/testbuild/testprog',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-L/opt/local/lib',
'-Wl,-headerpad_max_install_names', '-arch', 'ppc']
err: ld: unknown option: -Bstatic
collect2: ld returned 1 exit status
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00:
Test does not build: Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Tools/c_config.py",
line 435, in run_c_code
bld.compile()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Build.py",
line 193, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 48824944: cxxprogram test.cpp.1.o -> testprog}
['ccache', '/usr/bin/g++-4.2', 'test.cpp.1.o', '-o',
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00/build/.conf_check_381cf42f6fd4452c31865cc181a1383c/testbuild/testprog',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-L/opt/local/lib',
'-Wl,-headerpad_max_install_names', '-arch', 'ppc']
not found
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_cpi00/cpi00/work/cpi00:
The configuration failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70654>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list