Ticket #481 (closed defect: wontfix)
Opened 5 years ago
Last modified 4 years ago
Error while building mercurial with gcc4
| Reported by: | mbaluta | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-vcs/mercurial | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
copying mercurial/templates/static/style-coal.css -> build/lib.haiku-1-BePC-2.6/mercurial/templates/static
copying mercurial/templates/static/style-gitweb.css -> build/lib.haiku-1-BePC-2.6/mercurial/templates/static
copying mercurial/templates/static/style-monoblue.css -> build/lib.haiku-1-BePC-2.6/mercurial/templates/static
copying mercurial/templates/static/style-paper.css -> build/lib.haiku-1-BePC-2.6/mercurial/templates/static
copying mercurial/templates/static/style.css -> build/lib.haiku-1-BePC-2.6/mercurial/templates/static
running build_ext
building 'mercurial.base85' extension
creating build/temp.haiku-1-BePC-2.6
creating build/temp.haiku-1-BePC-2.6/mercurial
gcc -fno-strict-aliasing -I/boot/develop/headers/3rdparty -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/boot/common/include/python2.6 -c mercurial/base85.c -o build/temp.haiku-1-BePC-2.6/mercurial/base85.o
gcc -shared build/temp.haiku-1-BePC-2.6/mercurial/base85.o -lpython2.6 -o build/lib.haiku-1-BePC-2.6/mercurial/base85.so
/boot/develop/abi/x86/gcc4/tools/gcc-4.4.4-haiku-101111/lib/gcc/i586-pc-haiku/4.4.4/../../../../i586-pc-haiku/bin/ld: cannot find -lpython2.6
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Traceback (most recent call last):
File "/boot/common/bin/haikuporter", line 1492, in <module>
haikuporter = HaikuPorter(options, args)
File "/boot/common/bin/haikuporter", line 339, in __init__
self.buildPort() # build
File "/boot/common/bin/haikuporter", line 882, in buildPort
self.runCommandSequence(self.bepKeys['BUILD'], self.workDir)
File "/boot/common/bin/haikuporter", line 1127, in runCommandSequence
check_call(commandString, shell=True, cwd=dir, env=shellEnv)
File "/boot/common/lib/python2.6/subprocess.py", line 488, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'set -e
cd mercurial-1.6
python setup.py build --force
' returned non-zero exit status 1
Using gcc4
Change History
comment:1 Changed 5 years ago by scottmc
comment:2 Changed 5 years ago by mbaluta
I've reinstalled python with installoptionalpackage, but still get the same error.
comment:3 Changed 5 years ago by mbaluta
Changed to gcc2 and there are no problems.
comment:4 Changed 5 years ago by scottmc
- Summary changed from Error while building mercurial to Error while building mercurial with gcc4
ok, so changing the summary to reflect the build issue is only with gcc4
comment:5 Changed 4 years ago by scottmc
- Component changed from default to dev-vcs/mercurial
- Owner set to scottmc
comment:6 Changed 4 years ago by scottmc
- Resolution set to wontfix
- Status changed from new to closed
haikuporter -c -d mercurial-1.7.3 builds just fine on a plain gcc4 Haiku r40978.
So this could be a hybrid issue with Haiku.
Note: See
TracTickets for help on using
tickets.

it looks like maybe your python install got messed up. Perhaps try reinstalling it was installoptionalpackage? You might have to remove it from the installed list and then try to reinstall it.