https://bugs.freedesktop.org/show_bug.cgi?id=85214

--- Comment #6 from Jonathan Callen <[email protected]> ---
In my case, I'm using Gentoo's build scripts, which do not run autogen.sh.

I am building version 4.3.1.2, and have explicitly set --with-external-tar=;
not setting that causes the build to work further than setting it does.

The complete configure command line is:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--disable-dependency-tracking --libdir=/usr/lib64
--docdir=/usr/share/doc/libreoffice-4.3.1.2/ --with-system-headers
--with-system-libs --with-system-jars --with-system-dicts --enable-cairo-canvas
--enable-graphite --enable-largefile --enable-neon --enable-python=system
--enable-randr --enable-randr-link --enable-release-build
--disable-hardlink-deliver --disable-ccache --disable-crashdump
--disable-dependency-tracking --disable-epm --disable-fetch-external
--disable-gnome-vfs --disable-gstreamer-0-10 --disable-report-builder
--disable-kdeab --disable-kde --disable-mergelibs --disable-online-update
--disable-systray --with-alloc=system --with-build-version="Gentoo official
package" --enable-extension-integration
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/myspell
--with-external-thes-dir=/usr/share/myspell
--with-external-tar=/tmp/portage/app-office/libreoffice-4.3.1.2/distdir
--with-lang= --with-parallelism=16 --with-system-ucpp --with-vendor="Gentoo
Foundation" --with-x --without-fonts --without-myspell-dicts --without-help
--with-helppack-integration --without-sun-templates --enable-sdremote-bluetooth
--disable-coinmp --disable-collada --enable-cups --disable-debug --enable-dbus
--disable-evolution2 --disable-firebird-sdbc --disable-gltf --disable-gconf
--disable-gio --disable-lockdown --enable-gstreamer --enable-gtk --disable-gtk3
--enable-kde4 --disable-ext-mariadb-connector --disable-odk --enable-opengl
--disable-postgresql-sdbc --disable-telepathy --enable-vba --disable-vlc
--without-system-coinmp --without-system-libgltf --without-java
--without-system-mysql-cppconn --without-doxygen --without-system-sane
--without-system-vigra --disable-ext-nlpsolver --disable-scripting-beanshell
--disable-scripting-javascript --disable-ext-wiki-publisher

This fails when the AbsolutePath function attempts to run the following line
(line 75 of configure.ac):

  cd - &> /dev/null

This code did not work in dash, as "&>" is not valid in POSIX sh.  It ended up
causing the code following to run in the external tar directory, which is not
writable by the user running the build under this build system (instead of in
the source directory, which is).

After updating dash to a later version, dash now parses that line as two
commands:
  cd - &
  > /dev/null

This is valid, but does not send the output to /dev/null as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to