bugGNU Octave - Bugs: bug #61488, [octave forge] (octproj) Honor the...

 
 

bug #61488: [octave forge] (octproj) Honor the environment variables CFLAGS and CXXFLAGS

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 15 Nov 2021 06:15:30 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 07 Nov 2022 01:26:16 PM UTC, comment #8: 
Markus Mützel <mmuetzel>
Group administrator
Mon 07 Nov 2022 01:15:28 PM UTC, comment #7: 

Corrected.

José Luis García Pallero <jgpallero>
Mon 07 Nov 2022 01:11:38 PM UTC, comment #6: 

Thanks.

The LDFLAGS are still overridden in the Makefile in the Bitbucket repository.

Markus Mützel <mmuetzel>
Group administrator
Mon 07 Nov 2022 12:50:58 PM UTC, comment #5: 

I'm updating now the octproj.yaml file in the https://github.com/gnu-octave/packages/tree/main/packages repo in order to set the package to the correct location

comentario nº4:

> I'm not certain which the current main repository is for this project.
> The package index still points to SourceForge:
> https://gnu-octave.github.io/packages/octproj/
> https://sourceforge.net/p/octave/octproj/ci/master/tree/
>
> But the sources in that repository seem to be pretty old.
>
> There are newer files in this bitbucket repository:
> https://bitbucket.org/jgpallero/octproj/src/master/
>
> Is that the current main repository?
>
> In that Makefile, LDFLAGS are still overridden (see comment #1):
> https://bitbucket.org/jgpallero/octproj/src/99b7829e07ff16c63a90677b2a18fa645054b800/src/Makefile#lines-14


> #Flags for the linker
> LDFLAGS=-lproj


>

José Luis García Pallero <jgpallero>
Mon 07 Nov 2022 12:49:17 PM UTC, comment #4: 

I'm not certain which the current main repository is for this project.
The package index still points to SourceForge:
https://gnu-octave.github.io/packages/octproj/
https://sourceforge.net/p/octave/octproj/ci/master/tree/

But the sources in that repository seem to be pretty old.

There are newer files in this bitbucket repository:
https://bitbucket.org/jgpallero/octproj/src/master/

Is that the current main repository?

In that Makefile, LDFLAGS are still overridden (see comment #1):
https://bitbucket.org/jgpallero/octproj/src/99b7829e07ff16c63a90677b2a18fa645054b800/src/Makefile#lines-14

#Flags for the linker
LDFLAGS=-lproj


Markus Mützel <mmuetzel>
Group administrator
Mon 07 Nov 2022 12:24:18 PM UTC, comment #3: 

Done

José Luis García Pallero <jgpallero>
Wed 05 Jan 2022 08:20:21 PM UTC, comment #2: 

cc'd package maintainer

Philip Nienhuis <philipnienhuis>
Group Member
Wed 05 Jan 2022 09:26:38 AM UTC, comment #1: 

Same need for LDFLAGS

marco atzeri <matzeri>
Mon 15 Nov 2021 06:15:30 PM UTC, original submission:  

The compilation of the C files of the octproj package ignores the setting of the environment variables CFLAGS and CXXFLAGS.

The patch attached to this bug report fixes the problem. It is being applied to the Debian package octave-octclip, such that hardening flags like -fstack-protector-strong, -Wformat, and -Werror=format-security are used in the compilation. (See https://wiki.debian.org/Hardening)

Rafael Laboissière <rlaboiss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #52614:  honor-ldflags.patch added by matzeri (376B - application/octet-stream - patch for LFDLAGS)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by jgpallero (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by matzeri (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-07 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed
    2022-01-05 philipnienhuis Carbon-Copy- Added jgpallero
    2022-01-05 philipnienhuis Carbon-Copy- Added -email is unavailable-
    2022-01-05 matzeri Attached File- Added honor-ldflags.patch, #52614
    2021-11-15 rlaboiss Attached File- Added honor-cflags-cxxflags.patch, #52283

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code