Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484562 - dev-libs/newt: fails to build with non-bash /bin/sh
Summary: dev-libs/newt: fails to build with non-bash /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-11 08:40 UTC by Michał Górny
Modified: 2014-03-04 15:12 UTC (History)
1 user (show)

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


Attachments
Build log (dev-libs:newt-0.52.15:20130911-083122.log,11.98 KB, text/x-log)
2013-09-11 08:40 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-11 08:40:13 UTC
Created attachment 358464 [details]
Build log

ln -fs libnewt.so.0.52 libnewt.so
ln -fs libnewt.so.0.52.15 libnewt.so.0.52
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o whiptail whiptail.o dialogboxes.o -L. -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -lnewt -lslang  -lpopt
/bin/sh: 2: Bad substitution
make: *** [_snackmodule.so] Error 2
make: *** Waiting for unfinished jobs....
Comment 1 Weedy 2014-02-16 20:19:10 UTC
This is still the case.

x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fprefetch-loop-arrays -ftree-vectorize -Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-z,now -Wl,--as-needed -Wl,--sort-common -shared -o libnewt.so.0.52.15 -Wl,--version-script,newt.0.52.ver -Wl,-soname,libnewt.so.0.52 shared/newt.o shared/button.o shared/form.o shared/checkbox.o shared/entry.o shared/label.o shared/listbox.o shared/scrollbar.o shared/textbox.o shared/scale.o shared/grid.o shared/windows.o shared/buttonbar.o shared/checkboxtree.o -Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-z,now -Wl,--as-needed -Wl,--sort-common -lslang 
ln -fs libnewt.so.0.52 libnewt.so
ln -fs libnewt.so.0.52.15 libnewt.so.0.52
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fprefetch-loop-arrays -ftree-vectorize -Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-z,now -Wl,--as-needed -Wl,--sort-common -o whiptail whiptail.o dialogboxes.o -L. -Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-z,now -Wl,--as-needed -Wl,--sort-common -lnewt -lslang  -lpopt
/bin/sh: 2: Bad substitution
Makefile:80: recipe for target '_snackmodule.so' failed
make: *** [_snackmodule.so] Error 2
make: *** Waiting for unfinished jobs....
 * ERROR: dev-libs/newt-0.52.15::gentoo failed (compile phase):
 *   emake failed
Comment 2 Naohiro Aota gentoo-dev 2014-03-04 15:12:51 UTC
+  04 Mar 2014; Naohiro Aota <naota@gentoo.org> files/newt-0.52.15-snack.patch,
+  newt-0.52.15.ebuild:
+  Fix non POSIX compatible shell substitution. #484562