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

Add libeb/4.4.3 recipe #12125

Closed
wants to merge 2 commits into from
Closed

Conversation

tuduongquyet
Copy link
Contributor

@tuduongquyet tuduongquyet commented Aug 10, 2022

Name: libeb
About: Library for managing EB/EB-G/EB-XA ebooks
Repo: https://github.com/mistydemeo/eb
Version 4.4.3


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 2 (3f6d4059c2cde60880e25a559125c6129bb4fe09):

  • libeb/4.4.3@:
    CI failed to create some packages (All logs)

    Logs for packageID 0948874f31002d33bb70a89e2b654318ef506f3e:
    [settings]
    arch=armv8
    build_type=Debug
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=12.0
    os=Macos
    [options]
    libeb:shared=False
    
    [...]
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    libeb/4.4.3: Copying sources to build folder
    libeb/4.4.3: Building your package in /Users/jenkins/w/prod/BuildSingleReference/.conan/data/libeb/4.4.3/_/_/build/0948874f31002d33bb70a89e2b654318ef506f3e
    libeb/4.4.3: Generator txt created conanbuildinfo.txt
    libeb/4.4.3: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    libeb/4.4.3: Calling build()
    libeb/4.4.3: Calling:
     > source_subfolder/configure '--enable-shared=no' '--enable-static=yes' '--enable-pthread=no' '--enable-ebnet=yes' '--enable-ipv6=yes' '--enable-samples=no' '--prefix=/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libeb/4.4.3/_/_/package/0948874f31002d33bb70a89e2b654318ef506f3e' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-apple-darwin --host=aarch64-apple-darwin
    
    ----Running------
    > source_subfolder/configure '--enable-shared=no' '--enable-static=yes' '--enable-pthread=no' '--enable-ebnet=yes' '--enable-ipv6=yes' '--enable-samples=no' '--prefix=/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libeb/4.4.3/_/_/package/0948874f31002d33bb70a89e2b654318ef506f3e' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-apple-darwin --host=aarch64-apple-darwin
    -----------------
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... source_subfolder/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking for aarch64-apple-darwin-strip... no
    checking for strip... strip
    checking for aarch64-apple-darwin-gcc... no
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... yes
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... x86_64-apple-darwin
    checking host system type... libeb/4.4.3: 
    configure: WARNING: using cross tools not prefixed with host triplet
    Invalid configuration `aarch64-apple-darwin': machine `aarch64-apple' not recognized
    configure: error: /bin/sh source_subfolder/config.sub aarch64-apple-darwin failed
    libeb/4.4.3: ERROR: Package '0948874f31002d33bb70a89e2b654318ef506f3e' build failed
    libeb/4.4.3: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference/.conan/data/libeb/4.4.3/_/_/build/0948874f31002d33bb70a89e2b654318ef506f3e
    ERROR: libeb/4.4.3: Error in build() method, line 111
    	autotools = self._configure_autotools()
    while calling '_configure_autotools', line 105
    	args=args, configure_dir=self._source_subfolder)
    	ConanException: Error 1 while executing source_subfolder/configure '--enable-shared=no' '--enable-static=yes' '--enable-pthread=no' '--enable-ebnet=yes' '--enable-ipv6=yes' '--enable-samples=no' '--prefix=/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libeb/4.4.3/_/_/package/0948874f31002d33bb70a89e2b654318ef506f3e' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-apple-darwin --host=aarch64-apple-darwin
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@uilianries
Copy link
Member

@tuduongquyet it seems be libeb is not prepared for Mac M1.

@tuduongquyet
Copy link
Contributor Author

configure: error: /bin/sh source_subfolder/config.sub aarch64-apple-darwin failed

Yes, let me check ^^

@tuduongquyet
Copy link
Contributor Author

@tuduongquyet it seems be libeb is not prepared for Mac M1.

This issue occurs because config.sub and config.guess were generated along ago. Regenerate these files fixes the issue. What should be better approach between following ones:

  • Regenerate these files and add patch or
  • Rerun automake

@uilianries
Copy link
Member

Rerun automake

It seems be a good idea.

@stale
Copy link

stale bot commented Sep 17, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 17, 2022
@stale
Copy link

stale bot commented Oct 18, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

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

Successfully merging this pull request may close these issues.

3 participants