Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729264 - app-editors/levee-3.5a fails to build when SIZE is set
Summary: app-editors/levee-3.5a fails to build when SIZE is set
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: 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:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 06:37 UTC by Agostino Sarubbo
Modified: 2021-12-13 07:55 UTC (History)
0 users

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


Attachments
build.log (build.log,7.49 KB, text/plain)
2020-06-23 06:37 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-23 06:37:17 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-editors/levee fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:37:25 UTC
Created attachment 645818 [details]
build.log

build log and emerge --info
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-06-23 07:17:03 UTC
Build system uses SIZE variable in non-standard way, so it fails with e.g. SIZE="x86_64-pc-linux-gnu-size" or SIZE="llvm-size".

configure.sh contains:
...
case Z$1 in
...
Z--size=*)  SIZE=$(echo Z$1 | sed -e 's/^Z--size=//') ;;
...
# validate --size=
#
case X"${SIZE}" in
X[0-9][0-9]*)    ;;
X[0-9][0-9]*[Ll]);;
X)               ;;
X*)              AC_FAIL "--size=$SIZE is not a valid number" ;;
esac
...
if [ "$OS_DOS" ]; then
    AC_DEFINE   SIZE ${SIZE:-32000}
    AC_DEFINE   PROC    _fastcall
    AC_DEFINE   TTY_ANSI        1
    AC_CHECK_FUNCS      basename
elif [ "$OS_ATARI" ]; then
    AC_DEFINE   SIZE ${SIZE:-32000}
    AC_DEFINE   TTY_VT52        1
    AC_DEFINE   HAVE_BLKFILL    1
    AC_CHECK_FUNCS      basename
elif [ "$OS_FLEXOS" ]; then
    AC_DEFINE   SIZE ${SIZE:-256000}
    AC_CHECK_FUNCS      basename
else
    AC_DEFINE   SIZE ${SIZE:-256000}
    AC_DEFINE   OS_UNIX 1
...


So ebuild should probably call ./configure.sh with --size=256000 option.
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-13 07:55:43 UTC
tinderbox has reproduced this issue with version 3.5a - Updating summary.