Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make check fails with Alpine Linux #2

Closed
systmkor opened this issue Jun 22, 2015 · 7 comments
Closed

make check fails with Alpine Linux #2

systmkor opened this issue Jun 22, 2015 · 7 comments

Comments

@systmkor
Copy link

Compiling and running the latest commit in master branch.

System Info

  • Distro - Alpine Linux 3.2
  • LibC - MUSL
  • CC - GCC 4.9.2
  • Shell - ZSH 5.0.7

Log

======================================
   fwup 0.3.0: tests/test-suite.log
======================================

# TOTAL: 28
# PASS:  26
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: 004_env_vars
==================

fwup: can't open file-resource '/home/admin/src/fwup/tests/work/${TEST_ENV_VAR}'
FAIL 004_env_vars.test (exit status: 1)

FAIL: 005_define
================

fwup: can't open file-resource '/home/admin/src/fwup/tests/work/${TEST_DEFINE}'
FAIL 005_define.test (exit status: 1)

@fhunleth
Copy link
Collaborator

Do you know which version of libconfuse that you're using? See https://github.com/fhunleth/fwup#building. It really sounds like the libconfuse bug.

@systmkor
Copy link
Author

@fhunleth current version of confuse is 2.7 on Alpine. I take it it's a more recent revisions that fixes the bug? Should I build from their repository?

@fhunleth
Copy link
Collaborator

@systmkor I just checked https://github.com/martinh/libconfuse, and it still doesn't look like there's a new release tag (over a year since the fix was integrated). I've submitted an issue libconfuse/libconfuse#23 in hopes that the maintainer will make an official release. For now, you'll need to build from their repository.

@systmkor
Copy link
Author

@fhunleth Thanks 👍 I tried compiling from the github libconfuse head commit however it fails (i.e. the searchpath test results in a segmentation fault) when running make check

@fhunleth
Copy link
Collaborator

@systmkor Ugh. Are you running ./configure like at http://git.alpinelinux.org/cgit/aports/tree/main/confuse/APKBUILD? (Sorry - I'm just guessing right now since I haven't used Alpine Linux.)

@systmkor
Copy link
Author

@fhunleth tl;dr yes. I didn't check the configuration options since I didn't want to break other programs that depended upon that package. 👏 your google-fu 😄 I assume I need to change the ./confugre options. Also the libconfuse make check fails with and without those ./configure options.

fhunleth added a commit that referenced this issue Oct 21, 2015
@fhunleth fhunleth changed the title Test Suit Failure make check fails with Alpine Linux Dec 2, 2015
@fhunleth
Copy link
Collaborator

Closing old issue. Hopefully fwup works on Alpine now, but if not, I would assume it to be a new issue since libconfuse is at 3.0 upstream now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants