Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331907 - dev-libs/libgcrypt-1.4.6 build failing with non-bash /bin/sh
Summary: dev-libs/libgcrypt-1.4.6 build failing with non-bash /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 17:16 UTC by Piotr Karbowski (RETIRED)
Modified: 2011-05-09 19:58 UTC (History)
1 user (show)

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


Attachments
add eautoreconf to ebuild. (libgcrypt-1.4.6.ebuild.fix.patch,596 bytes, patch)
2010-08-09 17:16 UTC, Piotr Karbowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2010-08-09 17:16:11 UTC
build failing on the end of configure script.

It may not be *major* thing since gentoo default use /bin/sh as symlink to bash but for exmaple gentoo profix project may have problem with it. I will include patch which running autoreconf - it fixing my issue.

Reproducible: Always

Steps to Reproduce:
1. change /bin/sh to *real* sh like app-shells/dash
2. emerge libgcrypt
Actual Results:  
config.status: executing depfiles commands
shift: 1: can't shift that many

Expected Results:  
It should just work.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2010-08-09 17:16:42 UTC
Created attachment 242119 [details, diff]
add eautoreconf to ebuild.
Comment 2 Patrick Lauer gentoo-dev 2010-08-30 18:16:32 UTC
./config.status[1406]: shift: nothing to shift

mksh doesn't like it either :)
Comment 3 Patrick Lauer gentoo-dev 2010-08-30 18:31:41 UTC
+  30 Aug 2010; Patrick Lauer <patrick@gentoo.org> libgcrypt-1.4.6.ebuild:
+  Fixing for non-bash shells #331907

Thanks!
Comment 4 Piotr Karbowski (RETIRED) gentoo-dev 2011-05-09 19:28:36 UTC
The libgcrypt-1.5.0-beta1 failing as well if /bin/sh = non-bash and CONFIG_SHELl='/bin/sh'. 

config.status: executing depfiles commands
shift: 1: can't shift that many

The 1.5 could use eautoreconf as well.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-09 19:58:25 UTC
libgcrypt-1.5.0_beta1 has 'configure' generated by newer version of Autoconf, so there shouldn't be any problem.

Anyway please report this problem to upstream:
gcrypt-devel@gnupg.org