Skip to contentSkip to conversation

gcc-runtime: Remove libgfortran data from receipe

PATCH In review Daniel Dragomir 2 participants 7 messages Jan 17, 2015 – Feb 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gcc-runtime: Remove libgfortran data from receipe

Remove libgfortran packages from PACKAGES list as long as libgfortran has separate receipe since commit

5bde5d9b39ea67f19a1a6aedd0c08c6cfedcbe5f
gcc: Allow fortran to build successfully in 4.8

Otherwise, when fortran support will be enabled in the compiler, both lingfortran and gcc-runtime receipes will create the same files and will try to install them. This will cause errors:

ERROR: The recipe libgfortran is trying to install files into a shared area when those files already exist. Those files and their manifest location are: ...
Please verify which recipe should provide the above files.

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 15 ---------------
 1 file changed, 15 deletions(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +0 -15
index 167869e..5c369f4 100644
@@ -76,9 +76,6 @@ PACKAGES = "\
     libssp \
     libssp-dev \
     libssp-staticdev \
-    libgfortran \
-    libgfortran-dev \
-    libgfortran-staticdev \
     libmudflap \
     libmudflap-dev \
     libmudflap-staticdev \
@@ -131,18 +128,6 @@ FILES_libssp-dev = "\
 "
 FILES_libssp-staticdev = "${libdir}/libssp*.a"
 
-FILES_libgfortran = "${libdir}/libgfortran.so.*"
-FILES_libgfortran-dev = "\
-    ${libdir}/libgfortran*.so \
-    ${libdir}/libgfortran.spec \
-    ${libdir}/libgfortran.la \
-    ${libdir}/gcc/${TARGET_SYS}/${BINV}/libgfortranbegin.* \
-    ${libdir}/gcc/${TARGET_SYS}/${BINV}/libcaf_single* \
-"
-FILES_libgfortran-staticdev = "${libdir}/libgfortran.a"
-
-INSANE_SKIP_${MLPREFIX}libgfortran-dev = "staticdev"
-
 FILES_libquadmath = "${libdir}/libquadmath*.so.*"
 FILES_libquadmath-dev = "\
     ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/quadmath* \
Signature · 1 line
1.8.1.4
#1 lore raw

If there are no problems with this patch, can you please cherry-pick this into the dizzy branch too?
Thanks

BR,
Daniel
________________________________________
From: Daniel Dragomir [[email protected]]
Sent: Saturday, January 17, 2015 3:01 PM
To: [email protected]
Cc: Dragomir, Daniel
Subject: [OE-core] [PATCH v2] gcc-runtime: Remove libgfortran data from receipe

Remove libgfortran packages from PACKAGES list as long as libgfortran has separate receipe since commit

5bde5d9b39ea67f19a1a6aedd0c08c6cfedcbe5f
gcc: Allow fortran to build successfully in 4.8

Otherwise, when fortran support will be enabled in the compiler, both lingfortran and gcc-runtime receipes will create the same files and will try to install them. This will cause errors:

ERROR: The recipe libgfortran is trying to install files into a shared area when those files already exist. Those files and their manifest location are: ...
Please verify which recipe should provide the above files.

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 15 ---------------
 1 file changed, 15 deletions(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +0 -15
index 167869e..5c369f4 100644
@@ -76,9 +76,6 @@ PACKAGES = "\
     libssp \
     libssp-dev \
     libssp-staticdev \
-    libgfortran \
-    libgfortran-dev \
-    libgfortran-staticdev \
     libmudflap \
     libmudflap-dev \
     libmudflap-staticdev \
@@ -131,18 +128,6 @@ FILES_libssp-dev = "\
 "
 FILES_libssp-staticdev = "${libdir}/libssp*.a"
 
-FILES_libgfortran = "${libdir}/libgfortran.so.*"
-FILES_libgfortran-dev = "\
-    ${libdir}/libgfortran*.so \
-    ${libdir}/libgfortran.spec \
-    ${libdir}/libgfortran.la \
-    ${libdir}/gcc/${TARGET_SYS}/${BINV}/libgfortranbegin.* \
-    ${libdir}/gcc/${TARGET_SYS}/${BINV}/libcaf_single* \
-"
-FILES_libgfortran-staticdev = "${libdir}/libgfortran.a"
-
-INSANE_SKIP_${MLPREFIX}libgfortran-dev = "staticdev"
-
 FILES_libquadmath = "${libdir}/libquadmath*.so.*"
 FILES_libquadmath-dev = "\
     ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/quadmath* \

--
1.8.1.4

#2 lore raw

On 22 January 2015 at 13:37, Dragomir, Daniel <[email protected]

Quoted 6 lines

wrote:

If there are no problems with this patch, can you please cherry-pick this into
the dizzy branch too?

FYI this is queued in MUT so should be in master soon.

Ross

#3 lore raw

Thank you, Ross!
I don't know the process.
Sorry for insistance.

Daniel
________________________________
From: Burton, Ross [[email protected]]
Sent: Thursday, January 22, 2015 4:21 PM
To: Dragomir, Daniel
Cc: [email protected]
Subject: Re: [OE-core] [PATCH v2] gcc-runtime: Remove libgfortran data from receipe

On 22 January 2015 at 13:37, Dragomir, Daniel <[email protected]<mailto:[email protected]>> wrote:
If there are no problems with this patch, can you please cherry-pick this into
the dizzy branch too?

FYI this is queued in MUT so should be in master soon.

Ross

#4 lore raw

On 22 January 2015 at 14:29, Dragomir, Daniel <[email protected]

Quoted 6 lines

wrote:

Thank you, Ross!
I don't know the process.
Sorry for insistance.

No insistence noticed - when it's merged just ping Armin to ensure it gets backported.

Ross

#5 lore raw

Hi Armin,
Could you please cherry-pick this patch in dizzy branch? It is already in master.

Thank you.
Daniel
________________________________
From: Burton, Ross [[email protected]]
Sent: Thursday, January 22, 2015 4:33 PM
To: Dragomir, Daniel
Cc: [email protected]
Subject: Re: [OE-core] [PATCH v2] gcc-runtime: Remove libgfortran data from receipe

On 22 January 2015 at 14:29, Dragomir, Daniel <[email protected]<mailto:[email protected]>> wrote:
Thank you, Ross!
I don't know the process.
Sorry for insistance.

No insistence noticed - when it's merged just ping Armin to ensure it gets backported.

Ross

#6 lore raw

Hello Armin,

This patch is in master. Can you backport it to dizzy branch too?

Thanks,
Daniel
________________________________
From: [email protected] [[email protected]] on behalf of Dragomir, Daniel [[email protected]]
Sent: Monday, January 26, 2015 2:54 PM
To: Armin Kuster
Cc: [email protected]
Subject: Re: [OE-core] [PATCH v2] gcc-runtime: Remove libgfortran data from receipe

Hi Armin,
Could you please cherry-pick this patch in dizzy branch? It is already in master.

Thank you.
Daniel
________________________________
From: Burton, Ross [[email protected]]
Sent: Thursday, January 22, 2015 4:33 PM
To: Dragomir, Daniel
Cc: [email protected]
Subject: Re: [OE-core] [PATCH v2] gcc-runtime: Remove libgfortran data from receipe

On 22 January 2015 at 14:29, Dragomir, Daniel <[email protected]<mailto:[email protected]>> wrote:
Thank you, Ross!
I don't know the process.
Sorry for insistance.

No insistence noticed - when it's merged just ping Armin to ensure it gets backported.

Ross