Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Incorrect installation prefix used for libdwarf*
@ 2023-11-05 17:02 Plecra
  2023-11-06  6:32 ` [ISSUE] [CLOSED] " classabbyamp
  2023-11-06  6:33 ` classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: Plecra @ 2023-11-05 17:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

New issue by Plecra on void-packages repository

https://github.com/void-linux/void-packages/issues/47077

Description:
### Is this a new report?

Yes

### System Info

This is second hand I'm afraid :) 

### Package(s) Affected

libdwarf-20191104_1<=

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

As I understand it, the package manager is intended to install packages into `/usr/{pkg}`.

### Actual behaviour

A temporary prefix change (to `/usr/local` for development) was accidentally committed, and invalidated other references to files within the template:

https://github.com/void-linux/void-packages/commit/e71de4f927ac6c94a60d654137f209b633fdf660#diff-44ccf69c98ebd40cf6c6b0418e643b2ae811192424b0a2b587999734ecbd4c61L6-R6

The configure_args are missing `--prefix=/usr`. This invalidates the references to the DESTDIR in the `libdwarf-devel_package` here, which means it fails to copy the `{lib}dwarf.h` headers. They're unusable.

https://github.com/void-linux/void-packages/blob/22a8d3612b2fc6b5f0a6d0ba8dfc2aa28de490a7/srcpkgs/libdwarf/template#L29-L31

### Steps to reproduce

1. `xbps-install libdwarf-devel`
2. attempt to use the `libdwarf.h` header. (It should be available as `libdwarf/libdwarf.h` due to https://github.com/void-linux/void-packages/pull/17154)
3. A c compiler wont find it.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] Incorrect installation prefix used for libdwarf*
  2023-11-05 17:02 [ISSUE] Incorrect installation prefix used for libdwarf* Plecra
@ 2023-11-06  6:32 ` classabbyamp
  2023-11-06  6:33 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-11-06  6:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

Closed issue by Plecra on void-packages repository

https://github.com/void-linux/void-packages/issues/47077

Description:
### Is this a new report?

Yes

### System Info

This is second hand I'm afraid :) 

### Package(s) Affected

libdwarf-20191104_1<=

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

As I understand it, the package manager is intended to install packages into `/usr/{pkg}`.

### Actual behaviour

A temporary prefix change (to `/usr/local` for development) was accidentally committed, and invalidated other references to files within the template:

https://github.com/void-linux/void-packages/commit/e71de4f927ac6c94a60d654137f209b633fdf660#diff-44ccf69c98ebd40cf6c6b0418e643b2ae811192424b0a2b587999734ecbd4c61L6-R6

The configure_args are missing `--prefix=/usr`. This invalidates the references to the DESTDIR in the `libdwarf-devel_package` here, which means it fails to copy the `{lib}dwarf.h` headers. They're unusable.

https://github.com/void-linux/void-packages/blob/22a8d3612b2fc6b5f0a6d0ba8dfc2aa28de490a7/srcpkgs/libdwarf/template#L29-L31

### Steps to reproduce

1. `xbps-install libdwarf-devel`
2. attempt to use the `libdwarf.h` header. (It should be available as `libdwarf/libdwarf.h` due to https://github.com/void-linux/void-packages/pull/17154)
3. A c compiler wont find it.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Incorrect installation prefix used for libdwarf*
  2023-11-05 17:02 [ISSUE] Incorrect installation prefix used for libdwarf* Plecra
  2023-11-06  6:32 ` [ISSUE] [CLOSED] " classabbyamp
@ 2023-11-06  6:33 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-11-06  6:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/47077#issuecomment-1794167513

Comment:
can't reproduce. update libdwarf(-devel). Also, as this uses the `gnu-configure` build style, `--prefix=/usr` is implicit.

```
$ xbps-query -Rp pkgver libdwarf-devel
libdwarf-devel-20201020_1
$ xbps-query -Rf libdwarf-devel
/usr/include/libdwarf/dwarf.h
/usr/include/libdwarf/libdwarf.h
/usr/lib/libdwarf.a
/usr/lib/libdwarf.so -> /usr/lib/libdwarf.so.1.0.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-06  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-05 17:02 [ISSUE] Incorrect installation prefix used for libdwarf* Plecra
2023-11-06  6:32 ` [ISSUE] [CLOSED] " classabbyamp
2023-11-06  6:33 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).