Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232490

Summary: app-office/openoffice-2.4.1 fails when bsdtar is used
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-07-20 16:35:58 UTC
Although my setup right now is a very tricky one that is not supported, I suppose the same would happen on Gentoo/FreeBSD where bsdtar is the default provider of the tar command.

With /bin/tar symlinked to /bin/bsdtar, openoffice fails in this way:

Creating GNOME .applications file for broffice.org ..
---------------------------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/redhat
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/cde
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/debian
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/freedesktop
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/mandriva
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/slackware
-------------
tar: unrecognized option '--owner=root'
Usage:
  List:    tar -tf <archive-filename>
  Extract: tar -xf <archive-filename>
  Create:  tar -cf <archive-filename> [filenames...]
  Help:    tar --help
dmake:  Error code 1, while making '../../unxlngx6.pro/misc/slackware/empty.tar'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/sysui/desktop/slackware
make: *** [stamp/build] Error 1
 
[I suppose it's related to gnome USE flag too at this point.]

Although bsdtar has not a 100% GNU tar compatible interface it comes near enough and we decided before we'd be supporting as much as possible POSIX tar options rather than GNU extensions.

Also, I'm not sure why it's building stuff for slackware...

Thanks,
Diego
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-16 20:50:00 UTC
Hmm, are you still getting this with 3.0?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 14:36:37 UTC
Doesn't look like so…