Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614908 - dev-util/ctags-20161028: unable to cross-compile for mipsEl
Summary: dev-util/ctags-20161028: unable to cross-compile for mipsEl
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: crossdev-bugs
  Show dependency tree
 
Reported: 2017-04-07 09:44 UTC by Oleksii
Modified: 2021-04-18 17:36 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for configure.ac (ctags.patch,316 bytes, patch)
2017-04-16 17:58 UTC, Felix Janda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii 2017-04-07 09:44:19 UTC
dev-util/ctags-20161028: unable to compile with crossdev for mipsEl

Getting error: configure: error: regcomp() on this system is broken.

Prev. version 5.8-r1::gentoo compiled pretty OK.

mipsel-unknown-linux-gnu-emerge -av =dev-util/ctags-5.8-r1

Details here:
https://paste.pound-python.org/show/kJsTZEWlCgaKLuU9HOrT/

Reproducible: Always
Comment 1 Felix Janda 2017-04-13 20:15:44 UTC
!!! Please attach the following file when seeking support:
!!! /usr/mipsel-unknown-linux-gnu/tmp/portage/dev-util/ctags-20161028/work/ctags-20161028/config.log
Comment 2 Oleksii 2017-04-13 20:43:33 UTC
Hello there!

Please, find by URL output from file:

/usr/mipsel-unknown-linux-gnu/tmp/portage/dev-util/ctags-20161028/work/ctags-20161028/config.log

https://paste.pound-python.org/show/fIWPjx65zgiU82KjI52U
Comment 3 Felix Janda 2017-04-16 17:58:23 UTC
Created attachment 470128 [details, diff]
Patch for configure.ac

In future, please _attach_ the documents to the bug. Let me quote the
relevant part from the configure.log:

1072. configure:6279: checking for regcomp
1073. configure:6279: mipsel-unknown-linux-gnu-gcc -o conftest -O2 -pipe -fomit-frame-pointer -mglibc -Wl,-O1 -Wl,--as-needed conftest.c >&5
1074. configure:6279: $? = 0
1075. configure:6279: result: yes
1076. configure:6285: checking if regcomp works
1077. configure:6311: result:
1078. configure:6314: error: regcomp() on this system is broken.

Please test the attached patch (via /etc/portage/patches).
Comment 4 Oleksii 2017-04-16 18:29:42 UTC
Felix, thank You for help!
This patch fixed issue. Now I can compile dev-util/ctags-20161028 without problems. Please commit it in world. Thank you very much!
Comment 5 Felix Janda 2017-04-18 03:18:36 UTC
The patch is now upstream:

https://github.com/universal-ctags/ctags/commit/291494f22e841aab8e0fca76a1bdba3930d0cc1f

With the next release or snapshot this will be fixed in gentoo.
Comment 6 SpanKY gentoo-dev 2021-04-18 17:36:19 UTC
looks entirely like a problem in ctags unrelated to crossdev