You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/04/22 10:55:50 UTC

[Issue 126258] New: javadoc fails to build

https://bz.apache.org/ooo/show_bug.cgi?id=126258

          Issue ID: 126258
        Issue Type: DEFECT
           Summary: javadoc fails to build
           Product: General
           Version: 4.2.0-dev
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P5
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: hramrach@gmail.com

Created attachment 84681
  --> https://bz.apache.org/ooo/attachment.cgi?id=84681&action=edit
the javadoc log

mkdir -p ../../unxlngx6.pro/bin/odkcommon/docs/java/ref/        
/usr/bin/javadoc -J-Xmx120m -use -splitindex -windowtitle "Java UNO Runtime
Reference" -header "UDK 3.2.7 Java API Reference" -d
../../unxlngx6.pro/bin/odkcommon/docs/java/ref -sourcepath
../../unxlngx6.pro/misc/java_src -classpath
/scratch/build/aoo/main/solver/420/unxlngx6.pro/bin/ridl.jar -linkoffline
../../common/ref ./uno -linkoffline http://java.sun.com/j2se/1.4.1/docs/api
./java com.sun.star.comp.helper         com.sun.star.lib.uno.helper        
com.sun.star.lib.unoloader         com.sun.star.uno        
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/util/UrlToFileMapper.java >
../../unxlngx6.pro/misc/javadoc_log.txt
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:164:
warning - Tag @see:illegal character: "47" in
"cppuhelper/defaultBootstrap_InitialComponentContext()"
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:164:
warning - Tag @see: missing '#':
"cppuhelper/defaultBootstrap_InitialComponentContext()"
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:164:
warning - Tag @see: can't find
cppuhelper/defaultBootstrap_InitialComponentContext() in
com.sun.star.comp.helper.Bootstrap
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:178:
warning - Tag @see:illegal character: "47" in
"cppuhelper/defaultBootstrap_InitialComponentContext()"
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:178:
warning - Tag @see: missing '#':
"cppuhelper/defaultBootstrap_InitialComponentContext()"
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/Bootstrap.java:178:
warning - Tag @see: can't find
cppuhelper/defaultBootstrap_InitialComponentContext() in
com.sun.star.comp.helper.Bootstrap
../../unxlngx6.pro/misc/java_src/com/sun/star/comp/helper/SharedLibraryLoader.java:41:
warning - Tag @see: reference not found:
com.sun.star.comp.servicemanager.ServiceManager
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/uno/helper/Factory.java:40:
warning - @attention is an unknown tag.
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/uno/helper/PropertySet.java:129:
warning - @param argument "Type" is not a parameter name.
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/uno/helper/PropertySet.java:148:
warning - @param argument "handle" is not a parameter name.
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/uno/helper/PropertySet.java:148:
warning - @param argument "Type" is not a parameter name.
../../unxlngx6.pro/misc/java_src/com/sun/star/lib/uno/helper/PropertySet.java:800:
warning - @param argument "value" is not a parameter name.
patch ../../unxlngx6.pro/bin/odkcommon/docs/java/ref/index.html
idl_ref_javadoc.patch
Invalid file name ../../unxlngx6.pro/bin/odkcommon/docs/java/ref/index.html --
skipping patch
dmake:  Error code 1, while making
'../../unxlngx6.pro/bin/odkcommon/docs/java/ref/index.html'
dmake:  '../../unxlngx6.pro/bin/odkcommon/docs/java/ref/index.html' removed.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #11 from Andrea Pescetti <pe...@apache.org> ---
Closing, no QA needed since this is a build fix.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Alexander Pyhalov <al...@rsu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alp@rsu.ru

--- Comment #2 from Alexander Pyhalov <al...@rsu.ru> ---
What version of GNU patch are you using?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Andrea Pescetti <pe...@apache.org> ---
Committed to both trunk and AOO410 for OpenOffice 4.1.2. @Alexander: Thank you
for the fix!

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #9 from SVN Robot <sv...@dev.null.org> ---
"pescetti" committed SVN revision 1705171 into branches/AOO410:
#i126258# Fix build on systems using a recent version of GNU Patch.

-- 
You are receiving this mail because:
You are the assignee for the issue.

4.1.2_release_blocker requested: [Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
Andrea Pescetti <pe...@apache.org> has asked  for 4.1.2_release_blocker:
Issue 126258: javadoc fails to build
https://bz.apache.org/ooo/show_bug.cgi?id=126258



--- Comment #6 from Andrea Pescetti <pe...@apache.org> ---
I suggest that we include this patch in 4.1.2:
- One-line patch
- Fixes a build problem when using a recent version of GNU Patch, which does
not support patching files in the ".." directory any longer, see
http://savannah.gnu.org/forum/forum.php?forum_id=7361
- Affects the build process only and not the program operations

It is needed unless one builds with --disable-odk or on an old system; so it's
very helpful to include it in 4.1.2.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|4.1.2_release_blocker?      |4.1.2_release_blocker+

--- Comment #8 from Andrea Pescetti <pe...@apache.org> ---
As discussed on dev list: accepted for OpenOffice 4.1.2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #3 from Alexander Pyhalov <al...@rsu.ru> ---
Created attachment 84831
  --> https://bz.apache.org/ooo/attachment.cgi?id=84831&action=edit
Don't patch files accross ../

The issue seems to be in GNU patch - it refuses to patch files outside of
current directory:
$ echo aa> file1
$ echo bb> file2
$ mkdir 1
$ diff -u file1 file2> 1/patch
$ cd 1
$ patch ../file1 patch
Invalid file name ../file1 -- skipping patch

And OO makes 
patch ../../unxsogi.pro/bin/odkcommon/docs/java/ref/index.html
idl_ref_javadoc.patch

which leads to

Invalid file name ../../unxsogi.pro/bin/odkcommon/docs/java/ref/index.html --
skipping patch

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Kay <ks...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kschenk@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #4 from hramrach@gmail.com ---
Thanks for looking into this. I have GNU patch 2.7.5

I will try the attached patch later

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #5 from hramrach@gmail.com ---
ok, it seems javadoc works with this patch.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1
              Flags|                            |4.1.2_release_blocker?
                 CC|                            |pescetti@apache.org

--- Comment #6 from Andrea Pescetti <pe...@apache.org> ---
I suggest that we include this patch in 4.1.2:
- One-line patch
- Fixes a build problem when using a recent version of GNU Patch, which does
not support patching files in the ".." directory any longer, see
http://savannah.gnu.org/forum/forum.php?forum_id=7361
- Affects the build process only and not the program operations

It is needed unless one builds with --disable-odk or on an old system; so it's
very helpful to include it in 4.1.2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #1 from Kay <ks...@apache.org> ---
What version of java are you using?

My build on linux-32 with an older java 7 is fine.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126258

--- Comment #7 from SVN Robot <sv...@dev.null.org> ---
"pescetti" committed SVN revision 1700078 into trunk:
#i126258# Fix build on systems using a recent version of GNU Patch.

-- 
You are receiving this mail because:
You are the assignee for the issue.

4.1.2_release_blocker granted: [Issue 126258] javadoc fails to build

Posted by bu...@apache.org.
Andrea Pescetti <pe...@apache.org> has granted Andrea Pescetti
<pe...@apache.org>'s request for 4.1.2_release_blocker:
Issue 126258: javadoc fails to build
https://bz.apache.org/ooo/show_bug.cgi?id=126258



--- Comment #8 from Andrea Pescetti <pe...@apache.org> ---
As discussed on dev list: accepted for OpenOffice 4.1.2.