Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 748549 - dev-ml/ocplib-endian-1.1 : Error: Syntax error
Summary: dev-ml/ocplib-endian-1.1 : Error: Syntax error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 21:39 UTC by Toralf Förster
Modified: 2020-10-17 05:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.10 KB, text/plain)
2020-10-13 21:39 UTC, Toralf Förster
Details
dev-ml:ocplib-endian-1.1:20201013-201611.log (dev-ml:ocplib-endian-1.1:20201013-201611.log,2.89 KB, text/plain)
2020-10-13 21:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.14 KB, text/plain)
2020-10-13 21:39 UTC, Toralf Förster
Details
environment (environment,19.79 KB, text/plain)
2020-10-13 21:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.46 KB, application/x-bzip)
2020-10-13 21:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.20 KB, application/x-bzip)
2020-10-13 21:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-13 21:39:25 UTC
                     
File "endianString.cppo.ml", line 97, characters 2-5:
Error: Syntax error
Done: 53/86 (jobs: 1)
                     
Done: 53/86 (jobs: 1)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl_abi32+64-20201012-091521

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Oct 13 08:05:14 PM UTC 2020
/var/db/repos/libressl	Fri Oct  9 07:35:07 PM UTC 2020

emerge -qpvO dev-ml/ocplib-endian
[ebuild  N    ] dev-ml/ocplib-endian-1.1  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2020-10-13 21:39:27 UTC
Created attachment 665149 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-13 21:39:28 UTC
Created attachment 665152 [details]
dev-ml:ocplib-endian-1.1:20201013-201611.log
Comment 3 Toralf Förster gentoo-dev 2020-10-13 21:39:29 UTC
Created attachment 665155 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-13 21:39:30 UTC
Created attachment 665158 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-13 21:39:32 UTC
Created attachment 665161 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-13 21:39:33 UTC
Created attachment 665164 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-10-17 03:14:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34cf79fccb906b79c9c0fa570d86ce241bd8c199

commit 34cf79fccb906b79c9c0fa570d86ce241bd8c199
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-17 03:14:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-17 03:14:25 +0000

    dev-ml/ocplib-endian: fix build
    
    In some instances, build fails because of
    a compatibility stanza. Let's just drop
    it in a patch here and add a lower bound
    on OCaml.
    
    Closes: https://bugs.gentoo.org/748549
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/ocplib-endian-1.1-fix-build.patch        | 66 ++++++++++++++++++++++
 ...dian-1.1.ebuild => ocplib-endian-1.1-r1.ebuild} | 11 +++-
 2 files changed, 74 insertions(+), 3 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2020-10-17 05:41:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bd3974f174b1b9aab3ed6b2b22f712a1304cc8

commit 14bd3974f174b1b9aab3ed6b2b22f712a1304cc8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-17 05:41:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-17 05:41:23 +0000

    dev-ml/lwt: depend on newer cppo
    
    Solves similar issue to the one seen for ocplib-endian.
    
    See 34cf79fccb906b79c9c0fa570d86ce241bd8c199 for full
    explanation.
    
    Bug: https://bugs.gentoo.org/748549
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/lwt/{lwt-5.3.0.ebuild => lwt-5.3.0-r1.ebuild} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2417895a2c184ed9e2685b7f9d4488e1bdfa346

commit f2417895a2c184ed9e2685b7f9d4488e1bdfa346
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-17 05:38:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-17 05:41:23 +0000

    dev-ml/ocplib-endian: better fix for compile failure
    
    Apparently, those irritating "syntax errors" only
    appear when we have an older cppo.
    
    Noticed when trying to fix a similar issue in lwt.
    
    Drop the OCaml version requirement + patch, and
    depend on a newer cppo.
    
    Fixes: 34cf79fccb906b79c9c0fa570d86ce241bd8c199
    Bug: https://bugs.gentoo.org/748549
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/ocplib-endian-1.1-fix-build.patch        | 66 ----------------------
 dev-ml/ocplib-endian/ocplib-endian-1.1-r1.ebuild   | 10 +---
 2 files changed, 1 insertion(+), 75 deletions(-)