{"action":"created","issue":{"url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/401","repository_url":"https://api.github.com/repos/cschwan/sage-on-gentoo","labels_url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/401/comments","events_url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/401/events","html_url":"https://github.com/cschwan/sage-on-gentoo/issues/401","id":138050172,"number":401,"title":"bashism in sci-mathematics/pari-2.8_pre20151001","user":{"login":"Alessandro-Barbieri","id":10689739,"avatar_url":"https://avatars.githubusercontent.com/u/10689739?v=3","gravatar_id":"","url":"https://api.github.com/users/Alessandro-Barbieri","html_url":"https://github.com/Alessandro-Barbieri","followers_url":"https://api.github.com/users/Alessandro-Barbieri/followers","following_url":"https://api.github.com/users/Alessandro-Barbieri/following{/other_user}","gists_url":"https://api.github.com/users/Alessandro-Barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/Alessandro-Barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alessandro-Barbieri/subscriptions","organizations_url":"https://api.github.com/users/Alessandro-Barbieri/orgs","repos_url":"https://api.github.com/users/Alessandro-Barbieri/repos","events_url":"https://api.github.com/users/Alessandro-Barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/Alessandro-Barbieri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T01:54:41Z","updated_at":"2016-03-03T03:55:38Z","closed_at":null,"body":"When using dash as /bin/sh emerge fails with:\r\n\r\n./Configure: 21: ./get_fltk: Syntax error: Unterminated quoted string\r\n\r\nwith bash works as normal\r\n\r\n```\r\n cat /var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/temp/build.log\r\n * Package:    sci-mathematics/pari-2.8_pre20151001\r\n * Repository: sage-on-gentoo\r\n * Maintainer: francois.bissey@canterbury.ac.nz\r\n * USE:        X abi_x86_32 data doc elibc_glibc fltk gmp kernel_linux userland_GNU x86\r\n * FEATURES:   fakeroot installsources preserve-libs sandbox splitdebug userpriv usersandbox\r\n>>>  -sandbox(setup)\r\n>>>  +sandbox(unpack)\r\n>>> Unpacking source...\r\n>>> Unpacking pari-2.8-1813-g6157df4.tar.gz to /var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work\r\n>>> Source unpacked in /var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work\r\n>>> Preparing source in /var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work/pari-2.8-1813-g6157df4 ...\r\n * Applying pari-2.3.2-strip.patch ...\r\n [ ok ]\r\n * Applying pari-2.3.2-ppc-powerpc-arch-fix.patch ...\r\n [ ok ]\r\n * Applying pari-2.7.0-doc-make.patch ...\r\n [ ok ]\r\n * Applying pari-2.8_pre20150611-no-automagic.patch ...\r\n [ ok ]\r\n * Applying pari-9999-public_memory_functions.patch ...\r\n [ ok ]\r\n>>> Source prepared.\r\n>>> Configuring source in /var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work/pari-2.8-1813-g6157df4 ...\r\ntrue\r\nConfiguring pari-2.8.0 (DEVELOPMENT VERSION) [ development git-6157df4 ]\r\nChecking echo to see how to suppress newlines...\r\n...using -n.\r\nLooking for some tools first ...\r\n...gzip is /bin/gzip\r\n...cc is /usr/bin/cc\r\n...gcc is /usr/bin/gcc\r\n...ld is /usr/bin/ld\r\nGNU compatible compiler: gcc version 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4)\r\nUsing mt engine single\r\nGiven the previous choices, sizeof(long) is 4 chars.\r\nThe internal word representation of a double is l[1], l[0].\r\n==========================================================================\r\nBuilding for: i686 running linux (ix86/GMP kernel) 32-bit version\r\n==========================================================================\r\nC compiler is          gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -Os -march=native -mtune=native -mfpmath=both -fweb -fomit-frame-pointer -fipa-pta -fisolate-erroneous-paths-attribute -fsched-stalled-insns-dep -fsched-pressure -fsched-spec-load -fsched-spec-load-dangerous -fsched-stalled-insns  -fPIC\r\nExecutable linker is   gcc  -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -Os -march=native -mtune=native -mfpmath=both -fweb -fomit-frame-pointer -fipa-pta -fisolate-erroneous-paths-attribute -fsched-stalled-insns-dep -fsched-pressure -fsched-spec-load -fsched-spec-load-dangerous -fsched-stalled-insns  -Wl,--export-dynamic -Os -march=native -mtune=native -mfpmath=both -fweb -fomit-frame-pointer -fipa-pta -fisolate-erroneous-paths-attribute -fsched-stalled-insns-dep -fsched-pressure -fsched-spec-load -fsched-spec-load-dangerous -fsched-stalled-insns\r\nDynamic Lib linker is  gcc  -shared  $(LDFLAGS) $(CFLAGS) $(DLCFLAGS) -Wl,-shared,-soname=$(LIBPARI_SONAME)\r\nLooking in C lib for some symbols...\r\n...Found exp2.\r\n...Found log2.\r\n...Found strftime.\r\n...Found getrusage.\r\n...Found gettimeofday.\r\n...Found sigaction.\r\n...Found TIOCGWINSZ.\r\n...Found getrlimit.\r\n...Found stat.\r\n...Found vsnprintf.\r\n...Found mmap.\r\n...Found waitpid.\r\n...Found setsid.\r\n...Found getenv.\r\n...Found isatty.\r\n...Found alarm.\r\n...Found system.\r\n...I did not find dlopen.\r\nTry again, with -ldl this time...\r\n...Found dlopen.\r\nChecking for optional libraries and headers...\r\nUsing GNU MP, version 6.0.0\r\n./Configure: 21: ./get_fltk: Syntax error: Unterminated quoted string\r\n * ERROR: sci-mathematics/pari-2.8_pre20151001::sage-on-gentoo failed (configure phase):\r\n *   ./Configure failed\r\n *\r\n * Call stack:\r\n *     ebuild.sh, line 133:  Called src_configure\r\n *   environment, line 2351:  Called die\r\n * The specific snippet of code:\r\n *       ./Configure --prefix=\"${EPREFIX}\"/usr --datadir=\"${EPREFIX}\"/usr/share/${PN} --libdir=\"${EPREFIX}\"/usr/$(get_libdir) --sysdatadir=\"${EPREFIX}\"/usr/share/doc/${PF} --mandir=\"${EPREFIX}\"/usr/share/man/man1 --with-readline=\"${EPREFIX}\"/usr --with-ncurses-lib=\"${EPREFIX}\"/usr/$(get_libdir) $(use_with fltk) $(use_with gmp) $(use_with qt4 qt) || die \"./Configure failed\"\r\n *\r\n * If you need support, post the output of `emerge --info '=sci-mathematics/pari-2.8_pre20151001::sage-on-gentoo'`,\r\n * the complete build log and the output of `emerge -pqv '=sci-mathematics/pari-2.8_pre20151001::sage-on-gentoo'`.\r\n * The complete build log is located at '/var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/temp/build.log'.\r\n * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/temp/environment'.\r\n * Working directory: '/var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work/pari-2.8-1813-g6157df4'\r\n * S: '/var/tmp/portage/sci-mathematics/pari-2.8_pre20151001/work/pari-2.8-1813-g6157df4'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/comments/191569403","html_url":"https://github.com/cschwan/sage-on-gentoo/issues/401#issuecomment-191569403","issue_url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/401","id":191569403,"user":{"login":"kiwifb","id":151475,"avatar_url":"https://avatars.githubusercontent.com/u/151475?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwifb","html_url":"https://github.com/kiwifb","followers_url":"https://api.github.com/users/kiwifb/followers","following_url":"https://api.github.com/users/kiwifb/following{/other_user}","gists_url":"https://api.github.com/users/kiwifb/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwifb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwifb/subscriptions","organizations_url":"https://api.github.com/users/kiwifb/orgs","repos_url":"https://api.github.com/users/kiwifb/repos","events_url":"https://api.github.com/users/kiwifb/events{/privacy}","received_events_url":"https://api.github.com/users/kiwifb/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T03:55:38Z","updated_at":"2016-03-03T03:55:38Z","body":"Out of curiosity, do you know if it also happens with version of `pari` from the main tree?"}}