Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575264 - dev-util/byacc-20150711 stable request
Summary: dev-util/byacc-20150711 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Was: bashism in dev-util/byacc-20140101
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2016-02-21 02:58 UTC by Alessandro Barbieri
Modified: 2016-10-01 12:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2016-02-21 02:58:47 UTC
Emerge fails when using dash as /bin/sh replacement
Builds when using bash

To solve this you have 2 options: 
#1 fix the bashisms in the installation scripts
#2 explicitly call /bin/bash instead of /bin/sh in the installation scripts
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-02-23 14:56:54 UTC
Please attach the failing build log.
Comment 2 Alessandro Barbieri 2016-02-23 15:14:30 UTC
sudo emerge -1v byacc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-util/byacc-20140101::gentoo  0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-util/byacc-20140101::gentoo
>>> Failed to emerge dev-util/byacc-20140101, Log file:
>>>  '/var/tmp/portage/dev-util/byacc-20140101/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.12, 0.54, 0.25
 * Package:    dev-util/byacc-20140101
 * Repository: gentoo
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   installsources preserve-libs sandbox splitdebug userpriv usersandbox
>>>  -sandbox(setup)
>>>  +sandbox(unpack)
>>> Unpacking source...
>>> Unpacking byacc-20140101.tgz to /var/tmp/portage/dev-util/byacc-20140101/work
>>> Source unpacked in /var/tmp/portage/dev-util/byacc-20140101/work
>>> Preparing source in /var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101 ...
 * econf: updating byacc-20140101/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating byacc-20140101/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --program-prefix=b
checking build system type... 

        i686-pc-linux-gnu
checking host system type... 

        i686-pc-linux-gnu
checking target system type... 

        i686-pc-linux-gnu
        Configuring for linux-gnu
checking for i686-pc-linux-gnu-gcc... 

        gcc
checking for C compiler default output... 

        a.out
checking whether the C compiler works... 

        yes
checking whether we are cross compiling... 

        no
checking for executable suffix... 


checking for object suffix... 

        o
checking whether we are using the GNU C compiler... 

        yes
checking whether gcc accepts -g... 

        yes
checking version of gcc... 

        4.9.3
checking for gcc option to accept ANSI C... 

        none needed
checking $CC variable... 

        ok
checking whether make sets ${MAKE}... 

        yes
checking for a BSD compatible install... 

        /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking if filesystem supports mixed-case filenames... 

        yes
checking for exctags... 

        no
checking for ctags... 

        ctags
checking for exetags... 

        no
checking for etags... 

        no
checking for ctags... 

        yes
checking for etags... 

        no
checking for tdlint... 

        no
checking for lint... 

        no
checking for alint... 

        no
checking for splint... 

        no
checking for lclint... 

        no
checking if we must define _GNU_SOURCE... 

        yes
checking if _XOPEN_SOURCE really is set... 

        yes
checking how to run the C preprocessor... 

        gcc -E
checking for fcntl.h... 

        yes
checking for working mkstemp... 

        yes
checking if you want to check for gcc warnings... 

        no
checking if you want to see long compiling messages... 

        yes
checking if you want to use dmalloc for testing... 

        no
checking if you want to use dbmalloc for testing... 

        no
checking if you want to use valgrind for testing... 

        no
checking if you want to perform memory-leak testing... 

        no
configure: creating ./config.status
config.status: creating makefile
sed: file /var/tmp/portage/dev-util/byacc-20140101/temp/csIM7TiG/subs-1.sed line 28: unterminated `s' command
config.status: creating config.h
>>> Source configured.
>>>  +sandbox(compile)
>>> Compiling source in /var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101 ...
make -j1 
GROFF_NO_SGR=stupid /bin/sh -c "tbl yacc.1 | groff -P -o0 -Iyacc,1_ -Thtml -man" >yacc.html
/bin/sh -c "tbl yacc.1 | groff -man" >yacc.ps
ps2pdf yacc.ps
GROFF_NO_SGR=stupid /bin/sh -c "tbl yacc.1 | nroff -Tascii -man | col -bx" >yacc.txt
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/byacc-20140101

>>> Install byacc-20140101 into /var/tmp/portage/dev-util/byacc-20140101/image/ category dev-util
make -j1 DESTDIR=/var/tmp/portage/dev-util/byacc-20140101/image/ install 
make: *** No rule to make target 'install'.  Stop.
 * ERROR: dev-util/byacc-20140101::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-util/byacc-20140101::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/byacc-20140101::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/byacc-20140101/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/byacc-20140101/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101'
 * S: '/var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101'

 * Messages for package dev-util/byacc-20140101:

 * ERROR: dev-util/byacc-20140101::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-util/byacc-20140101::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/byacc-20140101::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/byacc-20140101/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/byacc-20140101/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101'
 * S: '/var/tmp/portage/dev-util/byacc-20140101/work/byacc-20140101'
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2016-02-29 17:09:30 UTC
I'm sorry that this package has no maintainer at the moment, assigning it to maintainer-needed for now. Out of curiosity, can you try emerging dev-util/byacc-20150711 temporarily to see whether they fixed the build system or not?

Thank you for your report.
Comment 4 Alessandro Barbieri 2016-03-02 16:32:32 UTC
dev-util/byacc-20150711 (In reply to Panagiotis Christopoulos from comment #3)
> I'm sorry that this package has no maintainer at the moment, assigning it to
> maintainer-needed for now. Out of curiosity, can you try emerging
> dev-util/byacc-20150711 temporarily to see whether they fixed the build
> system or not?
> 
> Thank you for your report.

Ok emerges fine.
Comment 5 Agostino Sarubbo gentoo-dev 2016-03-06 12:59:10 UTC
amd64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2016-03-15 15:32:56 UTC
x86 stable
Comment 7 Agostino Sarubbo gentoo-dev 2016-03-16 11:59:15 UTC
ppc stable
Comment 8 Agostino Sarubbo gentoo-dev 2016-03-17 10:51:17 UTC
ppc64 stable
Comment 9 Markus Meier gentoo-dev 2016-03-18 06:06:08 UTC
arm stable
Comment 10 Agostino Sarubbo gentoo-dev 2016-03-19 11:41:19 UTC
sparc stable
Comment 11 Agostino Sarubbo gentoo-dev 2016-03-20 11:53:41 UTC
ia64 stable
Comment 12 Tobias Klausmann (RETIRED) gentoo-dev 2016-05-26 09:46:52 UTC
Stable on alpha.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-01 12:41:18 UTC
Stable for HPPA. Closing.