Bug 142843 - [patch] port editors/openoffice.org-3 fails to build on 9.0-Current
Summary: [patch] port editors/openoffice.org-3 fails to build on 9.0-Current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-openoffice (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 23:40 UTC by Andrey Kosachenko
Modified: 2010-04-01 01:50 UTC (History)
0 users

See Also:


Attachments
file.shar (1.09 KB, text/plain)
2010-01-14 23:40 UTC, Andrey Kosachenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosachenko 2010-01-14 23:40:00 UTC
port editors/openoffice.org-3 fails to build on FreeBSD 9.0-Current systems.

Deeper investigation shown the reason: unzip from base system is used with unsupported options combination whereas usage of uznip from archivers/uznip is expected. I.e:

[root@rock][/usr/ports/editors/openoffice.org-3/work/OOO310_m19]source FreeBSDAMDEnv.Set
[root@rock][/usr/ports/editors/openoffice.org-3/work/OOO310_m19]cd odk/
[root@rock][/usr/ports/editors/openoffice.org-3/work/OOO310_m19/odk]build --from odk
...
/usr/ports/editors/openoffice.org-3/work/OOO310_m19/odk/pack/gendocu
mkdir -p ../../unxfbsdx.pro/misc/java_src/
/usr/local/bin/gcp /usr/ports/editors/openoffice.org-3/work/OOO310_m19/solver/310/unxfbsdx.pro/bin/juh_src.zip ../../unxfbsdx.pro/misc/java_src/juh_src.zip
cd ../../unxfbsdx.pro/misc/java_src && unzip -quo juh_src.zip
unzip: -n, -o and -u are contradictory
dmake:  Error code 1, while making '../../unxfbsdx.pro/misc/java_src/juh_src.zip'
dmake:  '../../unxfbsdx.pro/misc/java_src/juh_src.zip' removed.

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/OOO310_m19/odk/pack/gendocu
rmdir /tmp/62023

according to 'man 1 unzip' (section HISTORY)  starting from FreeBSD 8.0 unzip appeared in the base system. Though not tested, but it is possible that issue is reproducible on 8.X as well.

Fix: There is a simple patch which is supposed to fix the issue.

Patch attached with submission follows:
How-To-Repeat: sudo make -C /usr/ports/editors/openoffice.org-3 build

.. <skipped> ...

1 module(s):
        odk
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/OOO310_m19/odk/pack/gendocu

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from odk"

rmdir /tmp/21398
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-3.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-14 23:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-04-01 01:48:53 UTC
maho        2010-04-01 00:48:45 UTC

  FreeBSD ports repository

  Modified files:
    editors/openoffice.org-2 Makefile 
    editors/openoffice.org-3 Makefile 
    editors/openoffice.org-3-RC Makefile 
    editors/openoffice.org-3-devel Makefile 
    editors/openoffice.org-vcltesttool Makefile 
  Log:
  Fix build on 9.0-Current.
  
  PR:             142843
  Submitted by:   Andrey Kosachenko <Andrey.Kosachenko@gmail.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.326     +7 -1      ports/editors/openoffice.org-2/Makefile
  1.422     +2 -1      ports/editors/openoffice.org-3-RC/Makefile
  1.473     +2 -1      ports/editors/openoffice.org-3-devel/Makefile
  1.331     +2 -1      ports/editors/openoffice.org-3/Makefile
  1.390     +2 -1      ports/editors/openoffice.org-vcltesttool/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Maho Nakata freebsd_committer freebsd_triage 2010-04-01 01:49:36 UTC
State Changed
From-To: open->closed

committed, thanks!