embeddedartistry / libmemory

Embedded systems memory management library. Implementations for malloc(), free(), and other useful memory management functions
https://embeddedartistry.com
MIT License
216 stars 44 forks source link

ea-ci/libmemory/PR-4-merge: Build failure #5

Closed phillipjohnston closed 7 years ago

phillipjohnston commented 7 years ago

Build 'ea-ci/libmemory/PR-4-merge' is failing!

Last 50 lines of build output:

[...truncated 11.99 KB...]
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/malloc_freelist.c:154:56: error: no member named 'block' in 'alloc_node_t'
        blk->size = (uintptr_t)addr + size - (uintptr_t)blk - ALLOC_HEADER_SZ;
                                                              ^~~~~~~~~~~~~~~
../../src/malloc_freelist.c:36:48: note: expanded from macro 'ALLOC_HEADER_SZ'
#define ALLOC_HEADER_SZ offsetof(alloc_node_t, block)
                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../dependencies/lib/linkedlist/ll.h:13:56: note: expanded from macro 'offsetof'
#define offsetof(TYPE, MEMBER) ((size_t) & ((TYPE*)0)->MEMBER)
                                           ~~~~~~~~~~  ^
11 errors generated.
make[2]: *** [obj/x86_64/debug/libmalloc_freelist/malloc_freelist.o] Error 1
make[1]: *** [libmalloc_freelist] Error 2
make: *** [build] Error 2
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Format)
Stage 'Format' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Gathering SCM changes
[Pipeline] slackSend
run slackstepsend, step null:false, desc KywGMjF0sBstgPYC2Lqjhzyy:false
Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: true, token: true, channel: true, color: false
ERROR: Slack notification failed. See Jenkins logs for details.
[Pipeline] echo
Setting config
[Pipeline] sh
[ea-ci_libmemory_PR-4-merge-BVXPTERKN44OGIX4WIBWAJZW7WZVOKVHFCSQVT3NBJMQUAG2BTFQ] Running shell script
+ git config --get remote.origin.url
[Pipeline] readFile
[Pipeline] echo
Started with URL: https://github.com/embeddedartistry/libmemory.git
[Pipeline] echo
Ended with url: https://github.com/embeddedartistry/libmemory
[Pipeline] echo
GitHubPluginConfig for credential 4c01f168-ca25-483e-bc6d-8d105fc5fb70
[Pipeline] echo
Registering GithubProjectProperty
[Pipeline] properties
[Pipeline] echo
Filing issue (outer)
[Pipeline] echo
Filing GitHub issue for build failure
[Pipeline] step

Changes since last successful build: No changes

View full output

phillipjohnston commented 7 years ago

Build 'ea-ci/libmemory/PR-4-merge' is failing!

Last 50 lines of build output:

[...truncated 11.99 KB...]
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/malloc_freelist.c:154:56: error: no member named 'block' in 'alloc_node_t'
        blk->size = (uintptr_t)addr + size - (uintptr_t)blk - ALLOC_HEADER_SZ;
                                                              ^~~~~~~~~~~~~~~
../../src/malloc_freelist.c:36:48: note: expanded from macro 'ALLOC_HEADER_SZ'
#define ALLOC_HEADER_SZ offsetof(alloc_node_t, block)
                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../../dependencies/lib/linkedlist/ll.h:13:56: note: expanded from macro 'offsetof'
#define offsetof(TYPE, MEMBER) ((size_t) & ((TYPE*)0)->MEMBER)
                                           ~~~~~~~~~~  ^
11 errors generated.
make[2]: *** [obj/x86_64/debug/libmalloc_freelist/malloc_freelist.o] Error 1
make[1]: *** [libmalloc_freelist] Error 2
make: *** [build] Error 2
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Format)
Stage 'Format' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Gathering SCM changes
[Pipeline] slackSend
run slackstepsend, step null:false, desc KywGMjF0sBstgPYC2Lqjhzyy:false
Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: true, token: true, channel: true, color: false
ERROR: Slack notification failed. See Jenkins logs for details.
[Pipeline] echo
Setting config
[Pipeline] sh
[ea-ci_libmemory_PR-4-merge-BVXPTERKN44OGIX4WIBWAJZW7WZVOKVHFCSQVT3NBJMQUAG2BTFQ] Running shell script
+ git config --get remote.origin.url
[Pipeline] readFile
[Pipeline] echo
Started with URL: https://github.com/embeddedartistry/libmemory.git
[Pipeline] echo
Ended with url: https://github.com/embeddedartistry/libmemory
[Pipeline] echo
GitHubPluginConfig for credential 4c01f168-ca25-483e-bc6d-8d105fc5fb70
[Pipeline] echo
Registering GithubProjectProperty
[Pipeline] properties
[Pipeline] echo
Filing issue (outer)
[Pipeline] echo
Filing GitHub issue for build failure
[Pipeline] step

Changes since last successful build: No changes

No changes

View full output

phillipjohnston commented 7 years ago

Closing test issue.