[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#634810: marked as done (graphite2: FTBFS: c++: error: unrecognized option '-nostdlibs')



Your message dated Tue, 09 Aug 2011 12:17:22 +0000
with message-id <E1QqlFK-0006YA-5f@franck.debian.org>
and subject line Bug#634810: fixed in graphite2 1.0.1-1
has caused the Debian Bug report #634810,
regarding graphite2: FTBFS: c++: error: unrecognized option '-nostdlibs'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
634810: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634810
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: graphite2
Version: 0.9.4.dfsg-4
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

graphite2 FTBFS on sh4.
Option '-nostdlibs' is not being provided with gcc and c++.
'- nostdlib' is correct.

I made patch which revise this problem.
Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/gr2fonttest/CMakeLists.txt b/gr2fonttest/CMakeLists.txt
index 4e11217..89f97e4 100644
--- a/gr2fonttest/CMakeLists.txt
+++ b/gr2fonttest/CMakeLists.txt
@@ -45,7 +45,7 @@ endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
 if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
     # -lgcc LINKER_LANGUAGE C
     add_definitions(-fno-rtti -fno-exceptions)
-    set_target_properties(gr2fonttest PROPERTIES LINK_FLAGS "-nostdlibs -nodefaultlibs" )
+    set_target_properties(gr2fonttest PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" )
     set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
     # This script just fails
     nolib_test(stdc++ $<TARGET_FILE:gr2fonttest>)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9c31e35..775a83b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -164,9 +164,9 @@ set_target_properties(graphite2 PROPERTIES LT_VERSION_AGE ${GRAPHITE_API_AGE})
 if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
     add_definitions(-Wall -Wno-unknown-pragmas -Wparentheses -Wextra -Wendif-labels
      -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fdiagnostics-show-option
-     -fno-rtti -fno-exceptions -nodefaultlibs -nostdlibs
+     -fno-rtti -fno-exceptions -nodefaultlibs -nostdlib
      -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector)
-    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlibs -nodefaultlibs" LINKER_LANGUAGE C)
+    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" LINKER_LANGUAGE C)
     if (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
         target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32")
     else (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")

--- End Message ---
--- Begin Message ---
Source: graphite2
Source-Version: 1.0.1-1

We believe that the bug you reported is fixed in the latest version of
graphite2, which is due to be installed in the Debian FTP archive:

graphite2_1.0.1-1.debian.tar.gz
  to main/g/graphite2/graphite2_1.0.1-1.debian.tar.gz
graphite2_1.0.1-1.dsc
  to main/g/graphite2/graphite2_1.0.1-1.dsc
graphite2_1.0.1.orig.tar.gz
  to main/g/graphite2/graphite2_1.0.1.orig.tar.gz
libgraphite2-2.0.0-dbg_1.0.1-1_amd64.deb
  to main/g/graphite2/libgraphite2-2.0.0-dbg_1.0.1-1_amd64.deb
libgraphite2-2.0.0_1.0.1-1_amd64.deb
  to main/g/graphite2/libgraphite2-2.0.0_1.0.1-1_amd64.deb
libgraphite2-dev_1.0.1-1_amd64.deb
  to main/g/graphite2/libgraphite2-dev_1.0.1-1_amd64.deb
libgraphite2-doc_1.0.1-1_all.deb
  to main/g/graphite2/libgraphite2-doc_1.0.1-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 634810@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated graphite2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 28 Jul 2011 12:54:36 +0000
Source: graphite2
Binary: libgraphite2-2.0.0 libgraphite2-dev libgraphite2-2.0.0-dbg libgraphite2-doc
Architecture: source amd64 all
Version: 1.0.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian LibreOffice Team <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Description: 
 libgraphite2-2.0.0 - Font rendering engine for Complex Scripts -- library
 libgraphite2-2.0.0-dbg - Debug symbols for libgraphite2
 libgraphite2-dev - Development files for libgraphite2
 libgraphite2-doc - Documentation for libgraphite2
Closes: 634810
Changes: 
 graphite2 (1.0.1-1) unstable; urgency=low
 .
   * New upstream release
     - removes -nostdlibs (closes: #634810)
 .
   * new upstream snapshot
   * build with -DDISABLE_TRACING:bool=1
   * stop symlinking to Debian's fonts as they are not sufficient for the
     tests
   * update debian/copyright; mention ppport.h according to
     http://pkg-perl.alioth.debian.org/copyright.html#devel__ppport
   * fix libgraphite2-2.0.0's short description
Checksums-Sha1: 
 5b2a5a2d52ebb8536ffcb11b92694542562a5fb4 1948 graphite2_1.0.1-1.dsc
 1330d1fba79363c1a20d389a4eb4fd241097867c 4351585 graphite2_1.0.1.orig.tar.gz
 f63a990b3d92b642cee0f97c5fe03652c8465d3f 6720 graphite2_1.0.1-1.debian.tar.gz
 e816645c1257c2adc911805f1513f46136e6c39a 64324 libgraphite2-2.0.0_1.0.1-1_amd64.deb
 a11eb5eb9cf6bd983806918c910f6d716f50c179 14180 libgraphite2-dev_1.0.1-1_amd64.deb
 321cbbb03d68b4e2478edb5d12067af1da2ac05c 391350 libgraphite2-2.0.0-dbg_1.0.1-1_amd64.deb
 7b01fa088711cd6b12f72ae33461ee0d8f9ef35b 484672 libgraphite2-doc_1.0.1-1_all.deb
Checksums-Sha256: 
 a9d44ea90ff541cae2e487a8c1c94fa241e99e17923e50ef6455d43aa8f18e12 1948 graphite2_1.0.1-1.dsc
 f8ff6dfe5add45a2b140a0f339dadd6b77bb3da970c2762864e3cda9a0ccfad2 4351585 graphite2_1.0.1.orig.tar.gz
 0844bb04b98f62632082baae3f0bb3c404399285a3090a9a846c220d1c3b0f6b 6720 graphite2_1.0.1-1.debian.tar.gz
 e2a83ad15c0e0f69b3b119f79f064c8bd772c06678c0944e0c339611603067d2 64324 libgraphite2-2.0.0_1.0.1-1_amd64.deb
 ccc991e1cb106e3db44d00aca143f43084676782565adf6fdd986e4fa5bda74a 14180 libgraphite2-dev_1.0.1-1_amd64.deb
 0df86091d8b095529ff14e9fb22fbd013b7ccf6dc6f3cf9fa17b141e364d3513 391350 libgraphite2-2.0.0-dbg_1.0.1-1_amd64.deb
 a53fcf57b67378467ba58b4d335e322345868a076e6323f199f3ca2ea25cdd41 484672 libgraphite2-doc_1.0.1-1_all.deb
Files: 
 5a7c280a71dc65dace8da0d232362b03 1948 libs optional graphite2_1.0.1-1.dsc
 3c6b8de6b75eee445b29f1de5fe01f02 4351585 libs optional graphite2_1.0.1.orig.tar.gz
 289d72d5606504550c506650032bd695 6720 libs optional graphite2_1.0.1-1.debian.tar.gz
 2c10dc1d1fdffa04b76064343c55d917 64324 libs optional libgraphite2-2.0.0_1.0.1-1_amd64.deb
 7276d56c8ec97b0cd619f43f40ae814b 14180 libdevel optional libgraphite2-dev_1.0.1-1_amd64.deb
 ccb3fb8e2826f66af06b1ba2be6ae309 391350 debug extra libgraphite2-2.0.0-dbg_1.0.1-1_amd64.deb
 00bd1ac60530e3eda7c45d12b6f81d36 484672 doc optional libgraphite2-doc_1.0.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJOQSFZAAoJEAqgRXHQPj5w5I0QAN9/ue3Z3lIuauA3FuzJQe9V
2TlxKDdekUVhshDSZ/LcdzU11NDJoxcf4QTytQAOVMNMfWP2VgBXcFjWBGtPZViQ
LHguFKs5nPm8RKnZkFJ9yy0u0rjLNwfyFu7n4fVJOjgM9N1tSzQVjqnyxj44roh6
z+hETHnq3343lrbyMFpvB7NWuuu1gQDGQRfjnfXAM0kt82IL/jeIiGY+S5rQhkDU
VwGCefhM2WGe4YzrZG+S5HIyN7rsAtp1RrJUmROOMViwIgsPeoFp54PpRCKNRjAm
pcz+KY1CaZuHHUWE9cjq6010pUvcP1Jl7vGE5wj21GCpIdoysGgqcN6dqorob0z9
5bbpA2gYanthG/CHFzAXAnEeheHxG0Di7NPmVxm9s1DJrsW4P2gPCNl+xnptbHNu
fYP01B++HqkShpD9C1L1ZlEzT2XwMubv8jBHUl3LDr8uL+zP2XL3uYw0x/JJ5jkq
FVLTnEJQuJiVUK8rRxKGq+fBtSGqb8PtNFxh+M3+zoBsQfYU+jOC3X2BZwaLlvrF
WPBQdkTbjr1HJzTpfjv428MGbbU+tU+4y2Xv9UMMILZJK2NrggfCAZaoRCT0NqAe
weSpXY4Kr/Q2Nu9dWSF63f08tlzEqaU48qWSnmkqxIWI9tuBnc03dOguLxG57DBc
WgC6lWX/xbZUWggFRW0w
=tBio
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: