Re: [blfs-support] Iced Tea 2.4.1 and iced tea 2.4.5 sed unknown option to `s'

2014-02-16 Thread me
>> Date: Sat, 15 Feb 2014 09:58:02 -0300
>> From: Fernando de Oliveira 
>> To: BLFS Support List 
>> Subject: Re: [blfs-support] Iced Tea 2.4.1 and iced tea 2.4.5 sed
>> unknown
>>  option to `s'
>>
>> Em 15-02-2014 08:29, akhiezer escreveu:
>> >> From blfs-support-boun...@linuxfromscratch.org Fri Feb 14 13:19:25
>> 2014
>> >> Date: Fri, 14 Feb 2014 10:13:47 -0300
>> >> From: Fernando de Oliveira 
>> >> To: BLFS Support List 
>> >> Subject: Re: [blfs-support] Iced Tea 2.4.1 and iced tea 2.4.5 sed
>> unknown
>> >>  option to `s'
>> >>
>> >.
>> >.
>> >>
>> >> I am trying to understand this better, and have found that configure
>> and
>> >> configure.ac have mentions to lsb_release. I am trying to understand
>> if
>> >> it is a required, recommended or optional dependency. However, in one
>> >> machine I do not have it installed and it gives me linux-gnu and
>> builds
>> >> fine, so, I am intending to add as optional.
>> >>
>> >> What do you all think about this? I cannot understand why
>> Christopher's
>> >> is getting n/a.
>> >>
>> >> In the following, I am writing some observations and guesses.
>> >>
>> >> In configure, for 2.4.4, which is a build dir still in place in yet
>> >> another machine, I see:
>> >>
>> >> {{{
>> >> if test -n "$ac_tool_prefix"; then
>> >>   # Extract the first word of "${ac_tool_prefix}lsb_release", so it
>> can
>> >> be a program name with args.
>> >> set dummy ${ac_tool_prefix}lsb_release; ac_word=$2
>> >> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
>> >> $as_echo_n "checking for $ac_word... " >&6; }
>> >> if ${ac_cv_path_LSB_RELEASE+:} false; then :
>> >>   $as_echo_n "(cached) " >&6
>> >> else
>> >>   case $LSB_RELEASE in
>> >>   [\\/]* | ?:[\\/]*)
>> >>   ac_cv_path_LSB_RELEASE="$LSB_RELEASE" # Let the user override the
>> test
>> >> with a path.
>> >>   ;;
>> >>   *)
>> >>   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
>> >> }}}
>> >>
>> >>
>> >> Also, I noticed that he is building at /opt, so probably as root. I
>> have:
>> >>
>> >> {{{
>> >> $ xzgrep -C6 distro_name
>> >> /home/fernando/Downloads/blfs/OpenJDK-1.7.0.51-2.4.5-2014.01.29-18h12m38s.log.xz
>> >> rm -f
>> >> /home/fernando/tmp/paco-build-2014.01.29-18h12m38s/icedtea-2.4.5/generated.build/sun/misc/Version.java
>> >> rm -f
>> >> /home/fernando/tmp/paco-build-2014.01.29-18h12m38s/icedtea-2.4.5/generated.build/sun/misc/Version.java.temp
>> >> /bin/sed -e 's/@@launcher_name@@/java/g' \
>> >> -e 's/@@java_version@@/1.7.0_51-blfs/g' \
>> >> -e 's/@@java_runtime_version@@/1.7.0_51-blfs-b31/g' \
>> >> -e 's/@@jdk_derivative_name@@/IcedTea 2.4.5/g' \
>> >> -e 's/@@distro_name@@/Linux From Scratch/g' \
>> >> -e 's/@@distro_package_version@@/'7u51-2.4.5-blfs'/g' \
>> >> -e 's/@@java_runtime_name@@/OpenJDK Runtime Environment/g' \
>> >> -e 's/@@jdk_revid@@//g' \
>> >> -e 's/@@hotspot_revid@@//g' \
>> >> ../../../src/share/classes/sun/misc/Version.java.template >
>> >> /home/fernando/tmp/paco-build-2014.01.29-18h12m38s/icedtea-2.4.5/generated.build/sun/misc/Version.java.temp
>> >> make[5]: Leaving directory
>> >> `/home/fernando/tmp/paco-build-2014.01.29-18h12m38s/icedtea-2.4.5/openjdk-boot/jdk/make/java/version'
>> >> }}}
>> >>
>> >> I remember having sometime ago problems with PATH, for some packages,
>> if
>> >> I build as root, and for those, I have a line in the script:
>> >>
>> >> source /etc/profile
>> >>
>> >> and the PATH is well defined, because he needs:
>> >>
>> >> export CLASSPATH=.:/usr/share/java &&
>> >> export PATH="$PATH:/opt/OpenJDK-1.7.0.51-bin/bin"
>> >>
>> >> or similar, if the binary is another one, i.e., the binary has to be
>> in
>> >> the path, and, in my case, it is provided by:
>> >>
>> >> /etc/profile.d/openjdk.sh
>> >>
>> >> which is defined in OJDK/Icedtea BLFS page.
>> >>
>> >
>> >
>> > Yes, tracing through the code indicates that the problem may be
>> > stemming from 'lsb_release -is' outputting 'n/a' (others on web have
>> > reported various breakages - not just re icedtea - that seem to stem
>> > from lsb_release using 'n/a' as a return value - and the code that
>> uses
>> > said output not sanitising its own input).
>> >
>> >
>> > The following is working from blfs-svn
>> ('OpenJDK-1.7.0.51/IcedTea-2.4.5'
>> > ,
>> 'http://www.linuxfromscratch.org/blfs/view/svn/general/openjdk.html'),
>> > but should be similar for blfs-7.4 (I've broken/re-wrapped some of the
>> > longer outputted lines):
>> > 
>> > (0) # Unpack src tarballs into . for the purposes of following greps.
>> NB
>> > that this is not making any suggestion on how you should unpack
>> > stuff for the build: follow the book for that, of course.
>> >
>> > (1) grep -r '@@distro_name@@' .
>> > ./jdk-9db88c18e114/make/java/version/Makefile:
>> >   -e 's/@@distro_name@@/$(DISTRO_NAME)/g' \
>> >
>> > (2) grep -r 'DISTRO_NAME' .
>> > ./icedtea-2.4.5/Makefile.am:
>> > echo "DISTRO_NAME=$(DIST_NAME)"
>> >>openjdk/jdk/make/common/shared/Defs.gmk ;
>> > ./icedtea-2.4

[blfs-support] LFS systemd 7.5-rc1 is out

2014-02-16 Thread Armin K.
I am pleased to announce a release candidate for the first release of
the Linux From Scratch book that is using systemd as the main init system.

The book contains all the changes from LFS-7.5-rc1, along with extra
packages that are necessarry for systemd, as well with some packages
removed that are still part of standard Linux From Scratch installation.

New packages include:

Acl-2.2.52
Attr-2.4.47
D-Bus-1.8.0
Expat-2.1.0
Gperf-3.0.4
Intltool-0.50.2
LFS-Network-Scripts 20140214
Libcap-2.24
Systemd-208
XML-Parser-2.42_01

Removed packages include:

LFS-Bootscripts-20130821
Sysklogd-1.5
Sysvinit-2.88dsf
Udev-208

The book can be read online at

http://www.linuxfromscratch.org/lfs/view/7.5-systemd-rc1/

or it can be downloaded as HTML, HTML-NOCHUNKS and PDF version at

http://www.linuxfromscratch.org/lfs/downloads/7.5-systemd-rc1/

dd7a8768f2c413cc1c94485ede7dea15  LFS-BOOK-7.5-systemd-rc1-NOCHUNKS.html
3d91ca81723a3dcb16d82a3eb8224554  LFS-BOOK-7.5-systemd-rc1.pdf
b370e26cba75f2366787b6e1fb634b48  LFS-BOOK-7.5-systemd-rc1.tar.bz2
3c67714167e09c727e3422e20284765d  lfs-network-scripts-20140214.tar.bz2
8bdbab37787a687575a30f8463b594af  md5sums
4e36d00a4076f201086a8e773f5ac3c6  wget-list

All users are encouraged to read through this release of the book and
test the instructions so that the final release can be made as good as
possible.

Thanks to all who have contributed and provided feedback for this
hopefully useful piece of work.

-- 
Armin K.

Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] LFS-7.5-rc1 is released

2014-02-16 Thread Bruce Dubbs
The Linux From Scratch community is pleased to announce the release of 
LFS Version 7.5-rc1. This is the first release candidate on the road to 
LFS-7.5. It is a major release with toolchain updates to binutils, 
glibc, and gcc. In total, 32 packages were updated from LFS-7.4 and 
changes to text has been made throughout the book.

We encourage all users to read through this release of the book and test 
the instructions so that we can make the final release as good as possible.

You can read the book online at
http://www.linuxfromscratch.org/lfs/view/7.5-rc1/, or download from 
http://www.linuxfromscratch.org/lfs/downloads/7.5-rc1/ to read locally.

   -- Bruce Dubbs
  linuxfromscratch.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page