Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#57874 closed defect (fixed)

bitkeeper @7.3.3: numerous ignored build errors, destroot failure

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dave@…
Port: bitkeeper

Description

As mentioned on the mailing list, bitkeeper fails to destroot. It also encounters numerous build errors which the build system ignores.

I'm attaching my log file from High Sierra. The build errors I see include:

:info:build Makefile:46: conf.mk: No such file or directory
:info:build fslayer/Makefile:21: fslayer/fslayer.makefile: No such file or directory
:info:build bk get -qS system.h
:info:build make[3]: bk: No such file or directory
:info:build make[3]: [system.h] Error 1 (ignored)
:info:build bk: Cannot find product root.
:info:build here: must be in a nested repository
:info:build make[6]: [populate] Error 1 (ignored)
:info:build cd tcl && ../Lversion-L.sh >library/Lver.tcl
:info:build ../Lversion-L.sh: line 2: bk: command not found
:info:build ../Lversion-L.sh: line 2: bk: command not found
:info:build ../Lversion-L.sh: line 2: bk: command not found
:info:build ../Lversion-L.sh: line 2: bk: command not found
:info:build cd tcl && ../Lversion-C.sh >generic/Lver.h
:info:build ../Lversion-C.sh: line 2: bk: command not found
:info:build ../Lversion-C.sh: line 2: bk: command not found
:info:build ../Lversion-C.sh: line 2: bk: command not found
:info:build ../Lversion-C.sh: line 2: bk: command not found
:info:build bk tclsh ./pod2html.l --title="L Programmer's Reference Guide" \
:info:build 	    --template=template.html -- little.doc > little.html
:info:build /bin/sh: bk: command not found
:info:build make[8]: [little.html] Error 127 (ignored)
:info:build bk get mkapp
:info:build make[6]: bk: No such file or directory
:info:build make[6]: [mkapp] Error 1 (ignored)
:info:build bk: Cannot find package root.
:info:build bk: Cannot find product root.
:info:build mkdir: /build: No such file or directory
:info:build chmod: /build/obj: No such file or directory
:info:build /bin/sh: /build/obj/tcltk-OIAU5Cax5QUV3cV9iG8ztg.tgz: No such file or directory
:info:build chmod: /build/obj/tcltk-OIAU5Cax5QUV3cV9iG8ztg.tgz: No such file or directory
:info:build make[6]: [install] Error 1 (ignored)

The destroot phase finally fails with:

:info:destroot ../../src/bk tclsh ../bin/pod2html.l \
:info:destroot 		--title="BitKeeper Nested Overview" \
:info:destroot 	    --template=../www/template.html -- nested.doc > ../www/nested.html
:info:destroot invalid command name "/*"
:info:destroot     while executing
:info:destroot "/*"
:info:destroot     (file "../bin/pod2html.l" line 2)
:info:destroot make[2]: *** [../www/nested.html] Error 1

It evidently expects pod2html.l to be a tclsh file, but it appears to be a C file.

Attachments (2)

main.log.bz2 (39.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 6 years ago.
patch-rename-macosx-macro.diff (3.2 KB) - added by l2dy (Zero King) 6 years ago.

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 6 years ago by l2dy (Zero King)

On macOS <= 10.13, it was successfully built on our Buildbot and Travis CI: https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/81864, https://travis-ci.org/macports/macports-ports/builds/475592044. But on macOS 10.14 (not on Travis CI yet), it failed on our Buildbot with the errors you provided: https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/20847.

comment:2 in reply to:  1 ; Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to l2dy:

On macOS <= 10.13, it was successfully built on our Buildbot and Travis CI:

Hmm, well it failed on 10.13 on my machine, per the attached log.

Changed 6 years ago by l2dy (Zero King)

comment:3 Changed 6 years ago by l2dy (Zero King)

On macOS 10.14, the above patch fixes following build errors, but destroot still fails.

[...]
In file included from utils/stackdump.c:21:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/execinfo.h:56:1: error: expected ','
API_AVAILABLE(macosx(10.14), ios(12.0), tvos(12.0), watchos(5.0))
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/availability.h:61:106: note: expanded from macro 'API_AVAILABLE'
    #define API_AVAILABLE(...) __API_AVAILABLE_GET_MACRO(__VA_ARGS__,__API_AVAILABLE6, __API_AVAILABLE5, __API_AVAILABLE4, __API_AVAILABLE3, __API_AVAILABLE2, __API_AVAILABLE1, 0)(__VA_ARGS__)
                                                                                                         ^
2 warnings and 4 errors generated.
Last edited 6 years ago by l2dy (Zero King) (previous) (diff)

comment:4 in reply to:  description Changed 6 years ago by l2dy (Zero King)

Replying to ryandesign:

It evidently expects pod2html.l to be a tclsh file, but it appears to be a C file.

It's actually a Little program.

comment:5 in reply to:  2 ; Changed 6 years ago by l2dy (Zero King)

Replying to ryandesign:

Replying to l2dy:

On macOS <= 10.13, it was successfully built on our Buildbot and Travis CI:

Hmm, well it failed on 10.13 on my machine, per the attached log.

Does your machine happen to have no CLT installed?

comment:6 in reply to:  5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: bitkeeper @7.7.3: numerous ignored build errors, destroot failurebitkeeper @7.3.3: numerous ignored build errors, destroot failure

Replying to l2dy:

Replying to ryandesign:

Hmm, well it failed on 10.13 on my machine, per the attached log.

Does your machine happen to have no CLT installed?

I have the command line tools installed.

comment:7 Changed 5 years ago by l2dy (Zero King)

See also https://users.bitkeeper.org/t/mac-download-link-broken/1120.

The company that created BitKeeper has ended and every has moved on to other employment. No idea how many people are still using BitKeeper, but I know it is stable for a couple big commercial groups.

On this Mac link we are a victim of the BitKeeper culture. We only want to make the ‘right’ fix and so it is better to leave something obviously broken rather than apply and incorrect bandaid and hide the problem. I am 100% linux and so can’t address the Mac issues.

Last edited 5 years ago by l2dy (Zero King) (previous) (diff)

comment:8 Changed 5 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed

In 146671ee32fa4a9e6fc240244e2186e1c3af6742/macports-ports (master):

bitkeeper: fix build

Fixes: #57874

comment:9 Changed 5 years ago by l2dy (Zero King)

Build errors have been fixed. Some docs are missing, but basic functionality works on macOS 10.14 now.

Last edited 5 years ago by l2dy (Zero King) (previous) (diff)
Note: See TracTickets for help on using tickets.