Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Build error #2

Open
AndrewD79 opened this issue Oct 23, 2017 · 3 comments
Open

Build error #2

AndrewD79 opened this issue Oct 23, 2017 · 3 comments

Comments

@AndrewD79
Copy link

AndrewD79 commented Oct 23, 2017

Hi,
We have attempted to build an OpenWRT image for Linkit Smart7688 recently.
Previously the build worked with no issue, but it now seems to fail based on doxygen2jsdoc issues.

See log error below.
I have seen some other cases where this has been mentioned elsewhere.
Note that there are 55 objects checked out, but at this link, they are able to download 57 items( https://www.bountysource.com/issues/38947746-packages-libmraa-compile-error)
Is that relevant?
All other searches/suggestions for this type of error suggest that there is a failed/uncommitted change to your repo.
We are unable to build our production environment until this is resolved.

Submodule 'doxygen2jsdoc' (https://github.com/intel-iot-devkit/doxygen2jsdoc.git) registered for path 'doxygen2jsdoc'
Submodule 'doxyport' (https://github.com/intel-iot-devkit/doxyport.git) registered for path 'doxyport'
Cloning into 'doxygen2jsdoc'...
remote: Counting objects: 112, done.
remote: Total 112 (delta 0), reused 0 (delta 0), pack-reused 112
Receiving objects: 100% (112/112), 359.67 KiB | 115.00 KiB/s, done.
Resolving deltas: 100% (35/35), done.
Checking connectivity... done.
Submodule path 'doxygen2jsdoc': checked out '67cad692720982ac3cbd99bf1c3421edc69b08f9'
Cloning into 'doxyport'...
remote: Counting objects: 55, done.
remote: Total 55 (delta 0), reused 0 (delta 0), pack-reused 55
Unpacking objects: 100% (55/55), done.
Checking connectivity... done.
Submodule path 'doxyport': checked out 'db3e1a6eb8677d3166d90d82c3068689803ce547'
warning: unable to rmdir doxyport: Directory not empty
M       doxygen2jsdoc
Note: checking out '70600dece4138b0c0dbaff42f57828f1559cd840'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 70600de... mraa: update to version 0.8.0
fatal: reference is not a tree: 9cc90b7976252b2d14b7956230c5870097e1f008
Unable to checkout '9cc90b7976252b2d14b7956230c5870097e1f008' in submodule path 'doxygen2jsdoc'
make[3]: *** [/home/xxxxxx/openwrt/dl/libmraa-0.8.0-70600dece4138b0c0dbaff42f57828f1559cd840.tar.gz] Error 1
make[3]: Leaving directory `/home/madison/openwrt/feeds/packages/libs/libmraa'
make[2]: *** [package/feeds/packages/libmraa/compile] Error 2
make[2]: Leaving directory `/home/madison/openwrt'
make[1]: *** [/home/xxxxxx/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/xxxxxx/openwrt'
make: *** [world] Error 2
@77shell
Copy link

77shell commented Aug 28, 2018

@AndrewD79
How did you continue the building process?
I had the same problem :(

@hitfzyangdianshi
Copy link

hi. have you solved this issue now? I also met the same issue.
thanks.

@hitfzyangdianshi
Copy link

hitfzyangdianshi commented Nov 24, 2022

I solve this issue:
The problem is about git submodule setup. The main branch of https://github.com/eclipse/mraa uses submodule of https://github.com/intel-iot-devkit/doxygen2jsdoc . However, the old version of mraa (for example tag v0.8.0 https://github.com/eclipse/mraa/tree/v0.8.0) uses submodule of https://github.com/arfoll/doxygen2jsdoc . So use the following steps:

establish a folk of https://github.com/eclipse/mraa in your own github repository
create a branch from the old version tag (for example, v0.8.0)
remove all the other branches
then in the feeds/packages/libs/libmraa/Makefile , change PKG_SOURCE_URL to your own github repository.

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

No branches or pull requests

3 participants