Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533856 - dev-java/scala-bin-1.2.0.1 - sed: -e expression #1, char 2: delimiter character is not a single-byte character
Summary: dev-java/scala-bin-1.2.0.1 - sed: -e expression #1, char 2: delimiter charact...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 19:28 UTC by Yuri Karaban
Modified: 2015-01-11 20:44 UTC (History)
0 users

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 Yuri Karaban 2014-12-28 19:28:47 UTC
Section sign (U+00A7) is used as separator in sed script (inside ebuild file), but new sed does not accept this:

sed: -e expression #1, char 2: delimiter character is not a single-byte character

sed version 4.2.2

Failed sed script result in empty scala_wrapper file and makes scala unusable.
Comment 1 Patrice Clement gentoo-dev 2015-01-11 20:44:04 UTC
Tests pass without outputting warnings now. See:

patrice@freshmint ~/gentoo-x86/dev-java/scala-bin $ sudo ebuild scala-bin-1.2.0.1.ebuild clean test install
Appending /home/patrice/gentoo-x86 to PORTDIR_OVERLAY...
Forcing test.
 * scala-1.2.0.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking scala-1.2.0.1.tar.bz2 to /var/tmp/portage/dev-java/scala-bin-1.2.0.1/work
>>> Source unpacked in /var/tmp/portage/dev-java/scala-bin-1.2.0.1/work
>>> Compiling source in /var/tmp/portage/dev-java/scala-bin-1.2.0.1/work/scala-1.2.0.1 ...
>>> Source compiled.
>>> Test phase: dev-java/scala-bin-1.2.0.1
make -j8   -j1 test
make: Nothing to be done for 'test'.
>>> Completed testing dev-java/scala-bin-1.2.0.1
>>> Checking scala-1.2.0.1.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
 * checking ebuild checksums ;-) ...                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                     [ ok ]
>>> It appears that 'setup' has already executed for 'scala-bin-1.2.0.1'; skipping.
>>> Remove '/var/tmp/portage/dev-java/scala-bin-1.2.0.1/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'scala-bin-1.2.0.1'; skipping.
>>> Remove '/var/tmp/portage/dev-java/scala-bin-1.2.0.1/.unpacked' to force unpack.
>>> It appears that 'compile' has already executed for 'scala-bin-1.2.0.1'; skipping.
>>> Remove '/var/tmp/portage/dev-java/scala-bin-1.2.0.1/.compiled' to force compile.
>>> It appears that 'test' has already executed for 'scala-bin-1.2.0.1'; skipping.
>>> Remove '/var/tmp/portage/dev-java/scala-bin-1.2.0.1/.tested' to force test.

>>> Install scala-bin-1.2.0.1 into /var/tmp/portage/dev-java/scala-bin-1.2.0.1/image/ category dev-java
>>> Completed installing scala-bin-1.2.0.1 into /var/tmp/portage/dev-java/scala-bin-1.2.0.1/image/

Commited the fix:

+  11 Jan 2015; Patrice Clement <monsieurp@gentoo.org> scala-bin-1.2.0.1.ebuild:
+  Corrected sed warnings. Also corrected a bunch of QA warnings. Fix #533856.

Done and dusted.