[Bug 274432] New: build fails due to UINT32 ...

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] New: build fails due to UINT32 ...

Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432

           Summary: build fails due to UINT32 ...
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Portability
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using KDE 4.6.2)
OS:                Solaris

on Solaris 11e/amd64, using gcc4.5.2, the build fails with the below messages

This is because the UINT* types are defined in C99, but not in the C++
standard, so they are not present on Solaris.

...
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/core/libs/3rdparty/libpgf/PGFtypes.h:100:2:
error: 'UINT8' does not name a type
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/core/libs/3rdparty/libpgf/PGFtypes.h:108:2:
error: 'UINT32' does not name a type
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/core/libs/3rdparty/libpgf/PGFtypes.h:116:2:
error: 'UINT32' does not name a type
...


Reproducible: Always

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] build fails due to UINT32 ...

Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432





--- Comment #1 from tropikhajma <tropikhajma gmail com>  2011-05-29 20:40:13 ---
fix:

---
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/core/libs/3rdparty/libpgf/PGFplatform.h.orig
   2011-05-29 16:24:17.529398824 +0200
+++
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/core/libs/3rdparty/libpgf/PGFplatform.h
   2011-05-29 17:08:06.563051231 +0200
@@ -315,6 +315,12 @@
 #define __POSIX__
 #endif // __APPLE__

+//-------------------------------------------------------------------------------
+// SOLARIS
+//-------------------------------------------------------------------------------
+#ifdef __sun
+#define __POSIX__
+#endif // SOLARIS


//-------------------------------------------------------------------------------
 // LINUX / GLIBC

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] build fails due to UINT32 ...

Gilles Caulier-4
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |rschweizer@schweizer-inform
                   |                            |atik.ch




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2011-06-06 10:43:24 ---
Raphael,

I CC you to this file because patch attached touch libpgf source code, to be
compiled fine under Solaris.

I will apply it on digiKam core. Please include it for next libpgf release.

Thanks in advance

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] build fails due to UINT32 ...

Gilles Caulier-4
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432


Gilles Caulier <[hidden email]> changed:

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




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-06-06 10:47:35 ---
Git commit b6c8d32b1bbe34541a261bd5bcee3e68dd6ec0e7 by Gilles Caulier.
Committed on 06/06/2011 at 10:46.
Pushed by cgilles into branch 'master'.

apply patch to compile fine libpgf under SOLARIS
BUGS: 274432

M  +6    -0    libs/3rdparty/libpgf/PGFplatform.h    

http://commits.kde.org/digikam/b6c8d32b1bbe34541a261bd5bcee3e68dd6ec0e7

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] build fails due to UINT32 ...

Raphael Schweizer
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432





--- Comment #4 from Raphael Schweizer <rschweizer schweizer-informatik ch>  2011-06-06 16:03:41 ---
Thanks. Applied to our repo.

- Raphael

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 274432] build fails due to UINT32 ...

Gilles Caulier-4
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 274432] build fails due to UINT32 ...

bugzilla_noreply
In reply to this post by Bugzilla from tropikhajma@gmail.com
https://bugs.kde.org/show_bug.cgi?id=274432

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Portability                 |Bundle-Tarball

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